public class InStorePickupShippingGroup extends ShippingGroupImpl implements ShippingGroupPropertyContainer
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
sResourceBundle
Constructor and Description |
---|
InStorePickupShippingGroup() |
Modifier and Type | Method and Description |
---|---|
boolean |
arePropertiesEmpty()
This method is used to check the emptiness of the current ShippingGroup instance.
|
void |
copyProperties(ShippingGroupPropertyContainer pSrcShippingGroupPropertyContainer)
This method is used to copy the information from the source ShippingGroup to
the self destination.
|
boolean |
doPropertiesMatch(ShippingGroupPropertyContainer pShippingGroupPropertyContainer)
Do i match with the
ShippingGroupPropertyContainer that is passed in? |
java.lang.String |
getFirstName()
Get the first name of the person responsible for picking up the contents of this shipping group
|
java.lang.String |
getLastName()
Get the last name of the person responsible for picking up the contents of this shipping group
|
java.lang.String |
getLocationId()
Get the location where the items will be picked up from
|
java.lang.String |
getMiddleName()
Get the middle name of the person responsible for picking up the contents of this shipping group
|
java.util.List<java.lang.String> |
getPropertyContainerPropertyNames()
This method returns the list of properties that is used in the methods implemented
using this interface.
|
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 |
setFirstName(java.lang.String pFirstName)
Set the first name of the person responsible for picking up the contents of this shipping group
|
void |
setLastName(java.lang.String pLastName)
Set the last name of the person responsible for picking up the contents of this shipping group
|
void |
setLocationId(java.lang.String pLocationId)
Sets the location of this shipping group
|
void |
setMiddleName(java.lang.String pMiddleName)
Set the middle name of the person responsible for picking up the contents of this shipping group
|
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, update
getId, setId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getId
public java.lang.String getLocationId()
public void setLocationId(java.lang.String pLocationId)
pLocationId
- the location to setpublic java.lang.String getFirstName()
public void setFirstName(java.lang.String pFirstName)
pFirstName
- The first name to set.public java.lang.String getMiddleName()
public void setMiddleName(java.lang.String pMiddleName)
pMiddleName
- The middle name to setpublic java.lang.String getLastName()
public void setLastName(java.lang.String pLastName)
pLastName
- The last name to setpublic java.util.List<java.lang.String> getPropertyContainerPropertyNames()
ShippingGroupPropertyContainer
getPropertyContainerPropertyNames
in interface ShippingGroupPropertyContainer
public java.util.List<java.lang.String> initializePropertyContainerPropertyNames()
ShippingGroupPropertyContainer
This method should be used for the initializing the property names and most probably this method will be called only once per shipping group instance unless if someone wants to reinitialize .
If you want to include any additional properties, you need to extend this method to add any additional properties.
initializePropertyContainerPropertyNames
in interface ShippingGroupPropertyContainer
public boolean doPropertiesMatch(ShippingGroupPropertyContainer pShippingGroupPropertyContainer) throws CommerceException
ShippingGroupPropertyContainer
ShippingGroupPropertyContainer
that is passed in?
This method uses propertyContainerPropertyNames
property list to find whether
the shipping group matches with the current shipping group instance
doPropertiesMatch
in interface ShippingGroupPropertyContainer
pShippingGroupPropertyContainer
- -- The object to be matched againstCommerceException
public void copyProperties(ShippingGroupPropertyContainer pSrcShippingGroupPropertyContainer) throws CommerceException
ShippingGroupPropertyContainer
This method uses propertyContainerPropertyNames
property list to copy from
source object to the self destination.
copyProperties
in interface ShippingGroupPropertyContainer
pSrcShippingGroupPropertyContainer
- -- The information to be copied fromCommerceException
public boolean arePropertiesEmpty() throws CommerceException
ShippingGroupPropertyContainer
propertyContainerPropertyNames
list.
If any of the properties are not empty this returns false.arePropertiesEmpty
in interface ShippingGroupPropertyContainer
CommerceException