atg.b2bcommerce.order
Class B2BRelationshipTypes
java.lang.Object
atg.commerce.order.RelationshipTypes
atg.b2bcommerce.order.B2BRelationshipTypes
- All Implemented Interfaces:
- java.io.Serializable
public class B2BRelationshipTypes
- extends RelationshipTypes
This class contains the Relationship type constants for all the different types of
relationships. Assigning different values to all the relationship types is a requirement
because we need to be sure that we don't mistakingly assign an invalid type to a given
Relationship object.
- See Also:
- Serialized Form
Fields inherited from class atg.commerce.order.RelationshipTypes |
ORDERAMOUNT, ORDERAMOUNT_STR, ORDERAMOUNTREMAINING, ORDERAMOUNTREMAINING_STR, PAYMENTAMOUNT, PAYMENTAMOUNT_STR, PAYMENTAMOUNTREMAINING, PAYMENTAMOUNTREMAINING_STR, SHIPPINGAMOUNT, SHIPPINGAMOUNT_STR, SHIPPINGAMOUNTREMAINING, SHIPPINGAMOUNTREMAINING_STR, SHIPPINGQUANTITY, SHIPPINGQUANTITY_STR, SHIPPINGQUANTITYREMAINING, SHIPPINGQUANTITYREMAINING_STR, TAXAMOUNT, TAXAMOUNT_STR, TAXAMOUNTREMAINING, TAXAMOUNTREMAINING_STR |
Method Summary |
static int |
stringToType(java.lang.String pType)
Given a RelationshipType String, this method will return the corresponding integer for that
type |
static java.lang.String |
typeToString(int pType)
Given a RelationshipType state, this method will return a textual String name for that
type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASS_VERSION
public static java.lang.String CLASS_VERSION
- Class version string
CCQUANTITY
public static final int CCQUANTITY
- See Also:
- Constant Field Values
CCQUANTITYREMAINING
public static final int CCQUANTITYREMAINING
- See Also:
- Constant Field Values
CCAMOUNT
public static final int CCAMOUNT
- See Also:
- Constant Field Values
CCAMOUNTREMAINING
public static final int CCAMOUNTREMAINING
- See Also:
- Constant Field Values
CCSHIPPINGAMOUNT
public static final int CCSHIPPINGAMOUNT
- See Also:
- Constant Field Values
CCSHIPPINGAMOUNTREMAINING
public static final int CCSHIPPINGAMOUNTREMAINING
- See Also:
- Constant Field Values
CCORDERAMOUNT
public static final int CCORDERAMOUNT
- See Also:
- Constant Field Values
CCORDERAMOUNTREMAINING
public static final int CCORDERAMOUNTREMAINING
- See Also:
- Constant Field Values
CCTAXAMOUNT
public static final int CCTAXAMOUNT
- See Also:
- Constant Field Values
CCTAXAMOUNTREMAINING
public static final int CCTAXAMOUNTREMAINING
- See Also:
- Constant Field Values
CCQUANTITY_STR
public static final java.lang.String CCQUANTITY_STR
- See Also:
- Constant Field Values
CCQUANTITYREMAINING_STR
public static final java.lang.String CCQUANTITYREMAINING_STR
- See Also:
- Constant Field Values
CCAMOUNT_STR
public static final java.lang.String CCAMOUNT_STR
- See Also:
- Constant Field Values
CCAMOUNTREMAINING_STR
public static final java.lang.String CCAMOUNTREMAINING_STR
- See Also:
- Constant Field Values
CCSHIPPINGAMOUNT_STR
public static final java.lang.String CCSHIPPINGAMOUNT_STR
- See Also:
- Constant Field Values
CCSHIPPINGAMOUNTREMAINING_STR
public static final java.lang.String CCSHIPPINGAMOUNTREMAINING_STR
- See Also:
- Constant Field Values
CCORDERAMOUNT_STR
public static final java.lang.String CCORDERAMOUNT_STR
- See Also:
- Constant Field Values
CCORDERAMOUNTREMAINING_STR
public static final java.lang.String CCORDERAMOUNTREMAINING_STR
- See Also:
- Constant Field Values
CCTAXAMOUNT_STR
public static final java.lang.String CCTAXAMOUNT_STR
- See Also:
- Constant Field Values
CCTAXAMOUNTREMAINING_STR
public static final java.lang.String CCTAXAMOUNTREMAINING_STR
- See Also:
- Constant Field Values
B2BRelationshipTypes
public B2BRelationshipTypes()
typeToString
public static java.lang.String typeToString(int pType)
- Given a RelationshipType state, this method will return a textual String name for that
type.
- Parameters:
pType
- the relationship type to convert to a String
- Returns:
- a String representation of the type
stringToType
public static int stringToType(java.lang.String pType)
- Given a RelationshipType String, this method will return the corresponding integer for that
type
- Parameters:
pType
- the String to convert to a type
- Returns:
- the type which the String represents