com.retek.component.salesaudit.test
Class SalesAuditObjectMaster
java.lang.Object
com.retek.component.salesaudit.test.SalesAuditObjectMaster
- public class SalesAuditObjectMaster
- extends java.lang.Object
Method Summary |
static Money |
calculateTotalSalePrice(SaeTransaction transaction)
|
static SaeStoreTransactionContainer |
createCorruptSaeOrderTransactionContainer(Store store,
RDate txnDate,
java.lang.String transactionType)
|
static SaeStoreTransactionContainer |
createPersistedSaeOrderTransactionContainer(Store store,
RDate txnDate,
java.lang.String transactionType)
|
static SaeStoreTransactionContainer |
createPersistedSaeOrderTransactionContainer(Store store,
RDate txnDate,
java.lang.String transactionType,
DistributedObject sourceObject)
|
static SaeAccommodation |
createSaeAccommodation(SaeStoreTransactionContainer container,
java.lang.String accommodationType,
Money accommodationAmt,
Money taxCredit)
|
static SaeCustomer |
createSaeCustomer(SaeStoreTransactionContainer container,
java.lang.String customerType)
|
static SaeTransaction |
createSaeDcloseTransaction(SaeStoreTransactionContainer container)
|
static SaeDiscount |
createSaeDiscount(SaeStoreTransactionContainer container,
java.lang.String discountType,
Money discountAmt)
|
static SaeItem |
createSaeItem(SaeStoreTransactionContainer container,
Quantity itemQuantity,
Money sellingUnitPrice,
java.util.List discountTypes,
java.util.List accommodationTypes,
boolean additionalShService,
boolean vasService,
boolean vasServiceDiscounts)
|
static SaeItem |
createSaeItemGiftCertificate(SaeStoreTransactionContainer container,
Quantity itemQuantity)
|
static SaeStoreTransactionContainer |
createSaeOrderTransactionContainer(Store store,
RDate txnDate,
java.lang.String transactionType)
|
static SaeTransaction |
createSaePaidInTransaction(SaeStoreTransactionContainer container)
|
static SaeTransaction |
createSaePaidInTransaction(SaeStoreTransactionContainer container,
PaidInTransactionBuilderAttributes builderAttributes)
|
static SaeTransaction |
createSaePaidOutTransaction(SaeStoreTransactionContainer container)
|
static SaeTransaction |
createSaePaidOutTransaction(SaeStoreTransactionContainer container,
PaidOutTransactionBuilderAttributes builderAttributes)
|
static SaePayment |
createSaePayment(SaeStoreTransactionContainer container,
java.lang.String paymentType,
Money paymentAmount)
|
static SaeTransaction |
createSaeReturnTransaction(SaeStoreTransactionContainer container)
|
static SaeTransaction |
createSaeReturnTransaction(SaeStoreTransactionContainer container,
ReturnTransactionBuilderAttributes builderAttributes)
|
static SaeTransaction |
createSaeSaleTransaction(SaeStoreTransactionContainer container)
|
static SaeTransaction |
createSaeSaleTransaction(SaeStoreTransactionContainer container,
SaleTransactionBuilderAttributes builderAttributes)
|
static SaeTransaction |
createSaeSaleTransactionForGiftCertificate(SaeStoreTransactionContainer container,
int numberItems,
java.util.List paymentTypes)
|
static SaeService |
createSaeService(SaeStoreTransactionContainer container,
java.lang.String serviceType,
Quantity serviceQuantity,
boolean discounts)
|
static SaeStoreTransactionContainer |
createSaeStoreTransactionContainer(DistributedContext context)
|
static SaeTax |
createSaeTax(SaeStoreTransactionContainer container)
|
static SaeTax |
createSaeTax(SaeStoreTransactionContainer container,
Money taxAmount)
|
static SaeTransaction |
createSaeTransaction(SaeStoreTransactionContainer container,
java.lang.String transactionType)
|
static java.lang.String |
getExpectedAccommodationXml(SaeAccommodation saeAccommodation)
|
static java.lang.String |
getExpectedCashPaymentXml(SaePayment saePayment)
|
static java.lang.String |
getExpectedCheckPaymentXml(SaePayment saePayment)
|
static java.lang.String |
getExpectedCreditCardPaymentXml(SaePayment saePayment)
|
static java.lang.String |
getExpectedCustomerXml(SaeCustomer customer)
|
static java.lang.String |
getExpectedDcloseTransactionXml(SaeTransaction saeTransaction)
|
static java.lang.String |
getExpectedDiscountXml(SaeDiscount saeDiscount)
|
static java.lang.String |
getExpectedItemXml(SaeItem saeItem,
boolean isLeaf)
|
static java.lang.String |
getExpectedPaidInTransactionXml(SaeTransaction saeTransaction)
|
static java.lang.String |
getExpectedPaidOutTransactionXml(SaeTransaction saeTransaction)
|
static java.lang.String |
getExpectedReturnTransactionXml(SaeTransaction saeTransaction)
|
static java.lang.String |
getExpectedSaleTransactionXml(SaeTransaction saeTransaction)
|
static java.lang.String |
getExpectedServiceXml(SaeService saeService)
|
static java.lang.String |
getExpectedTaxXml(SaeTax saeTax)
|
static java.lang.String |
getExpectedVoucherPaymentXml(SaePayment saePayment)
|
static void |
resetAllDaos()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SalesAuditObjectMaster
public SalesAuditObjectMaster()
createSaeStoreTransactionContainer
public static SaeStoreTransactionContainer createSaeStoreTransactionContainer(DistributedContext context)
throws java.lang.Exception
- Throws:
java.lang.Exception
createSaeOrderTransactionContainer
public static SaeStoreTransactionContainer createSaeOrderTransactionContainer(Store store,
RDate txnDate,
java.lang.String transactionType)
throws java.lang.Exception
- Throws:
java.lang.Exception
createPersistedSaeOrderTransactionContainer
public static SaeStoreTransactionContainer createPersistedSaeOrderTransactionContainer(Store store,
RDate txnDate,
java.lang.String transactionType)
throws java.lang.Exception
- Throws:
java.lang.Exception
createPersistedSaeOrderTransactionContainer
public static SaeStoreTransactionContainer createPersistedSaeOrderTransactionContainer(Store store,
RDate txnDate,
java.lang.String transactionType,
DistributedObject sourceObject)
throws java.lang.Exception
- Throws:
java.lang.Exception
createCorruptSaeOrderTransactionContainer
public static SaeStoreTransactionContainer createCorruptSaeOrderTransactionContainer(Store store,
RDate txnDate,
java.lang.String transactionType)
throws java.lang.Exception
- Throws:
java.lang.Exception
createSaeTransaction
public static SaeTransaction createSaeTransaction(SaeStoreTransactionContainer container,
java.lang.String transactionType)
throws java.lang.Exception
- Throws:
java.lang.Exception
createSaeDiscount
public static SaeDiscount createSaeDiscount(SaeStoreTransactionContainer container,
java.lang.String discountType,
Money discountAmt)
throws java.lang.Exception
- Throws:
java.lang.Exception
createSaeItem
public static SaeItem createSaeItem(SaeStoreTransactionContainer container,
Quantity itemQuantity,
Money sellingUnitPrice,
java.util.List discountTypes,
java.util.List accommodationTypes,
boolean additionalShService,
boolean vasService,
boolean vasServiceDiscounts)
throws java.lang.Exception
- Throws:
java.lang.Exception
createSaeItemGiftCertificate
public static SaeItem createSaeItemGiftCertificate(SaeStoreTransactionContainer container,
Quantity itemQuantity)
throws java.lang.Exception
- Throws:
java.lang.Exception
createSaeTax
public static SaeTax createSaeTax(SaeStoreTransactionContainer container)
throws java.lang.Exception
- Throws:
java.lang.Exception
createSaeTax
public static SaeTax createSaeTax(SaeStoreTransactionContainer container,
Money taxAmount)
throws java.lang.Exception
- Throws:
java.lang.Exception
createSaePayment
public static SaePayment createSaePayment(SaeStoreTransactionContainer container,
java.lang.String paymentType,
Money paymentAmount)
throws java.lang.Exception
- Throws:
java.lang.Exception
createSaeCustomer
public static SaeCustomer createSaeCustomer(SaeStoreTransactionContainer container,
java.lang.String customerType)
throws java.lang.Exception
- Throws:
java.lang.Exception
createSaeAccommodation
public static SaeAccommodation createSaeAccommodation(SaeStoreTransactionContainer container,
java.lang.String accommodationType,
Money accommodationAmt,
Money taxCredit)
throws java.lang.Exception
- Throws:
java.lang.Exception
createSaeService
public static SaeService createSaeService(SaeStoreTransactionContainer container,
java.lang.String serviceType,
Quantity serviceQuantity,
boolean discounts)
throws java.lang.Exception
- Throws:
java.lang.Exception
createSaeSaleTransaction
public static SaeTransaction createSaeSaleTransaction(SaeStoreTransactionContainer container)
throws java.lang.Exception
- Throws:
java.lang.Exception
createSaeSaleTransaction
public static SaeTransaction createSaeSaleTransaction(SaeStoreTransactionContainer container,
SaleTransactionBuilderAttributes builderAttributes)
throws java.lang.Exception
- Throws:
java.lang.Exception
createSaeSaleTransactionForGiftCertificate
public static SaeTransaction createSaeSaleTransactionForGiftCertificate(SaeStoreTransactionContainer container,
int numberItems,
java.util.List paymentTypes)
throws java.lang.Exception
- Throws:
java.lang.Exception
createSaeReturnTransaction
public static SaeTransaction createSaeReturnTransaction(SaeStoreTransactionContainer container)
throws java.lang.Exception
- Throws:
java.lang.Exception
createSaeReturnTransaction
public static SaeTransaction createSaeReturnTransaction(SaeStoreTransactionContainer container,
ReturnTransactionBuilderAttributes builderAttributes)
throws java.lang.Exception
- Throws:
java.lang.Exception
createSaePaidInTransaction
public static SaeTransaction createSaePaidInTransaction(SaeStoreTransactionContainer container)
throws java.lang.Exception
- Throws:
java.lang.Exception
createSaePaidInTransaction
public static SaeTransaction createSaePaidInTransaction(SaeStoreTransactionContainer container,
PaidInTransactionBuilderAttributes builderAttributes)
throws java.lang.Exception
- Throws:
java.lang.Exception
createSaePaidOutTransaction
public static SaeTransaction createSaePaidOutTransaction(SaeStoreTransactionContainer container)
throws java.lang.Exception
- Throws:
java.lang.Exception
createSaePaidOutTransaction
public static SaeTransaction createSaePaidOutTransaction(SaeStoreTransactionContainer container,
PaidOutTransactionBuilderAttributes builderAttributes)
throws java.lang.Exception
- Throws:
java.lang.Exception
createSaeDcloseTransaction
public static SaeTransaction createSaeDcloseTransaction(SaeStoreTransactionContainer container)
throws java.lang.Exception
- Throws:
java.lang.Exception
getExpectedCustomerXml
public static java.lang.String getExpectedCustomerXml(SaeCustomer customer)
throws java.lang.Exception
- Throws:
java.lang.Exception
getExpectedAccommodationXml
public static java.lang.String getExpectedAccommodationXml(SaeAccommodation saeAccommodation)
throws java.lang.Exception
- Throws:
java.lang.Exception
getExpectedDiscountXml
public static java.lang.String getExpectedDiscountXml(SaeDiscount saeDiscount)
throws java.lang.Exception
- Throws:
java.lang.Exception
getExpectedTaxXml
public static java.lang.String getExpectedTaxXml(SaeTax saeTax)
throws java.lang.Exception
- Throws:
java.lang.Exception
getExpectedCashPaymentXml
public static java.lang.String getExpectedCashPaymentXml(SaePayment saePayment)
throws java.lang.Exception
- Throws:
java.lang.Exception
getExpectedCheckPaymentXml
public static java.lang.String getExpectedCheckPaymentXml(SaePayment saePayment)
throws java.lang.Exception
- Throws:
java.lang.Exception
getExpectedCreditCardPaymentXml
public static java.lang.String getExpectedCreditCardPaymentXml(SaePayment saePayment)
throws java.lang.Exception
- Throws:
java.lang.Exception
getExpectedVoucherPaymentXml
public static java.lang.String getExpectedVoucherPaymentXml(SaePayment saePayment)
throws java.lang.Exception
- Throws:
java.lang.Exception
getExpectedServiceXml
public static java.lang.String getExpectedServiceXml(SaeService saeService)
throws java.lang.Exception
- Throws:
java.lang.Exception
getExpectedItemXml
public static java.lang.String getExpectedItemXml(SaeItem saeItem,
boolean isLeaf)
throws java.lang.Exception
- Throws:
java.lang.Exception
getExpectedSaleTransactionXml
public static java.lang.String getExpectedSaleTransactionXml(SaeTransaction saeTransaction)
throws java.lang.Exception
- Throws:
java.lang.Exception
getExpectedReturnTransactionXml
public static java.lang.String getExpectedReturnTransactionXml(SaeTransaction saeTransaction)
throws java.lang.Exception
- Throws:
java.lang.Exception
getExpectedPaidInTransactionXml
public static java.lang.String getExpectedPaidInTransactionXml(SaeTransaction saeTransaction)
throws java.lang.Exception
- Throws:
java.lang.Exception
getExpectedPaidOutTransactionXml
public static java.lang.String getExpectedPaidOutTransactionXml(SaeTransaction saeTransaction)
throws java.lang.Exception
- Throws:
java.lang.Exception
getExpectedDcloseTransactionXml
public static java.lang.String getExpectedDcloseTransactionXml(SaeTransaction saeTransaction)
throws java.lang.Exception
- Throws:
java.lang.Exception
resetAllDaos
public static void resetAllDaos()
throws java.lang.Exception
- Throws:
java.lang.Exception
calculateTotalSalePrice
public static Money calculateTotalSalePrice(SaeTransaction transaction)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2004 Retek Inc. All Rights Reserved.
- Generated at Fri, 10/22/2004 07:28