Project 4

com.amazon.soap.AWSECommerceService
Class TransactionTotals

java.lang.Object
  extended by com.amazon.soap.AWSECommerceService.TransactionTotals
All Implemented Interfaces:
java.io.Serializable

public class TransactionTotals
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
private  java.lang.Object __equalsCalc
           
private  boolean __hashCodeCalc
           
private  Price promotion
           
private  Price shippingCharge
           
private  Price subtotal
           
private  Price tax
           
private  Price total
           
private static org.apache.axis.description.TypeDesc typeDesc
           
 
Constructor Summary
TransactionTotals()
           
TransactionTotals(Price total, Price subtotal, Price tax, Price shippingCharge, Price promotion)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 Price getPromotion()
          Gets the promotion value for this TransactionTotals.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
 Price getShippingCharge()
          Gets the shippingCharge value for this TransactionTotals.
 Price getSubtotal()
          Gets the subtotal value for this TransactionTotals.
 Price getTax()
          Gets the tax value for this TransactionTotals.
 Price getTotal()
          Gets the total value for this TransactionTotals.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setPromotion(Price promotion)
          Sets the promotion value for this TransactionTotals.
 void setShippingCharge(Price shippingCharge)
          Sets the shippingCharge value for this TransactionTotals.
 void setSubtotal(Price subtotal)
          Sets the subtotal value for this TransactionTotals.
 void setTax(Price tax)
          Sets the tax value for this TransactionTotals.
 void setTotal(Price total)
          Sets the total value for this TransactionTotals.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

__equalsCalc

private java.lang.Object __equalsCalc

__hashCodeCalc

private boolean __hashCodeCalc

promotion

private Price promotion

shippingCharge

private Price shippingCharge

subtotal

private Price subtotal

tax

private Price tax

total

private Price total

typeDesc

private static org.apache.axis.description.TypeDesc typeDesc
Constructor Detail

TransactionTotals

public TransactionTotals()

TransactionTotals

public TransactionTotals(Price total,
                         Price subtotal,
                         Price tax,
                         Price shippingCharge,
                         Price promotion)
Method Detail

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Custom Deserializer


getPromotion

public Price getPromotion()
Gets the promotion value for this TransactionTotals.

Returns:
promotion

getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Custom Serializer


getShippingCharge

public Price getShippingCharge()
Gets the shippingCharge value for this TransactionTotals.

Returns:
shippingCharge

getSubtotal

public Price getSubtotal()
Gets the subtotal value for this TransactionTotals.

Returns:
subtotal

getTax

public Price getTax()
Gets the tax value for this TransactionTotals.

Returns:
tax

getTotal

public Price getTotal()
Gets the total value for this TransactionTotals.

Returns:
total

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

setPromotion

public void setPromotion(Price promotion)
Sets the promotion value for this TransactionTotals.

Parameters:
promotion -

setShippingCharge

public void setShippingCharge(Price shippingCharge)
Sets the shippingCharge value for this TransactionTotals.

Parameters:
shippingCharge -

setSubtotal

public void setSubtotal(Price subtotal)
Sets the subtotal value for this TransactionTotals.

Parameters:
subtotal -

setTax

public void setTax(Price tax)
Sets the tax value for this TransactionTotals.

Parameters:
tax -

setTotal

public void setTotal(Price total)
Sets the total value for this TransactionTotals.

Parameters:
total -

Project 4