public interface ShippingGroupPropertyContainer
Operations that use the shipping group property list are:
HardgoodShippingGroup,
ElectronicShippingGroup| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION |
| 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.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.
|
static final java.lang.String CLASS_VERSION
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
pShippingGroupPropertyContainer - -- The object to be matched againstCommerceExceptionvoid copyProperties(ShippingGroupPropertyContainer pSrcShippingGroupPropertyContainer) throws CommerceException
This method uses propertyContainerPropertyNames property list to copy from
source object to the self destination.
pSrcShippingGroupPropertyContainer - -- The information to be copied fromCommerceExceptionboolean arePropertiesEmpty()
throws CommerceException
propertyContainerPropertyNames list.
If any of the properties are not empty this returns false.CommerceExceptionjava.util.List<java.lang.String> getPropertyContainerPropertyNames()
java.util.List<java.lang.String> initializePropertyContainerPropertyNames()
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.