org.broadleafcommerce.vendor.cybersource.service.api
Class PurchaseTotals

java.lang.Object
  extended by org.broadleafcommerce.vendor.cybersource.service.api.PurchaseTotals
All Implemented Interfaces:
java.io.Serializable

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

See Also:
Serialized Form

Constructor Summary
PurchaseTotals()
           
PurchaseTotals(java.lang.String currency, java.lang.String discountAmount, java.lang.String taxAmount, java.lang.String dutyAmount, java.lang.String grandTotalAmount, java.lang.String freightAmount, java.lang.String foreignAmount, java.lang.String foreignCurrency, java.lang.String exchangeRate, java.lang.String exchangeRateTimeStamp)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getCurrency()
          Gets the currency value for this PurchaseTotals.
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 java.lang.String getDiscountAmount()
          Gets the discountAmount value for this PurchaseTotals.
 java.lang.String getDutyAmount()
          Gets the dutyAmount value for this PurchaseTotals.
 java.lang.String getExchangeRate()
          Gets the exchangeRate value for this PurchaseTotals.
 java.lang.String getExchangeRateTimeStamp()
          Gets the exchangeRateTimeStamp value for this PurchaseTotals.
 java.lang.String getForeignAmount()
          Gets the foreignAmount value for this PurchaseTotals.
 java.lang.String getForeignCurrency()
          Gets the foreignCurrency value for this PurchaseTotals.
 java.lang.String getFreightAmount()
          Gets the freightAmount value for this PurchaseTotals.
 java.lang.String getGrandTotalAmount()
          Gets the grandTotalAmount value for this PurchaseTotals.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
 java.lang.String getTaxAmount()
          Gets the taxAmount value for this PurchaseTotals.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setCurrency(java.lang.String currency)
          Sets the currency value for this PurchaseTotals.
 void setDiscountAmount(java.lang.String discountAmount)
          Sets the discountAmount value for this PurchaseTotals.
 void setDutyAmount(java.lang.String dutyAmount)
          Sets the dutyAmount value for this PurchaseTotals.
 void setExchangeRate(java.lang.String exchangeRate)
          Sets the exchangeRate value for this PurchaseTotals.
 void setExchangeRateTimeStamp(java.lang.String exchangeRateTimeStamp)
          Sets the exchangeRateTimeStamp value for this PurchaseTotals.
 void setForeignAmount(java.lang.String foreignAmount)
          Sets the foreignAmount value for this PurchaseTotals.
 void setForeignCurrency(java.lang.String foreignCurrency)
          Sets the foreignCurrency value for this PurchaseTotals.
 void setFreightAmount(java.lang.String freightAmount)
          Sets the freightAmount value for this PurchaseTotals.
 void setGrandTotalAmount(java.lang.String grandTotalAmount)
          Sets the grandTotalAmount value for this PurchaseTotals.
 void setTaxAmount(java.lang.String taxAmount)
          Sets the taxAmount value for this PurchaseTotals.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PurchaseTotals

public PurchaseTotals()

PurchaseTotals

public PurchaseTotals(java.lang.String currency,
                      java.lang.String discountAmount,
                      java.lang.String taxAmount,
                      java.lang.String dutyAmount,
                      java.lang.String grandTotalAmount,
                      java.lang.String freightAmount,
                      java.lang.String foreignAmount,
                      java.lang.String foreignCurrency,
                      java.lang.String exchangeRate,
                      java.lang.String exchangeRateTimeStamp)
Method Detail

getCurrency

public java.lang.String getCurrency()
Gets the currency value for this PurchaseTotals.

Returns:
currency

setCurrency

public void setCurrency(java.lang.String currency)
Sets the currency value for this PurchaseTotals.

Parameters:
currency -

getDiscountAmount

public java.lang.String getDiscountAmount()
Gets the discountAmount value for this PurchaseTotals.

Returns:
discountAmount

setDiscountAmount

public void setDiscountAmount(java.lang.String discountAmount)
Sets the discountAmount value for this PurchaseTotals.

Parameters:
discountAmount -

getTaxAmount

public java.lang.String getTaxAmount()
Gets the taxAmount value for this PurchaseTotals.

Returns:
taxAmount

setTaxAmount

public void setTaxAmount(java.lang.String taxAmount)
Sets the taxAmount value for this PurchaseTotals.

Parameters:
taxAmount -

getDutyAmount

public java.lang.String getDutyAmount()
Gets the dutyAmount value for this PurchaseTotals.

Returns:
dutyAmount

setDutyAmount

public void setDutyAmount(java.lang.String dutyAmount)
Sets the dutyAmount value for this PurchaseTotals.

Parameters:
dutyAmount -

getGrandTotalAmount

public java.lang.String getGrandTotalAmount()
Gets the grandTotalAmount value for this PurchaseTotals.

Returns:
grandTotalAmount

setGrandTotalAmount

public void setGrandTotalAmount(java.lang.String grandTotalAmount)
Sets the grandTotalAmount value for this PurchaseTotals.

Parameters:
grandTotalAmount -

getFreightAmount

public java.lang.String getFreightAmount()
Gets the freightAmount value for this PurchaseTotals.

Returns:
freightAmount

setFreightAmount

public void setFreightAmount(java.lang.String freightAmount)
Sets the freightAmount value for this PurchaseTotals.

Parameters:
freightAmount -

getForeignAmount

public java.lang.String getForeignAmount()
Gets the foreignAmount value for this PurchaseTotals.

Returns:
foreignAmount

setForeignAmount

public void setForeignAmount(java.lang.String foreignAmount)
Sets the foreignAmount value for this PurchaseTotals.

Parameters:
foreignAmount -

getForeignCurrency

public java.lang.String getForeignCurrency()
Gets the foreignCurrency value for this PurchaseTotals.

Returns:
foreignCurrency

setForeignCurrency

public void setForeignCurrency(java.lang.String foreignCurrency)
Sets the foreignCurrency value for this PurchaseTotals.

Parameters:
foreignCurrency -

getExchangeRate

public java.lang.String getExchangeRate()
Gets the exchangeRate value for this PurchaseTotals.

Returns:
exchangeRate

setExchangeRate

public void setExchangeRate(java.lang.String exchangeRate)
Sets the exchangeRate value for this PurchaseTotals.

Parameters:
exchangeRate -

getExchangeRateTimeStamp

public java.lang.String getExchangeRateTimeStamp()
Gets the exchangeRateTimeStamp value for this PurchaseTotals.

Returns:
exchangeRateTimeStamp

setExchangeRateTimeStamp

public void setExchangeRateTimeStamp(java.lang.String exchangeRateTimeStamp)
Sets the exchangeRateTimeStamp value for this PurchaseTotals.

Parameters:
exchangeRateTimeStamp -

equals

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

hashCode

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

getTypeDesc

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


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


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



Copyright © 2012. All Rights Reserved.