com.amazonaws.a2s.model
Class Transaction

java.lang.Object
  extended by com.amazonaws.a2s.model.Transaction

public class Transaction
extends java.lang.Object

Java class for anonymous complex type.

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

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="TransactionId" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="SellerId" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="Condition" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="TransactionDate" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="TransactionDateEpoch" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="SellerName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="PayingCustomerId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="OrderingCustomerId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Totals" type="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}TransactionTotals" minOccurs="0"/>
         <element name="TransactionItems" type="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}TransactionItems" minOccurs="0"/>
         <element name="Shipments" type="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}TransactionShipments" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
Generated by AWS Code Generator

Thu Jan 10 05:27:59 PST 2008


Field Summary
protected  java.lang.String condition
           
protected  java.lang.String orderingCustomerId
           
protected  java.lang.String payingCustomerId
           
protected  java.lang.String sellerId
           
protected  java.lang.String sellerName
           
protected  TransactionShipments shipments
           
protected  TransactionTotals totals
           
protected  java.lang.String transactionDate
           
protected  java.lang.String transactionDateEpoch
           
protected  java.lang.String transactionId
           
protected  TransactionItems transactionItems
           
 
Constructor Summary
Transaction()
           
 
Method Summary
 java.lang.String getCondition()
          Gets the value of the condition property.
 java.lang.String getOrderingCustomerId()
          Gets the value of the orderingCustomerId property.
 java.lang.String getPayingCustomerId()
          Gets the value of the payingCustomerId property.
 java.lang.String getSellerId()
          Gets the value of the sellerId property.
 java.lang.String getSellerName()
          Gets the value of the sellerName property.
 TransactionShipments getShipments()
          Gets the value of the shipments property.
 TransactionTotals getTotals()
          Gets the value of the totals property.
 java.lang.String getTransactionDate()
          Gets the value of the transactionDate property.
 java.lang.String getTransactionDateEpoch()
          Gets the value of the transactionDateEpoch property.
 java.lang.String getTransactionId()
          Gets the value of the transactionId property.
 TransactionItems getTransactionItems()
          Gets the value of the transactionItems property.
 boolean isSetCondition()
           
 boolean isSetOrderingCustomerId()
           
 boolean isSetPayingCustomerId()
           
 boolean isSetSellerId()
           
 boolean isSetSellerName()
           
 boolean isSetShipments()
           
 boolean isSetTotals()
           
 boolean isSetTransactionDate()
           
 boolean isSetTransactionDateEpoch()
           
 boolean isSetTransactionId()
           
 boolean isSetTransactionItems()
           
 void setCondition(java.lang.String value)
          Sets the value of the condition property.
 void setOrderingCustomerId(java.lang.String value)
          Sets the value of the orderingCustomerId property.
 void setPayingCustomerId(java.lang.String value)
          Sets the value of the payingCustomerId property.
 void setSellerId(java.lang.String value)
          Sets the value of the sellerId property.
 void setSellerName(java.lang.String value)
          Sets the value of the sellerName property.
 void setShipments(TransactionShipments value)
          Sets the value of the shipments property.
 void setTotals(TransactionTotals value)
          Sets the value of the totals property.
 void setTransactionDate(java.lang.String value)
          Sets the value of the transactionDate property.
 void setTransactionDateEpoch(java.lang.String value)
          Sets the value of the transactionDateEpoch property.
 void setTransactionId(java.lang.String value)
          Sets the value of the transactionId property.
 void setTransactionItems(TransactionItems value)
          Sets the value of the transactionItems property.
protected  java.lang.String toXMLFragment()
          XML fragment representation of this object
 Transaction withCondition(java.lang.String value)
          Sets the value of the Condition property.
 Transaction withOrderingCustomerId(java.lang.String value)
          Sets the value of the OrderingCustomerId property.
 Transaction withPayingCustomerId(java.lang.String value)
          Sets the value of the PayingCustomerId property.
 Transaction withSellerId(java.lang.String value)
          Sets the value of the SellerId property.
 Transaction withSellerName(java.lang.String value)
          Sets the value of the SellerName property.
 Transaction withShipments(TransactionShipments value)
          Sets the value of the Shipments property.
 Transaction withTotals(TransactionTotals value)
          Sets the value of the Totals property.
 Transaction withTransactionDate(java.lang.String value)
          Sets the value of the TransactionDate property.
 Transaction withTransactionDateEpoch(java.lang.String value)
          Sets the value of the TransactionDateEpoch property.
 Transaction withTransactionId(java.lang.String value)
          Sets the value of the TransactionId property.
 Transaction withTransactionItems(TransactionItems value)
          Sets the value of the TransactionItems property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

transactionId

protected java.lang.String transactionId

sellerId

protected java.lang.String sellerId

condition

protected java.lang.String condition

transactionDate

protected java.lang.String transactionDate

transactionDateEpoch

protected java.lang.String transactionDateEpoch

sellerName

protected java.lang.String sellerName

payingCustomerId

protected java.lang.String payingCustomerId

orderingCustomerId

protected java.lang.String orderingCustomerId

totals

protected TransactionTotals totals

transactionItems

protected TransactionItems transactionItems

shipments

protected TransactionShipments shipments
Constructor Detail

Transaction

public Transaction()
Method Detail

getTransactionId

public java.lang.String getTransactionId()
Gets the value of the transactionId property.

Returns:
possible object is String

setTransactionId

