public class PaymentItemType
extends java.lang.Object
Java class for PaymentItemType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PaymentItemType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="EbayItemTxnId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="Number" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="SalesTax" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="ShippingAmount" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="HandlingAmount" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="InvoiceItemDetails" type="{urn:ebay:apis:eBLBaseComponents}InvoiceItemType" minOccurs="0"/>
<element name="CouponID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="CouponAmount" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="CouponAmountCurrency" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="LoyaltyCardDiscountAmount" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="LoyaltyCardDiscountCurrency" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="Amount" type="{urn:ebay:apis:CoreComponentTypes}BasicAmountType" minOccurs="0"/>
<element name="Options" type="{urn:ebay:apis:eBLBaseComponents}OptionType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected BasicAmountType |
amount |
protected java.lang.String |
couponAmount |
protected java.lang.String |
couponAmountCurrency |
protected java.lang.String |
couponID |
protected java.lang.String |
ebayItemTxnId |
protected java.lang.String |
handlingAmount |
protected InvoiceItemType |
invoiceItemDetails |
protected java.lang.String |
loyaltyCardDiscountAmount |
protected java.lang.String |
loyaltyCardDiscountCurrency |
protected java.lang.String |
name |
protected java.lang.String |
number |
protected java.util.List<OptionType> |
options |
protected java.lang.String |
quantity |
protected java.lang.String |
salesTax |
protected java.lang.String |
shippingAmount |
| Constructor and Description |
|---|
PaymentItemType() |
| Modifier and Type | Method and Description |
|---|---|
BasicAmountType |
getAmount()
Gets the value of the amount property.
|
java.lang.String |
getCouponAmount()
Gets the value of the couponAmount property.
|
java.lang.String |
getCouponAmountCurrency()
Gets the value of the couponAmountCurrency property.
|
java.lang.String |
getCouponID()
Gets the value of the couponID property.
|
java.lang.String |
getEbayItemTxnId()
Gets the value of the ebayItemTxnId property.
|
java.lang.String |
getHandlingAmount()
Gets the value of the handlingAmount property.
|
InvoiceItemType |
getInvoiceItemDetails()
Gets the value of the invoiceItemDetails property.
|
java.lang.String |
getLoyaltyCardDiscountAmount()
Gets the value of the loyaltyCardDiscountAmount property.
|
java.lang.String |
getLoyaltyCardDiscountCurrency()
Gets the value of the loyaltyCardDiscountCurrency property.
|
java.lang.String |
getName()
Gets the value of the name property.
|
java.lang.String |
getNumber()
Gets the value of the number property.
|
java.util.List<OptionType> |
getOptions()
Gets the value of the options property.
|
java.lang.String |
getQuantity()
Gets the value of the quantity property.
|
java.lang.String |
getSalesTax()
Gets the value of the salesTax property.
|
java.lang.String |
getShippingAmount()
Gets the value of the shippingAmount property.
|
void |
setAmount(BasicAmountType value)
Sets the value of the amount property.
|
void |
setCouponAmount(java.lang.String value)
Sets the value of the couponAmount property.
|
void |
setCouponAmountCurrency(java.lang.String value)
Sets the value of the couponAmountCurrency property.
|
void |
setCouponID(java.lang.String value)
Sets the value of the couponID property.
|
void |
setEbayItemTxnId(java.lang.String value)
Sets the value of the ebayItemTxnId property.
|
void |
setHandlingAmount(java.lang.String value)
Sets the value of the handlingAmount property.
|
void |
setInvoiceItemDetails(InvoiceItemType value)
Sets the value of the invoiceItemDetails property.
|
void |
setLoyaltyCardDiscountAmount(java.lang.String value)
Sets the value of the loyaltyCardDiscountAmount property.
|
void |
setLoyaltyCardDiscountCurrency(java.lang.String value)
Sets the value of the loyaltyCardDiscountCurrency property.
|
void |
setName(java.lang.String value)
Sets the value of the name property.
|
void |
setNumber(java.lang.String value)
Sets the value of the number property.
|
void |
setQuantity(java.lang.String value)
Sets the value of the quantity property.
|
void |
setSalesTax(java.lang.String value)
Sets the value of the salesTax property.
|
void |
setShippingAmount(java.lang.String value)
Sets the value of the shippingAmount property.
|
protected java.lang.String ebayItemTxnId
protected java.lang.String name
protected java.lang.String number
protected java.lang.String quantity
protected java.lang.String salesTax
protected java.lang.String shippingAmount
protected java.lang.String handlingAmount
protected InvoiceItemType invoiceItemDetails
protected java.lang.String couponID
protected java.lang.String couponAmount
protected java.lang.String couponAmountCurrency
protected java.lang.String loyaltyCardDiscountAmount
protected java.lang.String loyaltyCardDiscountCurrency
protected BasicAmountType amount
protected java.util.List<OptionType> options
public java.lang.String getEbayItemTxnId()
Stringpublic void setEbayItemTxnId(java.lang.String value)
value - the value
allowed object is
Stringpublic java.lang.String getName()
Stringpublic void setName(java.lang.String value)
value - the value
allowed object is
Stringpublic java.lang.String getNumber()
Stringpublic void setNumber(java.lang.String value)
value - the value
allowed object is
Stringpublic java.lang.String getQuantity()
Stringpublic void setQuantity(java.lang.String value)
value - the value
allowed object is
Stringpublic java.lang.String getSalesTax()
Stringpublic void setSalesTax(java.lang.String value)
value - the value
allowed object is
Stringpublic java.lang.String getShippingAmount()
Stringpublic void setShippingAmount(java.lang.String value)
value - the value
allowed object is
Stringpublic java.lang.String getHandlingAmount()
Stringpublic void setHandlingAmount(java.lang.String value)
value - the value
allowed object is
Stringpublic InvoiceItemType getInvoiceItemDetails()
InvoiceItemTypepublic void setInvoiceItemDetails(InvoiceItemType value)
value - the value
allowed object is
InvoiceItemTypepublic java.lang.String getCouponID()
Stringpublic void setCouponID(java.lang.String value)
value - the value
allowed object is
Stringpublic java.lang.String getCouponAmount()
Stringpublic void setCouponAmount(java.lang.String value)
value - the value
allowed object is
Stringpublic java.lang.String getCouponAmountCurrency()
Stringpublic void setCouponAmountCurrency(java.lang.String value)
value - the value
allowed object is
Stringpublic java.lang.String getLoyaltyCardDiscountAmount()
Stringpublic void setLoyaltyCardDiscountAmount(java.lang.String value)
value - the value
allowed object is
Stringpublic java.lang.String getLoyaltyCardDiscountCurrency()
Stringpublic void setLoyaltyCardDiscountCurrency(java.lang.String value)
value - the value
allowed object is
Stringpublic BasicAmountType getAmount()
BasicAmountTypepublic void setAmount(BasicAmountType value)
value - the value
allowed object is
BasicAmountTypepublic java.util.List<OptionType> getOptions()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the options property.
For example, to add a new item, do as follows:
getOptions().add(newItem);
Objects of the following type(s) are allowed in the list
OptionType
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.