com.retek.component.customerorder.test
Class CustomerOrderObjectMaster

java.lang.Object
  extended bycom.retek.component.customerorder.test.CustomerOrderObjectMaster

public class CustomerOrderObjectMaster
extends java.lang.Object


Field Summary
static java.lang.String EXPIRED_REWARD_CERTIFICATE_NUMBER
           
static java.lang.String INVALID_REWARD_CERTIFICATE_NUMBER
           
static java.lang.String REDEEMED_REWARD_CERTIFICATE_NUMBER
           
static java.lang.String VALID_BED_BATH_PRIVATE_LABEL_CARD_NUMBER
           
static java.lang.String VALID_DISCOVER_CARD_NUMBER
           
static java.lang.String VALID_POTTERY_BARN_PRIVATE_LABEL_CARD_NUMBER
           
static java.lang.String VALID_REWARD_CERTIFICATE_NUMBER
           
static java.lang.String VALID_VISA_CARD_NUMBER
           
 
Constructor Summary
CustomerOrderObjectMaster()
           
 
Method Summary
static CustomerOrderCreditCardPayment attachCardPaymentToOrder(CustomerOrder order, java.lang.String creditCardNumber, Money amount)
           
static CustomerOrderCashPayment attachCashPaymentToOrder(CustomerOrder order, Money amount)
           
static CustomerOrderCheckPayment attachCheckPaymentToOrder(CustomerOrder order, Money amount)
           
static CustomerOrderCheckPayment attachCheckPaymentToOrder(CustomerOrder order, Money amount, java.lang.String accountNumber)
           
static CustomerOrderCheckPayment attachCheckRefundPayment(CustomerOrder order, Money refundAmount)
           
static CustomerOrderCreditCardPayment attachCreditCardPaymentToOrder(CustomerOrder order, Money amount)
           
static CustomerOrderCreditCardPayment attachCreditCardPaymentToOrder(CustomerOrder order, Money amount, CreditCard creditCard)
           
static CustomerOrderCreditCardPayment attachCreditCardPaymentToOrderNotAuthorized(CustomerOrder order, Money amount)
           
static CustomerOrderLine attachCustomerMailOrderLine(CustomerOrder customerOrder, Media media, Quantity lineQty, Quantity availableInventory)
           
static CustomerOrderLine attachCustomerMailOrderLine(CustomerOrder customerOrder, Media media, Quantity lineQty, Quantity availableInventory, boolean hasCareInstructions, ItemPersonalizationBuilderAttributes itemPersAttributes)
           
static CustomerOrderLine attachCustomerOrderAltSellingLine(CustomerOrder customerOrder, SellingListType type, SellingListItem sellingListItem, CustomerOrderLine parentLine, boolean releaseToWmsReady, Quantity requestedQuantity)
           
static CustomerOrderLine attachCustomerOrderAltSellingLine(SellingListType type, SellingListItem sellingListItem, CustomerOrderLine parentLine, CustomerOrder customerOrder, Quantity requestedQuantity)
           
static CustomerOrderLine attachCustomerOrderLine(CustomerOrder customerOrder, Media media, boolean releaseToWmsReady, Quantity lineQty, Quantity availableInventory)
           
static CustomerOrderLine attachCustomerOrderLine(CustomerOrder customerOrder, Media media, boolean releaseToWmsReady, Quantity lineQty, Quantity availableInventory, boolean hasCareInstructions, ItemPersonalizationBuilderAttributes itemPersAttributes)
           
static CustomerOrderLine attachCustomerOrderLine(CustomerOrder customerOrder, Media media, boolean releaseToWmsReady, Quantity lineQty, Quantity availableInventory, boolean hasCareInstructions, ItemPersonalizationBuilderAttributes persAttributes, Money unitPrice, Money additionalDomesticDeliveryCharge, boolean standardShipping)
           
static CustomerOrderLine attachCustomerOrderLine(CustomerOrder customerOrder, Media media, boolean releaseToWmsReady, Quantity lineQty, Quantity availableInventory, boolean hasCareInstructions, ItemPersonalizationBuilderAttributes itemPersAttributes, java.lang.String giftRegistryType, java.lang.String giftRegistryNumber)
           
static CustomerOrderLine attachCustomerOrderLine(CustomerOrder customerOrder, Media media, boolean releaseToWmsReady, Quantity lineQty, Quantity availableInventory, Money price)
           
static CustomerOrderLine attachCustomerOrderLine(CustomerOrder customerOrder, Media media, boolean releaseToWmsReady, Quantity lineQty, Quantity availableInventory, Money unitPrice, Money additionalDomesticDeliveryCharge, boolean standardShipping)
           
static CustomerOrderLine attachCustomerOrderLine(CustomerOrder customerOrder, Media media, boolean releaseToWmsReady, Quantity lineQty, Quantity availableInventory, java.lang.String giftRegistryType, java.lang.String giftRegistryNumber)
           
static CustomerOrderLine attachCustomerOrderLine(CustomerOrder customerOrder, SellingSku sellingSku, boolean releaseToWmsReady, Quantity lineQty)
           
static CustomerOrderLine attachCustomerOrderLine(CustomerOrder customerOrder, SellingSku sellingSku, boolean releaseToWmsReady, Quantity lineQty, Quantity availableInventory)
           
static CustomerOrderLine attachCustomerOrderLine(CustomerOrder customerOrder, SellingSku sellingSku, boolean releaseToWmsReady, Quantity lineQty, Quantity availableInventory, Money unitPrice)
           
static CustomerOrderLine attachCustomerOrderLine(CustomerOrder customerOrder, SellingSku sellingSku, boolean releaseToWmsReady, Quantity lineQty, Quantity availableInventory, Money unitPrice, Money addtlDeliveryCharge, boolean stdDeliveryCharge)
           
static CustomerOrderLine attachCustomerOrderLineWithPacks(CustomerOrder order, Media media, PackBuilderAttributes packBuilderAttrs)
           
static CustomerOrderLine attachCustomerOrderLineWithPacks(CustomerOrder order, Media media, PackBuilderAttributes packBuilderAttrs, boolean packPersonalizationAvailable)
           
static CustomerOrderLine attachCustomerOrderLineWithPacksNoInventory(CustomerOrder order, Media media, PackBuilderAttributes packBuilderAttrs)
           
static CustomerOrderLine attachDirectShipMailOrderLine(CustomerOrder order, Media media, Supplier primarySupplier)
           
static CustomerOrderLine attachDirectShipOrderLine(CustomerOrder order, Media media, Supplier primarySupplier)
           
static CustomerOrderLine attachDirectShipOrderLine(CustomerOrder order, Media media, Supplier primarySupplier, boolean callSchedulesForAllDays)
           
static CustomerOrderLine attachDirectShipOrderLineWithDates(CustomerOrder customerOrder, Media media, Supplier supplier)
           
static CustomerOrderLine attachDirectShipOrderLineWithDates(CustomerOrder customerOrder, Media media, Supplier supplier, RDate estimatedShipDate, RDate estimatedDeliveryDate)
           
static void attachDirectShipToOrderAndSubmitBoth(DistributedContext context, CustomerOrder customerOrder, Media media, Supplier supplier, boolean directShipIndicator)
           
static CustomerOrderLine attachExchangeSaleGiftCardOrderLine(CustomerOrder customerOrder, Media media, boolean releaseToWmsReady, Money amount)
           
static CustomerOrderLine attachExchangeSaleOrderLine(CustomerOrder customerOrder, Media media, boolean releaseToWmsReady, Quantity lineQty, Quantity availableInventory)
           
static CustomerOrderLine attachExchangeSaleOrderLine(CustomerOrder customerOrder, Media media, boolean releaseToWmsReady, Quantity lineQty, Quantity availableInventory, boolean hasCareInstructions, ItemPersonalizationBuilderAttributes itemPersAttributes)
           
static CustomerOrderLine attachExchangeSaleOrderLine(CustomerOrder customerOrder, Media media, boolean releaseToWmsReady, Quantity lineQty, Quantity availableInventory, boolean hasCareInstructions, ItemPersonalizationBuilderAttributes itemPersAttributes, Money unitPrice)
           
static CustomerOrderLine attachExchangeSaleOrderLine(CustomerOrder customerOrder, Media media, boolean releaseToWmsReady, Quantity lineQty, Quantity availableInventory, Money unitPrice)
           
static CustomerOrderLine attachExchangeSaleOrderLine(CustomerOrder customerOrder, SellingSku sellingSku, boolean releaseToWmsReady, Quantity lineQty)
           
static CustomerOrderLine attachExchangeSaleOrderLineWithPacks(CustomerOrder order, Media media, PackBuilderAttributes packBuilderAttrs)
           
static CustomerOrderCreditCardPayment attachFullCreditCardPaymentToOrder(CustomerOrder order)
           
static CustomerOrderCreditCardPayment attachFullCreditCardPaymentToOrder(CustomerOrder order, java.lang.String creditCardNumber)
           
static CustomerOrderCreditCardPayment attachFullPaymentToOrderNotAuthorized(CustomerOrder order)
           
static CustomerOrderStoredValueCardPayment attachGiftCardPaymentToOrder(CustomerOrder order, Money cardValue, Money paymentAmount, java.lang.String controlNumber, java.lang.String pinNumber)
           
static CustomerOrderGiftCertificatePayment attachGiftCertificatePaymentToOrder(CustomerOrder order, Money amount)
           
static CustomerOrderGiftServiceLine attachGiftServiceLine(CustomerOrderLine orderLine, CustomerOrderGiftServiceLineType type)
           
static void attachGiftServiceLines(CustomerOrderLine orderLine, java.util.List lineTypes)
           
static void attachInventoryItemLocationAndInventoryData(CustomerOrderLine line, DistributedContext context)
           
static void attachInventoryItemLocationAndInventoryData(CustomerOrderLine line, Quantity availableQuantity, DistributedContext context)
           
static void attachInventoryItemLocationAndInventoryDataForBackOrderedStatus(DistributedContext context, Media media, SellingItem sellingItem, int outboundDays, int itemLocOutboundDays, boolean isDirectShip)
           
static CustomerOrderStoredValueCardPayment attachMerchandiseCardRefundPayment(CustomerOrder order, Money refundAmount)
           
static CustomerOrderMerchandiseCertificatePayment attachMerchandiseCertificateRefundPayment(CustomerOrder order, Money refundAmount)
           
static CustomerOrderStoredValueCardPayment attachMerchCardPaymentToOrder(CustomerOrder order, Money cardValue, Money paymentAmount, java.lang.String controlNumber, java.lang.String pinNumber)
           
static CustomerOrderMerchandiseCertificatePayment attachMerchCertificatePaymentToOrder(CustomerOrder order, Money amount)
           
static CustomerOrderMerchandiseCertificatePayment attachMerchCertificatePaymentToOrder(CustomerOrder order, Money amount, java.lang.String controlNumber)
           
static CustomerOrderPayment attachMoneyOrderPaymentToOrder(CustomerOrder order, Money amount)
           
static CustomerOrderLine attachNonDenominationalGiftCardOrderLine(CustomerOrder order, Media media, boolean releaseToWmsReady)
           
static CustomerOrderLine attachNonDenominationalGiftCardOrderLine(CustomerOrder order, Media media, boolean releaseToWmsReady, Money amount)
           
static CustomerOrderLine attachOrderLineWithFutureReleaseDate(DistributedContext context, CustomerOrder customerOrder, Media media)
           
static void attachOrderLineWithGiftingAdditionalAndRushShipping(DistributedContext context, CustomerOrder customerOrder, Media media, Quantity quantity, User user)
           
static CustomerOrderLine attachPackOrderLineWithVas(CustomerOrder order)
           
static CustomerOrderLine attachPackOrderLineWithVas(CustomerOrder order, Media media)
           
static CustomerOrderLine attachPartialOrderLine(CustomerOrder customerOrder, CustomerOrderLine orderLine, Media media, boolean releaseToWmsReady, Quantity lineQty, Quantity availableInventory, Money price)
           
static CustomerOrderLine attachPartialOrderLine(CustomerOrder customerOrder, CustomerOrderLine orderLine, Media media, boolean releaseToWmsReady, Quantity lineQty, Quantity availableInventory, Money price, Money additionalDomesticDeliveryCharge, boolean standardShipping)
           
static CustomerOrderCreditCardPayment attachPrivateLabelCreditCardPaymentToOrder(CustomerOrder order, Money amount)
           
static CustomerOrderCreditCardPayment attachPrivateLabelCreditCardPaymentToOrder(CustomerOrder order, Money amount, CustomerCreditCard customerCreditCard)
           
static CustomerOrderLine attachPromotionOrderLine(CustomerOrder customerOrder, SellingSku sellingSku, boolean releaseToWmsReady, Quantity lineQty, Quantity availableInventory, Money unitPrice, Money additionalShippingCharge, boolean stdDeliveryCharge, Promotion promotion)
           
static CustomerOrderLine attachPromotionOrderLine(CustomerOrder customerOrder, SellingSku sellingSku, boolean releaseToWmsReady, Quantity lineQty, Quantity availableInventory, Money unitPrice, Promotion promotion)
           
