Package com.adyen.model.nexo
Class SaleItem
- java.lang.Object
-
- com.adyen.model.nexo.SaleItem
-
public class SaleItem extends Object
Definition: Sale items of a transaction. -- Usage: In loyalty or value added payment card transaction, the items of the sale are entering in the processing of the transaction. The sum of the item amount could be more than the Requested amount in case of split payment without split of theJava class for SaleItem complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SaleItem"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="UnitOfMeasure" type="{}UnitOfMeasureType" minOccurs="0"/> <element name="Quantity" type="{}Quantity" minOccurs="0"/> <element name="UnitPrice" type="{}SimpleAmountType" minOccurs="0"/> <element name="TaxCode" type="{}TaxCode" minOccurs="0"/> <element name="SaleChannel" type="{}SaleChannel" minOccurs="0"/> <element name="ProductLabel" type="{}ProductLabel" minOccurs="0"/> <element name="AdditionalProductInfo" type="{}AdditionalProductInfo" minOccurs="0"/> </sequence> <attribute name="ItemID" use="required" type="{}ItemID" /> <attribute name="ProductCode" use="required" type="{}ProductCode" /> <attribute name="EanUpc" type="{}EanUpc" /> <attribute name="ItemAmount" use="required" type="{}SimpleAmountType" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected StringadditionalProductInfoThe Additional product info.protected StringeanUpcThe Ean upc.protected BigDecimalitemAmountThe Item amount.protected BigIntegeritemIDThe Item id.protected StringproductCodeThe Product code.protected StringproductLabelThe Product label.protected BigDecimalquantityThe Quantity.protected StringsaleChannelThe Sale channel.protected StringtaxCodeThe Tax code.protected UnitOfMeasureTypeunitOfMeasureThe Unit of measure.protected BigDecimalunitPriceThe Unit price.
-
Constructor Summary
Constructors Constructor Description SaleItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAdditionalProductInfo()Gets the value of the additionalProductInfo property.StringgetEanUpc()Gets the value of the eanUpc property.BigDecimalgetItemAmount()Gets the value of the itemAmount property.BigIntegergetItemID()Gets the value of the itemID property.StringgetProductCode()Gets the value of the productCode property.StringgetProductLabel()Gets the value of the productLabel property.BigDecimalgetQuantity()Gets the value of the quantity property.StringgetSaleChannel()Gets the value of the saleChannel property.StringgetTaxCode()Gets the value of the taxCode property.UnitOfMeasureTypegetUnitOfMeasure()Gets the value of the unitOfMeasure property.BigDecimalgetUnitPrice()Gets the value of the unitPrice property.voidsetAdditionalProductInfo(String value)Sets the value of the additionalProductInfo property.voidsetEanUpc(String value)Sets the value of the eanUpc property.voidsetItemAmount(BigDecimal value)Sets the value of the itemAmount property.voidsetItemID(BigInteger value)Sets the value of the itemID property.voidsetProductCode(String value)Sets the value of the productCode property.voidsetProductLabel(String value)Sets the value of the productLabel property.voidsetQuantity(BigDecimal value)Sets the value of the quantity property.voidsetSaleChannel(String value)Sets the value of the saleChannel property.voidsetTaxCode(String value)Sets the value of the taxCode property.voidsetUnitOfMeasure(UnitOfMeasureType value)Sets the value of the unitOfMeasure property.voidsetUnitPrice(BigDecimal value)Sets the value of the unitPrice property.
-
-
-
Field Detail
-
unitOfMeasure
protected UnitOfMeasureType unitOfMeasure
The Unit of measure.
-
quantity
protected BigDecimal quantity
The Quantity.
-
unitPrice
protected BigDecimal unitPrice
The Unit price.
-
taxCode
protected String taxCode
The Tax code.
-
saleChannel
protected String saleChannel
The Sale channel.
-
productLabel
protected String productLabel
The Product label.
-
additionalProductInfo
protected String additionalProductInfo
The Additional product info.
-
itemID
protected BigInteger itemID
The Item id.
-
productCode
protected String productCode
The Product code.
-
eanUpc
protected String eanUpc
The Ean upc.
-
itemAmount
protected BigDecimal itemAmount
The Item amount.
-
-
Method Detail
-
getUnitOfMeasure
public UnitOfMeasureType getUnitOfMeasure()
Gets the value of the unitOfMeasure property.- Returns:
- possible object is
UnitOfMeasureType
-
setUnitOfMeasure
public void setUnitOfMeasure(UnitOfMeasureType value)
Sets the value of the unitOfMeasure property.- Parameters:
value- allowed object isUnitOfMeasureType
-
getQuantity
public BigDecimal getQuantity()
Gets the value of the quantity property.- Returns:
- possible object is
BigDecimal
-
setQuantity
public void setQuantity(BigDecimal value)
Sets the value of the quantity property.- Parameters:
value- allowed object isBigDecimal
-
getUnitPrice
public BigDecimal getUnitPrice()
Gets the value of the unitPrice property.- Returns:
- possible object is
BigDecimal
-
setUnitPrice
public void setUnitPrice(BigDecimal value)
Sets the value of the unitPrice property.- Parameters:
value- allowed object isBigDecimal
-
getTaxCode
public String getTaxCode()
Gets the value of the taxCode property.- Returns:
- possible object is
String
-
setTaxCode
public void setTaxCode(String value)
Sets the value of the taxCode property.- Parameters:
value- allowed object isString
-
getSaleChannel
public String getSaleChannel()
Gets the value of the saleChannel property.- Returns:
- possible object is
String
-
setSaleChannel
public void setSaleChannel(String value)
Sets the value of the saleChannel property.- Parameters:
value- allowed object isString
-
getProductLabel
public String getProductLabel()
Gets the value of the productLabel property.- Returns:
- possible object is
String
-
setProductLabel
public void setProductLabel(String value)
Sets the value of the productLabel property.- Parameters:
value- allowed object isString
-
getAdditionalProductInfo
public String getAdditionalProductInfo()
Gets the value of the additionalProductInfo property.- Returns:
- possible object is
String
-
setAdditionalProductInfo
public void setAdditionalProductInfo(String value)
Sets the value of the additionalProductInfo property.- Parameters:
value- allowed object isString
-
getItemID
public BigInteger getItemID()
Gets the value of the itemID property.- Returns:
- possible object is
BigInteger
-
setItemID
public void setItemID(BigInteger value)
Sets the value of the itemID property.- Parameters:
value- allowed object isBigInteger
-
getProductCode
public String getProductCode()
Gets the value of the productCode property.- Returns:
- possible object is
String
-
setProductCode
public void setProductCode(String value)
Sets the value of the productCode property.- Parameters:
value- allowed object isString
-
getEanUpc
public String getEanUpc()
Gets the value of the eanUpc property.- Returns:
- possible object is
String
-
setEanUpc
public void setEanUpc(String value)
Sets the value of the eanUpc property.- Parameters:
value- allowed object isString
-
getItemAmount
public BigDecimal getItemAmount()
Gets the value of the itemAmount property.- Returns:
- possible object is
BigDecimal
-
setItemAmount
public void setItemAmount(BigDecimal value)
Sets the value of the itemAmount property.- Parameters:
value- allowed object isBigDecimal
-
-