All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.adyen.model.nexo.SaleItem Maven / Gradle / Ivy

There is a newer version: 28.4.0
Show newest version
package com.adyen.model.nexo;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import java.math.BigDecimal;
import java.math.BigInteger;


/**
 * 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 the
 *
 * 

Java 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>
 * 
*/ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "SaleItem", propOrder = { "unitOfMeasure", "quantity", "unitPrice", "taxCode", "saleChannel", "productLabel", "additionalProductInfo" }) public class SaleItem { /** * The Unit of measure. */ @XmlElement(name = "UnitOfMeasure") @XmlSchemaType(name = "string") protected UnitOfMeasureType unitOfMeasure; /** * The Quantity. */ @XmlElement(name = "Quantity") protected BigDecimal quantity; /** * The Unit price. */ @XmlElement(name = "UnitPrice") protected BigDecimal unitPrice; /** * The Tax code. */ @XmlElement(name = "TaxCode") protected String taxCode; /** * The Sale channel. */ @XmlElement(name = "SaleChannel") protected String saleChannel; /** * The Product label. */ @XmlElement(name = "ProductLabel") protected String productLabel; /** * The Additional product info. */ @XmlElement(name = "AdditionalProductInfo") protected String additionalProductInfo; /** * The Item id. */ @XmlAttribute(name = "ItemID", required = true) protected BigInteger itemID; /** * The Product code. */ @XmlAttribute(name = "ProductCode", required = true) protected String productCode; /** * The Ean upc. */ @XmlAttribute(name = "EanUpc") protected String eanUpc; /** * The Item amount. */ @XmlAttribute(name = "ItemAmount", required = true) protected BigDecimal itemAmount; /** * Gets the value of the unitOfMeasure property. * * @return possible object is {@link UnitOfMeasureType } */ public UnitOfMeasureType getUnitOfMeasure() { return unitOfMeasure; } /** * Sets the value of the unitOfMeasure property. * * @param value allowed object is {@link UnitOfMeasureType } */ public void setUnitOfMeasure(UnitOfMeasureType value) { this.unitOfMeasure = value; } /** * Gets the value of the quantity property. * * @return possible object is {@link BigDecimal } */ public BigDecimal getQuantity() { return quantity; } /** * Sets the value of the quantity property. * * @param value allowed object is {@link BigDecimal } */ public void setQuantity(BigDecimal value) { this.quantity = value; } /** * Gets the value of the unitPrice property. * * @return possible object is {@link BigDecimal } */ public BigDecimal getUnitPrice() { return unitPrice; } /** * Sets the value of the unitPrice property. * * @param value allowed object is {@link BigDecimal } */ public void setUnitPrice(BigDecimal value) { this.unitPrice = value; } /** * Gets the value of the taxCode property. * * @return possible object is {@link String } */ public String getTaxCode() { return taxCode; } /** * Sets the value of the taxCode property. * * @param value allowed object is {@link String } */ public void setTaxCode(String value) { this.taxCode = value; } /** * Gets the value of the saleChannel property. * * @return possible object is {@link String } */ public String getSaleChannel() { return saleChannel; } /** * Sets the value of the saleChannel property. * * @param value allowed object is {@link String } */ public void setSaleChannel(String value) { this.saleChannel = value; } /** * Gets the value of the productLabel property. * * @return possible object is {@link String } */ public String getProductLabel() { return productLabel; } /** * Sets the value of the productLabel property. * * @param value allowed object is {@link String } */ public void setProductLabel(String value) { this.productLabel = value; } /** * Gets the value of the additionalProductInfo property. * * @return possible object is {@link String } */ public String getAdditionalProductInfo() { return additionalProductInfo; } /** * Sets the value of the additionalProductInfo property. * * @param value allowed object is {@link String } */ public void setAdditionalProductInfo(String value) { this.additionalProductInfo = value; } /** * Gets the value of the itemID property. * * @return possible object is {@link BigInteger } */ public BigInteger getItemID() { return itemID; } /** * Sets the value of the itemID property. * * @param value allowed object is {@link BigInteger } */ public void setItemID(BigInteger value) { this.itemID = value; } /** * Gets the value of the productCode property. * * @return possible object is {@link String } */ public String getProductCode() { return productCode; } /** * Sets the value of the productCode property. * * @param value allowed object is {@link String } */ public void setProductCode(String value) { this.productCode = value; } /** * Gets the value of the eanUpc property. * * @return possible object is {@link String } */ public String getEanUpc() { return eanUpc; } /** * Sets the value of the eanUpc property. * * @param value allowed object is {@link String } */ public void setEanUpc(String value) { this.eanUpc = value; } /** * Gets the value of the itemAmount property. * * @return possible object is {@link BigDecimal } */ public BigDecimal getItemAmount() { return itemAmount; } /** * Sets the value of the itemAmount property. * * @param value allowed object is {@link BigDecimal } */ public void setItemAmount(BigDecimal value) { this.itemAmount = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy