atg.commerce.order.purchase
Class CommerceIdentifierPaymentInfo

java.lang.Object
  extended by atg.commerce.order.purchase.CommerceIdentifierPaymentInfo
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CommerceItemPaymentInfo, OrderPaymentInfo, ShippingGroupPaymentInfo, TaxPaymentInfo

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

This helper object represents the association between a CommerceIdentifier and its payment information.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
           
 
Constructor Summary
CommerceIdentifierPaymentInfo()
          Creates a new CommerceIdentifierPaymentInfo instance.
 
Method Summary
 double getAmount()
          Return the Amount property.
 java.lang.String getAmountRemainingType()
          getAmountRemainingType is used to return the amount remaining relationship type String based on the CommerceIdentifier type.
 java.lang.String getAmountType()
          getAmountType is used to return the amount relationship type String based on the CommerceIdentifier type.
 CommerceIdentifier getCommerceIdentifier()
          Return the CommerceIdentifier property.
 java.lang.String getCreditCardVerificationNumber()
          Many credit cards have a card verification number printed, not embossed, on the card.
 java.lang.String getPaymentMethod()
          Return the PaymentMethod property.
 long getQuantity()
          Return the Quantity property.
 java.lang.String getRelationshipType()
          Return the RelationshipType property.
 double getSplitAmount()
          Return the SplitAmount property.
 java.lang.String getSplitPaymentMethod()
          Return the SplitPaymentMethod property.
 long getSplitQuantity()
          Return the SplitQuantity property.
 void setAmount(double pAmount)
          Set the Amount property.
 void setCommerceIdentifier(CommerceIdentifier pCommerceIdentifier)
          Set the CommerceIdentifier property.
 void setCreditCardVerificationNumber(java.lang.String pCreditCardVerificationNumber)
          Sets the creditCardVerificationNumber Many credit cards have a card verification number printed, not embossed, on the card.
 void setPaymentMethod(java.lang.String pPaymentMethod)
          Set the PaymentMethod property.
 void setQuantity(long pQuantity)
          Set the Quantity property.
 void setRelationshipType(java.lang.String pRelationshipType)
          Set the RelationshipType property.
 void setSplitAmount(double pSplitAmount)
          Set the SplitAmount property.
 void setSplitPaymentMethod(java.lang.String pSplitPaymentMethod)
          Set the SplitPaymentMethod property.
 void setSplitQuantity(long pSplitQuantity)
          Set the SplitQuantity property.
 java.lang.String toString()
          Method that renders the general order information in a readable string format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Constructor Detail

CommerceIdentifierPaymentInfo

public CommerceIdentifierPaymentInfo()
Creates a new CommerceIdentifierPaymentInfo instance.

Method Detail

setCommerceIdentifier

public void setCommerceIdentifier(CommerceIdentifier pCommerceIdentifier)
Set the CommerceIdentifier property.

Parameters:
pCommerceIdentifier - a CommerceIdentifier value

getCommerceIdentifier

public CommerceIdentifier getCommerceIdentifier()
Return the CommerceIdentifier property.

Returns:
a CommerceIdentifier value

setRelationshipType

public void setRelationshipType(java.lang.String pRelationshipType)
Set the RelationshipType property.

Parameters:
pRelationshipType - a String value

getRelationshipType

public java.lang.String getRelationshipType()
Return the RelationshipType property.

Returns:
a String value

setPaymentMethod

public void setPaymentMethod(java.lang.String pPaymentMethod)
Set the PaymentMethod property.

Parameters:
pPaymentMethod - a String value

getPaymentMethod

public java.lang.String getPaymentMethod()
Return the PaymentMethod property.

Returns:
a String value

setAmount

public void setAmount(double pAmount)
Set the Amount property.

Parameters:
pAmount - a double value

getAmount

public double getAmount()
Return the Amount property.

Returns:
a double value

setQuantity

public void setQuantity(long pQuantity)
Set the Quantity property.

Parameters:
pQuantity - a long value

getQuantity

public long getQuantity()
Return the Quantity property.

Returns:
a long value

setSplitPaymentMethod

public void setSplitPaymentMethod(java.lang.String pSplitPaymentMethod)
Set the SplitPaymentMethod property.

Parameters:
pSplitPaymentMethod - a String value

getSplitPaymentMethod

public java.lang.String getSplitPaymentMethod()
Return the SplitPaymentMethod property.

Returns:
a String value

setSplitAmount

public void setSplitAmount(double pSplitAmount)
Set the SplitAmount property.

Parameters:
pSplitAmount - a double value

getSplitAmount

public double getSplitAmount()
Return the SplitAmount property.

Returns:
a double value

setSplitQuantity

public void setSplitQuantity(long pSplitQuantity)
Set the SplitQuantity property.

Parameters:
pSplitQuantity - a long value

getSplitQuantity

public long getSplitQuantity()
Return the SplitQuantity property.

Returns:
a long value

getAmountType

public java.lang.String getAmountType()
getAmountType is used to return the amount relationship type String based on the CommerceIdentifier type.

Returns:
a String value

getAmountRemainingType

public java.lang.String getAmountRemainingType()
getAmountRemainingType is used to return the amount remaining relationship type String based on the CommerceIdentifier type.

Returns:
a String value

toString

public java.lang.String toString()
Method that renders the general order information in a readable string format

Overrides:
toString in class java.lang.Object

getCreditCardVerificationNumber

public java.lang.String getCreditCardVerificationNumber()
Many credit cards have a card verification number printed, not embossed, on the card. This number is never transferred during card swipes and should be known only by the cardholder. Each card association has its own name for this number. Visa calls it the Card Verification Value (CVV2), and MasterCard calls it the Card Validation Code (CVC2). Visa and MasterCard print the number on the back of the card. American Express and Discover call it the Card Identification Digits (CID). This number is 3-4 digits. Amex uses 4 digit numbers and other credit cards uses 3 digits. This property is marked as transient. This property should not be allowed to serialize.

Returns:
Returns the creditCardVerificationNumber.

setCreditCardVerificationNumber

public void setCreditCardVerificationNumber(java.lang.String pCreditCardVerificationNumber)
Sets the creditCardVerificationNumber Many credit cards have a card verification number printed, not embossed, on the card. This number is never transferred during card swipes and should be known only by the cardholder. Each card association has its own name for this number. Visa calls it the Card Verification Value (CVV2), and MasterCard calls it the Card Validation Code (CVC2). Visa and MasterCard print the number on the back of the card. American Express and Discover call it the Card Identification Digits (CID). This number is 3-4 digits. Amex uses 4 digit numbers and other credit cards uses 3 digits. This property is marked as transient. This property should not be allowed to serialize.

Parameters:
pCreditCardVerificationNumber - The creditCardVerificationNumber to set.