static CustomerOrderPayment attachRefundPayment(CustomerOrder order, CustomerOrderPayment payment, Money refundAmount)
           
static ReplacementLinePair attachReplacement(CustomerOrderLine parentOrderLine, Quantity replacementQty)
           
static ReplacementLinePair attachReplacement(CustomerOrderLine parentOrderLine, Quantity replacementQty, boolean returnRequired)
           
static ReplacementLinePair attachReplacement(CustomerOrderLine parentOrderLine, Quantity replacementQty, boolean returnRequired, ReturnReason returnReason, java.lang.String comment)
           
static CustomerOrderLine attachReservedOrderLine(CustomerOrder customerOrder, Media media)
           
static CustomerOrderLine attachReservedOrderLine(CustomerOrder customerOrder, Media media, Money additionalDomesticDeliveryCharge, boolean standardShipping)
           
static ReturnLine attachReturnLine(CustomerOrder order, CustomerOrderLine orderLine)
           
static ReturnLine attachReturnLine(CustomerOrder order, CustomerOrderLine orderLine, Quantity expectedReturnQty, boolean returnRequired, ReturnReason returnReason, java.lang.String comment)
           
static ReturnLine attachReturnLine(CustomerOrder order, CustomerOrderLine orderLine, ReturnReason returnReason)
           
static ReturnLine attachReturnLineAndReturnConfirm(CustomerOrder order, CustomerOrderLine orderLine, Quantity returnQty, CustomerOrderPayment payment, ShippedContainer shippedContainer)
           
static CustomerOrderRewardCertificatePayment attachRewardCertificatePaymentToOrder(CustomerOrder order, Money amount, Money certificateValue)
           
static CustomerOrderLine attachZeroSaleOrderLine(CustomerOrder customerOrder, Media media, Quantity lineQty, Quantity availableQty)
           
static CustomerOrderLine attachZeroSaleOrderLine(CustomerOrder customerOrder, Media media, Quantity lineQty, Quantity availableQty, Money unitPrice)
           
static CustomerOrderLine attachZeroSaleOrderLine(CustomerOrder customerOrder, Media media, Quantity lineQty, Quantity availableQty, Money unitPrice, ItemPersonalizationBuilderAttributes persAttributes)
           
static CustomerOrderStoredValueCardPayment buildAndAuthorizeSVCPayment(java.lang.String controlNumber, java.lang.String pinNumber, Money cardValue, Money paymentAmount, DistributedContext context, CustomerOrderStoredValueCardType type)
           
static CustomerOrderLine buildCustomerOrderAltSellingLine(SellingListType type, SellingListItem sellingListItem, CustomerOrderLine parentLine)
           
static GeneralAccommodation buildOrderGeneralAccommodationWithReason(DistributedContext context, AccommodationTypeEnum accomType, CustomerOrder order)
          This method creates an Order Level Test Accommodation with type set to the passed and reason set to default reason - calls CustomerOrderObjectMaster.getOrderAccommodationReason to provide the reason
static GeneralAccommodation buildOrderLineGeneralAccommodationWithReason(DistributedContext context, AccommodationTypeEnum accomType, CustomerOrderLine orderLine)
          This method creates an OrderLine Level Test Accommodation with type set to the passed and reason set to default reason - calls CustomerOrderObjectMaster.getOrderAccommodationReason to provide the reason
static GeneralAccommodation buildOrderLineMerchAccommodationWithReason(DistributedContext context, CustomerOrderLine orderLine)
          This method creates an OrderLine Test Accommodation with type set to Merchandize and reason set to default reason - calls CustomerOrderObjectMaster.getOrderAccommodationReason to provide the reason
static TaxAccommodation buildOrderLineTaxAccommodationWithReason(DistributedContext context, CustomerOrderLine orderLine)
          This method creates an OrderLine Test Accommodation with type set to Tax and reason set to default reason - calls CustomerOrderObjectMaster.getOrderAccommodationReason to provide the reason
static Accommodation buildOrderMerchAccommodationWithReason(DistributedContext context, CustomerOrder order)
          This method creates an Order Level Test Accommodation with type set to Merchandize and reason set to default reason - calls CustomerOrderObjectMaster.getOrderAccommodationReason to provide the reason
static Accommodation buildOrderTaxAccommodationWithReason(DistributedContext context, CustomerOrder order)
          This method creates an Order Level Test Accommodation with type set to Tax and reason set to default reason - calls CustomerOrderObjectMaster.getOrderAccommodationReason to provide the reason
static CustomerOrder buildOrderWithPersVasRushAndAddlShipping(DistributedContext context, Quantity requestedQty, Quantity availableQty, User user, boolean creditCard, Media media)
           
static CustomerOrder buildOrderWithPersVasRushAndAddlShipping(DistributedContext context, User user, Media media)
           
static CustomerOrder buildOrderWithPersVasRushAndAddlShipping(DistributedContext context, User user, Quantity requestedQty, Quantity availableQty, boolean creditCard, Media media)
           
static CustomerOrder buildZeroSaleOrderWithPersVasRushAndAddlShipping(DistributedContext context, Quantity requestedQty, Quantity availableQty, User user)
           
static CustomerOrder buildZeroSaleOrderWithPersVasRushAndAddlShipping(DistributedContext context, User user)
           
static CustomerOrderLine convertOrderLineIntoGiftCertificateOrderLine(CustomerOrderLine line)
           
static CustomerOrderLine convertOrderLineIntoGiftCertificateOrderLine(CustomerOrderLine line, GiftCertificateBenefit giftCertificateBenefit)
           
static CustomerOrderLine convertOrderLineIntoNonDenominationalGiftCardOrderLine(CustomerOrderLine line)
           
static ECDDRecalculationItem createAndSubmitECDDRecalculationItem(SellingSku sellingSku, DistributedContext context)
           
static CustomerOrderCreditCardPaymentAuthorizationResponseDto createCreditCardAuthResponseDto(java.lang.String resultCode)
           
static CustomerOrderCreditCardPayment createCreditCardPayment(DistributedContext context)
           
static CustomerOrderCreditCardPayment createCreditCardPayment(DistributedContext context, java.lang.String creditCardNumber, Money amount)
           
static CustomerOrderCreditCardPayment createCreditCardPaymentForCustomer(Customer cust, Money amount)
           
static CustomerOrderCreditCardPayment createCreditCardPaymentNoAddressWillBeAuthorized(DistributedContext context, Money amount)
           
static CustomerOrderCreditCardPayment createCreditCardPaymentNoAddressWillBeDeclined(DistributedContext context, Money amount)
           
static CustomerOrderCreditCardPayment createCreditCardPaymentNoAddressWillBeFraud(DistributedContext context, Money amount)
           
static CustomerOrderCreditCardPayment createCreditCardPaymentNoAddressWillBeReferral(DistributedContext context, Money amount)
           
static CustomerOrderCreditCardPayment createCreditCardPaymentNoAddressWillBeWaitingAuthorization(DistributedContext context, Money amount)
           
static CustomerOrder createCustomerMailOrder(DistributedContext context)
           
static CustomerOrder createCustomerMailOrder(DistributedContext context, Banner banner)
           
static CustomerOrderLine createCustomerMailOrderLine(CustomerOrder order, Media media, Quantity quantity, Money additionalDomesticDeliveryCharge, boolean standardShipping, SellingSku sellingSku)
           
static CustomerOrderLine createCustomerMailOrderLine(CustomerOrder order, Media media, Supplier supplier, Quantity quantity, Quantity availableQty, boolean hasCareInstructions, ItemPersonalizationBuilderAttributes itemPersAttributes, Money additionalDomesticDeliveryCharge, boolean standardShipping)
           
static CustomerOrderLine createCustomerMailOrderLineWithNLA(CustomerOrder order, Media media, Supplier supplier, Quantity requestedQuantity, Quantity availQuantity, boolean hasCareInstructions, ItemPersonalizationBuilderAttributes itemPersAttributes, Money unitPrice, Money additionalDomesticDeliveryCharge, boolean standardShipping)
           
static CustomerOrderLine createCustomerMailOrderLineWithoutAttaching(CustomerOrder order, SellingSku sellingSku, Quantity quantity)
           
static CustomerOrder createCustomerOrder(DistributedContext context)
           
static CustomerOrder createCustomerOrder(DistributedContext context, Banner banner)
           
static CustomerOrder createCustomerOrder(DistributedContext context, User user)
           
static CustomerOrder createCustomerOrder(DistributedContext context, User user, Banner banner)
           
static CustomerOrder createCustomerOrder(DistributedContext context, User user, OrderSource source)
           
static CustomerOrder createCustomerOrder(DistributedContext context, User user, OrderSource source, Banner banner)
           
static CustomerOrder createCustomerOrder(OrderType orderType, DistributedContext context)
           
static CustomerOrder createCustomerOrder(OrderType orderType, DistributedContext context, User user)
           
static CustomerOrder createCustomerOrder(OrderType orderType, DistributedContext context, User user, OrderSource source)
           
static CustomerOrder createCustomerOrder(OrderType orderType, DistributedContext context, User user, OrderSource source, Banner banner)
           
static CustomerOrderLine createCustomerOrderLine(Media media)
           
static CustomerOrderLine createCustomerOrderLine(Media media, Quantity qty, Money price)
           
static CustomerOrderLine createCustomerOrderLine(Media media, Quantity quantity, Quantity availableQty, Carrier validCarrier, ShippingMethod validShippingMethod, DistributedContext context)
           
static CustomerOrderLine createCustomerOrderLine(Media media, Supplier supplier, Quantity quantity)
           
static CustomerOrderLine createCustomerOrderLine(Media media, Supplier supplier, Quantity quantity, Quantity availableQty, boolean hasCareInstructions, ItemPersonalizationBuilderAttributes itemPersAttributes)
           
static CustomerOrderLine createCustomerOrderLine(Media media, Supplier supplier, Quantity quantity, Quantity availableQty, boolean hasCareInstructions, ItemPersonalizationBuilderAttributes itemPersAttributes, Money additionalDomesticDeliveryCharge, boolean standardShipping)
           
static CustomerOrderLine createCustomerOrderLine(Media media, Supplier supplier, Quantity quantity, Quantity availableQty, boolean hasCareInstructions, ItemPersonalizationBuilderAttributes itemPersAttributes, Money unitPrice, Money additionalDomesticDeliveryCharge, boolean standardShipping)
           
static CustomerOrderLine createCustomerOrderLine(SellingSku sellingSku, Quantity quantity)
           
static CustomerOrderLine createCustomerOrderLineWithLevelOneNLA(Media media, Supplier supplier, Quantity requestedQuantity, Quantity availQuantity, boolean hasCareInstructions, ItemPersonalizationBuilderAttributes itemPersAttributes, Money unitPrice, Money additionalDomesticDeliveryCharge, boolean standardShipping)
           
static CustomerOrderLine createCustomerOrderLineWithNLA(Media media, Supplier supplier, Quantity requestedQuantity, Quantity availQuantity, boolean hasCareInstructions, ItemPersonalizationBuilderAttributes itemPersAttributes, Money unitPrice, Money additionalDomesticDeliveryCharge, boolean standardShipping)
           
static CustomerOrderLine createCustomerOrderLineWithNoInventory(Media media, Quantity quantity, Carrier validCarrier, ShippingMethod validShippingMethod)
           
static CustomerOrderLine createCustomerOrderLineWithPacks(Media media, PackBuilderAttributes packBuilderAttrs)
           
static CustomerOrderLine createCustomerOrderLineWithPacks(Media media, PackBuilderAttributes packBuilderAttrs, boolean packPersonalizationAvailable, boolean doInventory)
           
static CustomerOrderLine createCustomerOrderLineWithPacksNoInventory(Media media, PackBuilderAttributes packBuilderAttrs, boolean packPersonalizationAvailable)
           
static CustomerOrderPersonalizationTextLine createCustomerOrderPersonalizationTextLine(DistributedContext context, java.lang.String text, PersonalizationValueAddedService persService)
           
static CustomerOrder createCustomerOrderWithoutCustomer(DistributedContext context)
           
static CustomerOrderLine createDirectShipOrderLine(Media media, Supplier primarySupplier, boolean callSchedulesForAllDays, Quantity requestedQty)
           
static CustomerOrderLine createDirectShipOrderLine(Media media, Supplier primarySupplier, boolean callSchedulesForAllDays, Quantity requestedQty, Quantity availableQty)
           
static CustomerOrderCreditCardPayment createDiscoverCardPayment(DistributedContext context, Money amount)
           
static ECDDRecalculationItem createECDDRecalculationItem(DistributedContext context)
           
static CustomerOrderCreditCardPayment createEmptyCreditCardPayment(DistributedContext context)
           
static CustomerOrderLine createExchangeSaleOrderLine(CustomerOrder order, Media media, Supplier supplier, Quantity quantity, Quantity availableQty, boolean hasCareInstructions, ItemPersonalizationBuilderAttributes itemPersAttributes, Money unitPrice, Money additionalDomesticDeliveryCharge, boolean standardShipping)
           
static CustomerOrderLine createExchangeSaleOrderLine(CustomerOrder order, SellingSku sellingSku, Quantity quantity)
           
