Package com.adyen.model.nexo
Class CustomerOrder
- java.lang.Object
-
- com.adyen.model.nexo.CustomerOrder
-
public class CustomerOrder extends Object
Definition: Customer order attached to a card, recorded in the POI system. -- Usage: Allows the management of customer orders by the POI, for instance in a multi-channel or a click and collect sale transaction.Java class for CustomerOrder complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CustomerOrder"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="AdditionalInformation" type="{}AdditionalInformation" minOccurs="0"/> </sequence> <attribute name="CustomerOrderID" use="required" type="{}CustomerOrderID" /> <attribute name="SaleReferenceID" use="required" type="{}SaleReferenceID" /> <attribute name="OpenOrderState" type="{}OpenOrderState" default="false" /> <attribute name="StartDate" use="required" type="{}StartDate" /> <attribute name="EndDate" type="{}EndDate" /> <attribute name="ForecastedAmount" use="required" type="{}SimpleAmountType" /> <attribute name="CurrentAmount" use="required" type="{}SimpleAmountType" /> <attribute name="Currency" type="{}ISOCurrency3A" /> <attribute name="AccessedBy" type="{}AccessedBy" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected StringaccessedByThe Accessed by.protected StringadditionalInformationThe Additional information.protected StringcurrencyThe Currency.protected BigDecimalcurrentAmountThe Current amount.protected StringcustomerOrderIDThe Customer order id.protected XMLGregorianCalendarendDateThe End date.protected BigDecimalforecastedAmountThe Forecasted amount.protected BooleanopenOrderStateThe Open order state.protected StringsaleReferenceIDThe Sale reference id.protected XMLGregorianCalendarstartDateThe Start date.
-
Constructor Summary
Constructors Constructor Description CustomerOrder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAccessedBy()Gets the value of the accessedBy property.StringgetAdditionalInformation()Gets the value of the additionalInformation property.StringgetCurrency()Gets the value of the currency property.BigDecimalgetCurrentAmount()Gets the value of the currentAmount property.StringgetCustomerOrderID()Gets the value of the customerOrderID property.XMLGregorianCalendargetEndDate()Gets the value of the endDate property.BigDecimalgetForecastedAmount()Gets the value of the forecastedAmount property.StringgetSaleReferenceID()Gets the value of the saleReferenceID property.XMLGregorianCalendargetStartDate()Gets the value of the startDate property.booleanisOpenOrderState()Gets the value of the openOrderState property.voidsetAccessedBy(String value)Sets the value of the accessedBy property.voidsetAdditionalInformation(String value)Sets the value of the additionalInformation property.voidsetCurrency(String value)Sets the value of the currency property.voidsetCurrentAmount(BigDecimal value)Sets the value of the currentAmount property.voidsetCustomerOrderID(String value)Sets the value of the customerOrderID property.voidsetEndDate(XMLGregorianCalendar value)Sets the value of the endDate property.voidsetForecastedAmount(BigDecimal value)Sets the value of the forecastedAmount property.voidsetOpenOrderState(Boolean value)Sets the value of the openOrderState property.voidsetSaleReferenceID(String value)Sets the value of the saleReferenceID property.voidsetStartDate(XMLGregorianCalendar value)Sets the value of the startDate property.
-
-
-
Field Detail
-
additionalInformation
@SerializedName("AdditionalInformation") protected String additionalInformationThe Additional information.
-
customerOrderID
@SerializedName("CustomerOrderID") protected String customerOrderIDThe Customer order id.
-
saleReferenceID
@SerializedName("SaleReferenceID") protected String saleReferenceIDThe Sale reference id.
-
openOrderState
@SerializedName("OpenOrderState") protected Boolean openOrderStateThe Open order state.
-
startDate
@SerializedName("StartDate") protected XMLGregorianCalendar startDateThe Start date.
-
endDate
@SerializedName("EndDate") protected XMLGregorianCalendar endDateThe End date.
-
forecastedAmount
@SerializedName("ForecastedAmount") protected BigDecimal forecastedAmountThe Forecasted amount.
-
currentAmount
@SerializedName("CurrentAmount") protected BigDecimal currentAmountThe Current amount.
-
currency
@SerializedName("Currency") protected String currencyThe Currency.
-
accessedBy
@SerializedName("AccessedBy") protected String accessedByThe Accessed by.
-
-
Method Detail
-
getAdditionalInformation
public String getAdditionalInformation()
Gets the value of the additionalInformation property.- Returns:
- possible object is
String
-
setAdditionalInformation
public void setAdditionalInformation(String value)
Sets the value of the additionalInformation property.- Parameters:
value- allowed object isString
-
getCustomerOrderID
public String getCustomerOrderID()
Gets the value of the customerOrderID property.- Returns:
- possible object is
String
-
setCustomerOrderID
public void setCustomerOrderID(String value)
Sets the value of the customerOrderID property.- Parameters:
value- allowed object isString
-
getSaleReferenceID
public String getSaleReferenceID()
Gets the value of the saleReferenceID property.- Returns:
- possible object is
String
-
setSaleReferenceID
public void setSaleReferenceID(String value)
Sets the value of the saleReferenceID property.- Parameters:
value- allowed object isString
-
isOpenOrderState
public boolean isOpenOrderState()
Gets the value of the openOrderState property.- Returns:
- possible object is
Boolean
-
setOpenOrderState
public void setOpenOrderState(Boolean value)
Sets the value of the openOrderState property.- Parameters:
value- allowed object isBoolean
-
getStartDate
public XMLGregorianCalendar getStartDate()
Gets the value of the startDate property.- Returns:
- possible object is
XMLGregorianCalendar
-
setStartDate
public void setStartDate(XMLGregorianCalendar value)
Sets the value of the startDate property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
getEndDate
public XMLGregorianCalendar getEndDate()
Gets the value of the endDate property.- Returns:
- possible object is
XMLGregorianCalendar
-
setEndDate
public void setEndDate(XMLGregorianCalendar value)
Sets the value of the endDate property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
getForecastedAmount
public BigDecimal getForecastedAmount()
Gets the value of the forecastedAmount property.- Returns:
- possible object is
BigDecimal
-
setForecastedAmount
public void setForecastedAmount(BigDecimal value)
Sets the value of the forecastedAmount property.- Parameters:
value- allowed object isBigDecimal
-
getCurrentAmount
public BigDecimal getCurrentAmount()
Gets the value of the currentAmount property.- Returns:
- possible object is
BigDecimal
-
setCurrentAmount
public void setCurrentAmount(BigDecimal value)
Sets the value of the currentAmount property.- Parameters:
value- allowed object isBigDecimal
-
getCurrency
public String getCurrency()
Gets the value of the currency property.- Returns:
- possible object is
String
-
setCurrency
public void setCurrency(String value)
Sets the value of the currency property.- Parameters:
value- allowed object isString
-
getAccessedBy
public String getAccessedBy()
Gets the value of the accessedBy property.- Returns:
- possible object is
String
-
-