com.retek.component.payment.test
Class PaymentObjectMaster
java.lang.Object
com.retek.component.payment.test.PaymentObjectMaster
- public class PaymentObjectMaster
- extends java.lang.Object
Method Summary |
static CashPayment |
createCashPaymentManuallyAuthorized(Money amount)
|
static CheckPayment |
createCheckPaymentManuallyAuthorized(Money amount)
|
static CreditCard |
createCreditCard(DistributedContext context,
java.lang.String cardNumber)
|
static CreditCardPayment |
createCreditCardPaymentNoAddressWillBeAuthorized(DistributedContext context,
Money amount)
|
static CreditCardPayment |
createCreditCardPaymentNoAddressWillBeDeclined(DistributedContext context,
Money amount)
|
static CreditCardPayment |
createCreditCardPaymentNoAddressWillBeFraud(DistributedContext context,
Money amount)
|
static CreditCardPayment |
createCreditCardPaymentNoAddressWillBeReferral(DistributedContext context,
Money amount)
|
static CreditCardPayment |
createCreditCardPaymentNoAddressWillBeWaitingAuthorization(DistributedContext context,
Money amount)
|
static CreditCardPayment |
createCreditCardPaymentNoAddressWithSuffix(DistributedContext context,
Money amount,
java.lang.String suffix)
|
static PaymentCustomer |
createPaymentCustomer()
|
static PaymentSettlementCustomer |
createPaymentSettlementCustomer(PaymentSettlementTransactionContainer txnContainer)
|
static PaymentSettlementItem |
createPaymentSettlementItem(PaymentSettlementTransactionContainer txnContainer)
|
static PaymentSettlementPayment |
createPaymentSettlementPayment(PaymentSettlementTransactionContainer txnContainer,
Money paymentAmount)
|
static PaymentSettlementTransaction |
createPaymentSettlementTransaction(PaymentSettlementTransactionContainer txnContainer)
|
static PaymentSettlementTransactionContainer |
createPaymentSettlementTransactionContainer(DistributedContext context)
|
static AvsCode |
getAvsCode()
|
static TenderTypeCreditCard |
getBedAndBathPLCCTenderType(DistributedContext context)
|
static java.lang.String |
getExpectedPaymentSettlementCustomerXml(PaymentSettlementCustomer customer)
|
static java.lang.String |
getExpectedPaymentSettlementItemXml(PaymentSettlementItem item)
|
static java.lang.String |
getExpectedPaymentSettlementPaymentXml(PaymentSettlementPayment payment)
|
static java.lang.String |
getExpectedPaymentSettlementTransactionXml(PaymentSettlementTransaction transaction)
|
static TenderTypeCreditCard |
getPotteryBarnPLCCTenderType(DistributedContext context)
|
static TenderType |
getTenderType(DistributedContext context,
java.lang.String tenderTypecode)
|
static CashPayment |
getValidCashPayment(Money amount)
|
static CheckPayment |
getValidCheckPayment(Money amount)
|
static CreditCardPayment |
getValidCreditCardPaymentWithAddress(Money amount)
|
static CreditCardPayment |
getValidCreditCardPaymentWithoutAddress(Money amount)
|
static CreditCard |
getValidCreditCardWithCvvCode(DistributedContext context,
java.lang.String suffix)
|
static CreditCard |
getValidCreditCardWithoutCvvCode(DistributedContext context,
java.lang.String suffix)
|
static GiftCertificatePayment |
getValidGiftCertificatePayment(Money amount)
|
static MerchandiseCertificatePayment |
getValidMerchandiseCertificatePayment(Money amount)
|
static MoneyOrderPayment |
getValidMoneyOrderPayment(Money amount)
|
static StoredValueCardPayment |
loadAndAuthorizeSVCPayment(java.lang.String accountNumber,
java.lang.String pinNumber,
Money cardBalance,
Money paymentAmount,
StoredValueCardType type)
|
static void |
loadRewardCertificateValue(java.lang.String controlNumber,
Money certificateValue)
|
static void |
loadStoredValueCard(java.lang.String accountNumber,
java.lang.String pinNumber,
Money availableBalance,
java.lang.String bannerId,
boolean giftCard)
|
static void |
resetAllDaos()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VALID_DISCOVER_CARD_NUMBER
public static final java.lang.String VALID_DISCOVER_CARD_NUMBER
- See Also:
- Constant Field Values
VALID_PRIVATE_LABEL_CARD_NUMBER
public static final java.lang.String VALID_PRIVATE_LABEL_CARD_NUMBER
- See Also:
- Constant Field Values
VISA_AUTH_PERIOD
public static final int VISA_AUTH_PERIOD
- See Also:
- Constant Field Values
MASTER_AUTH_PERIOD
public static final int MASTER_AUTH_PERIOD
- See Also:
- Constant Field Values
AMEX_AUTH_PERIOD
public static final int AMEX_AUTH_PERIOD
- See Also:
- Constant Field Values
DISC_AUTH_PERIOD
public static final int DISC_AUTH_PERIOD
- See Also:
- Constant Field Values
JCB_AUTH_PERIOD
public static final int JCB_AUTH_PERIOD
- See Also:
- Constant Field Values
DINNER_AUTH_PERIOD
public static final int DINNER_AUTH_PERIOD
- See Also:
- Constant Field Values
PaymentObjectMaster
public PaymentObjectMaster()
resetAllDaos
public static void resetAllDaos()
throws java.lang.Exception
- Throws:
java.lang.Exception
createCreditCardPaymentNoAddressWillBeAuthorized
public static CreditCardPayment createCreditCardPaymentNoAddressWillBeAuthorized(DistributedContext context,
Money amount)
throws java.lang.Exception
- Throws:
java.lang.Exception
createCheckPaymentManuallyAuthorized
public static CheckPayment createCheckPaymentManuallyAuthorized(Money amount)
throws java.lang.Exception
- Throws:
java.lang.Exception
createCashPaymentManuallyAuthorized
public static CashPayment createCashPaymentManuallyAuthorized(Money amount)
throws java.lang.Exception
- Throws:
java.lang.Exception
createCreditCardPaymentNoAddressWillBeDeclined
public static CreditCardPayment createCreditCardPaymentNoAddressWillBeDeclined(DistributedContext context,
Money amount)
throws java.lang.Exception
- Throws:
java.lang.Exception
createCreditCardPaymentNoAddressWillBeFraud
public static CreditCardPayment createCreditCardPaymentNoAddressWillBeFraud(DistributedContext context,
Money amount)
throws java.lang.Exception
- Throws:
java.lang.Exception
createCreditCardPaymentNoAddressWillBeReferral
public static CreditCardPayment createCreditCardPaymentNoAddressWillBeReferral(DistributedContext context,
Money amount)
throws java.lang.Exception
- Throws:
java.lang.Exception
createCreditCardPaymentNoAddressWillBeWaitingAuthorization
public static CreditCardPayment createCreditCardPaymentNoAddressWillBeWaitingAuthorization(DistributedContext context,
Money amount)
throws java.lang.Exception
- Throws:
java.lang.Exception
createCreditCardPaymentNoAddressWithSuffix
public static CreditCardPayment createCreditCardPaymentNoAddressWithSuffix(DistributedContext context,
Money amount,
java.lang.String suffix)
throws java.lang.Exception
- Throws:
java.lang.Exception
loadAndAuthorizeSVCPayment
public static StoredValueCardPayment loadAndAuthorizeSVCPayment(java.lang.String accountNumber,
java.lang.String pinNumber,
Money cardBalance,
Money paymentAmount,
StoredValueCardType type)
throws java.lang.Exception
- Throws:
java.lang.Exception
getValidCreditCardPaymentWithoutAddress
public static CreditCardPayment getValidCreditCardPaymentWithoutAddress(Money amount)
throws java.lang.Exception
- Throws:
java.lang.Exception
getValidCreditCardWithoutCvvCode
public static CreditCard getValidCreditCardWithoutCvvCode(DistributedContext context,
java.lang.String suffix)
throws java.lang.Exception
- Throws:
java.lang.Exception
getValidCreditCardWithCvvCode
public static CreditCard getValidCreditCardWithCvvCode(DistributedContext context,
java.lang.String suffix)
throws java.lang.Exception
- Throws:
java.lang.Exception
getValidCreditCardPaymentWithAddress
public static CreditCardPayment getValidCreditCardPaymentWithAddress(Money amount)
throws java.lang.Exception
- Throws:
java.lang.Exception
getValidGiftCertificatePayment
public static GiftCertificatePayment getValidGiftCertificatePayment(Money amount)
throws java.lang.Exception
- Throws:
java.lang.Exception
getValidMerchandiseCertificatePayment
public static MerchandiseCertificatePayment getValidMerchandiseCertificatePayment(Money amount)
throws java.lang.Exception
- Throws:
java.lang.Exception
getValidCashPayment
public static CashPayment getValidCashPayment(Money amount)
throws java.lang.Exception
- Throws:
java.lang.Exception
getValidCheckPayment
public static CheckPayment getValidCheckPayment(Money amount)
throws java.lang.Exception
- Throws:
java.lang.Exception
getValidMoneyOrderPayment
public static MoneyOrderPayment getValidMoneyOrderPayment(Money amount)
throws java.lang.Exception
- Throws:
java.lang.Exception
createPaymentCustomer
public static PaymentCustomer createPaymentCustomer()
createCreditCard
public static CreditCard createCreditCard(DistributedContext context,
java.lang.String cardNumber)
throws java.lang.Exception
- Throws:
java.lang.Exception
getAvsCode
public static AvsCode getAvsCode()
throws SystemException,
BusinessException
- Throws:
SystemException
BusinessException
getTenderType
public static TenderType getTenderType(DistributedContext context,
java.lang.String tenderTypecode)
throws java.lang.Exception
- Throws:
java.lang.Exception
getPotteryBarnPLCCTenderType
public static TenderTypeCreditCard getPotteryBarnPLCCTenderType(DistributedContext context)
throws java.lang.Exception
- Throws:
java.lang.Exception
getBedAndBathPLCCTenderType
public static TenderTypeCreditCard getBedAndBathPLCCTenderType(DistributedContext context)
throws java.lang.Exception
- Throws:
java.lang.Exception
loadRewardCertificateValue
public static void loadRewardCertificateValue(java.lang.String controlNumber,
Money certificateValue)
throws java.lang.Exception
- Throws:
java.lang.Exception
loadStoredValueCard
public static void loadStoredValueCard(java.lang.String accountNumber,
java.lang.String pinNumber,
Money availableBalance,
java.lang.String bannerId,
boolean giftCard)
throws java.lang.Exception
- Throws:
java.lang.Exception
createPaymentSettlementTransactionContainer
public static PaymentSettlementTransactionContainer createPaymentSettlementTransactionContainer(DistributedContext context)
throws java.lang.Exception
- Throws:
java.lang.Exception
createPaymentSettlementCustomer
public static PaymentSettlementCustomer createPaymentSettlementCustomer(PaymentSettlementTransactionContainer txnContainer)
throws java.lang.Exception
- Throws:
java.lang.Exception
createPaymentSettlementItem
public static PaymentSettlementItem createPaymentSettlementItem(PaymentSettlementTransactionContainer txnContainer)
throws java.lang.Exception
- Throws:
java.lang.Exception
createPaymentSettlementPayment
public static PaymentSettlementPayment createPaymentSettlementPayment(PaymentSettlementTransactionContainer txnContainer,
Money paymentAmount)
throws java.lang.Exception
- Throws:
java.lang.Exception
createPaymentSettlementTransaction
public static PaymentSettlementTransaction createPaymentSettlementTransaction(PaymentSettlementTransactionContainer txnContainer)
throws java.lang.Exception
- Throws:
java.lang.Exception
getExpectedPaymentSettlementCustomerXml
public static java.lang.String getExpectedPaymentSettlementCustomerXml(PaymentSettlementCustomer customer)
throws java.lang.Exception
- Throws:
java.lang.Exception
getExpectedPaymentSettlementItemXml
public static java.lang.String getExpectedPaymentSettlementItemXml(PaymentSettlementItem item)
throws java.lang.Exception
- Throws:
java.lang.Exception
getExpectedPaymentSettlementPaymentXml
public static java.lang.String getExpectedPaymentSettlementPaymentXml(PaymentSettlementPayment payment)
throws java.lang.Exception
- Throws:
java.lang.Exception
getExpectedPaymentSettlementTransactionXml
public static java.lang.String getExpectedPaymentSettlementTransactionXml(PaymentSettlementTransaction transaction)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2004 Retek Inc. All Rights Reserved.
- Generated at Fri, 10/22/2004 07:28