static CustomerOrderLine createExchangeSaleOrderLineWithPacks(CustomerOrder order, Media media, PackBuilderAttributes packBuilderAttrs, boolean packPersonalizationAvailable, boolean doInventory)
           
static CustomerOrderLine createGiftVoucherCustomerOrderLine(Media media, Supplier supplier, Quantity quantity, Quantity availableQty, boolean nonDenominational, boolean giftCard)
           
static MailOrderBatch createMailOrderBatch(Banner banner, DistributedContext context)
           
static MailOrderBatch createMailOrderBatch(Banner banner, DistributedContext context, int expectedNumberOfOrders, java.lang.String depositId)
           
static MailOrderBatch createMailOrderBatch(Banner banner, DistributedContext context, int expectedNumberOfOrders, java.lang.String depositId, boolean isPhysicalTender)
           
static MailOrderBatch createMailOrderBatch(User user, Banner banner)
           
static CustomerOrderMonogramServiceLine createMonogramServiceLine(CustomerOrderLine orderLine, MonogramValueAddedService monogramService)
           
static CustomerOrderMonogramServiceLine createMonogramServiceLine(CustomerOrderLine orderLine, MonogramValueAddedService monogramService, PersonalizationColor color, PersonalizationFont font)
           
static NoCustomerInformationReturn createNoCustomerInformationReturn(DistributedContext context)
           
static NoCustomerInformationReturn createNoCustomerInformationReturn(DistributedContext context, SellableItem sellableItem, Quantity qty, ReturnReason reason, SupplierReturnDisposition disposition)
           
static NoCustomerInformationReturn createNoCustomerInformationReturn(DistributedContext context, Sku sku, Quantity qty)
           
static CustomerOrderLine createOrderLine(Media media)
           
static CustomerOrderLine createOrderLine(Media media, Quantity quantity)
           
static BannerEvent createOrderLineHoldEvent(Banner banner, java.lang.String description, RDate startDate, RDate orderByDateTime, RDate expCustomerDeliveryDate)
           
static SupplierEvent createOrderLineHoldEvent(DistributedContext context, Supplier supplier, java.lang.String description, RDate startDate, RDate orderByDateTime, RDate expCustomerDeliveryDate)
           
static ItemSupplierEvent createOrderLineHoldEvent(DistributedContext context, Supplier supplier, java.lang.String description, RDate startDate, RDate orderByDateTime, RDate expCustomerDeliveryDate, SellableItem item)
           
static CustomerOrder createOrderWithReturnOnZeroSaleLine(DistributedContext context, User user)
           
static CustomerOrderLine createPartialOrderLine(CustomerOrderLine orderLine, Media media, Quantity quantity, Quantity availableQty, DistributedContext context)
           
static CustomerOrderLine createPartialOrderLine(CustomerOrderLine orderLine, Media media, Quantity quantity, Quantity availableQty, Money price, Money additionalDomesticDeliveryCharge, boolean standardShipping, DistributedContext context)
           
static BannerEvent createPersistedBannerEvent(Banner banner, java.lang.String description, RDate startDate, RDate orderByDate, RDate expCustomerDeliveryDate)
           
static ItemSupplierEvent createPersistedItemSupplierEvent(DistributedContext context, Supplier supplier, java.lang.String description, RDate startDate, RDate orderByDateTime, RDate expCustomerDeliveryDate, SellableItem item)
           
static SupplierReturnDisposition createPersistedReturnDisposition(DistributedContext context, boolean disposed)
           
static SupplierReturnDisposition createPersistedReturnDisposition(DistributedContext context, boolean disposed, java.lang.String dispositionCode)
           
static SupplierEvent createPersistedSupplierEvent(DistributedContext context, Supplier supplier, java.lang.String description, RDate startDate, RDate orderByDateTime, RDate expCustomerDeliveryDate)
           
static CustomerOrderPersonalizationServiceLine createPersonalizationServiceLine(CustomerOrderLine orderLine, PersonalizationValueAddedService persService)
           
static CustomerOrderPersonalizationServiceLine createPersonalizationServiceLine(CustomerOrderLine orderLine, PersonalizationValueAddedService persService, PersonalizationColor color, PersonalizationFont font)
           
static CustomerOrderCreditCardPayment createPrivateLabelCreditCardPayment(DistributedContext context, Money amount)
           
static CustomerOrderCreditCardPayment createPrivateLabelCreditCardPayment(DistributedContext context, Money amount, CreditCard creditCard, Customer customer)
           
static CustomerOrderLine createPromotionOrderLine(SellingSku sellingSku, Quantity quantity)
           
static ReplacementLinePair createReplacement(CustomerOrderLine parentOrderLine, Quantity replacementQty)
           
static ReplacementLinePair createReplacement(CustomerOrderLine parentOrderLine, Quantity replacementQty, boolean returnRequired, ReturnReason returnReason, java.lang.String comment)
           
static ReturnLine createReturnLine(CustomerOrderLine orderLine, Quantity expectedReturnQty, boolean returnRequired, ReturnReason returnReason, java.lang.String comment)
           
static ReturnReason createReturnReason(boolean isRefundShippingHandling, boolean isRefundVas, boolean isRefundGiftService, DistributedContext context)
           
static CustomerOrderRewardCertificatePayment createRewardCertificatePayment(DistributedContext context, Money paymentAmount)
           
static CustomerOrderRewardCertificatePayment createRewardCertificatePayment(DistributedContext context, Money paymentAmount, Money certificateValue)
           
static Sku createShippingAndHandlingSkuForBanner(CustomerOrder order)
           
static com.retek.rib.binding.payload.Payload createStockStatusPayload(ShipmentRequest request, java.lang.String documentType, java.lang.String itemId, java.lang.String lineOrderNumber, Quantity quantity, java.lang.String status)
           
static com.retek.rib.binding.payload.Payload createStockStatusPayload(ShipmentRequest request, java.lang.String documentType, java.lang.String itemId, java.lang.String lineOrderNumber, Quantity quantity, java.lang.String status, RDate updateDate)
           
static SupplierReturnDisposition createSystemReturnDisposition(DistributedContext context)
           
static void createSystemReturnDispositionInCacheDao(DistributedContext context)
           
static Sku createVasGeneralSkuForBanner(CustomerOrder order)
           
static Sku createVasGiftCardSkuForBanner(CustomerOrder order)
           
static Sku createVasGiftWrapSkuForBanner(CustomerOrder order)
           
static Sku createVasMonogramSkuForBanner(CustomerOrder order)
           
static Sku createVasPersonalizationSkuForBanner(CustomerOrder order)
           
static CustomerOrderCreditCardPayment createVisaCardPayment(DistributedContext context, Money amount)
           
static Warehouse createWarehouseForOrderLine(CustomerOrderLine orderLine)
           
static CustomerOrderLine createZeroSaleOrderLine(Media media, Quantity availableQty)
           
static CustomerOrderLine createZeroSaleOrderLine(Media media, Quantity availableQty, Money unitPrice, ItemPersonalizationBuilderAttributes itemPersAttributes)
           
static void fsmDebugMessagesRegister(com.retek.fsm.FSMAble fsmAble)
           
static Banner getBanner123ForTaxTesting(DistributedContext context)
          Return banner with display code '123'.
static Channel getChannelForAMedia(Media media)
           
static Money getFullOrderGrandTotalForPreBatchMailOrder(CustomerOrder order)
           
static AccommodationReason getOrderAccommodationReason(DistributedContext context)
           
static AccommodationReason getOrderLineAccommodationReason(DistributedContext context)
           
static CustomerOrderCreditCardPayment getValidCreditCardPaymentWithoutAddress(DistributedContext context, Money amount)
           
static ShippingMethod getValidShippingMethod(DistributedContext context)
           
static SourceCode getValidSourceCode(DistributedContext context)
           
static void persistOrderWithNoValidationForTesting(CustomerOrder order, User user)
           
static void resetAllDaos()
           
static void returnConfirm(CustomerOrderLine orderLine, Quantity returnQty, java.lang.String rmaNumber, Money refundReturnPostage, Warehouse physicalWarehouse)
           
static void returnConfirm(CustomerOrderLine orderLine, Quantity returnQty, SupplierReturnDisposition disposition, java.lang.String rmaNbr, Money refundReturnPostage, Warehouse physicalWh)
           
static void returnConfirm(ReturnLine returnLine, Quantity returnQty, ShippedContainer shippedContainer)
           
static void returnConfirm(ReturnLine returnLine, Quantity returnQty, SupplierReturnDisposition disposition, ShippedContainer shippedContainer)
           
static void returnConfirm(ReturnLine returnLine, Quantity returnQty, SupplierReturnDisposition disposition, ShippedContainer shippedContainer, Money refundReturnPostage)
           
static void returnConfirm(ReturnLine returnLine, Quantity returnQty, SupplierReturnDisposition disposition, java.lang.String rmaNbr, Money refundReturnPostage)
           
static void returnConfirm(ReturnLine returnLine, ShippedContainer shippedContainer)
           
static void returnConfirm(ReturnLine returnLine, java.lang.String rmaNbr)
           
static CountryZipCodeRange setUpCountryZipCodeRange(java.lang.String startZipCode, java.lang.String endZipCode, DistributedContext context, User user)
           
static CountryZipCodeRange setUpCountryZipCodeRange(User user, DistributedContext context)
           
static void setUpCountryZipCodeRangeWhPriority(CountryZipCodeRange zipCodeRange, Warehouse warehouse, int priority, User user)
           
static Warehouse setUpVirtualAndPhysicalWarehouse(Channel channel)
           
static Warehouse setUpVirtualAndPhysicalWarehouse(Channel channel, boolean supportPersonalization, boolean supportGifting)
           
static void setUpWarehouseInventory(SellableItem sellableItem, Store virtualStore, Warehouse warehouse, java.util.HashMap inventoryHashMap)
           
static ShippedContainer shipConfirm(CustomerOrder order, CustomerOrderLine line)
           
static ShippedContainer shipConfirm(CustomerOrder order, CustomerOrderLine line, Quantity quantity)
           
static ShippedContainer shipConfirm(CustomerOrder order, CustomerOrderLine line, Quantity quantity, RDate shipDate)
           
static ShippedContainer shipConfirm(CustomerOrder order, CustomerOrderLine line, Quantity quantity, java.lang.String carrierCode, java.lang.String trackingNumber, RDate shipDate)
           
static ShippedContainer shipConfirm(CustomerOrder order, CustomerOrderLine line, Quantity quantity, java.lang.String carrierCode, java.lang.String trackingNumber, RDate shipDate, Warehouse physicalWarehouse)
           
static ShippedContainer shipConfirm(CustomerOrder order, CustomerOrderLine line, RDate shipDate)
           
static ShippedContainer shipConfirm(CustomerOrder order, CustomerOrderLine orderLine, Warehouse physicalWarehouse)
           
static ShippedContainer shipConfirm(CustomerOrder order, ShipmentRequest shipRequest)
           
static ShippedContainer shipConfirm(CustomerOrder order, ShipmentRequest shipRequest, java.util.Map orderLineQtyMap)
           
static ShippedContainer shipConfirm(CustomerOrder order, ShipmentRequest shipRequest, RDate shipDate)
           
static ReturnLine shipConfirmAndReturnConfirm(CustomerOrder order, CustomerOrderLine orderLine, Quantity returnQty, CustomerOrderPayment payment)
           
static ReturnLine shipConfirmAndReturnConfirm(CustomerOrder order, CustomerOrderLine orderLine, Quantity shipQty, Quantity returnQty, CustomerOrderPayment payment)
           
static ShippedContainer shipConfirmNoRMA(CustomerOrder order, CustomerOrderLine line)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VALID_DISCOVER_CARD_NUMBER

public static final java.lang.String VALID_DISCOVER_CARD_NUMBER
See Also:
Constant Field Values

VALID_VISA_CARD_NUMBER

public static final java.lang.String VALID_VISA_CARD_NUMBER
See Also:
Constant Field Values

VALID_POTTERY_BARN_PRIVATE_LABEL_CARD_NUMBER

public static final java.lang.String VALID_POTTERY_BARN_PRIVATE_LABEL_CARD_NUMBER
See Also:
Constant Field Values

VALID_BED_BATH_PRIVATE_LABEL_CARD_NUMBER

public static final java.lang.String VALID_BED_BATH_PRIVATE_LABEL_CARD_NUMBER
See Also:
Constant Field Values

VALID_REWARD_CERTIFICATE_NUMBER

public static final java.lang.String VALID_REWARD_CERTIFICATE_NUMBER
See Also:
Constant Field Values

INVALID_REWARD_CERTIFICATE_NUMBER

public static final java.lang.String INVALID_REWARD_CERTIFICATE_NUMBER
See Also:
Constant Field Values

EXPIRED_REWARD_CERTIFICATE_NUMBER

public static final java.lang.String EXPIRED_REWARD_CERTIFICATE_NUMBER
See Also:
Constant Field Values

REDEEMED_REWARD_CERTIFICATE_NUMBER

public static final java.lang.String REDEEMED_REWARD_CERTIFICATE_NUMBER
See Also:
Constant Field Values
Constructor Detail

CustomerOrderObjectMaster

