public class HardgoodShippingGroup extends ShippingGroupImpl implements ShippingAddressContainer, ShippingGroupPropertyContainer
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
sResourceBundle| Constructor and Description |
|---|
HardgoodShippingGroup() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
arePropertiesEmpty()
This method is used to check the emptiness of the current shipping group instance.
|
void |
copyProperties(ShippingGroupPropertyContainer pSrcShippingGroupPropertyContainer)
This method is used to copy the information from the source shipping group to
self destination.
|
boolean |
doPropertiesMatch(ShippingGroupPropertyContainer pShippingGroupPropertyContainer)
Do i match with the
ShippingGroupPropertyContainer that is passed in? |
java.util.List<java.lang.String> |
getPropertyContainerPropertyNames()
This method returns the list of properties.
|
Address |
getShippingAddress()
Returns the shippingAddress
|
java.lang.String |
getTrackingNumber()
Returns the trackingNumber
|
java.util.List<java.lang.String> |
initializePropertyContainerPropertyNames()
This method initializes the properties which are used to find a match, copy information from
source shipping group to self and find emptiness of the shipping group.
|
void |
setShippingAddress(Address pShippingAddress)
Sets the shippingAddress
|
void |
setTrackingNumber(java.lang.String pTrackingNumber)
Sets the trackingNumber
|
addChangedProperty, addCommerceItemRelationship, addCommerceItemRelationship, addCostCenterRelationship, addCostCenterRelationship, addHandlingInstruction, addHandlingInstruction, addPaymentGroupRelationship, addPaymentGroupRelationship, arePropertiesEmpty, clearChangedProperties, copyProperties, doPropertiesMatch, getActualShipDate, getChangedProperties, getCommerceItemRelationship, getCommerceItemRelationshipCount, getCommerceItemRelationships, getCostCenterRelationship, getCostCenterRelationshipCount, getCostCenterRelationships, getDescription, getHandlingInstruction, getHandlingInstructionCount, getHandlingInstructions, getPaymentGroupRelationship, getPaymentGroupRelationshipCount, getPaymentGroupRelationships, getPriceInfo, getPriceInfoRepositoryItem, getPropertyValue, getRepositoryItem, getSaveAllProperties, getShipOnDate, getShippingGroupClassType, getShippingMethod, getSpecialInstructions, getState, getStateAsString, getStateAsUserResource, getStateDetail, getSubmittedDate, isChanged, removeAllCommerceItemRelationships, removeAllCostCenterRelationships, removeAllHandlingInstructions, removeAllPaymentGroupRelationships, removeCommerceItemRelationship, removeCostCenterRelationship, removeHandlingInstruction, removePaymentGroupRelationship, setActualShipDate, setChanged, setDescription, setPriceInfo, setPriceInfoRepositoryItem, setPropertyValue, setRepositoryItem, setSaveAllProperties, setShipOnDate, setShippingGroupClassType, setShippingMethod, setSpecialInstructions, setState, setStateAsString, setStateDetail, setSubmittedDate, toString, updategetId, setIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetIdpublic java.lang.String getTrackingNumber()
public void setTrackingNumber(java.lang.String pTrackingNumber)
public Address getShippingAddress()
getShippingAddress in interface ShippingAddressContainerpublic void setShippingAddress(Address pShippingAddress)
setShippingAddress in interface ShippingAddressContainerpublic java.util.List<java.lang.String> getPropertyContainerPropertyNames()
getPropertyContainerPropertyNames in interface ShippingGroupPropertyContainerinitializePropertyContainerPropertyNames()public java.util.List<java.lang.String> initializePropertyContainerPropertyNames()
If you want to include any additional properties, you need to extend this method to add any additional properties.
initializePropertyContainerPropertyNames in interface ShippingGroupPropertyContainerpublic void copyProperties(ShippingGroupPropertyContainer pSrcShippingGroupPropertyContainer) throws CommerceException
This method uses propertyContainerPropertyNames property list to copy from
source shipping group to itself. Only the propertyContainerPropertyNames properties are
copied.
copyProperties in interface ShippingGroupPropertyContainerpSrcShippingGroupPropertyContainer - -- The information to be copied fromCommerceExceptionShippingGroupImpl.copyProperties(ShippingGroup, java.util.Collection)public boolean arePropertiesEmpty()
throws CommerceException
propertyContainerPropertyNames property list.
If any of the properties are not empty this returns false, true otherwise.arePropertiesEmpty in interface ShippingGroupPropertyContainerCommerceExceptionShippingGroupImpl.arePropertiesEmpty(java.util.Collection)public boolean doPropertiesMatch(ShippingGroupPropertyContainer pShippingGroupPropertyContainer) throws CommerceException
ShippingGroupPropertyContainer that is passed in?
This method uses propertyContainerPropertyNames property list to find whether
the shipping group matches with the current shipping group instance. If all the properties of shipping group
parameter and current instance match, then the both instances are considered as match.
doPropertiesMatch in interface ShippingGroupPropertyContainerpShippingGroupPropertyContainer - -- The object to be matched againstCommerceExceptionShippingGroupImpl.doPropertiesMatch(ShippingGroup, List)