com.retek.component.customer.test
Class CustomerObjectMaster
java.lang.Object
com.retek.component.customer.test.CustomerObjectMaster
- public class CustomerObjectMaster
- extends java.lang.Object
Method Summary |
static CustomerAddress |
attachAddress(Customer customer)
|
static CustomerAddress |
attachAddress(Customer customer,
Address address)
|
static CustomerAddress |
attachCountry(CustomerAddress address,
boolean shippableCountry)
|
static Customer |
attachCreditCard(Customer customer,
Banner banner,
java.lang.String cardNumber)
|
static Customer |
attachCustomer(CatalogRequest catalogRequest)
|
static Customer |
attachDefaultCustomerData(Customer customer)
|
static CustomerEmailAddress |
attachEmail(Customer customer,
java.lang.String email)
|
static CustomerAddress |
attachGiftRecipientAddress(Customer customer)
|
static CustomerCreditCard |
attachPotteryBarnPLCCToCustomer(Customer customer,
Banner banner)
|
static void |
attachTelephone(Customer customer,
java.lang.String telephoneNumber)
|
static Customer |
attachTelephoneNumbers(Customer customer,
java.lang.String dayPhone,
java.lang.String eveningPhone)
|
static CustomerCreditPreApproval |
buildCustomerCreditPreApproval(DistributedContext context,
Customer customer,
TenderTypeCreditCard tenderType,
RDate expirationDate)
|
static CustomerCreditPreApproval |
buildCustomerCreditPreApproval(DistributedContext context,
Customer customer,
TenderTypeCreditCard tenderType,
RDate expirationDate,
java.lang.String preApprovalCode,
Money creditLimit)
|
static GeneralActivityRequest |
buildGeneralActivityRequest(Customer customer)
|
static GeneralActivityRequest |
buildGeneralActivityRequest(Customer customer,
boolean onlyCustomer)
|
static GeneralActivityRequest |
buildGeneralActivityRequest(CustomerOrder order)
|
static GeneralActivityRequest |
buildGeneralActivityRequestForPrintFile(Customer customer,
boolean onlyCustomer,
Task task)
|
static GeneralActivityRequest |
buildLabelActivityRequest(Customer customer,
boolean onlyCustomer)
|
static GeneralActivityRequest |
buildLabelActivityRequestForPrintFile(Customer customer,
boolean onlyCustomer,
Task task)
|
static StoredValueCardCashoutResponse |
cashoutStoredValueCard(DistributedContext context,
java.lang.String accountNumber,
java.lang.String pin,
Customer customer,
User user)
|
static CustomerAddress |
createAZCustomerAddress(DistributedContext context)
|
static CatalogRequest |
createCatalogRequest(DistributedContext context)
|
static CatalogType |
createCatalogType(DistributedContext context)
|
static Customer |
createCustomer(DistributedContext context)
|
static Customer |
createCustomer(DistributedContext context,
Banner banner)
|
static Customer |
createCustomer(DistributedContext context,
Banner banner,
boolean createWithActiveEmail,
boolean createWithPhoneNumber,
AcquisitionMethod acquisitionMethod)
|
static CustomerAddress |
createCustomerAddress(DistributedContext context)
|
static CustomerAddress |
createCustomerAddress(DistributedContext context,
Address address)
|
static CustomerAddress |
createCustomerAddress(DistributedContext context,
boolean createWithPhoneNumber)
|
static CustomerAddress |
createCustomerAddressWithApoFpo(DistributedContext context)
|
static CustomerAddress |
createCustomerAddressWithPOBox(DistributedContext context)
|
static CustomerEmailAddress |
createCustomerEmail(DistributedContext context,
java.lang.String email)
|
static CustomerMergeRequest |
createCustomerMergeRequest(DistributedContext context)
|
static Customer |
createCustomerNew(DistributedContext context)
|
static CustomerPreference |
createCustomerPreference(DistributedContext context,
Banner banner)
|
static CustomerTelephone |
createCustomerTelephone(DistributedContext context,
java.lang.String number)
|
static Customer |
createCustomerWithApoFpoAddress(DistributedContext context)
|
static Customer |
createCustomerWithoutEmail(DistributedContext context)
|
static Customer |
createCustomerWithoutEmail(DistributedContext context,
Banner banner)
|
static Customer |
createCustomerWithPOBoxAddress(DistributedContext context)
|
static CustomerAddress |
createIACustomerAddress(DistributedContext context)
|
static CatalogRequest |
createPersistedCatalogRequest(DistributedContext context,
User user)
|
static CatalogType |
createPersistedCatalogType(Banner banner,
DistributedContext context)
|
static CatalogType |
createPersistedCatalogType(DistributedContext context)
|
static StoredValueCardCashout |
createStoredValueCardCashout(DistributedContext context)
|
static Customer |
createValidCustomer(DistributedContext context)
|
static void |
resetAllDaos()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TEST_USER_ID
public static final java.lang.String TEST_USER_ID
- See Also:
- Constant Field Values
ALTERNATE_TEST_USER_ID
public static final java.lang.String ALTERNATE_TEST_USER_ID
- See Also:
- Constant Field Values
CustomerObjectMaster
public CustomerObjectMaster()
resetAllDaos
public static void resetAllDaos()
throws java.lang.Exception
- Throws:
java.lang.Exception
attachCountry
public static CustomerAddress attachCountry(CustomerAddress address,
boolean shippableCountry)
throws java.lang.Exception
- Throws:
java.lang.Exception
createCustomerWithoutEmail
public static Customer createCustomerWithoutEmail(DistributedContext context)
throws java.lang.Exception
- Throws:
java.lang.Exception
createCustomerWithoutEmail
public static Customer createCustomerWithoutEmail(DistributedContext context,
Banner banner)
throws java.lang.Exception
- Throws:
java.lang.Exception
createCustomer
public static Customer createCustomer(DistributedContext context)
throws java.lang.Exception
- Throws:
java.lang.Exception
createCustomer
public static Customer createCustomer(DistributedContext context,
Banner banner)
throws java.lang.Exception
- Throws:
java.lang.Exception
createCustomer
public static Customer createCustomer(DistributedContext context,
Banner banner,
boolean createWithActiveEmail,
boolean createWithPhoneNumber,
AcquisitionMethod acquisitionMethod)
throws java.lang.Exception
- Throws:
java.lang.Exception
createCustomerAddress
public static CustomerAddress createCustomerAddress(DistributedContext context,
Address address)
throws java.lang.Exception
- Throws:
java.lang.Exception
createCustomerAddress
public static CustomerAddress createCustomerAddress(DistributedContext context)
throws java.lang.Exception
- Throws:
java.lang.Exception
createCustomerAddress
public static CustomerAddress createCustomerAddress(DistributedContext context,
boolean createWithPhoneNumber)
throws java.lang.Exception
- Throws:
java.lang.Exception
createStoredValueCardCashout
public static StoredValueCardCashout createStoredValueCardCashout(DistributedContext context)
throws java.lang.Exception
- Throws:
java.lang.Exception
createIACustomerAddress
public static CustomerAddress createIACustomerAddress(DistributedContext context)
throws java.lang.Exception
- Throws:
java.lang.Exception
createAZCustomerAddress
public static CustomerAddress createAZCustomerAddress(DistributedContext context)
throws java.lang.Exception
- Throws:
java.lang.Exception
createCustomerNew
public static Customer createCustomerNew(DistributedContext context)
throws java.lang.Exception
- Throws:
java.lang.Exception
createValidCustomer
public static Customer createValidCustomer(DistributedContext context)
throws java.lang.Exception
- Throws:
java.lang.Exception
createCustomerPreference
public static CustomerPreference createCustomerPreference(DistributedContext context,
Banner banner)
throws java.lang.Exception
- Throws:
java.lang.Exception
createCustomerTelephone
public static CustomerTelephone createCustomerTelephone(DistributedContext context,
java.lang.String number)
throws java.lang.Exception
- Throws:
java.lang.Exception
createCustomerEmail
public static CustomerEmailAddress createCustomerEmail(DistributedContext context,
java.lang.String email)
throws java.lang.Exception
- Throws:
java.lang.Exception
attachTelephoneNumbers
public static Customer attachTelephoneNumbers(Customer customer,
java.lang.String dayPhone,
java.lang.String eveningPhone)
throws java.lang.Exception
- Throws:
java.lang.Exception
attachDefaultCustomerData
public static Customer attachDefaultCustomerData(Customer customer)
throws java.lang.Exception
- Throws:
java.lang.Exception
attachCreditCard
public static Customer attachCreditCard(Customer customer,
Banner banner,
java.lang.String cardNumber)
throws java.lang.Exception
- Throws:
java.lang.Exception
attachEmail
public static CustomerEmailAddress attachEmail(Customer customer,
java.lang.String email)
throws java.lang.Exception
- Throws:
java.lang.Exception
attachTelephone
public static void attachTelephone(Customer customer,
java.lang.String telephoneNumber)
throws java.lang.Exception
- Throws:
java.lang.Exception
attachAddress
public static CustomerAddress attachAddress(Customer customer)
throws java.lang.Exception
- Throws:
java.lang.Exception
attachAddress
public static CustomerAddress attachAddress(Customer customer,
Address address)
throws java.lang.Exception
- Throws:
java.lang.Exception
createCustomerMergeRequest
public static CustomerMergeRequest createCustomerMergeRequest(DistributedContext context)
throws java.lang.Exception
- Throws:
java.lang.Exception
buildGeneralActivityRequest
public static GeneralActivityRequest buildGeneralActivityRequest(CustomerOrder order)
throws java.lang.Exception
- Throws:
java.lang.Exception
attachGiftRecipientAddress
public static CustomerAddress attachGiftRecipientAddress(Customer customer)
throws java.lang.Exception
- Throws:
java.lang.Exception
buildCustomerCreditPreApproval
public static CustomerCreditPreApproval buildCustomerCreditPreApproval(DistributedContext context,
Customer customer,
TenderTypeCreditCard tenderType,
RDate expirationDate,
java.lang.String preApprovalCode,
Money creditLimit)
throws java.lang.Exception
- Throws:
java.lang.Exception
buildCustomerCreditPreApproval
public static CustomerCreditPreApproval buildCustomerCreditPreApproval(DistributedContext context,
Customer customer,
TenderTypeCreditCard tenderType,
RDate expirationDate)
throws java.lang.Exception
- Throws:
java.lang.Exception
buildGeneralActivityRequest
public static GeneralActivityRequest buildGeneralActivityRequest(Customer customer)
throws java.lang.Exception
- Throws:
java.lang.Exception
buildLabelActivityRequest
public static GeneralActivityRequest buildLabelActivityRequest(Customer customer,
boolean onlyCustomer)
throws java.lang.Exception
- Throws:
java.lang.Exception
buildGeneralActivityRequest
public static GeneralActivityRequest buildGeneralActivityRequest(Customer customer,
boolean onlyCustomer)
throws java.lang.Exception
- Throws:
java.lang.Exception
buildLabelActivityRequestForPrintFile
public static GeneralActivityRequest buildLabelActivityRequestForPrintFile(Customer customer,
boolean onlyCustomer,
Task task)
throws java.lang.Exception
- Throws:
java.lang.Exception
buildGeneralActivityRequestForPrintFile
public static GeneralActivityRequest buildGeneralActivityRequestForPrintFile(Customer customer,
boolean onlyCustomer,
Task task)
throws java.lang.Exception
- Throws:
java.lang.Exception
attachPotteryBarnPLCCToCustomer
public static CustomerCreditCard attachPotteryBarnPLCCToCustomer(Customer customer,
Banner banner)
throws java.lang.Exception
- Throws:
java.lang.Exception
cashoutStoredValueCard
public static StoredValueCardCashoutResponse cashoutStoredValueCard(DistributedContext context,
java.lang.String accountNumber,
java.lang.String pin,
Customer customer,
User user)
throws java.lang.Exception
- Throws:
java.lang.Exception
createCustomerAddressWithPOBox
public static CustomerAddress createCustomerAddressWithPOBox(DistributedContext context)
throws java.lang.Exception
- Throws:
java.lang.Exception
createCustomerAddressWithApoFpo
public static CustomerAddress createCustomerAddressWithApoFpo(DistributedContext context)
throws java.lang.Exception
- Throws:
java.lang.Exception
createCustomerWithPOBoxAddress
public static Customer createCustomerWithPOBoxAddress(DistributedContext context)
throws java.lang.Exception
- Throws:
java.lang.Exception
createCustomerWithApoFpoAddress
public static Customer createCustomerWithApoFpoAddress(DistributedContext context)
throws java.lang.Exception
- Throws:
java.lang.Exception
createPersistedCatalogType
public static CatalogType createPersistedCatalogType(DistributedContext context)
throws java.lang.Exception
- Throws:
java.lang.Exception
createPersistedCatalogType
public static CatalogType createPersistedCatalogType(Banner banner,
DistributedContext context)
throws java.lang.Exception
- Throws:
java.lang.Exception
createPersistedCatalogRequest
public static CatalogRequest createPersistedCatalogRequest(DistributedContext context,
User user)
throws java.lang.Exception
- Throws:
java.lang.Exception
createCatalogType
public static CatalogType createCatalogType(DistributedContext context)
throws java.lang.Exception
- Throws:
java.lang.Exception
createCatalogRequest
public static CatalogRequest createCatalogRequest(DistributedContext context)
throws java.lang.Exception
- Throws:
java.lang.Exception
attachCustomer
public static Customer attachCustomer(CatalogRequest catalogRequest)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2004 Retek Inc. All Rights Reserved.
- Generated at Fri, 10/22/2004 07:28