public CustomerOrderObjectMaster()
Method Detail

attachRefundPayment

public static CustomerOrderPayment attachRefundPayment(CustomerOrder order,
                                                       CustomerOrderPayment payment,
                                                       Money refundAmount)
                                                throws java.lang.Exception
Throws:
java.lang.Exception

createNoCustomerInformationReturn

public static NoCustomerInformationReturn createNoCustomerInformationReturn(DistributedContext context,
                                                                            SellableItem sellableItem,
                                                                            Quantity qty,
                                                                            ReturnReason reason,
                                                                            SupplierReturnDisposition disposition)
                                                                     throws java.lang.Exception
Throws:
java.lang.Exception

createNoCustomerInformationReturn

public static NoCustomerInformationReturn createNoCustomerInformationReturn(DistributedContext context,
                                                                            Sku sku,
                                                                            Quantity qty)
                                                                     throws java.lang.Exception
Throws:
java.lang.Exception

createNoCustomerInformationReturn

public static NoCustomerInformationReturn createNoCustomerInformationReturn(DistributedContext context)
                                                                     throws java.lang.Exception
Throws:
java.lang.Exception

attachMerchandiseCertificateRefundPayment

public static CustomerOrderMerchandiseCertificatePayment attachMerchandiseCertificateRefundPayment(CustomerOrder order,
                                                                                                   Money refundAmount)
                                                                                            throws java.lang.Exception
Throws:
java.lang.Exception

attachMerchandiseCardRefundPayment

public static CustomerOrderStoredValueCardPayment attachMerchandiseCardRefundPayment(CustomerOrder order,
                                                                                     Money refundAmount)
                                                                              throws java.lang.Exception
Throws:
java.lang.Exception

attachCheckRefundPayment

public static CustomerOrderCheckPayment attachCheckRefundPayment(CustomerOrder order,
                                                                 Money refundAmount)
                                                          throws java.lang.Exception
Throws:
java.lang.Exception

resetAllDaos

public static void resetAllDaos()
                         throws java.lang.Exception
Throws:
java.lang.Exception

createWarehouseForOrderLine

public static Warehouse createWarehouseForOrderLine(CustomerOrderLine orderLine)
                                             throws SystemException,
                                                    BusinessException,
                                                    java.lang.Exception
Throws:
SystemException
BusinessException
java.lang.Exception

getBanner123ForTaxTesting

public static Banner getBanner123ForTaxTesting(DistributedContext context)
                                        throws java.lang.Exception
Return banner with display code '123'. This banner '123' is setup with special tax definitions in the Vertex application. Use this banner for unit testing for special tax calculation/proration unit tests.

Throws:
java.lang.Exception

createCustomerMailOrder

public static CustomerOrder createCustomerMailOrder(DistributedContext context)
                                             throws java.lang.Exception
Throws:
java.lang.Exception

createCustomerOrder

public static CustomerOrder createCustomerOrder(OrderType orderType,
                                                DistributedContext context)
                                         throws java.lang.Exception
Throws:
java.lang.Exception

createCustomerOrder

public static CustomerOrder createCustomerOrder(DistributedContext context)
                                         throws java.lang.Exception
Throws:
java.lang.Exception

createCustomerOrder

public static CustomerOrder createCustomerOrder(DistributedContext context,
                                                Banner banner)
                                         throws java.lang.Exception
Throws:
java.lang.Exception

createCustomerOrder

public static CustomerOrder createCustomerOrder(OrderType orderType,
                                                DistributedContext context,
                                                User user)
                                         throws java.lang.Exception
Throws:
java.lang.Exception

createCustomerOrder

public static CustomerOrder createCustomerOrder(DistributedContext context,
                                                User user)
                                         throws java.lang.Exception
Throws:
java.lang.Exception

createCustomerOrder

public static CustomerOrder createCustomerOrder(DistributedContext context,
                                                User user,
                                                Banner banner)
                                         throws java.lang.Exception
Throws:
java.lang.Exception

createCustomerOrder

public static CustomerOrder createCustomerOrder(DistributedContext context,
                                                User user,
                                                OrderSource source)
                                         throws java.lang.Exception
Throws:
java.lang.Exception

createCustomerOrder

public static CustomerOrder createCustomerOrder(DistributedContext context,
                                                User user,
                                                OrderSource source,
                                                Banner banner)
                                         throws java.lang.Exception
Throws:
java.lang.Exception

createCustomerOrder

public static CustomerOrder createCustomerOrder(OrderType orderType,
                                                DistributedContext context,
                                                User user,
                                                OrderSource source)
                                         throws java.lang.Exception
Throws:
java.lang.Exception

createCustomerOrder

public static CustomerOrder createCustomerOrder(OrderType orderType,
                                                DistributedContext context,
                                                User user,
                                                OrderSource source,
                                                Banner banner)
                                         throws java.lang.Exception
Throws:
java.lang.Exception

createCustomerMailOrderLineWithNLA

public static CustomerOrderLine createCustomerMailOrderLineWithNLA(CustomerOrder order,
                                                                   Media media,
                                                                   Supplier supplier,
                                                                   Quantity requestedQuantity,
                                                                   Quantity availQuantity,
                                                                   boolean hasCareInstructions,
                                                                   ItemPersonalizationBuilderAttributes itemPersAttributes,
                                                                   Money unitPrice,
                                                                   Money additionalDomesticDeliveryCharge,
                                                                   boolean standardShipping)
                                                            throws java.lang.Exception
Throws:
java.lang.Exception

createCustomerMailOrder

public static CustomerOrder createCustomerMailOrder(DistributedContext context,
                                                    Banner banner)
                                             throws java.lang.Exception
Throws:
java.lang.Exception

createCustomerOrderWithoutCustomer

public static CustomerOrder createCustomerOrderWithoutCustomer(DistributedContext context)
                                                        throws java.lang.Exception
Throws:
java.lang.Exception

createCustomerOrderLine

public static CustomerOrderLine createCustomerOrderLine(Media media)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

createCustomerOrderLine

public static CustomerOrderLine createCustomerOrderLine(Media media,
                                                        Supplier supplier,
                                                        Quantity quantity)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

createZeroSaleOrderLine

public static CustomerOrderLine createZeroSaleOrderLine(Media media,
                                                        Quantity availableQty)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

createZeroSaleOrderLine

public static CustomerOrderLine createZeroSaleOrderLine(Media media,
                                                        Quantity availableQty,
                                                        Money unitPrice,
                                                        ItemPersonalizationBuilderAttributes itemPersAttributes)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

createOrderWithReturnOnZeroSaleLine

public static CustomerOrder createOrderWithReturnOnZeroSaleLine(DistributedContext context,
                                                                User user)
                                                         throws java.lang.Exception
Throws:
java.lang.Exception

createPromotionOrderLine

public static CustomerOrderLine createPromotionOrderLine(SellingSku sellingSku,
                                                         Quantity quantity)
                                                  throws java.lang.Exception
Throws:
java.lang.Exception

createCustomerOrderLine

public static CustomerOrderLine createCustomerOrderLine(SellingSku sellingSku,
                                                        Quantity quantity)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

createPartialOrderLine

public static CustomerOrderLine createPartialOrderLine(CustomerOrderLine orderLine,
                                                       Media media,
                                                       Quantity quantity,
                                                       Quantity availableQty,
                                                       DistributedContext context)
                                                throws java.lang.Exception
Throws:
java.lang.Exception

createPartialOrderLine

public static CustomerOrderLine createPartialOrderLine(CustomerOrderLine orderLine,
                                                       Media media,
                                                       Quantity quantity,
                                                       Quantity availableQty,
                                                       Money price,
                                                       Money additionalDomesticDeliveryCharge,
                                                       boolean standardShipping,
                                                       DistributedContext context)
                                                throws java.lang.Exception
Throws:
java.lang.Exception

getValidShippingMethod

public static ShippingMethod getValidShippingMethod(DistributedContext context)
                                             throws java.lang.Exception
Throws:
java.lang.Exception

createCustomerOrderLine

public static CustomerOrderLine createCustomerOrderLine(Media media,
                                                        Supplier supplier,
                                                        Quantity quantity,
                                                        Quantity availableQty,
                                                        boolean hasCareInstructions,
                                                        ItemPersonalizationBuilderAttributes itemPersAttributes)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

createCustomerOrderLine

public static CustomerOrderLine createCustomerOrderLine(Media media,
                                                        Supplier supplier,
                                                        Quantity quantity,
                                                        Quantity availableQty,
                                                        boolean hasCareInstructions,
                                                        ItemPersonalizationBuilderAttributes itemPersAttributes,
                                                        Money additionalDomesticDeliveryCharge,
                                                        boolean standardShipping)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

createCustomerOrderLine

public static CustomerOrderLine createCustomerOrderLine(Media media,
                                                        Supplier supplier,
                                                        Quantity quantity,
                                                        Quantity availableQty,
                                                        boolean hasCareInstructions,
                                                        ItemPersonalizationBuilderAttributes itemPersAttributes,
                                                        Money unitPrice,
                                                        Money additionalDomesticDeliveryCharge,
                                                        boolean standardShipping)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

createGiftVoucherCustomerOrderLine

public static CustomerOrderLine createGiftVoucherCustomerOrderLine(Media media,
                                                                   Supplier supplier,
                                                                   Quantity quantity,
                                                                   Quantity availableQty,
                                                                   boolean nonDenominational,
                                                                   boolean giftCard)
                                                            throws java.lang.Exception
Throws:
java.lang.Exception

createCustomerOrderLineWithNLA

public static CustomerOrderLine createCustomerOrderLineWithNLA(Media media,
                                                               Supplier supplier,
                                                               Quantity requestedQuantity,
                                                               Quantity availQuantity,
                                                               boolean hasCareInstructions,
                                                               ItemPersonalizationBuilderAttributes itemPersAttributes,
                                                               Money unitPrice,
                                                               Money additionalDomesticDeliveryCharge,
                                                               boolean standardShipping)
                                                        throws java.lang.Exception
Throws:
java.lang.Exception

createCustomerOrderLineWithLevelOneNLA

public static CustomerOrderLine createCustomerOrderLineWithLevelOneNLA(Media media,
                                                                       Supplier supplier,
                                                                       Quantity requestedQuantity,
                                                                       Quantity availQuantity,
                                                                       boolean hasCareInstructions,
                                                                       ItemPersonalizationBuilderAttributes itemPersAttributes,
                                                                       Money unitPrice,
                                                                       Money additionalDomesticDeliveryCharge,
                                                                       boolean standardShipping)
                                                                throws java.lang.Exception
Throws:
java.lang.Exception

createExchangeSaleOrderLine

public static CustomerOrderLine createExchangeSaleOrderLine(CustomerOrder order,
                                                            Media media,
                                                            Supplier supplier,
                                                            Quantity quantity,
                                                            Quantity availableQty,
                                                            boolean hasCareInstructions,
                                                            ItemPersonalizationBuilderAttributes itemPersAttributes,
                                                            Money unitPrice,
                                                            Money additionalDomesticDeliveryCharge,
                                                            boolean standardShipping)
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

createExchangeSaleOrderLine

public static CustomerOrderLine createExchangeSaleOrderLine(CustomerOrder order,
                                                            SellingSku sellingSku,
                                                            Quantity quantity)
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

createCustomerOrderLineWithNoInventory

public static CustomerOrderLine createCustomerOrderLineWithNoInventory(Media media,
                                                                       Quantity quantity,
                                                                       Carrier validCarrier,
                                                                       ShippingMethod validShippingMethod)
                                                                throws java.lang.Exception
Throws:
java.lang.Exception

createCustomerOrderLine

public static CustomerOrderLine createCustomerOrderLine(Media media,
                                                        Quantity quantity,
                                                        Quantity availableQty,
                                                        Carrier validCarrier,
                                                        ShippingMethod validShippingMethod,
                                                        DistributedContext context)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

attachReservedOrderLine

public static CustomerOrderLine attachReservedOrderLine(CustomerOrder customerOrder,
                                                        Media media)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

attachReservedOrderLine

public static CustomerOrderLine attachReservedOrderLine(CustomerOrder customerOrder,
                                                        Media media,
                                                        Money additionalDomesticDeliveryCharge,
                                                        boolean standardShipping)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

attachOrderLineWithFutureReleaseDate

public static CustomerOrderLine attachOrderLineWithFutureReleaseDate(DistributedContext context,
                                                                     CustomerOrder customerOrder,
                                                                     Media media)
                                                              throws java.lang.Exception
Throws:
java.lang.Exception

createOrderLine

public static CustomerOrderLine createOrderLine(Media media)
                                         throws java.lang.Exception
Throws:
java.lang.Exception

createOrderLine

public static CustomerOrderLine createOrderLine(Media media,
                                                Quantity quantity)
                                         throws java.lang.Exception
Throws:
java.lang.Exception

attachCustomerOrderLine

public static CustomerOrderLine attachCustomerOrderLine(CustomerOrder customerOrder,
                                                        SellingSku sellingSku,
                                                        boolean releaseToWmsReady,
                                                        Quantity lineQty)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

attachCustomerOrderLine