public void setTransactionId(java.lang.String value)
Sets the value of the transactionId property.

Parameters:
value - allowed object is String

isSetTransactionId

public boolean isSetTransactionId()

getSellerId

public java.lang.String getSellerId()
Gets the value of the sellerId property.

Returns:
possible object is String

setSellerId

public void setSellerId(java.lang.String value)
Sets the value of the sellerId property.

Parameters:
value - allowed object is String

isSetSellerId

public boolean isSetSellerId()

getCondition

public java.lang.String getCondition()
Gets the value of the condition property.

Returns:
possible object is String

setCondition

public void setCondition(java.lang.String value)
Sets the value of the condition property.

Parameters:
value - allowed object is String

isSetCondition

public boolean isSetCondition()

getTransactionDate

public java.lang.String getTransactionDate()
Gets the value of the transactionDate property.

Returns:
possible object is String

setTransactionDate

public void setTransactionDate(java.lang.String value)
Sets the value of the transactionDate property.

Parameters:
value - allowed object is String

isSetTransactionDate

public boolean isSetTransactionDate()

getTransactionDateEpoch

public java.lang.String getTransactionDateEpoch()
Gets the value of the transactionDateEpoch property.

Returns:
possible object is String

setTransactionDateEpoch

public void setTransactionDateEpoch(java.lang.String value)
Sets the value of the transactionDateEpoch property.

Parameters:
value - allowed object is String

isSetTransactionDateEpoch

public boolean isSetTransactionDateEpoch()

getSellerName

public java.lang.String getSellerName()
Gets the value of the sellerName property.

Returns:
possible object is String

setSellerName

public void setSellerName(java.lang.String value)
Sets the value of the sellerName property.

Parameters:
value - allowed object is String

isSetSellerName

public boolean isSetSellerName()

getPayingCustomerId

public java.lang.String getPayingCustomerId()
Gets the value of the payingCustomerId property.

Returns:
possible object is String

setPayingCustomerId

public void setPayingCustomerId(java.lang.String value)
Sets the value of the payingCustomerId property.

Parameters:
value - allowed object is String

isSetPayingCustomerId

public boolean isSetPayingCustomerId()

getOrderingCustomerId

public java.lang.String getOrderingCustomerId()
Gets the value of the orderingCustomerId property.

Returns:
possible object is String

setOrderingCustomerId

public void setOrderingCustomerId(java.lang.String value)
Sets the value of the orderingCustomerId property.

Parameters:
value - allowed object is String

isSetOrderingCustomerId

public boolean isSetOrderingCustomerId()

getTotals

public TransactionTotals getTotals()
Gets the value of the totals property.

Returns:
possible object is TransactionTotals

setTotals

public void setTotals(TransactionTotals value)
Sets the value of the totals property.

Parameters:
value - allowed object is TransactionTotals

isSetTotals

public boolean isSetTotals()

getTransactionItems

public TransactionItems getTransactionItems()
Gets the value of the transactionItems property.

Returns:
possible object is TransactionItems

setTransactionItems

public void setTransactionItems(TransactionItems value)
Sets the value of the transactionItems property.

Parameters:
value - allowed object is TransactionItems

isSetTransactionItems

public boolean isSetTransactionItems()

getShipments

public TransactionShipments getShipments()
Gets the value of the shipments property.

Returns:
possible object is TransactionShipments

setShipments

public void setShipments(TransactionShipments value)
Sets the value of the shipments property.

Parameters:
value - allowed object is TransactionShipments

isSetShipments

public boolean isSetShipments()

withTransactionId

public Transaction withTransactionId(java.lang.String value)
Sets the value of the TransactionId property.

Parameters:
value -
Returns:
this instance

withSellerId

public Transaction withSellerId(java.lang.String value)
Sets the value of the SellerId property.

Parameters:
value -
Returns:
this instance

withCondition

public Transaction withCondition(java.lang.String value)
Sets the value of the Condition property.

Parameters:
value -
Returns:
this instance

withTransactionDate

public Transaction withTransactionDate(java.lang.String value)
Sets the value of the TransactionDate property.

Parameters:
value -
Returns:
this instance

withTransactionDateEpoch

public Transaction withTransactionDateEpoch(java.lang.String value)
Sets the value of the TransactionDateEpoch property.

Parameters:
value -
Returns:
this instance

withSellerName

public Transaction withSellerName(java.lang.String value)
Sets the value of the SellerName property.

Parameters:
value -
Returns:
this instance

withPayingCustomerId

public Transaction withPayingCustomerId(java.lang.String value)
Sets the value of the PayingCustomerId property.

Parameters:
value -
Returns:
this instance

withOrderingCustomerId

public Transaction withOrderingCustomerId(java.lang.String value)
Sets the value of the OrderingCustomerId property.

Parameters:
value -
Returns:
this instance

withTotals

public Transaction withTotals(TransactionTotals value)
Sets the value of the Totals property.

Parameters:
value -
Returns:
this instance

withTransactionItems

public Transaction withTransactionItems(TransactionItems value)
Sets the value of the TransactionItems property.

Parameters:
value -
Returns:
this instance

withShipments

public Transaction withShipments(TransactionShipments value)
Sets the value of the Shipments property.

Parameters:
value -
Returns:
this instance

toXMLFragment

protected java.lang.String toXMLFragment()
XML fragment representation of this object

Returns:
XML fragment for this object. Name for outer tag expected to be set by calling method. This fragment returns inner properties representation only