public interface CreateShippingBillingAddressCmd extends TaskCommand
BatchOrderRequestCmd
during batch processing of a new order.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright field
|
static java.lang.String |
defaultCommandClassName
Name of the default implementation of this command
|
static java.lang.String |
NAME
Name of the current class
|
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getAddressId()
Gets the address Id
|
int |
getErrorCode()
Gets the error code
|
void |
setAddressType(java.lang.String addressType)
Sets Address Type to either shipping or billing
|
void |
setBillToAddress(Address BillToAddress)
Updates billing address
|
void |
setMemberId(java.lang.Long memberId)
Sets member ID
|
void |
setShipToAddress(Address shipToAddress)
Updates shipping address
|
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 NAME
static final java.lang.String defaultCommandClassName
java.lang.Long getAddressId()
int getErrorCode()
void setAddressType(java.lang.String addressType)
addressType
- Code indicate the type of address
"S" represents a shipping address
"B" represents a billing addressvoid setBillToAddress(Address BillToAddress)
BillToAddress
- the new billing addressvoid setMemberId(java.lang.Long memberId)
memberId
- the member id used to identify a membervoid setShipToAddress(Address shipToAddress)
shipToAddress
- the new shipping address