public static CustomerOrderLine attachCustomerOrderLine(CustomerOrder customerOrder,
                                                        SellingSku sellingSku,
                                                        boolean releaseToWmsReady,
                                                        Quantity lineQty,
                                                        Quantity availableInventory)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

attachCustomerOrderLine

public static CustomerOrderLine attachCustomerOrderLine(CustomerOrder customerOrder,
                                                        SellingSku sellingSku,
                                                        boolean releaseToWmsReady,
                                                        Quantity lineQty,
                                                        Quantity availableInventory,
                                                        Money unitPrice)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

attachCustomerOrderLine

public static CustomerOrderLine attachCustomerOrderLine(CustomerOrder customerOrder,
                                                        SellingSku sellingSku,
                                                        boolean releaseToWmsReady,
                                                        Quantity lineQty,
                                                        Quantity availableInventory,
                                                        Money unitPrice,
                                                        Money addtlDeliveryCharge,
                                                        boolean stdDeliveryCharge)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

attachPromotionOrderLine

public static CustomerOrderLine attachPromotionOrderLine(CustomerOrder customerOrder,
                                                         SellingSku sellingSku,
                                                         boolean releaseToWmsReady,
                                                         Quantity lineQty,
                                                         Quantity availableInventory,
                                                         Money unitPrice,
                                                         Promotion promotion)
                                                  throws java.lang.Exception
Throws:
java.lang.Exception

attachPromotionOrderLine

public static CustomerOrderLine attachPromotionOrderLine(CustomerOrder customerOrder,
                                                         SellingSku sellingSku,
                                                         boolean releaseToWmsReady,
                                                         Quantity lineQty,
                                                         Quantity availableInventory,
                                                         Money unitPrice,
                                                         Money additionalShippingCharge,
                                                         boolean stdDeliveryCharge,
                                                         Promotion promotion)
                                                  throws java.lang.Exception
Throws:
java.lang.Exception

attachCustomerOrderLine

public static CustomerOrderLine attachCustomerOrderLine(CustomerOrder customerOrder,
                                                        Media media,
                                                        boolean releaseToWmsReady,
                                                        Quantity lineQty,
                                                        Quantity availableInventory,
                                                        Money price)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

attachCustomerOrderLine

public static CustomerOrderLine attachCustomerOrderLine(CustomerOrder customerOrder,
                                                        Media media,
                                                        boolean releaseToWmsReady,
                                                        Quantity lineQty,
                                                        Quantity availableInventory,
                                                        Money unitPrice,
                                                        Money additionalDomesticDeliveryCharge,
                                                        boolean standardShipping)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

attachCustomerOrderLine

public static CustomerOrderLine attachCustomerOrderLine(CustomerOrder customerOrder,
                                                        Media media,
                                                        boolean releaseToWmsReady,
                                                        Quantity lineQty,
                                                        Quantity availableInventory,
                                                        boolean hasCareInstructions,
                                                        ItemPersonalizationBuilderAttributes persAttributes,
                                                        Money unitPrice,
                                                        Money additionalDomesticDeliveryCharge,
                                                        boolean standardShipping)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

attachPartialOrderLine

public static CustomerOrderLine attachPartialOrderLine(CustomerOrder customerOrder,
                                                       CustomerOrderLine orderLine,
                                                       Media media,
                                                       boolean releaseToWmsReady,
                                                       Quantity lineQty,
                                                       Quantity availableInventory,
                                                       Money price,
                                                       Money additionalDomesticDeliveryCharge,
                                                       boolean standardShipping)
                                                throws java.lang.Exception
Throws:
java.lang.Exception

attachPartialOrderLine

public static CustomerOrderLine attachPartialOrderLine(CustomerOrder customerOrder,
                                                       CustomerOrderLine orderLine,
                                                       Media media,
                                                       boolean releaseToWmsReady,
                                                       Quantity lineQty,
                                                       Quantity availableInventory,
                                                       Money price)
                                                throws java.lang.Exception
Throws:
java.lang.Exception

attachCustomerOrderAltSellingLine

public static CustomerOrderLine attachCustomerOrderAltSellingLine(CustomerOrder customerOrder,
                                                                  SellingListType type,
                                                                  SellingListItem sellingListItem,
                                                                  CustomerOrderLine parentLine,
                                                                  boolean releaseToWmsReady,
                                                                  Quantity requestedQuantity)
                                                           throws java.lang.Exception
Throws:
java.lang.Exception

attachCustomerOrderAltSellingLine

public static CustomerOrderLine attachCustomerOrderAltSellingLine(SellingListType type,
                                                                  SellingListItem sellingListItem,
                                                                  CustomerOrderLine parentLine,
                                                                  CustomerOrder customerOrder,
                                                                  Quantity requestedQuantity)
                                                           throws java.lang.Exception
Throws:
java.lang.Exception

buildCustomerOrderAltSellingLine

public static CustomerOrderLine buildCustomerOrderAltSellingLine(SellingListType type,
                                                                 SellingListItem sellingListItem,
                                                                 CustomerOrderLine parentLine)
                                                          throws java.lang.Exception
Throws:
java.lang.Exception

attachCustomerOrderLine

public static CustomerOrderLine attachCustomerOrderLine(CustomerOrder customerOrder,
                                                        Media media,
                                                        boolean releaseToWmsReady,
                                                        Quantity lineQty,
                                                        Quantity availableInventory,
                                                        java.lang.String giftRegistryType,
                                                        java.lang.String giftRegistryNumber)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

attachCustomerOrderLine

public static CustomerOrderLine attachCustomerOrderLine(CustomerOrder customerOrder,
                                                        Media media,
                                                        boolean releaseToWmsReady,
                                                        Quantity lineQty,
                                                        Quantity availableInventory)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

attachCustomerOrderLineWithPacks

public static CustomerOrderLine attachCustomerOrderLineWithPacks(CustomerOrder order,
                                                                 Media media,
                                                                 PackBuilderAttributes packBuilderAttrs,
                                                                 boolean packPersonalizationAvailable)
                                                          throws java.lang.Exception
Throws:
java.lang.Exception

attachCustomerOrderLineWithPacksNoInventory

public static CustomerOrderLine attachCustomerOrderLineWithPacksNoInventory(CustomerOrder order,
                                                                            Media media,
                                                                            PackBuilderAttributes packBuilderAttrs)
                                                                     throws java.lang.Exception
Throws:
java.lang.Exception

attachCustomerOrderLineWithPacks

public static CustomerOrderLine attachCustomerOrderLineWithPacks(CustomerOrder order,
                                                                 Media media,
                                                                 PackBuilderAttributes packBuilderAttrs)
                                                          throws java.lang.Exception
Throws:
java.lang.Exception

attachPackOrderLineWithVas

public static CustomerOrderLine attachPackOrderLineWithVas(CustomerOrder order,
                                                           Media media)
                                                    throws java.lang.Exception
Throws:
java.lang.Exception

attachPackOrderLineWithVas

public static CustomerOrderLine attachPackOrderLineWithVas(CustomerOrder order)
                                                    throws java.lang.Exception
Throws:
java.lang.Exception

attachZeroSaleOrderLine

public static CustomerOrderLine attachZeroSaleOrderLine(CustomerOrder customerOrder,
                                                        Media media,
                                                        Quantity lineQty,
                                                        Quantity availableQty)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

attachZeroSaleOrderLine

public static CustomerOrderLine attachZeroSaleOrderLine(CustomerOrder customerOrder,
                                                        Media media,
                                                        Quantity lineQty,
                                                        Quantity availableQty,
                                                        Money unitPrice)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

attachZeroSaleOrderLine

public static CustomerOrderLine attachZeroSaleOrderLine(CustomerOrder customerOrder,
                                                        Media media,
                                                        Quantity lineQty,
                                                        Quantity availableQty,
                                                        Money unitPrice,
                                                        ItemPersonalizationBuilderAttributes persAttributes)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

attachExchangeSaleOrderLine

public static CustomerOrderLine attachExchangeSaleOrderLine(CustomerOrder customerOrder,
                                                            Media media,
                                                            boolean releaseToWmsReady,
                                                            Quantity lineQty,
                                                            Quantity availableInventory)
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

attachExchangeSaleOrderLine

public static CustomerOrderLine attachExchangeSaleOrderLine(CustomerOrder customerOrder,
                                                            Media media,
                                                            boolean releaseToWmsReady,
                                                            Quantity lineQty,
                                                            Quantity availableInventory,
                                                            Money unitPrice)
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

attachCustomerMailOrderLine

public static CustomerOrderLine attachCustomerMailOrderLine(CustomerOrder customerOrder,
                                                            Media media,
                                                            Quantity lineQty,
                                                            Quantity availableInventory,
                                                            boolean hasCareInstructions,
                                                            ItemPersonalizationBuilderAttributes itemPersAttributes)
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

attachCustomerMailOrderLine

public static CustomerOrderLine attachCustomerMailOrderLine(CustomerOrder customerOrder,
                                                            Media media,
                                                            Quantity lineQty,
                                                            Quantity availableInventory)
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

createCustomerMailOrderLine

public static CustomerOrderLine createCustomerMailOrderLine(CustomerOrder order,
                                                            Media media,
                                                            Quantity quantity,
                                                            Money additionalDomesticDeliveryCharge,
                                                            boolean standardShipping,
                                                            SellingSku sellingSku)
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

createCustomerMailOrderLine

public static CustomerOrderLine createCustomerMailOrderLine(CustomerOrder order,
                                                            Media media,
                                                            Supplier supplier,
                                                            Quantity quantity,
                                                            Quantity availableQty,
                                                            boolean hasCareInstructions,
                                                            ItemPersonalizationBuilderAttributes itemPersAttributes,
                                                            Money additionalDomesticDeliveryCharge,
                                                            boolean standardShipping)
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

createCustomerMailOrderLineWithoutAttaching

public static CustomerOrderLine createCustomerMailOrderLineWithoutAttaching(CustomerOrder order,
                                                                            SellingSku sellingSku,
                                                                            Quantity quantity)
                                                                     throws java.lang.Exception
Throws:
java.lang.Exception

attachCustomerOrderLine

public static CustomerOrderLine attachCustomerOrderLine(CustomerOrder customerOrder,
                                                        Media media,
                                                        boolean releaseToWmsReady,
                                                        Quantity lineQty,
                                                        Quantity availableInventory,
                                                        boolean hasCareInstructions,
                                                        ItemPersonalizationBuilderAttributes itemPersAttributes,
                                                        java.lang.String giftRegistryType,
                                                        java.lang.String giftRegistryNumber)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

attachCustomerOrderLine

public static CustomerOrderLine attachCustomerOrderLine(CustomerOrder customerOrder,
                                                        Media media,
                                                        boolean releaseToWmsReady,
                                                        Quantity lineQty,
                                                        Quantity availableInventory,
                                                        boolean hasCareInstructions,
                                                        ItemPersonalizationBuilderAttributes itemPersAttributes)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

attachExchangeSaleOrderLine

public static CustomerOrderLine attachExchangeSaleOrderLine(CustomerOrder customerOrder,
                                                            Media media,
                                                            boolean releaseToWmsReady,
                                                            Quantity lineQty,
                                                            Quantity availableInventory,
                                                            boolean hasCareInstructions,
                                                            ItemPersonalizationBuilderAttributes itemPersAttributes)
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

attachExchangeSaleOrderLine

public static CustomerOrderLine attachExchangeSaleOrderLine(CustomerOrder customerOrder,
                                                            Media media,
                                                            boolean releaseToWmsReady,
                                                            Quantity lineQty,
                                                            Quantity availableInventory,
                                                            boolean hasCareInstructions,
                                                            ItemPersonalizationBuilderAttributes itemPersAttributes,
                                                            Money unitPrice)
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

attachExchangeSaleOrderLine

public static CustomerOrderLine attachExchangeSaleOrderLine(CustomerOrder customerOrder,
                                                            SellingSku sellingSku,
                                                            boolean releaseToWmsReady,
                                                            Quantity lineQty)
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

attachExchangeSaleOrderLineWithPacks

public static CustomerOrderLine attachExchangeSaleOrderLineWithPacks(CustomerOrder order,
                                                                     Media media,
                                                                     PackBuilderAttributes packBuilderAttrs)
                                                              throws java.lang.Exception
Throws:
java.lang.Exception

createCustomerOrderLine

public static CustomerOrderLine createCustomerOrderLine(Media media,
                                                        Quantity qty,
                                                        Money price)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

createCustomerOrderLineWithPacks

public static CustomerOrderLine createCustomerOrderLineWithPacks(Media media,
                                                                 PackBuilderAttributes packBuilderAttrs)
                                                          throws java.lang.Exception
Throws:
java.lang.Exception

createCustomerOrderLineWithPacksNoInventory

public static CustomerOrderLine createCustomerOrderLineWithPacksNoInventory(Media media,
                                                                            PackBuilderAttributes packBuilderAttrs,
                                                                            boolean packPersonalizationAvailable)
                                                                     throws java.lang.Exception
Throws:
java.lang.Exception

createCustomerOrderLineWithPacks

