public interface ValidateOrderAddressCmd extends TaskCommand
ValidateOrderAddressCmdImpl
.ValidateOrderAddressCmdImpl
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright note field.
|
static java.lang.String |
defaultCommandClassName
The default implementation of this command.
|
static java.lang.String |
NAME
The name of this command.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getAddressId()
Gets the identifier of the address to be validated.
|
java.lang.String |
getAddressType()
Gets the type of address to validate
|
java.lang.Long |
getContractId()
Gets the identifier of the contract which is used to check if the address is defined by the Shipping TCs of this contract.
|
java.lang.Long |
getMemberId()
Gets the identifier of the member who is used to check if the address is owned by.
|
OrderAccessBean |
getOrder()
Gets the order
|
java.lang.Long |
getTcId()
Gets the identifier of the PaymentTC terms and conditions object which could be used to check if the address is defined by the PaymentTC.
|
boolean |
isCheckPermanent()
Gets the flag which indicates whether to check the address is permanent or not.
|
void |
setAddressId(java.lang.Long anAddressId)
Sets the identifier of the address to be validated which is a required parameter.
|
void |
setAddressType(java.lang.String anAddressType)
Sets the type of address to validate.
|
void |
setCheckPermanent(boolean aCheckPermanent)
Sets the flag which indicates whether to check the address is permanent or not.
|
void |
setContractId(java.lang.Long aContractId)
Sets the identifier of the contract which is used to check if the address is defined by the Shipping TCs of this contract.
|
void |
setMemberId(java.lang.Long aMemberId)
Sets the identifier of the member.
|
void |
setOrder(OrderAccessBean anOrderAB)
Sets the order
|
void |
setTcId(java.lang.Long aTcId)
Sets the identifier of the PaymentTC terms and conditions object which could be used to check if the address is defined by the PaymentTC.
|
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
static final java.lang.String COPYRIGHT
static final java.lang.String defaultCommandClassName
static final java.lang.String NAME
void setAddressId(java.lang.Long anAddressId)
anAddressId
- the identifier of the address to be validated.java.lang.Long getAddressId()
void setMemberId(java.lang.Long aMemberId)
aMemberId
- the member identifier.java.lang.Long getMemberId()
void setContractId(java.lang.Long aContractId)
aContractId
- the identifier of a contract.java.lang.Long getContractId()
void setTcId(java.lang.Long aTcId)
aTcId
- the identifier of the terms and conditions object.java.lang.Long getTcId()
void setCheckPermanent(boolean aCheckPermanent)
aCheckPermanent
- a flag to indicate whether to check an address is permanent or not.boolean isCheckPermanent()
void setOrder(OrderAccessBean anOrderAB)
anOrderAB
- the order used to validate the address againstOrderAccessBean getOrder()
void setAddressType(java.lang.String anAddressType)
anAddressType
- java.lang.String getAddressType()