atg.commerce.order
Class StoreCredit

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

public class StoreCredit
extends PaymentGroupImpl
implements StoreCreditInfo

This class is an implementation of StoreCredit payment information. It represents all the information which designates a store credit payment.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
StoreCredit()
           
 
Method Summary
 java.lang.String getProfileId()
          Returns the profileId
 java.lang.String getStoreCreditNumber()
          Returns the storeCreditNumber.
 void setProfileId(java.lang.String pProfileId)
          Sets the profileId
 void setStoreCreditNumber(java.lang.String pStoreCreditNumber)
          Sets the storeCreditNumber.
 
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

StoreCredit

public StoreCredit()
Method Detail

getProfileId

public java.lang.String getProfileId()
Returns the profileId

Specified by:
getProfileId in interface StoreCreditInfo

setProfileId

public void setProfileId(java.lang.String pProfileId)
Sets the profileId


getStoreCreditNumber

public java.lang.String getStoreCreditNumber()
Returns the storeCreditNumber. If this property is null then it signifies that any store credit owned by the user whose property is specified in profileId can be used.

Specified by:
getStoreCreditNumber in interface StoreCreditInfo

setStoreCreditNumber

public void setStoreCreditNumber(java.lang.String pStoreCreditNumber)
Sets the storeCreditNumber. If this property is null then it signifies that any store credit owned by the user whose property is specified in profileId can be used.