public class

PaymentItemType

extends Object
java.lang.Object
   ↳ ebay.apis.eblbasecomponents.PaymentItemType

Class Overview

PaymentItemType Information about a Payment Item.

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="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>
 

Summary

Fields
protected BasicAmountType amount
protected String ebayItemTxnId
protected String handlingAmount
protected String name
protected String number
protected List<OptionType> options
protected String quantity
protected String salesTax
protected String shippingAmount
Public Constructors
PaymentItemType()
Public Methods
BasicAmountType getAmount()
Gets the value of the amount property.
String getEbayItemTxnId()
Gets the value of the ebayItemTxnId property.
String getHandlingAmount()
Gets the value of the handlingAmount property.
String getName()
Gets the value of the name property.
String getNumber()
Gets the value of the number property.
List<OptionType> getOptions()
Gets the value of the options property.
String getQuantity()
Gets the value of the quantity property.
String getSalesTax()
Gets the value of the salesTax property.
String getShippingAmount()
Gets the value of the shippingAmount property.
void setAmount(BasicAmountType value)
Sets the value of the amount property.
void setEbayItemTxnId(String value)
Sets the value of the ebayItemTxnId property.
void setHandlingAmount(String value)
Sets the value of the handlingAmount property.
void setName(String value)
Sets the value of the name property.
void setNumber(String value)
Sets the value of the number property.
void setQuantity(String value)
Sets the value of the quantity property.
void setSalesTax(String value)
Sets the value of the salesTax property.
void setShippingAmount(String value)
Sets the value of the shippingAmount property.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected BasicAmountType amount

protected String ebayItemTxnId

protected String handlingAmount

protected String name

protected String number

protected List<OptionType> options

protected String quantity

protected String salesTax

protected String shippingAmount

Public Constructors

public PaymentItemType ()

Public Methods

public BasicAmountType getAmount ()

Gets the value of the amount property.

Returns

public String getEbayItemTxnId ()

Gets the value of the ebayItemTxnId property.

Returns
  • possible object is String

public String getHandlingAmount ()

Gets the value of the handlingAmount property.

Returns
  • possible object is String

public String getName ()

Gets the value of the name property.

Returns
  • possible object is String

public String getNumber ()

Gets the value of the number property.

Returns
  • possible object is String

public List<OptionType> getOptions ()

Gets the value of the options property.

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

public String getQuantity ()

Gets the value of the quantity property.

Returns
  • possible object is String

public String getSalesTax ()

Gets the value of the salesTax property.

Returns
  • possible object is String

public String getShippingAmount ()

Gets the value of the shippingAmount property.

Returns
  • possible object is String

public void setAmount (BasicAmountType value)

Sets the value of the amount property.

Parameters
value Allowed object is BasicAmountType

public void setEbayItemTxnId (String value)

Sets the value of the ebayItemTxnId property.

Parameters
value Allowed object is String

public void setHandlingAmount (String value)

Sets the value of the handlingAmount property.

Parameters
value Allowed object is String

public void setName (String value)

Sets the value of the name property.

Parameters
value Allowed object is String

public void setNumber (String value)

Sets the value of the number property.

Parameters
value Allowed object is String

public void setQuantity (String value)

Sets the value of the quantity property.

Parameters
value Allowed object is String

public void setSalesTax (String value)

Sets the value of the salesTax property.

Parameters
value Allowed object is String

public void setShippingAmount (String value)

Sets the value of the shippingAmount property.

Parameters
value Allowed object is String