public class

TransactionType

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

Class Overview

Contains information about a single transaction. A transaction contains information about the sale of a particular item. The system creates a transaction when a buyer has made a purchase (Fixed Price items) or is the winning bidder (BIN and auction items). A listing can be associated with one or more transactions in these cases: Multi-Item Fixed Price Listings Dutch Auction Listings A listing is associated with a single transaction in these cases: Single-Item Fixed Price Listings Single-Item Auction Listings

Java class for TransactionType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="TransactionType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{urn:ebay:apis:eBLBaseComponents}AmountPaid" minOccurs="0"/>
         <element name="Buyer" type="{urn:ebay:apis:eBLBaseComponents}UserType" minOccurs="0"/>
         <element ref="{urn:ebay:apis:eBLBaseComponents}ShippingDetails" minOccurs="0"/>
         <element name="ConvertedAmountPaid" type="{urn:ebay:apis:CoreComponentTypes}AmountType" minOccurs="0"/>
         <element name="ConvertedTransactionPrice" type="{urn:ebay:apis:CoreComponentTypes}AmountType" minOccurs="0"/>
         <element name="CreatedDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="DepositType" type="{urn:ebay:apis:eBLBaseComponents}DepositTypeCodeType" minOccurs="0"/>
         <element name="Item" type="{urn:ebay:apis:eBLBaseComponents}ItemType" minOccurs="0"/>
         <element name="QuantityPurchased" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
         <element name="ShippingHandlingTotal" type="{urn:ebay:apis:CoreComponentTypes}AmountType" minOccurs="0"/>
         <element name="Status" type="{urn:ebay:apis:eBLBaseComponents}TransactionStatusType" minOccurs="0"/>
         <element ref="{urn:ebay:apis:eBLBaseComponents}TransactionID" minOccurs="0"/>
         <element ref="{urn:ebay:apis:eBLBaseComponents}AuthorizationID"/>
         <element name="TransactionPrice" type="{urn:ebay:apis:CoreComponentTypes}AmountType" minOccurs="0"/>
         <element name="VATPercent" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Fields
protected AmountType amountPaid
protected String authorizationID
protected UserType buyer
protected AmountType convertedAmountPaid
protected AmountType convertedTransactionPrice
protected XMLGregorianCalendar createdDate
protected DepositTypeCodeType depositType
protected ItemType item
protected Integer quantityPurchased
protected ShippingDetailsType shippingDetails
protected AmountType shippingHandlingTotal
protected TransactionStatusType status
protected String transactionID
protected AmountType transactionPrice
protected BigDecimal vatPercent
Public Constructors
TransactionType()
Public Methods
AmountType getAmountPaid()
The amount the buyer paid for the item or agreed to pay, depending on how far into the checkout process the item is.
String getAuthorizationID()
Unique identifier for an authorization.
UserType getBuyer()
Gets the value of the buyer property.
AmountType getConvertedAmountPaid()
Gets the value of the convertedAmountPaid property.
AmountType getConvertedTransactionPrice()
Gets the value of the convertedTransactionPrice property.
XMLGregorianCalendar getCreatedDate()
Gets the value of the createdDate property.
DepositTypeCodeType getDepositType()
Gets the value of the depositType property.
ItemType getItem()
Gets the value of the item property.
Integer getQuantityPurchased()
Gets the value of the quantityPurchased property.
ShippingDetailsType getShippingDetails()
Includes shipping payment data.
AmountType getShippingHandlingTotal()
Gets the value of the shippingHandlingTotal property.
TransactionStatusType getStatus()
Gets the value of the status property.
String getTransactionID()
Unique identifier for a transaction.
AmountType getTransactionPrice()
Gets the value of the transactionPrice property.
BigDecimal getVATPercent()
Gets the value of the vatPercent property.
void setAmountPaid(AmountType value)
Sets the value of the amountPaid property.
void setAuthorizationID(String value)
Sets the value of the authorizationID property.
void setBuyer(UserType value)
Sets the value of the buyer property.
void setConvertedAmountPaid(AmountType value)
Sets the value of the convertedAmountPaid property.
void setConvertedTransactionPrice(AmountType value)
Sets the value of the convertedTransactionPrice property.
void setCreatedDate(XMLGregorianCalendar value)
Sets the value of the createdDate property.
void setDepositType(DepositTypeCodeType value)
Sets the value of the depositType property.
void setItem(ItemType value)
Sets the value of the item property.
void setQuantityPurchased(Integer value)
Sets the value of the quantityPurchased property.
void setShippingDetails(ShippingDetailsType value)
Sets the value of the shippingDetails property.
void setShippingHandlingTotal(AmountType value)
Sets the value of the shippingHandlingTotal property.
void setStatus(TransactionStatusType value)
Sets the value of the status property.
void setTransactionID(String value)
Sets the value of the transactionID property.
void setTransactionPrice(AmountType value)
Sets the value of the transactionPrice property.
void setVATPercent(BigDecimal value)
Sets the value of the vatPercent property.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected AmountType amountPaid

