public class ComposeTransferOrderCmdImpl extends ComposeOrderDetailsCmdImpl
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The IBM copyright notice field.
|
static java.lang.String | FINANCIAL_TRANSACTION_STATUS_CANCELED
A string literal of transaction status Canceled.
|
static java.lang.String | FINANCIAL_TRANSACTION_STATUS_FAILED
A string literal of transaction status Failed.
|
static java.lang.String | FINANCIAL_TRANSACTION_STATUS_NEW
A string literal of transaction status New.
|
static java.lang.String | FINANCIAL_TRANSACTION_STATUS_PENDING
A string literal of transaction status Pending.
|
static java.lang.String | FINANCIAL_TRANSACTION_STATUS_SUCCESS
A string literal of transaction status Success.
|
static java.lang.String | FINANCIAL_TRANSACTION_TYPE_APPROVE
A string literal of transaction type Approve.
|
static java.lang.String | FINANCIAL_TRANSACTION_TYPE_APPROVE_AND_DEPOSIT
A string literal of transaction type ApproveAndDeposit.
|
static java.lang.String | FINANCIAL_TRANSACTION_TYPE_CREDIT
A string literal of transaction type Credit.
|
static java.lang.String | FINANCIAL_TRANSACTION_TYPE_DEPOSIT
A string literal of transaction type Deposit.
|
static java.lang.String | FINANCIAL_TRANSACTION_TYPE_REVERSE_APPROVE
A string literal of transaction type ReverseApprove.
|
static java.lang.String | FINANCIAL_TRANSACTION_TYPE_REVERSE_CREDIT
A string literal of transaction type ReverseCredit.
|
static java.lang.String | FINANCIAL_TRANSACTION_TYPE_REVERSE_DEPOSIT
A string literal of transaction type ReverseDeposit.
|
static java.lang.String | IS_CODE_REQUIRED
A string literal of isCodeRequired isCodeRequired.
|
static java.lang.String | PROMOTION_TYPE
A string literal of promotionType promotionType.
|
static java.lang.String | PROTOCOL_DATA_DISPLAY_VALUE
Name of the protocol data for the display value.
|
static java.lang.String | PROTOCOL_DATA_TOKEN
Name of the protocol data for the token.
|
static java.lang.String | SBS_ENABLED_Y
The value indicating that side by side feature is enabled
|
Constructor and Description |
---|
ComposeTransferOrderCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected java.util.List | composeFinancialTransaction(java.lang.String orderId)
Composes a list of FinancialTransactionType SDO from the order Id.
|
protected com.ibm.commerce.order.facade.datatypes.FinancialTransactionIdentifierType | composeFinancialTransactionIdentifierType(com.ibm.commerce.payments.plugincontroller.beans.PPCPayTranData transaction)
Composes an FinancialTransactionIdentifierSDO from the PPCPayInst data object specified.
|
protected FinancialTransactionType | composeFinancialTransactionWithPPCPayTranData(com.ibm.commerce.payments.plugincontroller.beans.PPCPayTranData transaction, EDPPaymentInstruction edpPayInst, java.lang.String currency)
Composes an FinancialTransactionTypeSDO from the PPCPayInst data object and EDPPaymentInstruction data object specified.
|
protected AdjustmentType[] | composeOrderAdjustment(OrderAccessBean aabOrder)
This method composes the order adjustment
|
protected ShowOrderType | composeOrderDetail(java.util.List avOrders)
This method builds the response BOD (order detail) for the access profile IBM_TransferOrder.
|
protected OrderItemType | composeOrderItem(OrderItemAccessBean aabOrderItem)
Composes an OrderItemSDO from the order item access bean specified.
|
protected AdjustmentType[] | composeOrderItemAdjustment(java.lang.String orderItemID, OrderType order)
This method composes the order item adjustment to the response.
|
protected OrderItemFulfillmentInfoType | composeOrderItemFulfillmentInfo(OrderItemAccessBean aabOrderItem)
This method is to compose the order item fulfillment information, this is SBS specific.
|
protected OrderNotificationInfoType | composeOrderNotificationInfo(OrderAccessBean orderAB)
This method composes the an OrderNotificationInfoType.
|
protected java.util.List<PromotionCodeType> | composePromotionCodeDetails(java.util.List<PromotionCodeType> promotionCodeTypes, OrderType order)
This method is used to compose the promotion code details.
|
protected FinancialTransactionType | createFinancialTransactionType()
Returns a new object of class 'Financial Transaction Type'.
|
protected com.ibm.commerce.payments.plugincontroller.beans.ObjectModuleFacadeLocal | getObjectModuleFacade()
This method gets the object module facade local interface by calling ObjectModuleFacadeFactory.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String PROTOCOL_DATA_TOKEN
public static final java.lang.String PROTOCOL_DATA_DISPLAY_VALUE
public static final java.lang.String FINANCIAL_TRANSACTION_TYPE_APPROVE
public static final java.lang.String FINANCIAL_TRANSACTION_TYPE_DEPOSIT
public static final java.lang.String FINANCIAL_TRANSACTION_TYPE_APPROVE_AND_DEPOSIT
public static final java.lang.String FINANCIAL_TRANSACTION_TYPE_CREDIT
public static final java.lang.String FINANCIAL_TRANSACTION_TYPE_REVERSE_APPROVE
public static final java.lang.String FINANCIAL_TRANSACTION_TYPE_REVERSE_DEPOSIT
public static final java.lang.String FINANCIAL_TRANSACTION_TYPE_REVERSE_CREDIT
public static final java.lang.String FINANCIAL_TRANSACTION_STATUS_NEW
public static final java.lang.String FINANCIAL_TRANSACTION_STATUS_PENDING
public static final java.lang.String FINANCIAL_TRANSACTION_STATUS_SUCCESS
public static final java.lang.String FINANCIAL_TRANSACTION_STATUS_FAILED
public static final java.lang.String FINANCIAL_TRANSACTION_STATUS_CANCELED
public static final java.lang.String IS_CODE_REQUIRED
public static final java.lang.String PROMOTION_TYPE
public static final java.lang.String SBS_ENABLED_Y
protected ShowOrderType composeOrderDetail(java.util.List avOrders) throws com.ibm.websphere.command.CommandException
protected OrderNotificationInfoType composeOrderNotificationInfo(OrderAccessBean orderAB) throws ECException
protected FinancialTransactionType composeFinancialTransactionWithPPCPayTranData(com.ibm.commerce.payments.plugincontroller.beans.PPCPayTranData transaction, EDPPaymentInstruction edpPayInst, java.lang.String currency) throws ECException, InternalException
protected java.util.List composeFinancialTransaction(java.lang.String orderId) throws ECException
protected FinancialTransactionType createFinancialTransactionType()
protected com.ibm.commerce.order.facade.datatypes.FinancialTransactionIdentifierType composeFinancialTransactionIdentifierType(com.ibm.commerce.payments.plugincontroller.beans.PPCPayTranData transaction)
protected final com.ibm.commerce.payments.plugincontroller.beans.ObjectModuleFacadeLocal getObjectModuleFacade() throws InternalException
protected OrderItemType composeOrderItem(OrderItemAccessBean aabOrderItem) throws ECException
protected AdjustmentType[] composeOrderAdjustment(OrderAccessBean aabOrder) throws ECException
protected AdjustmentType[] composeOrderItemAdjustment(java.lang.String orderItemID, OrderType order) throws ECException
protected java.util.List<PromotionCodeType> composePromotionCodeDetails(java.util.List<PromotionCodeType> promotionCodeTypes, OrderType order) throws ECException
protected OrderItemFulfillmentInfoType composeOrderItemFulfillmentInfo(OrderItemAccessBean aabOrderItem) throws ECException