public static CustomerOrderLine createCustomerOrderLineWithPacks(Media media,
                                                                 PackBuilderAttributes packBuilderAttrs,
                                                                 boolean packPersonalizationAvailable,
                                                                 boolean doInventory)
                                                          throws java.lang.Exception
Throws:
java.lang.Exception

createExchangeSaleOrderLineWithPacks

public static CustomerOrderLine createExchangeSaleOrderLineWithPacks(CustomerOrder order,
                                                                     Media media,
                                                                     PackBuilderAttributes packBuilderAttrs,
                                                                     boolean packPersonalizationAvailable,
                                                                     boolean doInventory)
                                                              throws java.lang.Exception
Throws:
java.lang.Exception

createEmptyCreditCardPayment

public static CustomerOrderCreditCardPayment createEmptyCreditCardPayment(DistributedContext context)
                                                                   throws java.lang.Exception
Throws:
java.lang.Exception

createCreditCardPaymentForCustomer

public static CustomerOrderCreditCardPayment createCreditCardPaymentForCustomer(Customer cust,
                                                                                Money amount)
                                                                         throws java.lang.Exception
Throws:
java.lang.Exception

createCreditCardPayment

public static CustomerOrderCreditCardPayment createCreditCardPayment(DistributedContext context)
                                                              throws java.lang.Exception
Throws:
java.lang.Exception

createDiscoverCardPayment

public static CustomerOrderCreditCardPayment createDiscoverCardPayment(DistributedContext context,
                                                                       Money amount)
                                                                throws java.lang.Exception
Throws:
java.lang.Exception

createVisaCardPayment

public static CustomerOrderCreditCardPayment createVisaCardPayment(DistributedContext context,
                                                                   Money amount)
                                                            throws java.lang.Exception
Throws:
java.lang.Exception

createPrivateLabelCreditCardPayment

public static CustomerOrderCreditCardPayment createPrivateLabelCreditCardPayment(DistributedContext context,
                                                                                 Money amount,
                                                                                 CreditCard creditCard,
                                                                                 Customer customer)
                                                                          throws java.lang.Exception
Throws:
java.lang.Exception

createCreditCardPayment

public static CustomerOrderCreditCardPayment createCreditCardPayment(DistributedContext context,
                                                                     java.lang.String creditCardNumber,
                                                                     Money amount)
                                                              throws java.lang.Exception
Throws:
java.lang.Exception

createPrivateLabelCreditCardPayment

public static CustomerOrderCreditCardPayment createPrivateLabelCreditCardPayment(DistributedContext context,
                                                                                 Money amount)
                                                                          throws java.lang.Exception
Throws:
java.lang.Exception

createCreditCardAuthResponseDto

public static CustomerOrderCreditCardPaymentAuthorizationResponseDto createCreditCardAuthResponseDto(java.lang.String resultCode)
                                                                                              throws java.lang.Exception
Throws:
java.lang.Exception

getValidSourceCode

public static SourceCode getValidSourceCode(DistributedContext context)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

attachInventoryItemLocationAndInventoryData

public static void attachInventoryItemLocationAndInventoryData(CustomerOrderLine line,
                                                               DistributedContext context)
                                                        throws java.lang.Exception
Throws:
java.lang.Exception

attachInventoryItemLocationAndInventoryData

public static void attachInventoryItemLocationAndInventoryData(CustomerOrderLine line,
                                                               Quantity availableQuantity,
                                                               DistributedContext context)
                                                        throws java.lang.Exception
Throws:
java.lang.Exception

attachFullPaymentToOrderNotAuthorized

public static CustomerOrderCreditCardPayment attachFullPaymentToOrderNotAuthorized(CustomerOrder order)
                                                                            throws java.lang.Exception
Throws:
java.lang.Exception

attachGiftCertificatePaymentToOrder

public static CustomerOrderGiftCertificatePayment attachGiftCertificatePaymentToOrder(CustomerOrder order,
                                                                                      Money amount)
                                                                               throws java.lang.Exception
Throws:
java.lang.Exception

buildAndAuthorizeSVCPayment

public static CustomerOrderStoredValueCardPayment buildAndAuthorizeSVCPayment(java.lang.String controlNumber,
                                                                              java.lang.String pinNumber,
                                                                              Money cardValue,
                                                                              Money paymentAmount,
                                                                              DistributedContext context,
                                                                              CustomerOrderStoredValueCardType type)
                                                                       throws java.lang.Exception
Throws:
java.lang.Exception

attachGiftCardPaymentToOrder

public static CustomerOrderStoredValueCardPayment attachGiftCardPaymentToOrder(CustomerOrder order,
                                                                               Money cardValue,
                                                                               Money paymentAmount,
                                                                               java.lang.String controlNumber,
                                                                               java.lang.String pinNumber)
                                                                        throws java.lang.Exception
Throws:
java.lang.Exception

attachMerchCardPaymentToOrder

public static CustomerOrderStoredValueCardPayment attachMerchCardPaymentToOrder(CustomerOrder order,
                                                                                Money cardValue,
                                                                                Money paymentAmount,
                                                                                java.lang.String controlNumber,
                                                                                java.lang.String pinNumber)
                                                                         throws java.lang.Exception
Throws:
java.lang.Exception

attachMerchCertificatePaymentToOrder

public static CustomerOrderMerchandiseCertificatePayment attachMerchCertificatePaymentToOrder(CustomerOrder order,
                                                                                              Money amount)
                                                                                       throws java.lang.Exception
Throws:
java.lang.Exception

attachMerchCertificatePaymentToOrder

public static CustomerOrderMerchandiseCertificatePayment attachMerchCertificatePaymentToOrder(CustomerOrder order,
                                                                                              Money amount,
                                                                                              java.lang.String controlNumber)
                                                                                       throws java.lang.Exception
Throws:
java.lang.Exception

attachCashPaymentToOrder

public static CustomerOrderCashPayment attachCashPaymentToOrder(CustomerOrder order,
                                                                Money amount)
                                                         throws java.lang.Exception
Throws:
java.lang.Exception

attachCheckPaymentToOrder

public static CustomerOrderCheckPayment attachCheckPaymentToOrder(CustomerOrder order,
                                                                  Money amount)
                                                           throws java.lang.Exception
Throws:
java.lang.Exception

attachCheckPaymentToOrder

public static CustomerOrderCheckPayment attachCheckPaymentToOrder(CustomerOrder order,
                                                                  Money amount,
                                                                  java.lang.String accountNumber)
                                                           throws java.lang.Exception
Throws:
java.lang.Exception

attachMoneyOrderPaymentToOrder

public static CustomerOrderPayment attachMoneyOrderPaymentToOrder(CustomerOrder order,
                                                                  Money amount)
                                                           throws java.lang.Exception
Throws:
java.lang.Exception

attachFullCreditCardPaymentToOrder

public static CustomerOrderCreditCardPayment attachFullCreditCardPaymentToOrder(CustomerOrder order)
                                                                         throws java.lang.Exception
Throws:
java.lang.Exception

attachFullCreditCardPaymentToOrder

public static CustomerOrderCreditCardPayment attachFullCreditCardPaymentToOrder(CustomerOrder order,
                                                                                java.lang.String creditCardNumber)
                                                                         throws java.lang.Exception
Throws:
java.lang.Exception

attachCreditCardPaymentToOrder

public static CustomerOrderCreditCardPayment attachCreditCardPaymentToOrder(CustomerOrder order,
                                                                            Money amount)
                                                                     throws java.lang.Exception
Throws:
java.lang.Exception

attachRewardCertificatePaymentToOrder

public static CustomerOrderRewardCertificatePayment attachRewardCertificatePaymentToOrder(CustomerOrder order,
                                                                                          Money amount,
                                                                                          Money certificateValue)
                                                                                   throws java.lang.Exception
Throws:
java.lang.Exception

createRewardCertificatePayment

public static CustomerOrderRewardCertificatePayment createRewardCertificatePayment(DistributedContext context,
                                                                                   Money paymentAmount)
                                                                            throws java.lang.Exception
Throws:
java.lang.Exception

createRewardCertificatePayment

public static CustomerOrderRewardCertificatePayment createRewardCertificatePayment(DistributedContext context,
                                                                                   Money paymentAmount,
                                                                                   Money certificateValue)
                                                                            throws java.lang.Exception
Throws:
java.lang.Exception

attachCreditCardPaymentToOrder

public static CustomerOrderCreditCardPayment attachCreditCardPaymentToOrder(CustomerOrder order,
                                                                            Money amount,
                                                                            CreditCard creditCard)
                                                                     throws java.lang.Exception
Throws:
java.lang.Exception

attachCreditCardPaymentToOrderNotAuthorized

public static CustomerOrderCreditCardPayment attachCreditCardPaymentToOrderNotAuthorized(CustomerOrder order,
                                                                                         Money amount)
                                                                                  throws java.lang.Exception
Throws:
java.lang.Exception

attachPrivateLabelCreditCardPaymentToOrder

public static CustomerOrderCreditCardPayment attachPrivateLabelCreditCardPaymentToOrder(CustomerOrder order,
                                                                                        Money amount,
                                                                                        CustomerCreditCard customerCreditCard)
                                                                                 throws java.lang.Exception
Throws:
java.lang.Exception

attachCardPaymentToOrder

public static CustomerOrderCreditCardPayment attachCardPaymentToOrder(CustomerOrder order,
                                                                      java.lang.String creditCardNumber,
                                                                      Money amount)
                                                               throws java.lang.Exception
Throws:
java.lang.Exception

attachPrivateLabelCreditCardPaymentToOrder

public static CustomerOrderCreditCardPayment attachPrivateLabelCreditCardPaymentToOrder(CustomerOrder order,
                                                                                        Money amount)
                                                                                 throws java.lang.Exception
Throws:
java.lang.Exception

createOrderLineHoldEvent

public static BannerEvent createOrderLineHoldEvent(Banner banner,
                                                   java.lang.String description,
                                                   RDate startDate,
                                                   RDate orderByDateTime,
                                                   RDate expCustomerDeliveryDate)
                                            throws java.lang.Exception
Throws:
java.lang.Exception

createOrderLineHoldEvent

public static SupplierEvent createOrderLineHoldEvent(DistributedContext context,
                                                     Supplier supplier,
                                                     java.lang.String description,
                                                     RDate startDate,
                                                     RDate orderByDateTime,
                                                     RDate expCustomerDeliveryDate)
                                              throws java.lang.Exception
Throws:
java.lang.Exception

createOrderLineHoldEvent

public static ItemSupplierEvent createOrderLineHoldEvent(DistributedContext context,
                                                         Supplier supplier,
                                                         java.lang.String description,
                                                         RDate startDate,
                                                         RDate orderByDateTime,
                                                         RDate expCustomerDeliveryDate,
                                                         SellableItem item)
                                                  throws java.lang.Exception
Throws:
java.lang.Exception

createPersistedItemSupplierEvent

public static ItemSupplierEvent createPersistedItemSupplierEvent(DistributedContext context,
                                                                 Supplier supplier,
                                                                 java.lang.String description,
                                                                 RDate startDate,
                                                                 RDate orderByDateTime,
                                                                 RDate expCustomerDeliveryDate,
                                                                 SellableItem item)
                                                          throws java.lang.Exception
Throws:
java.lang.Exception

createPersistedSupplierEvent

public static SupplierEvent createPersistedSupplierEvent(DistributedContext context,
                                                         Supplier supplier,
                                                         java.lang.String description,
                                                         RDate startDate,
                                                         RDate orderByDateTime,
                                                         RDate expCustomerDeliveryDate)
                                                  throws java.lang.Exception
Throws:
java.lang.Exception

createPersistedBannerEvent

public static BannerEvent createPersistedBannerEvent(Banner banner,
                                                     java.lang.String description,
                                                     RDate startDate,
                                                     RDate orderByDate,
                                                     RDate expCustomerDeliveryDate)
                                              throws java.lang.Exception
Throws:
java.lang.Exception

attachDirectShipOrderLineWithDates

public static CustomerOrderLine attachDirectShipOrderLineWithDates(CustomerOrder customerOrder,
                                                                   Media media,
                                                                   Supplier supplier)
                                                            throws java.lang.Exception
Throws:
java.lang.Exception

attachDirectShipOrderLineWithDates

public static CustomerOrderLine attachDirectShipOrderLineWithDates(CustomerOrder customerOrder,
                                                                   Media media,
                                                                   Supplier supplier,
                                                                   RDate estimatedShipDate,
                                                                   RDate estimatedDeliveryDate)
                                                            throws java.lang.Exception
Throws:
java.lang.Exception

attachDirectShipToOrderAndSubmitBoth

public static void attachDirectShipToOrderAndSubmitBoth(DistributedContext context,
                                                        CustomerOrder customerOrder,
                                                        Media media,
                                                        Supplier supplier,
                                                        boolean directShipIndicator)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

createMonogramServiceLine

public static CustomerOrderMonogramServiceLine createMonogramServiceLine(CustomerOrderLine orderLine,
                                                                         MonogramValueAddedService monogramService,
                                                                         PersonalizationColor color,
                                                                         PersonalizationFont font)
                                                                  throws java.lang.Exception
Throws:
java.lang.Exception

createMonogramServiceLine

