atg.payment.tax
Class TaxRequestInfoImpl

java.lang.Object
  extended by atg.payment.tax.TaxRequestInfoImpl
All Implemented Interfaces:
TaxRequestInfo, java.io.Serializable

public class TaxRequestInfoImpl
extends java.lang.Object
implements TaxRequestInfo

Impelemetaion of atg.payment.tax.TaxRequestInfo. For use with all TaxProcessors.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
TaxRequestInfoImpl()
           
 
Method Summary
 Address getBillingAddress()
          Get property BillingAddress
 Order getOrder()
          Return an Order object
 java.lang.String getOrderId()
          Get property OrderId
 ShippingDestination getShippingDestination(int i)
          Return a single shipping destination
 ShippingDestination[] getShippingDestinations()
          Returns the array of shipping destinations for the order
 java.lang.Object getUserData()
          Return a userData object
 void setBillingAddress(Address pBillingAddress)
          Set property BillingAddress
 void setOrder(Order pOrder)
          Set an Order object
 void setOrderId(java.lang.String pOrderId)
          Set property OrderId
 void setShippingDestinations(ShippingDestination[] pShippingDestinations)
          Sets property ShippingDestinations
 void setUserData(java.lang.Object pUserData)
          Set a userData object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

TaxRequestInfoImpl

public TaxRequestInfoImpl()
Method Detail

setOrderId

public void setOrderId(java.lang.String pOrderId)
Set property OrderId

Parameters:
pOrderId - new value to set

getOrderId

public java.lang.String getOrderId()
Get property OrderId

Specified by:
getOrderId in interface TaxRequestInfo
Returns:
OrderId

setBillingAddress

public void setBillingAddress(Address pBillingAddress)
Set property BillingAddress

Parameters:
pBillingAddress - new value to set

getBillingAddress

public Address getBillingAddress()
Get property BillingAddress

Specified by:
getBillingAddress in interface TaxRequestInfo
Returns:
BillingAddress

setShippingDestinations

public void setShippingDestinations(ShippingDestination[] pShippingDestinations)
Sets property ShippingDestinations


getShippingDestinations

public ShippingDestination[] getShippingDestinations()
Returns the array of shipping destinations for the order

Specified by:
getShippingDestinations in interface TaxRequestInfo

getShippingDestination

public ShippingDestination getShippingDestination(int i)
Return a single shipping destination

Specified by:
getShippingDestination in interface TaxRequestInfo

setOrder

public void setOrder(Order pOrder)
Set an Order object


getOrder

public Order getOrder()
Return an Order object

Specified by:
getOrder in interface TaxRequestInfo

setUserData

public void setUserData(java.lang.Object pUserData)
Set a userData object


getUserData

public java.lang.Object getUserData()
Return a userData object

Specified by:
getUserData in interface TaxRequestInfo