protected String authorizationID

protected UserType buyer

protected AmountType convertedAmountPaid

protected AmountType convertedTransactionPrice

protected XMLGregorianCalendar createdDate

protected DepositTypeCodeType depositType

protected ItemType item

protected Integer quantityPurchased

protected ShippingDetailsType shippingDetails

protected AmountType shippingHandlingTotal

protected TransactionStatusType status

protected String transactionID

protected AmountType transactionPrice

protected BigDecimal vatPercent

Public Constructors

public TransactionType ()

Public Methods

public AmountType getAmountPaid ()

The amount the buyer paid for the item or agreed to pay, depending on how far into the checkout process the item is. If the seller allowed the buyer to change the item total, the buyer is able to change the total until the time that the transaction's status moves to Complete. Determine whether the buyer changed the amount by calling GetSellerTransactions or GetSellerTransactions and comparing the AmountPaid value to what the seller expected. For Motors items, AmountPaid is the amount paid by the buyer for the deposit.

Returns

public String getAuthorizationID ()

Unique identifier for an authorization.

Returns
  • possible object is String

public UserType getBuyer ()

Gets the value of the buyer property.

Returns

public AmountType getConvertedAmountPaid ()

Gets the value of the convertedAmountPaid property.

Returns

public AmountType getConvertedTransactionPrice ()

Gets the value of the convertedTransactionPrice property.

Returns

public XMLGregorianCalendar getCreatedDate ()

Gets the value of the createdDate property.

Returns
  • possible object is XMLGregorianCalendar

public DepositTypeCodeType getDepositType ()

Gets the value of the depositType property.

Returns

public ItemType getItem ()

Gets the value of the item property.

Returns

public Integer getQuantityPurchased ()

Gets the value of the quantityPurchased property.

Returns
  • possible object is Integer

public ShippingDetailsType getShippingDetails ()

Includes shipping payment data.

Returns

public AmountType getShippingHandlingTotal ()

Gets the value of the shippingHandlingTotal property.

Returns

public TransactionStatusType getStatus ()

Gets the value of the status property.

Returns

public String getTransactionID ()

Unique identifier for a transaction. Returns 0 when Type=1 (Chinese auction). Typically, an ItemID and a TransactionID uniquely identify a checkout transaction.

Returns
  • possible object is String

public AmountType getTransactionPrice ()

Gets the value of the transactionPrice property.

Returns

public BigDecimal getVATPercent ()

Gets the value of the vatPercent property.

Returns
  • possible object is BigDecimal

public void setAmountPaid (AmountType value)

Sets the value of the amountPaid property.

Parameters
value Allowed object is AmountType

public void setAuthorizationID (String value)

Sets the value of the authorizationID property.

Parameters
value Allowed object is String

public void setBuyer (UserType value)

Sets the value of the buyer property.

Parameters
value Allowed object is UserType

public void setConvertedAmountPaid (AmountType value)

Sets the value of the convertedAmountPaid property.

Parameters
value Allowed object is AmountType

public void setConvertedTransactionPrice (AmountType value)

Sets the value of the convertedTransactionPrice property.

Parameters
value Allowed object is AmountType

public void setCreatedDate (XMLGregorianCalendar value)

Sets the value of the createdDate property.

Parameters
value Allowed object is XMLGregorianCalendar

public void setDepositType (DepositTypeCodeType value)

Sets the value of the depositType property.

Parameters
value Allowed object is DepositTypeCodeType

public void setItem (ItemType value)

Sets the value of the item property.

Parameters
value Allowed object is ItemType

public void setQuantityPurchased (Integer value)

Sets the value of the quantityPurchased property.

Parameters
value Allowed object is Integer

public void setShippingDetails (ShippingDetailsType value)

Sets the value of the shippingDetails property.

Parameters
value Allowed object is ShippingDetailsType

public void setShippingHandlingTotal (AmountType value)

Sets the value of the shippingHandlingTotal property.

Parameters
value Allowed object is AmountType

public void setStatus (TransactionStatusType value)

Sets the value of the status property.

Parameters
value Allowed object is TransactionStatusType

public void setTransactionID (String value)

Sets the value of the transactionID property.

Parameters
value Allowed object is String

public void setTransactionPrice (AmountType value)

Sets the value of the transactionPrice property.

Parameters
value Allowed object is AmountType

public void setVATPercent (BigDecimal value)

Sets the value of the vatPercent property.

Parameters
value Allowed object is BigDecimal