public static CustomerOrderMonogramServiceLine createMonogramServiceLine(CustomerOrderLine orderLine,
                                                                         MonogramValueAddedService monogramService)
                                                                  throws java.lang.Exception
Throws:
java.lang.Exception

createPersonalizationServiceLine

public static CustomerOrderPersonalizationServiceLine createPersonalizationServiceLine(CustomerOrderLine orderLine,
                                                                                       PersonalizationValueAddedService persService,
                                                                                       PersonalizationColor color,
                                                                                       PersonalizationFont font)
                                                                                throws java.lang.Exception
Throws:
java.lang.Exception

createPersonalizationServiceLine

public static CustomerOrderPersonalizationServiceLine createPersonalizationServiceLine(CustomerOrderLine orderLine,
                                                                                       PersonalizationValueAddedService persService)
                                                                                throws java.lang.Exception
Throws:
java.lang.Exception

createCustomerOrderPersonalizationTextLine

public static CustomerOrderPersonalizationTextLine createCustomerOrderPersonalizationTextLine(DistributedContext context,
                                                                                              java.lang.String text,
                                                                                              PersonalizationValueAddedService persService)
                                                                                       throws java.lang.Exception
Throws:
java.lang.Exception

createCreditCardPaymentNoAddressWillBeAuthorized

public static CustomerOrderCreditCardPayment createCreditCardPaymentNoAddressWillBeAuthorized(DistributedContext context,
                                                                                              Money amount)
                                                                                       throws java.lang.Exception
Throws:
java.lang.Exception

getValidCreditCardPaymentWithoutAddress

public static CustomerOrderCreditCardPayment getValidCreditCardPaymentWithoutAddress(DistributedContext context,
                                                                                     Money amount)
                                                                              throws java.lang.Exception
Throws:
java.lang.Exception

createCreditCardPaymentNoAddressWillBeDeclined

public static CustomerOrderCreditCardPayment createCreditCardPaymentNoAddressWillBeDeclined(DistributedContext context,
                                                                                            Money amount)
                                                                                     throws java.lang.Exception
Throws:
java.lang.Exception

createCreditCardPaymentNoAddressWillBeReferral

public static CustomerOrderCreditCardPayment createCreditCardPaymentNoAddressWillBeReferral(DistributedContext context,
                                                                                            Money amount)
                                                                                     throws java.lang.Exception
Throws:
java.lang.Exception

createCreditCardPaymentNoAddressWillBeFraud

public static CustomerOrderCreditCardPayment createCreditCardPaymentNoAddressWillBeFraud(DistributedContext context,
                                                                                         Money amount)
                                                                                  throws java.lang.Exception
Throws:
java.lang.Exception

createCreditCardPaymentNoAddressWillBeWaitingAuthorization

public static CustomerOrderCreditCardPayment createCreditCardPaymentNoAddressWillBeWaitingAuthorization(DistributedContext context,
                                                                                                        Money amount)
                                                                                                 throws java.lang.Exception
Throws:
java.lang.Exception

attachInventoryItemLocationAndInventoryDataForBackOrderedStatus

public static void attachInventoryItemLocationAndInventoryDataForBackOrderedStatus(DistributedContext context,
                                                                                   Media media,
                                                                                   SellingItem sellingItem,
                                                                                   int outboundDays,
                                                                                   int itemLocOutboundDays,
                                                                                   boolean isDirectShip)
                                                                            throws java.lang.Exception
Throws:
java.lang.Exception

createShippingAndHandlingSkuForBanner

public static Sku createShippingAndHandlingSkuForBanner(CustomerOrder order)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

createVasPersonalizationSkuForBanner

public static Sku createVasPersonalizationSkuForBanner(CustomerOrder order)
                                                throws java.lang.Exception
Throws:
java.lang.Exception

createVasMonogramSkuForBanner

public static Sku createVasMonogramSkuForBanner(CustomerOrder order)
                                         throws java.lang.Exception
Throws:
java.lang.Exception

createVasGiftCardSkuForBanner

public static Sku createVasGiftCardSkuForBanner(CustomerOrder order)
                                         throws java.lang.Exception
Throws:
java.lang.Exception

createVasGiftWrapSkuForBanner

public static Sku createVasGiftWrapSkuForBanner(CustomerOrder order)
                                         throws java.lang.Exception
Throws:
java.lang.Exception

createVasGeneralSkuForBanner

public static Sku createVasGeneralSkuForBanner(CustomerOrder order)
                                        throws java.lang.Exception
Throws:
java.lang.Exception

convertOrderLineIntoGiftCertificateOrderLine

public static CustomerOrderLine convertOrderLineIntoGiftCertificateOrderLine(CustomerOrderLine line)
                                                                      throws java.lang.Exception
Throws:
java.lang.Exception

convertOrderLineIntoNonDenominationalGiftCardOrderLine

public static CustomerOrderLine convertOrderLineIntoNonDenominationalGiftCardOrderLine(CustomerOrderLine line)
                                                                                throws java.lang.Exception
Throws:
java.lang.Exception

attachNonDenominationalGiftCardOrderLine

public static CustomerOrderLine attachNonDenominationalGiftCardOrderLine(CustomerOrder order,
                                                                         Media media,
                                                                         boolean releaseToWmsReady,
                                                                         Money amount)
                                                                  throws java.lang.Exception
Throws:
java.lang.Exception

attachNonDenominationalGiftCardOrderLine

public static CustomerOrderLine attachNonDenominationalGiftCardOrderLine(CustomerOrder order,
                                                                         Media media,
                                                                         boolean releaseToWmsReady)
                                                                  throws java.lang.Exception
Throws:
java.lang.Exception

attachExchangeSaleGiftCardOrderLine

public static CustomerOrderLine attachExchangeSaleGiftCardOrderLine(CustomerOrder customerOrder,
                                                                    Media media,
                                                                    boolean releaseToWmsReady,
                                                                    Money amount)
                                                             throws java.lang.Exception
Throws:
java.lang.Exception

convertOrderLineIntoGiftCertificateOrderLine

public static CustomerOrderLine convertOrderLineIntoGiftCertificateOrderLine(CustomerOrderLine line,
                                                                             GiftCertificateBenefit giftCertificateBenefit)
                                                                      throws java.lang.Exception
Throws:
java.lang.Exception

attachGiftServiceLines

public static void attachGiftServiceLines(CustomerOrderLine orderLine,
                                          java.util.List lineTypes)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

attachGiftServiceLine

public static CustomerOrderGiftServiceLine attachGiftServiceLine(CustomerOrderLine orderLine,
                                                                 CustomerOrderGiftServiceLineType type)
                                                          throws java.lang.Exception
Throws:
java.lang.Exception

shipConfirm

public static ShippedContainer shipConfirm(CustomerOrder order,
                                           CustomerOrderLine line)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

shipConfirm

public static ShippedContainer shipConfirm(CustomerOrder order,
                                           CustomerOrderLine orderLine,
                                           Warehouse physicalWarehouse)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

shipConfirm

public static ShippedContainer shipConfirm(CustomerOrder order,
                                           CustomerOrderLine line,
                                           RDate shipDate)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

shipConfirm

public static ShippedContainer shipConfirm(CustomerOrder order,
                                           CustomerOrderLine line,
                                           Quantity quantity)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

shipConfirm

public static ShippedContainer shipConfirm(CustomerOrder order,
                                           CustomerOrderLine line,
                                           Quantity quantity,
                                           RDate shipDate)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

shipConfirm

public static ShippedContainer shipConfirm(CustomerOrder order,
                                           ShipmentRequest shipRequest)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

shipConfirm

public static ShippedContainer shipConfirm(CustomerOrder order,
                                           ShipmentRequest shipRequest,
                                           RDate shipDate)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

shipConfirm

public static ShippedContainer shipConfirm(CustomerOrder order,
                                           ShipmentRequest shipRequest,
                                           java.util.Map orderLineQtyMap)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

shipConfirm

public static ShippedContainer shipConfirm(CustomerOrder order,
                                           CustomerOrderLine line,
                                           Quantity quantity,
                                           java.lang.String carrierCode,
                                           java.lang.String trackingNumber,
                                           RDate shipDate)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

shipConfirm

public static ShippedContainer shipConfirm(CustomerOrder order,
                                           CustomerOrderLine line,
                                           Quantity quantity,
                                           java.lang.String carrierCode,
                                           java.lang.String trackingNumber,
                                           RDate shipDate,
                                           Warehouse physicalWarehouse)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

shipConfirmNoRMA

public static ShippedContainer shipConfirmNoRMA(CustomerOrder order,
                                                CustomerOrderLine line)
                                         throws java.lang.Exception
Throws:
java.lang.Exception

createReturnLine

public static ReturnLine createReturnLine(CustomerOrderLine orderLine,
                                          Quantity expectedReturnQty,
                                          boolean returnRequired,
                                          ReturnReason returnReason,
                                          java.lang.String comment)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

attachReplacement

public static ReplacementLinePair attachReplacement(CustomerOrderLine parentOrderLine,
                                                    Quantity replacementQty)
                                             throws java.lang.Exception
Throws:
java.lang.Exception

attachReplacement

public static ReplacementLinePair attachReplacement(CustomerOrderLine parentOrderLine,
                                                    Quantity replacementQty,
                                                    boolean returnRequired)
                                             throws java.lang.Exception
Throws:
java.lang.Exception

attachReplacement

public static ReplacementLinePair attachReplacement(CustomerOrderLine parentOrderLine,
                                                    Quantity replacementQty,
                                                    boolean returnRequired,
                                                    ReturnReason returnReason,
                                                    java.lang.String comment)
                                             throws java.lang.Exception
Throws:
java.lang.Exception

createReplacement

public static ReplacementLinePair createReplacement(CustomerOrderLine parentOrderLine,
                                                    Quantity replacementQty)
                                             throws java.lang.Exception
Throws:
java.lang.Exception

createReplacement

public static ReplacementLinePair createReplacement(CustomerOrderLine parentOrderLine,
                                                    Quantity replacementQty,
                                                    boolean returnRequired,
                                                    ReturnReason returnReason,
                                                    java.lang.String comment)
                                             throws java.lang.Exception
Throws:
java.lang.Exception

attachReturnLine

public static ReturnLine attachReturnLine(CustomerOrder order,
                                          CustomerOrderLine orderLine)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

attachReturnLine

public static ReturnLine attachReturnLine(CustomerOrder order,
                                          CustomerOrderLine orderLine,
                                          ReturnReason returnReason)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

attachReturnLine

public static ReturnLine attachReturnLine(CustomerOrder order,
                                          CustomerOrderLine orderLine,
                                          Quantity expectedReturnQty,
                                          boolean returnRequired,
                                          ReturnReason returnReason,
                                          java.lang.String comment)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

getFullOrderGrandTotalForPreBatchMailOrder

public static Money getFullOrderGrandTotalForPreBatchMailOrder(CustomerOrder order)
                                                        throws java.lang.Exception
Throws:
java.lang.Exception

getChannelForAMedia

public static Channel getChannelForAMedia(Media media)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

persistOrderWithNoValidationForTesting

public static void persistOrderWithNoValidationForTesting(CustomerOrder order,
                                                          User user)
                                                   throws java.lang.Exception
Throws:
java.lang.Exception

createPersistedReturnDisposition

public static SupplierReturnDisposition createPersistedReturnDisposition(DistributedContext context,
                                                                         boolean disposed)
                                                                  throws java.lang.Exception
Throws:
java.lang.Exception

createPersistedReturnDisposition

public static SupplierReturnDisposition createPersistedReturnDisposition(DistributedContext context,
                                                                         boolean disposed,
                                                                         java.lang.String dispositionCode)
                                                                  throws java.lang.Exception
Throws:
java.lang.Exception

createMailOrderBatch

public static MailOrderBatch createMailOrderBatch(Banner banner,
                                                  DistributedContext context)
                                           throws java.lang.Exception
Throws:
java.lang.Exception

createMailOrderBatch

public static MailOrderBatch createMailOrderBatch(Banner banner,
                                                  DistributedContext context,
                                                  int expectedNumberOfOrders,
                                                  java.lang.String depositId)
                                           throws java.lang.Exception
Throws:
java.lang.Exception

createMailOrderBatch

public static MailOrderBatch createMailOrderBatch(Banner banner,
                                                  DistributedContext context,
                                                  int expectedNumberOfOrders,
                                                  java.lang.String depositId,
                                                  boolean isPhysicalTender)
                                           throws java.lang.Exception
Throws:
java.lang.Exception

shipConfirmAndReturnConfirm

public static ReturnLine shipConfirmAndReturnConfirm(CustomerOrder order,
                                                     CustomerOrderLine orderLine,
                                                     Quantity shipQty,
                                                     Quantity returnQty,
                                                     CustomerOrderPayment payment)
                                              throws java.lang.Exception
Throws:
java.lang.Exception

attachReturnLineAndReturnConfirm

public static ReturnLine attachReturnLineAndReturnConfirm(CustomerOrder order,
                                                          CustomerOrderLine orderLine,
                                                          Quantity returnQty,
                                                          CustomerOrderPayment payment,
                                                          ShippedContainer shippedContainer)
                                                   throws java.lang.Exception
