|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is a high level interface which relates a payment object to a customer order object. An order can have multiple CustomerOrderPayment and each CustomerOrderPayment will have only one Tender Type.
Retek Inc. Copyright (c) 2003
Field Summary | |
static java.lang.String |
AMOUNT
|
static java.lang.String |
SET_ORDER
|
static java.lang.String |
TENDER_TYPE
|
Method Summary | |
void |
addSalesAuditExportAmount(Money used)
Add to the Sales Audit export amount for the payment. |
void |
allocateSettlement(Money amount,
RDate dateOfPurchase)
|
void |
allocateSettlement(Money amount,
RDate dateOfPurchase,
ReturnLine returnLine)
|
void |
allocateSettlement(Money amount,
RDate dateOfPurchase,
ShippedContainer container)
|
void |
authorize()
|
void |
authorize(Money amountToAuthorize)
|
void |
authorizeManually(Money authorizeAmount,
java.lang.String authCode,
User user)
|
void |
authorizeManually(java.lang.String authCode,
User user)
|
void |
cancel()
|
void |
consolidatePayments(java.util.Set groupOfPayments)
|
void |
finishSettlement(CustomerOrderSettlement settlement,
java.lang.String settlementFileNumber)
|
java.lang.String |
getAccountNumber()
|
Money |
getAmount()
|
Money |
getAuthorizedAmount()
|
java.lang.String |
getCurrency()
|
java.util.Set |
getHistoryEvents()
|
CustomerOrder |
getOrder()
|
Money |
getOriginalAuthorizedAmount()
|
PaymentAuthorizationResponse |
getPaymentAuthorizationResponse()
|
CustomerOrderPaymentTransactionType |
getPaymentTransactionType()
|
TenderType |
getRedemptionTenderType()
Return the tender type for the payment which is for use for a redemption tender record for use in a SALE transaction. |
CustomerAddress |
getRefundRecipientAddress()
Return the refund recipient address for the refund payment. |
TenderType |
getRefundTenderType()
Return the tender type for the payment which is for use for a refund tender record for use in a RETURN OR PAIDOU transaction. |
Money |
getSalesAuditExportAmount()
Return the amount for the payment that has been exported as a TTEND record (tender) within a Sales Audit SALE or RETURN transaction. |
ExportState |
getSalesAuditPaidInState()
Return the Sales Audit transaction trigger state for the payment with respect to PAIDIN liability transaction processing. |
ExportState |
getSalesAuditPaidOutState()
Return the Sales Audit transaction trigger state for the payment with respect to PAIDOU liability transaction processing. |
RDate |
getSalesAuditTransactionDate()
Return the transaction effective date for the payment for PAIDIN (sale payment) or PAIDOU (credit payment). |
CustomerOrderSettlement |
getSettlement()
|
com.retek.fsm.State |
getState()
|
TenderType |
getTenderType()
|
java.lang.String |
getTransactionTypeCode()
|
Money |
getUnauthorizedAmount()
|
boolean |
hasUnauthorizedAmount()
|
boolean |
isAmountAdjustable()
|
boolean |
isAmountAdjustable(CustomerOrderTransactionItem transactionItem)
|
boolean |
isApproved()
|
boolean |
isCancelable()
|
boolean |
isCancelled()
|
boolean |
isCreditPayment()
|
boolean |
isCreditPaymentForAccommodation()
|
boolean |
isCreditPaymentForPostSaleAccommodation()
|
boolean |
isCreditPaymentForPreSaleAccommodation()
|
boolean |
isDeclined()
|
boolean |
isFraud()
|
boolean |
isManuallyApproved()
|
boolean |
isPhysicalTender()
|
boolean |
isPreSettled()
|
boolean |
isReferral()
|
boolean |
isSettled()
|
boolean |
isWaitingAuth()
|
boolean |
isWaitingManualAuth()
|
void |
markCreditPaymentExportedForPaidOut()
Mark a credit payment 'E'XPORTED for Sales Audit PAIDOU transaction processing. |
void |
markCreditPaymentReadyForPaidOutExport()
Mark a credit payment 'R'EADY for Sales Audit PAIDOU transaction processing. |
void |
markSalePaymentExportedForPaidIn()
Mark a sale payment 'E'XPORTED for Sales Audit PAIDIN transaction processing. |
void |
markSalePaymentReadyForPaidInExport()
Mark a sale payment 'R'EADY for Sales Audit PAIDIN transaction processing. |
void |
setAmount(Money amount)
|
void |
setAuthorizedAmount(Money authorizedAmount)
|
void |
setCurrency(java.lang.String currency)
|
void |
setOriginalAuthorizedAmount(Money authorizedAmount)
|
void |
setPaymentTransactionType(CustomerOrderPaymentTransactionType paymentTransactionType)
|
void |
setRefundRecipientAddress(CustomerAddress address)
Set the recipient address for the refund payment. |
void |
setTransactionTypeCode(java.lang.String transactionTypeCode)
|
Methods inherited from interface com.retek.commons.component.DistributedObject |
debugToString, discardChanges, getContext, getId, getReference, isDeleted, isDirty, isDirtyDeep, isDirtyIgnoreFields, isPersisted, refresh |
Methods inherited from interface com.retek.commons.component.BusinessObject |
getBusinessInterface |
Methods inherited from interface com.retek.component.customerorder.CustomerOrderTransactionItem |
getTransactionGroup, getTransactionItemAmount, isCreditForTransactionGroupBalance, isDebitForTransactionGroupBalance, isExchangeSaleLine, isInClosedTransactionGroup, isReplacementSaleLine, notifyTransactionGroupClosed, setTransactionGroup |
Field Detail |
public static final java.lang.String AMOUNT
public static final java.lang.String SET_ORDER
public static final java.lang.String TENDER_TYPE
Method Detail |
public void setAmount(Money amount) throws SystemException, BusinessException
SystemException
BusinessException
public Money getAmount() throws SystemException
SystemException
public void allocateSettlement(Money amount, RDate dateOfPurchase, ReturnLine returnLine) throws SystemException, BusinessException
SystemException
BusinessException
public void allocateSettlement(Money amount, RDate dateOfPurchase, ShippedContainer container) throws SystemException, BusinessException
SystemException
BusinessException
public void allocateSettlement(Money amount, RDate dateOfPurchase) throws SystemException, BusinessException
SystemException
BusinessException
public void finishSettlement(CustomerOrderSettlement settlement, java.lang.String settlementFileNumber) throws SystemException, BusinessException
SystemException
BusinessException
public CustomerOrderSettlement getSettlement() throws SystemException
SystemException
public CustomerOrder getOrder() throws SystemException
SystemException
public java.lang.String getAccountNumber() throws SystemException
SystemException
public java.util.Set getHistoryEvents() throws SystemException
SystemException
public void authorize() throws SystemException, BusinessException
SystemException
BusinessException
public com.retek.fsm.State getState() throws SystemException
SystemException
public boolean isCancelable() throws SystemException
SystemException
public boolean isDeclined() throws SystemException
SystemException
public boolean isSettled() throws SystemException
SystemException
public boolean isCancelled() throws SystemException
SystemException
public boolean isApproved() throws SystemException
SystemException
public boolean isManuallyApproved() throws SystemException
SystemException
public boolean isFraud() throws SystemException
SystemException
public boolean isReferral() throws SystemException
SystemException
public boolean isPreSettled() throws SystemException
SystemException
public boolean isCreditPayment() throws SystemException
SystemException
public boolean isWaitingAuth() throws SystemException
SystemException
public boolean isWaitingManualAuth() throws SystemException
SystemException
public boolean isAmountAdjustable() throws SystemException
SystemException
public boolean isAmountAdjustable(CustomerOrderTransactionItem transactionItem) throws SystemException
SystemException
public CustomerOrderPaymentTransactionType getPaymentTransactionType() throws SystemException
SystemException
public boolean isCreditPaymentForAccommodation() throws SystemException
SystemException
public boolean isCreditPaymentForPostSaleAccommodation() throws SystemException
SystemException
public boolean isCreditPaymentForPreSaleAccommodation() throws SystemException
SystemException
public void cancel() throws SystemException, BusinessException
SystemException
BusinessException
public PaymentAuthorizationResponse getPaymentAuthorizationResponse() throws SystemException
SystemException
public void authorizeManually(java.lang.String authCode, User user) throws SystemException, BusinessException
SystemException
BusinessException
public void authorizeManually(Money authorizeAmount, java.lang.String authCode, User user) throws SystemException, BusinessException
SystemException
BusinessException
public void authorize(Money amountToAuthorize) throws SystemException, BusinessException
SystemException
BusinessException
public java.lang.String getCurrency() throws SystemException
SystemException
public java.lang.String getTransactionTypeCode() throws SystemException
SystemException
public void setCurrency(java.lang.String currency) throws SystemException
SystemException
public void setTransactionTypeCode(java.lang.String transactionTypeCode) throws SystemException
SystemException
public TenderType getTenderType() throws SystemException
SystemException
public Money getAuthorizedAmount() throws SystemException
SystemException
public Money getUnauthorizedAmount() throws SystemException
SystemException
public boolean hasUnauthorizedAmount() throws SystemException
SystemException
public CustomerAddress getRefundRecipientAddress() throws SystemException
SystemException
public void setRefundRecipientAddress(CustomerAddress address) throws SystemException
address
- refund recipient address
SystemException
public void setPaymentTransactionType(CustomerOrderPaymentTransactionType paymentTransactionType) throws SystemException
SystemException
public void setAuthorizedAmount(Money authorizedAmount) throws SystemException
SystemException
public void consolidatePayments(java.util.Set groupOfPayments) throws SystemException, BusinessException
SystemException
BusinessException
public boolean isPhysicalTender() throws SystemException
SystemException
public void setOriginalAuthorizedAmount(Money authorizedAmount) throws SystemException
SystemException
public Money getOriginalAuthorizedAmount() throws SystemException
SystemException
public ExportState getSalesAuditPaidInState() throws SystemException
SystemException
public void markSalePaymentReadyForPaidInExport() throws SystemException
SystemException
public void markSalePaymentExportedForPaidIn() throws SystemException
SystemException
public ExportState getSalesAuditPaidOutState() throws SystemException
SystemException
public void markCreditPaymentReadyForPaidOutExport() throws SystemException
SystemException
public void markCreditPaymentExportedForPaidOut() throws SystemException
SystemException
public RDate getSalesAuditTransactionDate() throws SystemException
SystemException
public Money getSalesAuditExportAmount() throws SystemException
SystemException
public void addSalesAuditExportAmount(Money used) throws SystemException
used
- export amount used (for SALE or RETURN)
SystemException
public TenderType getRedemptionTenderType() throws SystemException
SystemException
public TenderType getRefundTenderType() throws SystemException
SystemException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |