atg.projects.store.payment
Class StoreStoreCredit

java.lang.Object
  extended by atg.commerce.order.CommerceIdentifierImpl
      extended by atg.commerce.order.PaymentGroupImpl
          extended by atg.commerce.order.StoreCredit
              extended by atg.projects.store.payment.StoreStoreCredit
All Implemented Interfaces:
atg.commerce.order.ChangedProperties, atg.commerce.order.CommerceIdentifier, atg.commerce.order.CommerceItemRelationshipContainer, atg.commerce.order.OrderRelationshipContainer, atg.commerce.order.PaymentGroup, atg.commerce.order.ShippingGroupRelationshipContainer, atg.payment.storecredit.StoreCreditInfo, java.io.Serializable, java.util.Observer

public class StoreStoreCredit
extends atg.commerce.order.StoreCredit

The default store credit payment group is extended to contain the amount applied to the order.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string.
 
Constructor Summary
StoreStoreCredit()
          Default constructor.
 
Method Summary
 double getAmountAppliedToOrder()
          Returns the amountAppliedToOrder property.
 void setAmountAppliedToOrder(double pAmountAppliedToOrder)
          Sets the amountAppliedToOrder property.
 
Methods inherited from class atg.commerce.order.StoreCredit
getProfileId, getStoreCreditNumber, setProfileId, setStoreCreditNumber
 
Methods inherited from class atg.commerce.order.PaymentGroupImpl
addAuthorizationStatus, addChangedProperty, addCommerceItemRelationship, addCommerceItemRelationship, addCreditStatus, addDebitStatus, addOrderRelationship, addShippingGroupRelationship, addShippingGroupRelationship, clearChangedProperties, getAmount, getAmountAuthorized, getAmountCredited, getAmountDebited, getAuthorizationStatus, getChangedProperties, getCommerceItemRelationship, getCommerceItemRelationshipCount, getCommerceItemRelationships, getCreditStatus, getCurrencyCode, getDebitStatus, getOrderRelationship, getOrderRelationshipCount, getPaymentGroupClassType, getPaymentMethod, getPropertyValue, getRepositoryItem, getRequisitionNumber, getSaveAllProperties, getShippingGroupRelationship, getShippingGroupRelationshipCount, getShippingGroupRelationships, getSpecialInstructions, getState, getStateAsString, getStateAsUserResource, getStateDetail, getSubmittedDate, isChanged, removeAllCommerceItemRelationships, removeAllShippingGroupRelationships, removeCommerceItemRelationship, removeOrderRelationship, removeShippingGroupRelationship, setAmount, setAmountAuthorized, setAmountCredited, setAmountDebited, setChanged, setCurrencyCode, setPaymentGroupClassType, setPaymentMethod, setPropertyValue, setRepositoryItem, setRequisitionNumber, setSaveAllProperties, setSpecialInstructions, setState, setStateAsString, setStateDetail, setSubmittedDate, toString, update
 
Methods inherited from class atg.commerce.order.CommerceIdentifierImpl
getId, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface atg.payment.storecredit.StoreCreditInfo
getAmount
 
Methods inherited from interface atg.commerce.order.CommerceIdentifier
getId
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string.

Constructor Detail

StoreStoreCredit

public StoreStoreCredit()
Default constructor.

Method Detail

getAmountAppliedToOrder

public double getAmountAppliedToOrder()
Returns the amountAppliedToOrder property.

Returns:
amount that applied to order

setAmountAppliedToOrder

public void setAmountAppliedToOrder(double pAmountAppliedToOrder)
Sets the amountAppliedToOrder property.

Parameters:
pAmountAppliedToOrder - amount that applied to order