Throws:
java.lang.Exception

returnConfirm

public static void returnConfirm(ReturnLine returnLine,
                                 java.lang.String rmaNbr)
                          throws java.lang.Exception
Throws:
java.lang.Exception

returnConfirm

public static void returnConfirm(ReturnLine returnLine,
                                 ShippedContainer shippedContainer)
                          throws java.lang.Exception
Throws:
java.lang.Exception

returnConfirm

public static void returnConfirm(ReturnLine returnLine,
                                 Quantity returnQty,
                                 ShippedContainer shippedContainer)
                          throws java.lang.Exception
Throws:
java.lang.Exception

returnConfirm

public static void returnConfirm(ReturnLine returnLine,
                                 Quantity returnQty,
                                 SupplierReturnDisposition disposition,
                                 ShippedContainer shippedContainer)
                          throws java.lang.Exception
Throws:
java.lang.Exception

returnConfirm

public static void returnConfirm(ReturnLine returnLine,
                                 Quantity returnQty,
                                 SupplierReturnDisposition disposition,
                                 ShippedContainer shippedContainer,
                                 Money refundReturnPostage)
                          throws java.lang.Exception
Throws:
java.lang.Exception

returnConfirm

public static void returnConfirm(ReturnLine returnLine,
                                 Quantity returnQty,
                                 SupplierReturnDisposition disposition,
                                 java.lang.String rmaNbr,
                                 Money refundReturnPostage)
                          throws java.lang.Exception
Throws:
java.lang.Exception

returnConfirm

public static void returnConfirm(CustomerOrderLine orderLine,
                                 Quantity returnQty,
                                 java.lang.String rmaNumber,
                                 Money refundReturnPostage,
                                 Warehouse physicalWarehouse)
                          throws java.lang.Exception
Throws:
java.lang.Exception

returnConfirm

public static void returnConfirm(CustomerOrderLine orderLine,
                                 Quantity returnQty,
                                 SupplierReturnDisposition disposition,
                                 java.lang.String rmaNbr,
                                 Money refundReturnPostage,
                                 Warehouse physicalWh)
                          throws java.lang.Exception
Throws:
java.lang.Exception

shipConfirmAndReturnConfirm

public static ReturnLine shipConfirmAndReturnConfirm(CustomerOrder order,
                                                     CustomerOrderLine orderLine,
                                                     Quantity returnQty,
                                                     CustomerOrderPayment payment)
                                              throws java.lang.Exception
Throws:
java.lang.Exception

attachDirectShipMailOrderLine

public static CustomerOrderLine attachDirectShipMailOrderLine(CustomerOrder order,
                                                              Media media,
                                                              Supplier primarySupplier)
                                                       throws java.lang.Exception
Throws:
java.lang.Exception

attachDirectShipOrderLine

public static CustomerOrderLine attachDirectShipOrderLine(CustomerOrder order,
                                                          Media media,
                                                          Supplier primarySupplier)
                                                   throws java.lang.Exception
Throws:
java.lang.Exception

attachDirectShipOrderLine

public static CustomerOrderLine attachDirectShipOrderLine(CustomerOrder order,
                                                          Media media,
                                                          Supplier primarySupplier,
                                                          boolean callSchedulesForAllDays)
                                                   throws java.lang.Exception
Throws:
java.lang.Exception

createDirectShipOrderLine

public static CustomerOrderLine createDirectShipOrderLine(Media media,
                                                          Supplier primarySupplier,
                                                          boolean callSchedulesForAllDays,
                                                          Quantity requestedQty)
                                                   throws java.lang.Exception
Throws:
java.lang.Exception

createDirectShipOrderLine

public static CustomerOrderLine createDirectShipOrderLine(Media media,
                                                          Supplier primarySupplier,
                                                          boolean callSchedulesForAllDays,
                                                          Quantity requestedQty,
                                                          Quantity availableQty)
                                                   throws java.lang.Exception
Throws:
java.lang.Exception

createSystemReturnDisposition

public static SupplierReturnDisposition createSystemReturnDisposition(DistributedContext context)
                                                               throws java.lang.Exception
Throws:
java.lang.Exception

createReturnReason

public static final ReturnReason createReturnReason(boolean isRefundShippingHandling,
                                                    boolean isRefundVas,
                                                    boolean isRefundGiftService,
                                                    DistributedContext context)
                                             throws java.lang.Exception
Throws:
java.lang.Exception

buildOrderWithPersVasRushAndAddlShipping

public static CustomerOrder buildOrderWithPersVasRushAndAddlShipping(DistributedContext context,
                                                                     User user,
                                                                     Media media)
                                                              throws java.lang.Exception
Throws:
java.lang.Exception

buildZeroSaleOrderWithPersVasRushAndAddlShipping

public static CustomerOrder buildZeroSaleOrderWithPersVasRushAndAddlShipping(DistributedContext context,
                                                                             User user)
                                                                      throws java.lang.Exception
Throws:
java.lang.Exception

buildOrderWithPersVasRushAndAddlShipping

public static CustomerOrder buildOrderWithPersVasRushAndAddlShipping(DistributedContext context,
                                                                     User user,
                                                                     Quantity requestedQty,
                                                                     Quantity availableQty,
                                                                     boolean creditCard,
                                                                     Media media)
                                                              throws java.lang.Exception
Throws:
java.lang.Exception

attachOrderLineWithGiftingAdditionalAndRushShipping

public static void attachOrderLineWithGiftingAdditionalAndRushShipping(DistributedContext context,
                                                                       CustomerOrder customerOrder,
                                                                       Media media,
                                                                       Quantity quantity,
                                                                       User user)
                                                                throws java.lang.Exception
Throws:
java.lang.Exception

buildOrderWithPersVasRushAndAddlShipping

public static CustomerOrder buildOrderWithPersVasRushAndAddlShipping(DistributedContext context,
                                                                     Quantity requestedQty,
                                                                     Quantity availableQty,
                                                                     User user,
                                                                     boolean creditCard,
                                                                     Media media)
                                                              throws java.lang.Exception
Throws:
java.lang.Exception

buildZeroSaleOrderWithPersVasRushAndAddlShipping

public static CustomerOrder buildZeroSaleOrderWithPersVasRushAndAddlShipping(DistributedContext context,
                                                                             Quantity requestedQty,
                                                                             Quantity availableQty,
                                                                             User user)
                                                                      throws java.lang.Exception
Throws:
java.lang.Exception

getOrderAccommodationReason

public static AccommodationReason getOrderAccommodationReason(DistributedContext context)
                                                       throws SystemException
Throws:
SystemException

getOrderLineAccommodationReason

public static AccommodationReason getOrderLineAccommodationReason(DistributedContext context)
                                                           throws SystemException
Throws:
SystemException

buildOrderMerchAccommodationWithReason

public static Accommodation buildOrderMerchAccommodationWithReason(DistributedContext context,
                                                                   CustomerOrder order)
                                                            throws SystemException,
                                                                   BusinessException
This method creates an Order Level Test Accommodation with type set to Merchandize and reason set to default reason - calls CustomerOrderObjectMaster.getOrderAccommodationReason to provide the reason

Parameters:
context -
Returns:
Accommodation
Throws:
SystemException
BusinessException

buildOrderLineMerchAccommodationWithReason

public static GeneralAccommodation buildOrderLineMerchAccommodationWithReason(DistributedContext context,
                                                                              CustomerOrderLine orderLine)
                                                                       throws SystemException,
                                                                              BusinessException
This method creates an OrderLine Test Accommodation with type set to Merchandize and reason set to default reason - calls CustomerOrderObjectMaster.getOrderAccommodationReason to provide the reason

Parameters:
context -
Returns:
Accommodation
Throws:
SystemException
BusinessException

buildOrderTaxAccommodationWithReason

public static Accommodation buildOrderTaxAccommodationWithReason(DistributedContext context,
                                                                 CustomerOrder order)
                                                          throws SystemException,
                                                                 BusinessException
This method creates an Order Level Test Accommodation with type set to Tax and reason set to default reason - calls CustomerOrderObjectMaster.getOrderAccommodationReason to provide the reason

Parameters:
context -
order - - an existing order
Returns:
Accommodation
Throws:
SystemException
BusinessException

buildOrderLineTaxAccommodationWithReason

public static TaxAccommodation buildOrderLineTaxAccommodationWithReason(DistributedContext context,
                                                                        CustomerOrderLine orderLine)
                                                                 throws SystemException,
                                                                        BusinessException
This method creates an OrderLine Test Accommodation with type set to Tax and reason set to default reason - calls CustomerOrderObjectMaster.getOrderAccommodationReason to provide the reason

Parameters:
context -
orderLine - - an existing orderLine
Returns:
Accommodation
Throws:
SystemException
BusinessException

buildOrderGeneralAccommodationWithReason

public static GeneralAccommodation buildOrderGeneralAccommodationWithReason(DistributedContext context,
                                                                            AccommodationTypeEnum accomType,
                                                                            CustomerOrder order)
                                                                     throws SystemException,
                                                                            BusinessException
This method creates an Order Level Test Accommodation with type set to the passed and reason set to default reason - calls CustomerOrderObjectMaster.getOrderAccommodationReason to provide the reason

Parameters:
context -
accomType - - the type of Accommodation to create
order - - an existing order
Returns:
Accommodation
Throws:
SystemException
BusinessException

buildOrderLineGeneralAccommodationWithReason

public static GeneralAccommodation buildOrderLineGeneralAccommodationWithReason(DistributedContext context,
                                                                                AccommodationTypeEnum accomType,
                                                                                CustomerOrderLine orderLine)
                                                                         throws SystemException,
                                                                                BusinessException
This method creates an OrderLine Level Test Accommodation with type set to the passed and reason set to default reason - calls CustomerOrderObjectMaster.getOrderAccommodationReason to provide the reason

Parameters:
context -
accomType - - the type of Accommodation to create
orderLine - - an existing orderLine
Returns:
Accommodation
Throws:
SystemException
BusinessException

setUpCountryZipCodeRangeWhPriority

public static void setUpCountryZipCodeRangeWhPriority(CountryZipCodeRange zipCodeRange,
                                                      Warehouse warehouse,
                                                      int priority,
                                                      User user)
                                               throws java.lang.Exception
Throws:
java.lang.Exception

setUpCountryZipCodeRange

public static CountryZipCodeRange setUpCountryZipCodeRange(java.lang.String startZipCode,
                                                           java.lang.String endZipCode,
                                                           DistributedContext context,
                                                           User user)
                                                    throws java.lang.Exception
Throws:
java.lang.Exception

setUpCountryZipCodeRange

public static CountryZipCodeRange setUpCountryZipCodeRange(User user,
                                                           DistributedContext context)
                                                    throws java.lang.Exception
Throws:
java.lang.Exception

setUpWarehouseInventory

public static void setUpWarehouseInventory(SellableItem sellableItem,
                                           Store virtualStore,
                                           Warehouse warehouse,
                                           java.util.HashMap inventoryHashMap)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

setUpVirtualAndPhysicalWarehouse

public static Warehouse setUpVirtualAndPhysicalWarehouse(Channel channel,
                                                         boolean supportPersonalization,
                                                         boolean supportGifting)
                                                  throws java.lang.Exception
Throws:
java.lang.Exception

setUpVirtualAndPhysicalWarehouse

public static Warehouse setUpVirtualAndPhysicalWarehouse(Channel channel)
                                                  throws java.lang.Exception
Throws:
java.lang.Exception

fsmDebugMessagesRegister

public static void fsmDebugMessagesRegister(com.retek.fsm.FSMAble fsmAble)
                                     throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException

createStockStatusPayload

public static com.retek.rib.binding.payload.Payload createStockStatusPayload(ShipmentRequest request,
                                                                             java.lang.String documentType,
                                                                             java.lang.String itemId,
                                                                             java.lang.String lineOrderNumber,
                                                                             Quantity quantity,
                                                                             java.lang.String status)
                                                                      throws java.lang.Exception
Throws:
java.lang.Exception

createStockStatusPayload

public static com.retek.rib.binding.payload.Payload createStockStatusPayload(ShipmentRequest request,
                                                                             java.lang.String documentType,
                                                                             java.lang.String itemId,
                                                                             java.lang.String lineOrderNumber,
                                                                             Quantity quantity,
                                                                             java.lang.String status,
                                                                             RDate updateDate)
                                                                      throws java.lang.Exception
Throws:
java.lang.Exception

createECDDRecalculationItem

public static ECDDRecalculationItem createECDDRecalculationItem(DistributedContext context)
                                                         throws java.lang.Exception
Throws:
java.lang.Exception

createAndSubmitECDDRecalculationItem

public static ECDDRecalculationItem createAndSubmitECDDRecalculationItem(SellingSku sellingSku,
                                                                         DistributedContext context)
                                                                  throws java.lang.Exception
Throws:
java.lang.Exception

createSystemReturnDispositionInCacheDao

public static void createSystemReturnDispositionInCacheDao(DistributedContext context)
                                                    throws java.lang.Exception
Throws:
java.lang.Exception

createMailOrderBatch

public static MailOrderBatch createMailOrderBatch(User user,
                                                  Banner banner)
                                           throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28