public abstract class SalesContainerRequest extends TelesalesRequest
Modifier and Type | Field and Description |
---|---|
static java.lang.String | REQUEST_ID_ADD_ORDER_ITEM
Service request ID for add order item.
|
static java.lang.String | REQUEST_ID_ADD_ORDER_PAYMENT
Service request ID for add order payment.
|
static java.lang.String | REQUEST_ID_ADD_ORDER_SHIPPING_CARRIER
Service request ID for add order shipping carrier.
|
static java.lang.String | REQUEST_ID_ADD_ORDER_SHIPPING_INSTRUCTIONS
Service request ID for add order shipping instructions.
|
static java.lang.String | REQUEST_ID_ADD_PROMOTION_CODE
Service request ID for add order promotion code.
|
static java.lang.String | REQUEST_ID_ADD_QUOTE_ITEM
Service request ID for add quote item.
|
static java.lang.String | REQUEST_ID_ADD_QUOTE_PAYMENT
Service request ID for add quote payment.
|
static java.lang.String | REQUEST_ID_ADD_QUOTE_SHIPPING_CARRIER
Service request ID for add quote shipping carrier.
|
static java.lang.String | REQUEST_ID_ADD_QUOTE_SHIPPING_INSTRUCTIONS
Service request ID for add quote shipping instructions.
|
static java.lang.String | REQUEST_ID_BEGIN_ORDER
Service request ID for begin order.
|
static java.lang.String | REQUEST_ID_BEGIN_QUOTE
Service request ID for begin quote.
|
static java.lang.String | REQUEST_ID_CALCULATE_ORDER
Service request ID for calculate order.
|
static java.lang.String | REQUEST_ID_CALCULATE_QUOTE
Service request ID for calculate quote.
|
static java.lang.String | REQUEST_ID_CANCEL_ORDER
Service request ID for cancel order.
|
static java.lang.String | REQUEST_ID_CANCEL_QUOTE
Service request ID for cancel quote.
|
static java.lang.String | REQUEST_ID_CREATE_ORDER
Service request ID for create order.
|
static java.lang.String | REQUEST_ID_CREATE_ORDER_FROM_QUOTE
Service request ID to create an order from a quote.
|
static java.lang.String | REQUEST_ID_CREATE_QUOTE
Service request ID for create quote.
|
static java.lang.String | REQUEST_ID_CREATE_QUOTE_FROM_ORDER
Service request ID to create a quote from an order.
|
static java.lang.String | REQUEST_ID_DELETE_ORDER_ITEM
Service request ID for delete order item.
|
static java.lang.String | REQUEST_ID_DELETE_ORDER_PAYMENT
Service request ID for delete order payment.
|
static java.lang.String | REQUEST_ID_DELETE_ORDER_SHIPPING_CARRIER
Service request ID for delete order shipping carrier.
|
static java.lang.String | REQUEST_ID_DELETE_ORDER_SHIPPING_INSTRUCTIONS
Service request ID for delete order shipping instructions.
|
static java.lang.String | REQUEST_ID_DELETE_QUOTE_ITEM
Service request ID for delete quote item.
|
static java.lang.String | REQUEST_ID_DELETE_QUOTE_PAYMENT
Service request ID for delete quote payment.
|
static java.lang.String | REQUEST_ID_DELETE_QUOTE_SHIPPING_CARRIER
Service request ID for delete quote shipping carrier.
|
static java.lang.String | REQUEST_ID_DELETE_QUOTE_SHIPPING_INSTRUCTIONS
Service request ID for delete quote shipping instructions.
|
static java.lang.String | REQUEST_ID_DUPLICATE_ORDER
Service request ID for duplicate order.
|
static java.lang.String | REQUEST_ID_DUPLICATE_QUOTE
Service request ID for duplicate quote.
|
static java.lang.String | REQUEST_ID_END_ORDER
Service request ID for end order.
|
static java.lang.String | REQUEST_ID_END_QUOTE
Service request ID for end quote.
|
static java.lang.String | REQUEST_ID_FIND_ORDER
Service request ID for find order.
|
static java.lang.String | REQUEST_ID_FIND_QUOTE
Service request ID for find quote.
|
static java.lang.String | REQUEST_ID_OVERRIDE_ORDER_PRICE
Service request ID for override order price.
|
static java.lang.String | REQUEST_ID_OVERRIDE_QUOTE_PRICE
Service request ID for override quote price.
|
static java.lang.String | REQUEST_ID_PREPARE_ORDER
Service request ID for prepare order.
|
static java.lang.String | REQUEST_ID_PREPARE_QUOTE
Service request ID for prepare quote.
|
static java.lang.String | REQUEST_ID_REMOVE_PROMOTION_CODE
Service request ID for remove order promotion code.
|
static java.lang.String | REQUEST_ID_SAVE_QUOTE
Service request ID for save quote.
|
static java.lang.String | REQUEST_ID_SUBMIT_ORDER
Service request ID for submit order.
|
static java.lang.String | REQUEST_ID_UPDATE_ORDER
Service request ID for update order.
|
static java.lang.String | REQUEST_ID_UPDATE_ORDER_BLOCKS
Service request ID for update order blocks.
|
static java.lang.String | REQUEST_ID_UPDATE_ORDER_CHANNEL
Service request ID for update order channel.
|
static java.lang.String | REQUEST_ID_UPDATE_ORDER_ITEM
Service request ID for update order item.
|
static java.lang.String | REQUEST_ID_UPDATE_ORDER_PAYMENT
Service request ID for update order payment.
|
static java.lang.String | REQUEST_ID_UPDATE_ORDER_SHIPPING_CARRIER
Service request ID for update order shipping carrier.
|
static java.lang.String | REQUEST_ID_UPDATE_ORDER_SHIPPING_INFORMATION
Service request ID for update order shipping information.
|
static java.lang.String | REQUEST_ID_UPDATE_ORDER_SHIPPING_INSTRUCTIONS
Service request ID for update order shipping instructions.
|
static java.lang.String | REQUEST_ID_UPDATE_QUOTE
Service request ID for update quote.
|
static java.lang.String | REQUEST_ID_UPDATE_QUOTE_BLOCKS
Service request ID for update quote blocks.
|
static java.lang.String | REQUEST_ID_UPDATE_QUOTE_CHANNEL
Service request ID for update quote channel.
|
static java.lang.String | REQUEST_ID_UPDATE_QUOTE_ITEM
Service request ID for update quote item.
|
static java.lang.String | REQUEST_ID_UPDATE_QUOTE_PAYMENT
Service request ID for update quote payment.
|
static java.lang.String | REQUEST_ID_UPDATE_QUOTE_SHIPPING_CARRIER
Service request ID for update quote shipping carrier.
|
static java.lang.String | REQUEST_ID_UPDATE_QUOTE_SHIPPING_INFORMATION
Service request ID for update quote shipping information.
|
static java.lang.String | REQUEST_ID_UPDATE_QUOTE_SHIPPING_INSTRUCTIONS
Service request ID for update quote shipping instructions.
|
Constructor and Description |
---|
SalesContainerRequest()
Default constructor to create a new request handler.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String | determineProductType(org.w3c.dom.Element electronicCatalogElement)
This method determines the product type for the specified ElectronicCatalog element.
|
protected abstract java.lang.String | getNounTag()
This is the convenient method to get the noun tag.
|
protected boolean | getSpecifiedItemsOnly()
This method is used to determine whether all items belong to product need to fetch from server or not.By default this method would return always false which will fetch all the items.
|
protected boolean | isMAProductDetailsNeeded()
This method is used to determine whether MA product details(SKUs) need to fetch from server or not.By default this method would return always true which will fetch all the details.
|
protected boolean | isMerchandisingAssociationsRequired(SalesContainer salesContainer)
This method checks whether the association is required for this order or not.
|
protected java.lang.Boolean | isPaginationEnabled()
This method returns Boolean value based on whether pagination is enabled or not.
|
protected org.w3c.dom.Document | maskRequestBod(org.w3c.dom.Document bod)
The SalesContainerRequest implementation masks the node path values return by getRequestNodePathsToMask method which needs to implement by implementor class if the request document contains some sensitive information which needs to mask.
|
protected org.w3c.dom.Document | maskResponseBod(org.w3c.dom.Document bod)
The SalesContainerRequest implementation masks the node path values return by getResponseNodePathsToMask method which needs to implement by implementor class if the response document contains some sensitive information which needs to mask.
|
protected void | resolveAddresses(SalesContainer salesContainer)
This method ensures that all of the addresses used in this sales container are fully resolved.
|
protected void | resolveOrderingCustomer(SalesContainer salesContainer)
This method ensures that ordering customer is fully resolved.
|
protected void | resolveProducts(SalesContainer salesContainer)
This method ensures that all of the products used in this sales container are fully resolved.
|
protected void | unmarshallActualShippingChargeTotalAmount(ShippingAdjustments shippingAdjustment, org.w3c.dom.Element actualShippingChargeTotalAmountElement)
This method unmarshalls the ActualShippingChargeTotalAmount element.
|
protected Address | unmarshallAddress(Customer customer, org.w3c.dom.Element addressElement)
This method unmarshalls the Address element.
|
protected Address | unmarshallAddress(Line line, org.w3c.dom.Element addressElement)
This method unmarshalls the Address element.
|
protected void | unmarshallAddresses(Customer customer, org.w3c.dom.Element addressesElement)
This method unmarshalls the Addresses element.
|
protected void | unmarshallAddresses(Line line, org.w3c.dom.Element addressesElement)
This method unmarshalls the Addresses element.
|
protected void | unmarshallAddressId(ShippingCarriers shippingCarrier, org.w3c.dom.Element addressIdElement)
This method unmarshalls the AddressId element.
|
protected void | unmarshallAddressId(ShippingInstructions shippingInstruction, org.w3c.dom.Element addressIdElement)
This method unmarshalls the AddressId element.
|
protected void | unmarshallAssigningPartyId(Line line, org.w3c.dom.Element assigningPartyIdElement, java.lang.String id)
This method unmarshalls the AssigningPartyId element.
|
protected void | unmarshallAuthorization(Customer customer, org.w3c.dom.Element authorizationElement)
This method unmarshalls the Authorization element.
|
protected void | unmarshallAvailablePaymentMethods(SalesContainer salesContainer, org.w3c.dom.Element availablePaymentMethodsElement)
This method unmarshalls the AvailablePaymentMethods element.
|
protected void | unmarshallBillingAddresses(Address[] addresses, java.util.ArrayList addressList)
This method unmarshalls the Addresses element.
|
protected void | unmarshallBillToParty(SalesContainer salesContainer, org.w3c.dom.Element billToPartyElement)
This method unmarshalls the BillToParty element.
|
protected void | unmarshallBlockReasonCode(OrderBlock orderBlock, org.w3c.dom.Element blockElement)
This method unmarshalls the block reason code from the OrderBlock element.
|
protected void | unmarshallBOD(SalesContainer salesContainer, org.w3c.dom.Element bodElement)
This method unmarshalls the BOD element.
|
protected void | unmarshallBODHeader(org.w3c.dom.Element bodHeaderElement)
This method unmarshalls the BODHeader element.
|
protected void | unmarshallBusiness(Customer customer, org.w3c.dom.Element businessElement)
This method unmarshalls the Business element.
|
protected void | unmarshallBusiness(SalesContainer salesContainer, org.w3c.dom.Element businessElement)
This method unmarshalls the Business element.
|
protected void | unmarshallBusinessChannel(SalesContainer salesContainer, org.w3c.dom.Element businessChannelElement)
This method unmarshalls the BusinessChannel element.
|
protected void | unmarshallCarrierAccount(ShippingCarriers shippingCarrier, org.w3c.dom.Element carrierAccountElement)
This method unmarshalls the CarrierAccount element.
|
protected void | unmarshallCatalogItemLine(Product product, org.w3c.dom.Element catalogItemLineElement)
This method unmarshalls the CatalogItemLine element.
|
protected void | unmarshallCharges(SalesContainer salesContainer, org.w3c.dom.Element chargesElement)
This method unmarshalls the Charges element.
|
protected void | unmarshallCheckOrderLock(SalesContainer salesContainer, org.w3c.dom.Element orderStatusUserArea)
This method unmarshalls the checkLock UserArea element in the OrderStatus.
|
protected void | unmarshallConfirmSalesContainer(SalesContainer salesContainer, org.w3c.dom.Element confirmSalesOrderElement)
This method unmarshalls the ConfirmSalesOrder or ConfirmQuote element.
|
protected void | unmarshallContact(Customer customer, org.w3c.dom.Element contactElement)
This method unmarshalls the Contact element.
|
protected void | unmarshallContacts(Customer customer, org.w3c.dom.Element contactsElement)
This method unmarshalls the Contacts element.
|
protected void | unmarshallContractAddress(Line line, org.w3c.dom.Element addressElement)
This method unmarshalls the Address element under ShipToParty tag.
|
protected void | unmarshallContractAddresses(Line line, org.w3c.dom.Element addressesElement)
This method unmarshalls the Addresses element under ShipToParty tag.
|
protected void | unmarshallContractAvailShippingModes(Line line, org.w3c.dom.Element availShippingModesElement)
This method unmarshalls the AvailShippingModes element.
|
protected void | unmarshallContractShipMode(Line line, org.w3c.dom.Element shipModeElement)
This method unmarshalls the ShippingMode element.
|
protected void | unmarshallContractUnitPrice(Product product, org.w3c.dom.Element itemPriceElement)
This method unmarshalls the ItemPrice element.
|
protected void | unmarshallCustomerParty(Line line, org.w3c.dom.Element customerPartyElement)
This method unmarshalls the CustomerParty element.
|
protected void | unmarshallCustomerParty(SalesContainer salesContainer, org.w3c.dom.Element customerPartyElement)
This method unmarshalls the CustomerParty element.
|
protected void | unmarshallDataArea(SalesContainer salesContainer, org.w3c.dom.Element dataAreaElement)
This method unmarshalls the DataArea element.
|
protected void | unmarshallDocumentId(Product product, org.w3c.dom.Element documentIdElement)
This method unmarshalls the DocumentId element.
|
protected void | unmarshallDocumentId(SalesContainer salesContainer, org.w3c.dom.Element documentIdElement)
This method unmarshalls the DocumentId element.
|
protected void | unmarshallDocumentIds(SalesContainer salesContainer, org.w3c.dom.Element documentIdsElement)
This method unmarshalls the DocumentIds element.
|
protected void | unmarshallECHeader(Product product, org.w3c.dom.Element ecHeaderElement)
This method unmarshalls the ECHeader element.
|
protected void | unmarshallElectronicCatalog(Line line, org.w3c.dom.Element electronicCatalogElement)
This method unmarshalls the ElectronicCatalog element.A new ItemBean, PackageBean, ProductBean or BundleBean object is constructed depending on the type attribute.
|
protected void | unmarshallElectronicCatalog(Product product, org.w3c.dom.Element electronicCatalogElement)
This method unmarshalls the ElectronicCatalog element.
|
protected void | unmarshallExpediteOrderItem(Line line, org.w3c.dom.Element lineElement)
This method unmarshalls the ExpediteOrderItem element.
|
protected void | unmarshallFeature(Product product, org.w3c.dom.Element featureElement)
This method unmarshalls the Feature element.
|
protected void | unmarshallHeader(SalesContainer salesContainer, org.w3c.dom.Element headerElement)
This method unmarshalls the Header element.
|
protected void | unmarshallIsShipped(Line lineItem, org.w3c.dom.Element shippedElement)
This method unmarshalls the Shipped element.
|
protected void | unmarshallItemClassification(Product product, org.w3c.dom.Element itemClassificationElement)
This method unmarshalls the ItemClassification element.
|
protected void | unmarshallItemId(Line line, org.w3c.dom.Element itemIdElement)
This method unmarshalls the ItemId element.
|
protected void | unmarshallItemId(Product product, org.w3c.dom.Element itemIdElement)
This method unmarshalls the ItemId element.
|
protected void | unmarshallItemIds(Line line, org.w3c.dom.Element itemIdsElement)
This method unmarshalls the ItemIds element.
|
protected void | unmarshallItemPrice(Product product, org.w3c.dom.Element itemPriceElement)
This method unmarshalls the ItemPrice element.
|
protected void | unmarshallItemStatus(SubLine subLine, org.w3c.dom.Element itemStatusElement)
This method unmarshalls the ItemStatus element.
|
protected void | unmarshallLine(Line line, org.w3c.dom.Element lineElement)
This method unmarshalls the Line element.
|
protected void | unmarshallLineCharges(Line line, org.w3c.dom.Element chargesElement)
This method unmarshalls the Charges element.
|
protected void | unmarshallLineContractID(Line line, org.w3c.dom.Element documentRefs)
This method unmarshalls the ContractReferences element.
|
protected void | unmarshallLineMiscellaneousCharge(Line line, org.w3c.dom.Element miscellaneousChargeElement)
This method unmarshalls the MiscellaneousCharge element.
|
protected void | unmarshallLinePaymentTerms(Line line, org.w3c.dom.Element paymentTermsElement)
This method unmarshalls the PaymentTerms element.
|
protected void | unmarshallMiscellaneousCharge(SalesContainer salesContainer, org.w3c.dom.Element miscellaneousChargeElement)
This method unmarshalls the MiscellaneousCharge element.
|
protected void | unmarshallNextAvilableTieCode(SalesContainer salesContainer, org.w3c.dom.Element nextAvilableTieCodeElement)
This method unmarshalls the NextAvilableTieCode element.
|
protected void | unmarshallNounOutcome(SalesContainer salesContainer, org.w3c.dom.Element nounOutcomeElement)
This method unmarshalls the NounOutcome element.
|
protected void | unmarshallOrderApporvalPendingStatus(SalesContainer salesContainer, org.w3c.dom.Element orderStatusUserArea)
This method unmarshalls the isOrderApprovalPending UserArea element in the OrderStatus.
|
protected void | unmarshallOrderBlocks(SalesContainer salesContainer, org.w3c.dom.Element orderBlocksElement)
This method unmarshalls the OrderBlocks element.
|
protected void | unmarshallOrderCurrentCharges(SalesContainer salesContainer, org.w3c.dom.Element orderCurrentChargesElement)
This method unmarshalls the OrderCurrentCharges element.
|
protected void | unmarshallOrderEditableStatus(SalesContainer salesContainer, org.w3c.dom.Element orderStatusUserArea)
This method unmarshalls the UserArea element in the OrderStatus.
|
protected void | unmarshallOrderHistoryExistedFlag(SalesContainer salesContainer, org.w3c.dom.Element orderHistoryExistedFlagElement)
This method unmarshalls the OrderHistoryExistedFlag element.
|
protected void | unmarshallOrderHistoryInformation(SalesContainer salesContainer, org.w3c.dom.Element parentElement)
This method unmarshalls the OrderHistoryInformation element.
|
protected void | unmarshallOrderIsEmptyFlag(SalesContainer salesContainer, org.w3c.dom.Element orderIsEmptyElement)
This method unmarshalls the IsEmpty element.
|
protected void | unmarshallOrderItem(Line line, org.w3c.dom.Element orderItemElement)
This method unmarshalls the OrderItem element.
|
protected void | unmarshallOrderItem(SubLine subLine, org.w3c.dom.Element orderItemElement)
This method unmarshalls the OrderItem element.
|
protected void | unmarshallOrderLockStatus(SalesContainer salesContainer, org.w3c.dom.Element orderStatusUserArea)
This method unmarshalls the isOrderLocked UserArea element in the OrderStatus.
|
protected void | unmarshallOrderPromotionCodes(SalesContainer salesContainer, org.w3c.dom.Element orderPromotionCodesElement)
This method unmarshalls the "OrderPromotionCodes" element.
|
protected void | unmarshallOrderStatus(Line lineItem, org.w3c.dom.Element orderStatusElement)
This method unmarshalls the OrderStatus element.
|
protected void | unmarshallOrderStatus(SalesContainer salesContainer, org.w3c.dom.Element orderStatusElement)
This method unmarshalls the OrderStatus element.
|
protected void | unmarshallOrderVersion(SalesContainer salesContainer, org.w3c.dom.Element orderVersionElement)
This method unmarshalls the OrderVersion element.
|
protected void | unmarshallOriginalShippingCost(PrevShippingAdjustments prevShippingAdjustment, org.w3c.dom.Element originalShippingCostElement)
This method unmarshalls the OriginalShippingCost element.
|
protected void | unmarshallParties(Line line, org.w3c.dom.Element partiesElement)
This method unmarshalls the Parties element.
|
protected void | unmarshallParties(Product product, org.w3c.dom.Element partiesElement)
This method unmarshalls the Parties element.
|
protected void | unmarshallParties(SalesContainer salesContainer, org.w3c.dom.Element partiesElement)
This method unmarshalls the Parties element.
|
protected void | unmarshallPartyId(Customer customer, org.w3c.dom.Element partyIdElement)
This method unmarshalls the PartyId element.
|
protected void | unmarshallPartyId(Payment payment, org.w3c.dom.Element partyIdElement)
This method unmarshalls the PartyId element.
|
protected void | unmarshallPaymentInstruction(Payment payment, org.w3c.dom.Element paymentInstructionElement)
This method unmarshalls the PaymentInstruction element.
|
protected void | unmarshallPaymentMethods(SalesContainer salesContainer, org.w3c.dom.Element paymentMethodsElement)
This method unmarshalls the PaymentMethods element.
|
protected void | unmarshallPaymentTerms(SalesContainer salesContainer, org.w3c.dom.Element paymentTermsElement)
This method unmarshalls the PaymentTerms element.
|
protected void | unmarshallPerson(Customer customer, org.w3c.dom.Element personElement)
This method unmarshalls the Person element.
|
protected void | unmarshallPersonName(Customer customer, org.w3c.dom.Element personNameElement)
This method unmarshalls the PersonName element.
|
protected void | unmarshallPersonName(TsrName tsr, org.w3c.dom.Element personNameElement)
This method unmarshalls the PersonName element.
|
protected void | unmarshallPrevDiscountPercent(PrevShippingAdjustments prevShippingAdjustment, org.w3c.dom.Element prevDiscountPercentElement)
This method unmarshalls the PrevDiscountPercent element.
|
protected void | unmarshallPrevShippingAdjustments(ShippingAdjustments shippingAdjustment, org.w3c.dom.Element prevShippingAdjustmentsElement)
This method unmarshalls the PrevShippingAdjustments element.
|
protected void | unmarshallPrevShippingCost(PrevShippingAdjustments prevShippingAdjustment, org.w3c.dom.Element prevShippingCostElement)
This method unmarshalls the PrevShippingCost element.
|
protected void | unmarshallPromotionCode(com.ibm.commerce.telesales.model.OrderPromotionCode promotion, org.w3c.dom.Element promotionCodesElement)
This method unmarshalls the PromotionCode element.
|
protected void | unmarshallRelatedUnit(Organization organization, org.w3c.dom.Element relatedUnitElement)
This method unmarshalls the RelatedUnit element.
|
protected void | unmarshallSalesContainer(SalesContainer salesContainer, org.w3c.dom.Element salesOrderElement)
This method unmarshalls the SalesOrder or Quote element.
|
protected void | unmarshallSerialNumbers(Line line, java.util.ArrayList serialNoElements)
This method unmarshalls the SerialNumber elements.
|
protected void | unmarshallShipChargeAccountType(ShippingCarriers shippingCarrier, org.w3c.dom.Element shipChargeAccountTypeElement)
This method unmarshalls the ShipChargeAccountType element.
|
protected void | unmarshallShipChargeCarrierAccountId(ShipCharge shipCharge, org.w3c.dom.Element shipCarrierAccountElement)
This method unmarshalls the CarrierAccount value.
|
protected void | unmarshallShipChargeInternalPolicyId(ShipCharge shipCharge, org.w3c.dom.Element shipChargeInternalPolicyIdElement)
This method unmarshalls the InternalPolicyId value.
|
protected void | unmarshallShipChargePolicyId(ShipCharge shipCharge, org.w3c.dom.Element shipChargePolicyIdElement)
This method unmarshalls the PolicyId value.
|
protected void | unmarshallShipChargePolicyName(ShipCharge shipCharge, org.w3c.dom.Element shipChargePolicyNameElement)
This method unmarshalls the PolicyName value.
|
protected void | unmarshallShipChargeSelected(ShipCharge shipCharge, org.w3c.dom.Element shipChargeSelectedElement)
This method unmarshalls the Selected value.
|
protected void | unmarshallShipModeDescription(ShippingMode shippingMode, org.w3c.dom.Element shipModeDescriptionlement)
This method unmarshalls the Description value.
|
protected void | unmarshallShipModeId(ShippingAdjustments shippingAdjustment, org.w3c.dom.Element shipModeIdElement)
This method unmarshalls the ShipModeId element.
|
protected void | unmarshallShipModeId(ShippingCarriers shippingCarrier, org.w3c.dom.Element shipModeIdElement)
This method unmarshalls the ShipModeId element.
|
protected void | unmarshallShipModeId(ShippingInstructions shippingInstruction, org.w3c.dom.Element shipModeIdElement)
This method unmarshalls the ShipModeId element.
|
protected void | unmarshallShipModeId(ShippingMode shippingMode, org.w3c.dom.Element shipModeIdElement)
This method unmarshalls the ShipModeId value.
|
protected void | unmarshallShippedItemsShippingChargeTotalAmount(ShippingAdjustments shippingAdjustment, org.w3c.dom.Element shippedItemsShippingChargeTotalAmountElement)
This method unmarshalls the ShippedItemsShippingChargeTotalAmount element.
|
protected void | unmarshallShippingAdjustmentFloorAmtOff(ShippingAdjustments shippingAdjustment, org.w3c.dom.Element shippingAdjustmentFloorAmtOffElement)
This method unmarshalls the ShippingAdjustmentFloorAmtOff element.
|
protected void | unmarshallShippingAdjustmentFloorCost(ShippingAdjustments shippingAdjustment, org.w3c.dom.Element shippingAdjustmentFloorCostElement)
This method unmarshalls the ShippingAdjustmentFloorCost element.
|
protected void | unmarshallShippingAdjustmentFloorPercent(ShippingAdjustments shippingAdjustment, org.w3c.dom.Element shippingAdjustmentFloorPercentElement)
This method unmarshalls the ShippingAdjustmentFloorPercent element.
|
protected void | unmarshallShippingAdjustments(ShippingInfo info, org.w3c.dom.Element shippingAdjustmentsElement)
This method unmarshalls the ShippingAdjustments element.
|
protected void | unmarshallShippingCarriers(ShippingInfo info, org.w3c.dom.Element shippingCarriersElement)
This method unmarshalls the ShippingCarriers element.
|
protected void | unmarshallShippingChargeElement(ShipCharge shipCharge, org.w3c.dom.Element shipChargeElement)
This method unmarshalls the ShipCharge element.
|
protected void | unmarshallShippingInformation(SalesContainer salesContainer, org.w3c.dom.Element orderShippingInformationElement)
This method unmarshalls the OrderShippingInformation element.
|
protected void | unmarshallShippingInstruction(ShippingInstructions shippingInstruction, org.w3c.dom.Element shippingInstructionElement)
This method unmarshalls the AddressId element.
|
protected void | unmarshallShippingInstructions(ShippingInfo info, org.w3c.dom.Element shippingInstructionsElement)
This method unmarshalls the ShippingInstructions element.
|
protected void | unmarshallShippingModes(ShippingMode shippingMode, org.w3c.dom.Element shippingModeElement)
This method unmarshalls the ShipMode element.
|
protected void | unmarshallShipToParty(Line line, org.w3c.dom.Element shipToPartyElement)
This method unmarshalls the ShipToParty element.
|
protected void | unmarshallStore(SalesContainer salesContainer, org.w3c.dom.Element storeElement)
This method unmarshalls the Store element.
|
protected void | unmarshallSubLine(Line line, org.w3c.dom.Element subLineElement)
This method unmarshalls the SubLine element.A new SubLine object is constructed and added as a subline to line.
|
protected void | unmarshallSupplierItemId(Line item, org.w3c.dom.Element supplierItemIdElement)
This method unmarshalls the SupplierItemId element.
|
protected void | unmarshallTax(SalesContainer salesContainer, org.w3c.dom.Element taxElement)
This method unmarshalls the Tax element.
|
protected void | unmarshallTaxCharges(SalesContainer salesContainer, org.w3c.dom.Element chargesElement)
This method unmarshalls the Charges element.
|
protected void | unmarshallTaxTransportationCharge(SalesContainer salesContainer, org.w3c.dom.Element transportationChargeElement)
This method unmarshalls the TransportationCharge element.
|
protected void | unmarshallTransportationCharge(SalesContainer salesContainer, org.w3c.dom.Element transportationChargeElement)
This method unmarshalls the TransportationCharge element.
|
protected void | unmarshallTransportationTerm(Line line, org.w3c.dom.Element transportationTermElement)
This method unmarshalls the TransportationTerm element.
|
protected void | unmarshallTsrName(PrevShippingAdjustments prevShippingAdjustment, org.w3c.dom.Element tsrNameElement)
This method unmarshalls the TSRName element.
|
protected void | unmarshallUnit(Organization organization, org.w3c.dom.Element unitElement)
This method unmarshalls the Unit element.
|
protected void | unmarshallUnitPrice(Line line, org.w3c.dom.Element unitPriceElement)
This method unmarshalls the UnitPrice element.
|
protected void | unmarshallUnitPrice(Product product, org.w3c.dom.Element unitPriceElement)
This method unmarshalls the UnitPrice element.
|
protected void | unmarshallUsableShipChargesAndAccountByShipMode(SalesContainer salesContainer, org.w3c.dom.Element usableShipChargesAndAccountByShipModeElement)
This method unmarshalls the UsableShipChargesAndAccountByShipMode element.
|
protected void | unmarshallUserAccount(Customer customer, org.w3c.dom.Element userAccountElement)
This method unmarshalls the UserAccount element.
|
protected void | updateModel(java.lang.Object databean)
This method updates the model with the contents of the specified data bean.
|
public static final java.lang.String REQUEST_ID_CREATE_ORDER
public static final java.lang.String REQUEST_ID_CREATE_QUOTE
public static final java.lang.String REQUEST_ID_CREATE_ORDER_FROM_QUOTE
public static final java.lang.String REQUEST_ID_CREATE_QUOTE_FROM_ORDER
public static final java.lang.String REQUEST_ID_FIND_ORDER
public static final java.lang.String REQUEST_ID_FIND_QUOTE
public static final java.lang.String REQUEST_ID_BEGIN_ORDER
public static final java.lang.String REQUEST_ID_BEGIN_QUOTE
public static final java.lang.String REQUEST_ID_END_ORDER
public static final java.lang.String REQUEST_ID_END_QUOTE
public static final java.lang.String REQUEST_ID_PREPARE_ORDER
public static final java.lang.String REQUEST_ID_PREPARE_QUOTE
public static final java.lang.String REQUEST_ID_UPDATE_ORDER
public static final java.lang.String REQUEST_ID_UPDATE_QUOTE
public static final java.lang.String REQUEST_ID_CALCULATE_ORDER
public static final java.lang.String REQUEST_ID_CALCULATE_QUOTE
public static final java.lang.String REQUEST_ID_SUBMIT_ORDER
public static final java.lang.String REQUEST_ID_SAVE_QUOTE
public static final java.lang.String REQUEST_ID_ADD_ORDER_SHIPPING_INSTRUCTIONS
public static final java.lang.String REQUEST_ID_ADD_QUOTE_SHIPPING_INSTRUCTIONS
public static final java.lang.String REQUEST_ID_UPDATE_ORDER_SHIPPING_INSTRUCTIONS
public static final java.lang.String REQUEST_ID_UPDATE_QUOTE_SHIPPING_INSTRUCTIONS
public static final java.lang.String REQUEST_ID_DELETE_ORDER_SHIPPING_INSTRUCTIONS
public static final java.lang.String REQUEST_ID_DELETE_QUOTE_SHIPPING_INSTRUCTIONS
public static final java.lang.String REQUEST_ID_ADD_ORDER_SHIPPING_CARRIER
public static final java.lang.String REQUEST_ID_ADD_QUOTE_SHIPPING_CARRIER
public static final java.lang.String REQUEST_ID_UPDATE_ORDER_SHIPPING_CARRIER
public static final java.lang.String REQUEST_ID_UPDATE_QUOTE_SHIPPING_CARRIER
public static final java.lang.String REQUEST_ID_DELETE_ORDER_SHIPPING_CARRIER
public static final java.lang.String REQUEST_ID_DELETE_QUOTE_SHIPPING_CARRIER
public static final java.lang.String REQUEST_ID_ADD_ORDER_ITEM
public static final java.lang.String REQUEST_ID_ADD_QUOTE_ITEM
public static final java.lang.String REQUEST_ID_DELETE_ORDER_ITEM
public static final java.lang.String REQUEST_ID_DELETE_QUOTE_ITEM
public static final java.lang.String REQUEST_ID_UPDATE_ORDER_ITEM
public static final java.lang.String REQUEST_ID_UPDATE_QUOTE_ITEM
public static final java.lang.String REQUEST_ID_UPDATE_ORDER_BLOCKS
public static final java.lang.String REQUEST_ID_UPDATE_QUOTE_BLOCKS
public static final java.lang.String REQUEST_ID_UPDATE_ORDER_CHANNEL
public static final java.lang.String REQUEST_ID_UPDATE_QUOTE_CHANNEL
public static final java.lang.String REQUEST_ID_UPDATE_ORDER_SHIPPING_INFORMATION
public static final java.lang.String REQUEST_ID_UPDATE_QUOTE_SHIPPING_INFORMATION
public static final java.lang.String REQUEST_ID_OVERRIDE_ORDER_PRICE
public static final java.lang.String REQUEST_ID_OVERRIDE_QUOTE_PRICE
public static final java.lang.String REQUEST_ID_ADD_ORDER_PAYMENT
public static final java.lang.String REQUEST_ID_ADD_QUOTE_PAYMENT
public static final java.lang.String REQUEST_ID_DELETE_ORDER_PAYMENT
public static final java.lang.String REQUEST_ID_DELETE_QUOTE_PAYMENT
public static final java.lang.String REQUEST_ID_UPDATE_ORDER_PAYMENT
public static final java.lang.String REQUEST_ID_UPDATE_QUOTE_PAYMENT
public static final java.lang.String REQUEST_ID_DUPLICATE_ORDER
public static final java.lang.String REQUEST_ID_DUPLICATE_QUOTE
public static final java.lang.String REQUEST_ID_CANCEL_ORDER
public static final java.lang.String REQUEST_ID_CANCEL_QUOTE
public static final java.lang.String REQUEST_ID_ADD_PROMOTION_CODE
public static final java.lang.String REQUEST_ID_REMOVE_PROMOTION_CODE
public SalesContainerRequest()
protected void unmarshallConfirmSalesContainer(SalesContainer salesContainer, org.w3c.dom.Element confirmSalesOrderElement)
<ConfirmSalesOrder> <!-- for a quote, this is ConfirmQuote --> <oa:ApplicationArea> <!-- unmarshalled by unmarshallApplicationArea() --> . . </oa:ApplicationArea> <DataArea> <!-- unmarshalled by unmarshallDataArea() --> . . </DataArea> </ConfirmSalesOrder>
protected void unmarshallNounOutcome(SalesContainer salesContainer, org.w3c.dom.Element nounOutcomeElement)
<NounOutcome> <oa:DocumentIds> <!-- unmarshalled by unmarshallDocumentIds() --> . . </oa:DocumentIds> <SalesOrder> <!-- unmarshalled by unmarshallSalesContainer() --> . . </SalesOrder> </NounOutcome>
protected abstract java.lang.String getNounTag()
protected void updateModel(java.lang.Object databean)
protected java.lang.String determineProductType(org.w3c.dom.Element electronicCatalogElement)
<oa:ElectronicCatalog> <oa:CatalogItemLine> <ItemType>ItemBean/<ItemType> <-- used to determine product type --> </oa:CatalogItemLine> </oa:ElectronicCatalog>The returned product type can be one of the following:
protected Address unmarshallAddress(Line line, org.w3c.dom.Element addressElement)
<Address primary="false" type="SB"> <!-- Address.setPrimary and Address.setType --> <oa:AddressId>10302</oa:AddressId> <!-- Address.setAddressId() --> <oa:AddressLine>8200 Warden Avenue</oa:AddressLine> <!-- Address.setAddressLine1() --> <oa:AddressLine>line 2</oa:AddressLine> <!-- Address.setAddressLine2() --> <oa:AddressLine>line 3</oa:AddressLine> <!-- Address.setAddressLine2() --> <oa:City>Markham</oa:City> <!-- Address.setTownCity() --> <wc:StateOrProvinceCode>ON</wc:StateOrProvinceCode> <!-- Address.setStateProvinceCode() --> <wc:CountryCode>CA</wc:CountryCode> <!-- Address.setCountryCode() --> <oa:PostalCode>L6G 1C7</oa:PostalCode> <!-- Address.setPostalCode() --> <AddressNickName>home</AddressNickName> <!-- Address.setAddressNickName() --> <UserData/> <!-- unmarshalled by unmarshallUserData() --> </Address>
protected Address unmarshallAddress(Customer customer, org.w3c.dom.Element addressElement)
<Address primary="false" type="SB"> <!-- Address.setPrimary and Address.setType --> <oa:AddressId>10302</oa:AddressId> <!-- Address.setAddressId() --> <oa:AddressLine>8200 Warden Avenue</oa:AddressLine> <!-- Address.setAddressLine1() --> <oa:AddressLine>line 2</oa:AddressLine> <!-- Address.setAddressLine2() --> <oa:AddressLine>line 3</oa:AddressLine> <!-- Address.setAddressLine2() --> <oa:City>Markham</oa:City> <!-- Address.setTownCity() --> <wc:StateOrProvinceCode>ON</wc:StateOrProvinceCode> <!-- Address.setStateProvinceCode() --> <wc:CountryCode>CA</wc:CountryCode> <!-- Address.setCountryCode() --> <oa:PostalCode>L6G 1C7</oa:PostalCode> <!-- Address.setPostalCode() --> <AddressNickName>home</AddressNickName> <!-- Address.setAddressNickName() --> <UserData/> <!-- unmarshalled by unmarshallUserData() --> </Address>
protected void unmarshallAddresses(Line line, org.w3c.dom.Element addressesElement)
<oa:Addresses> <Address> <!-- unmarshalled by unmarshallAddress() --> . . </Address> <Address> <!-- unmarshalled by unmarshallAddress() --> . . </Address> </Addresses>
protected void unmarshallAddresses(Customer customer, org.w3c.dom.Element addressesElement)
<oa:Addresses> <Address> <!-- unmarshalled by unmarshallAddress() --> . . </Address> <Address> <!-- unmarshalled by unmarshallAddress() --> . . </Address> </Addresses>
protected void unmarshallAssigningPartyId(Line line, org.w3c.dom.Element assigningPartyIdElement, java.lang.String id)
<oa:AssigningPartyId> <oa:Id>243</oa:Id> <!-- line.setAssignedPartyId() --> </oa:AssigningPartyId>
protected void unmarshallAuthorization(Customer customer, org.w3c.dom.Element authorizationElement)
<Authorization> <Password>[B@41754175</Password> <!-- customer.setPassword() --> <UserId>user1</UserId> <!-- customer.setUsername --> <VerifyPassword>[B@41754175</VerifyPassword> <!-- customer.setVerifyPassword() --> <ChallengeQuestion>question</ChallengeQuestion> <!-- customer.setChallengeQuestion() --> <ChallengeAnswer>answer</ChallengeAnswer> <!-- customer.setChallengeAnswer() --> </Authorization>
protected void unmarshallAvailablePaymentMethods(SalesContainer salesContainer, org.w3c.dom.Element availablePaymentMethodsElement)
<AvailablePaymentMethods> <!-- unmarshalled by unmarshallPaymentMethods() --> . . </AvailablePaymentMethods>
protected void unmarshallBillToParty(SalesContainer salesContainer, org.w3c.dom.Element billToPartyElement)
<BillToParty> <PartyId> <!-- unmarshalled by unmarshallPartyId() --> . . </PartyId> <PaymentInstruction> <!-- unmarshalled by unmarshallPaymentInstruction() --> . . </PaymentInstruction> </BillToParty>
protected void unmarshallBOD(SalesContainer salesContainer, org.w3c.dom.Element bodElement)
<BOD> <BODHeader> <!-- unmarshalled by unmarshallBODHeader() --> . . </BODHeader> <NounOutcome> <!-- unmarshalled by unmarshallNounOutcome() --> . . </NounOutcome> </BOD>
protected void unmarshallBODHeader(org.w3c.dom.Element bodHeaderElement)
<BODHeader> <BODFailure> <!-- unmarshalled by unmarshallBODFailure() --> . . </BODFailure> <BODSuccess> <!-- unmarshalled by unmarshallBODSuccess() --> . . </BODSuccess> </BODHeader>
protected void unmarshallCatalogItemLine(Product product, org.w3c.dom.Element catalogItemLineElement)
<oa:CatalogItemLine> <oa:ItemId> <!-- unmarshalled by unmarshallItemId() --> . . </oa:ItemId> <ItemType>ProductBean</ItemType> <oa:Description>description</oa:Description> <!-- product.setLongDescription() --> <ShortDescription>short description</ShortDescription> <!-- product.setShortDescription() --> <oa:Parties> <!-- unmarshalled by unmarshallParties() --> . . </oa:Parties> <oa:Feature/> <!-- unmarshalled by unmarshallFeature() --> <oa:ItemPrice> <!-- unmarshalled by unmarshallItemPrice() --> . . </oa:ItemPrice> <Merchandising>false</Merchandising> <!-- product.setMerchandise() --> <Buyable>1</Buyable> <!-- product.setAvailableForSale() --> <!-- unmarshalled by unmarshallUserData() --> <wc:UserData> <!-- optional --> <wc:UserDataField name="name">value</wc:UserDataField> . </wc:UserData> </oa:CatalogItemLine>
protected void unmarshallItemClassification(Product product, org.w3c.dom.Element itemClassificationElement)
<oa:ItemClassification> <oa:ClassificationId>1234</oa:ClassificationId> <oa:Description>Clothing</oa:Description> <!-- product.setCategory() --> </oa:ItemClassification>
protected void unmarshallCharges(SalesContainer salesContainer, org.w3c.dom.Element chargesElement)
<oa:Charges> <oa:TransportationCharge> <!-- unmarshalled by unmarshallTransportationCharge() --> . . </oa:TransportationCharge> <oa:MiscellaneousCharge> <!-- unmarshalled by unmarshallMiscellaneousCharge() --> . . </oa:MiscellaneousCharge> </oa:Charges>
protected void unmarshallLineCharges(Line line, org.w3c.dom.Element chargesElement)
<oa:Charges> <oa:MiscellaneousCharge> <!-- unmarshalled by unmarshallLineMiscellaneousCharge() --> . . </oa:MiscellaneousCharge> </oa:Charges>
protected void unmarshallStore(SalesContainer salesContainer, org.w3c.dom.Element storeElement)
<Store> <StoreId>1000</StoreId> <!-- salesContainer.setStoreId() --> <Description>ConsumerDirect</Description> <!-- salesContainer.setStoreDescription() --> </Store>
protected void unmarshallContact(Customer customer, org.w3c.dom.Element contactElement)
<Contact> <oa:Person> <!-- unmarshalled by unmarshallPerson() --> . . </oa:Person> <oa:EMailAddress/> <!-- customer.setEmailAddress1 --> <oa:EMailAddress/> <!-- customer.setEmailAddress2 --> <oa:Fax/> <!-- customer.setFax1 --> <oa:Fax/> <!-- customer.setFax2 --> <Telephone publish="0" type=""/> <!-- customer.setTeleponeNum1, customer.setPublishTelephone1, customer.setTelephoneType1 --> <Telephone publish="0" type=""/> <!-- customer.setTeleponeNum2, customer.setPublishTelephone2, customer.setTelephoneType2 --> <BestCallTime/> <!-- customer.setBestCallTime1, customer.setBestCallTime2 --> <UserAccount> <!-- unmarshalled by unmarshallUserAccount --> . . </UserAccount> </Contact>
protected void unmarshallContacts(Customer customer, org.w3c.dom.Element contactsElement)
<oa:Contacts> <Contact> <!-- unmarshalled by unmarshallContact() --> . . </Contact> </oa:Contacts>
protected void unmarshallContractAddresses(Line line, org.w3c.dom.Element addressesElement)
<oa:Addresses> <Address> <!-- unmarshalled by unmarshallContractAddress() --> . . </Address> <Address> <!-- unmarshalled by unmarshallContractAddress() --> . . </Address> </Addresses>
protected void unmarshallContractAddress(Line line, org.w3c.dom.Element addressElement)
<Address primary="false" type="SB"> <!-- Address.setPrimary and Address.setType --> <oa:AddressId>10302</oa:AddressId> <!-- Address.setAddressId() --> <oa:AddressLine>8200 Warden Avenue</oa:AddressLine> <!-- Address.setAddressLine1() --> <oa:AddressLine>line 2</oa:AddressLine> <!-- Address.setAddressLine2() --> <oa:AddressLine>line 3</oa:AddressLine> <!-- Address.setAddressLine2() --> <oa:City>Markham</oa:City> <!-- Address.setTownCity() --> <wc:StateOrProvinceCode>ON</wc:StateOrProvinceCode> <!-- Address.setStateProvinceCode() --> <wc:CountryCode>CA</wc:CountryCode> <!-- Address.setCountryCode() --> <oa:PostalCode>L6G 1C7</oa:PostalCode> <!-- Address.setPostalCode() --> <AddressNickName>home</AddressNickName> <!-- Address.setAddressNickName() --> <!-- unmarshalled by unmarshallUserData() --> <wc:UserData> <!-- optional --> <wc:UserDataField name="name">value</wc:UserDataField> . </wc:UserData> </Address>
protected void unmarshallContractAvailShippingModes(Line line, org.w3c.dom.Element availShippingModesElement)
<oa:AvailShippingModes> <ShippingMode> <!-- unmarshalled by unmarshallContractShipMode() --> . . </ShippingMode> <ShippingMode> <!-- unmarshalled by unmarshallContractShipMode() --> . . </ShippingMode> </AvailShippingModes>
protected void unmarshallContractShipMode(Line line, org.w3c.dom.Element shipModeElement)
<oa:ShippingMode> <oa:ModeId>100</ModeId> </oa:ShippingMode>
protected void unmarshallCustomerParty(SalesContainer salesContainer, org.w3c.dom.Element customerPartyElement)
<oa:CustomerParty> <oa:PartyId> <!-- unmarshalled by unmarshallPartyId() --> . . </oa:PartyId> <oa:Currency>USD</oa:Currency> <!-- customer.setPreferredCurrency() --> <oa:CorrespondenceLanguage>-1</oa:CorrespondenceLanguage> <!-- customer.setPreferredLanguage() --> <oa:Addreses> <!-- unmarshalled by unmarshallAddresses() --> . . </oa:Addresses> <oa:Contacts> <!-- unmarshalled by unmarshallContacts() --> . . </oa:Contacts> <oa:Business> <!-- unmarshalled by unmarshallBusiness() --> . . </oa:Business> <!-- unmarshalled by unmarshallUserData() --> <wc:UserData> <!-- optional --> <wc:UserDataField name="name">value</wc:UserDataField> . </wc:UserData> </oa:CustomerParty>
protected void unmarshallCustomerParty(Line line, org.w3c.dom.Element customerPartyElement)
<oa:CustomerParty> <oa:Addreses> <!-- unmarshalled by unmarshallAddresses() --> . . </oa:Addresses> </oa:CustomerParty>
protected void unmarshallDataArea(SalesContainer salesContainer, org.w3c.dom.Element dataAreaElement)
<DataArea> <BOD> <!-- unmarshalled by unmarshallBOD() --> . . </BOD> </DataArea>
protected void unmarshallDocumentId(SalesContainer salesContainer, org.w3c.dom.Element documentIdElement)
<oa:DocumentId> <oa:Id>100</Id> <!-- salesContainer.setContainerId() --> </oa:DocumentId>
protected void unmarshallDocumentId(Product product, org.w3c.dom.Element documentIdElement)
<oa:DocumentId> <oa:Id>100</Id> <!-- product.setCatalogEntryId() --> </oa:DocumentId>
protected void unmarshallDocumentIds(SalesContainer salesContainer, org.w3c.dom.Element documentIdsElement)
<oa:DocumentIds> <oa:DocumentId> <!-- unmarshalled by unmarshallDocumentId() --> . . </oa:DocumentId> </oa:DocumentIds>
protected void unmarshallECHeader(Product product, org.w3c.dom.Element ecHeaderElement)
<oa:ECHeader> <oa:DocumentId> <!-- unmarshalled by unmarshallDocumentId() --> . . </oa:DocumentId> </oa:ECHeader>
protected void unmarshallElectronicCatalog(Line line, org.w3c.dom.Element electronicCatalogElement)
<oa:ElectronicCatalog type="Item"> <!-- type is one of "Item", "Package", "Product", "Bundle" --> . . </oa:ElectronicCatalog>
protected void unmarshallElectronicCatalog(Product product, org.w3c.dom.Element electronicCatalogElement)
<oa:ElectronicCatalog type="Product"> <!-- type is one of "Product", "Package", "Item", "Bundle" --> <oa:ECHeader> <!-- unmarshalled by unmarshallECHeader --> . . </oa:ECHeader> <oa:CatalogItemLine> <!-- unmarshalled by unmarshallCatalogItemLine --> . . </oa:CatalogItemLinte> <oa:ElectronicCatalog> <!-- unmarshalled by unmarshallElectronicCatalog --> . . </oa:ElectronicCatalog> <oa:ElectronicCatalog> <!-- unmarshalled by unmarshallElectronicCatalog --> . . </oa:ElectronicCatalog> </oa:ElectronicCatalog>
protected void unmarshallFeature(Product product, org.w3c.dom.Element featureElement)
<oa:Feature> <oa:NameValue name="color" type="defining">black</oa:NameValue> <!-- product.addAttribute(name, value) --> <oa:NameValue name="info" type="nondefining">descriptive information</oa:NameValue> <!-- product.addDescriptiveAttribute(name, value) --> </oa:Feature>
protected void unmarshallHeader(SalesContainer salesContainer, org.w3c.dom.Element headerElement)
<Header> <!-- unmarshalled by unmarshallDocumentIds() --> . . <oa:LastModificationDateTime>2004-09-13 11:36:25.229</LastModificationDateTime> <!-- salesContainer.setDateTimeLastModified() --> <!-- unmarshalled by unmarshallOrderStatus() --> . . true/wc:IsEmpty> <!-- unmarshalled by unmarshallOrderStatus() --> 3/wc:NextAvailableTieCode> <!-- unmarshalled by unmarshallOrderIsEmptyFlag() --> 179.99 <!-- salesContainer.setExtendedPrice() --> 0.00000 <!-- salesContainer.setCurrencyCode, salesContainer.setTotalAmount --> <!-- unmarshalled by unmarshallPaymentTerms() --> . . <!-- unmarshalled by unmarshallCharges() --> . . <!-- unmarshalled by unmarshallTax() --> . . <ShipAsComplete>Y</ShipAsComplete> <!-- salesContainer.setShipAsComplete() --> <!-- salesContainer.setOrderPlacedDate() --> <CommerceArea> <!-- unmarshalled by unmarshallCommerceArea() --> . . </CommerceArea> <IsPreparedInd>true</IsPreparedInd> <!-- salesContainer.setPrepared() --> <CurrentOrderEditorId>wcsadmin</CurrentOrderEditorId> <!-- salesContainer.setEditorId() --> <CurrentOrderEditorLogonId>wcsadmin</CurrentOrderEditorLogonId> <!-- salesContainer.setEditorLogonId() --> <!-- unmarshalled by unmarshallOrderCurrentCharges() --> . . <!-- unmarshalled by unmarshallOrderBlocks() --> . . <!-- unmarshalled by unmarshallBusinessChannel() --> . . <!-- unmarshalled by unmarshallOrderPromotionCodes() --> . . </Header>
protected void unmarshallItemId(Product product, org.w3c.dom.Element itemIdElement)
<oa:ItemId> <oa:Id>100</oa:Id> <!-- product.setProductId() --> <oa:Name>Lamp</oa:Name> <!-- product.setProductName() --> <oa:UPC url="www.ibm.com"/> <!-- product.setUrl() --> </oa:ItemId>
protected void unmarshallItemId(Line line, org.w3c.dom.Element itemIdElement)
<oa:ItemId> <oa:Id>100</oa:Id> <!-- line.setCatalogEntryId() --> </oa:ItemId>
protected void unmarshallItemIds(Line line, org.w3c.dom.Element itemIdsElement)
<oa:ItemIds> <oa:ItemId> <!-- unmarshalled by unmarshallItemId() --> . . </oa:ItemId> <oa:SupplierItemId> <!-- unmarshalled by unmarshallSupllierItemId() --> . . </oa:SupplierItemId> <oa:SupplierItemId> <!-- unmarshalled by unmarshallSupllierItemId() --> . . </oa:SupplierItemId> </oa:ItemIds>
protected void unmarshallItemPrice(Product product, org.w3c.dom.Element itemPriceElement)
<oa:ItemPrice>!-- unmarshalled by unmarshallContractUnitPrice() --> <oa:UnitPrice> < . . </oa:UnitPrice> </oa:ItemPrice>
protected void unmarshallItemStatus(SubLine subLine, org.w3c.dom.Element itemStatusElement)
<oa:ItemStatus> <oa:Code>NALC</oa:Code> <!-- subLine.setStatusCode() --> </oa:ItemStatus>
protected void unmarshallLine(Line line, org.w3c.dom.Element lineElement)
<Line> <oa:LineNumber>75002</oa:LineNumber> <!-- line.setCorrelationNumber() --> <oa:OrderStatus> <!-- unmarshalled by unmarshallOrderStatus() --> . . </oa:OrderStatus> <oa:OrderItem> <!-- unmarshalled by unmarshallOrderItem --> . . </oa:OrderItem> <oa:OrderQuantity uom="NMTOKEN">1</oa:OrderQuantity> <!-- line.setQuantity() --> <AllocatedQuantity uom="NMTOKEN">1</AllocatedQuantity> <!-- line.setQuantityAllocated() --> <oa:UnitPrice> <!-- unmarshalled by unmarshallUnitPrice() --> . . </oa:UnitPrice> <ExpediteOrderItem> <!-- unmarshalled by unmarshallExpediteOrderItem() --> . . </ExpediteOrderItem> <oa:ExtendedPrice currency="USD">179.99</oa:ExtendedPrice> <!-- line.setExtendedPrice() --> <SubLine> <!-- unmarshalled by unmarshallSubLine() --> . . </SubLine> <SubLine> <!-- unmarshalled by unmarshallSubLine() --> . . </SubLine> <oa:Parties> <!-- unmarshalled by unmarshallParties() --> . . </oa:Parties> <oa:TransportationTerm> <!-- unmarshalled by unmarshallTransportationTerm() --> . . </oa:TransportationTerm> <oa:Charges> <!-- unmarshalled by unmarshallLineCharges() --> . . </oa:Charges> <oa:PaymentTerms> <!-- unmarshalled by unmarshallLinePaymentTerms() --> . . </oa:PaymentTerms> <ContractReferences> <!-- unmarshalled by unmarshallLineContractID() --> . . </ContractReferences> <oa:ElectronicCatalog> <!-- unmarshalled by unmarshallElectronicCatalog() --> . . </oa:ElectronicCatalog> <AvailShippingModes> <!-- unmarshalled by unmarshallContractAvailShippingModes() --> . . </AvailShippingModes> <SerialNumber> <!-- unmarshalled by unmarshallSerialNumbers() --> . . </SerialNumber> <oa:Shipped> <!-- unmarshalled by unmarshallIsShipped() --> . . </oa:Shipped> <wc:FreeGift>true</wc:FreeGift> <!-- line.setFreeGift() --> <UserData/> <!-- unmarshalled by unmarshallUserData() --> </Line>
protected void unmarshallIsShipped(Line lineItem, org.w3c.dom.Element shippedElement)
<oa:Shipped> <oa:Code>YES</oa:Code> <!-- line.setShipped() --> </oa:Shipped>
protected void unmarshallSerialNumbers(Line line, java.util.ArrayList serialNoElements)
<oa:SerialNumber> <oa:Code>123</oa:Code> <!-- line.addSerialNumber() --> </oa:SerialNumber>
protected void unmarshallOrderCurrentCharges(SalesContainer salesContainer, org.w3c.dom.Element orderCurrentChargesElement)
<OrderCurrentCharges> <TotalCost currency="USD">0.00000</TotalCost> <!-- salesContainer.setCurrentChargeExtendedPrice --> <TotalTax currency="USD">0.00000</TotalTax> <!-- salesContainer.setCurrentChargeTaxAmount --> <DiscountAmount currency="USD">0.00000</DiscountAmount> <!-- salesContainer.setCurrentChargeDiscountAmount --> <TotalShipping currency="USD">0.00000</TotalShipping> <!-- salesContainer.setCurrentChargeShippingAmount --> <GrandTotal currency="USD">0.00000</GrandTotal> <!-- salesContainer.setCurrentChargeTotalAmount --> </OrderCurrentCharges>
protected void unmarshallOrderItem(Line line, org.w3c.dom.Element orderItemElement)
<ao:OrderItem> <oa:ItemIds> <!-- unmarshalled by unmarshallItemIds --> . . </oa:ItemIds> </oa:OrderItem>
protected void unmarshallOrderItem(SubLine subLine, org.w3c.dom.Element orderItemElement)
<ao:OrderItem> <oa:ItemStatus> <!-- unmarshalled by unmarshallItemStatus --> . . </oa:ItemStatus> </oa:OrderItem>
protected void unmarshallOrderStatus(Line lineItem, org.w3c.dom.Element orderStatusElement)
<oa:OrderStatus> <oa:Code>YES</oa:Code> <!-- salesContainer.setEditable() --> </oa:OrderStatus>
protected void unmarshallOrderStatus(SalesContainer salesContainer, org.w3c.dom.Element orderStatusElement)
<oa:OrderStatus> <oa:Code>NALC</oa:Code> <!-- salesContainer.setStatus() --> <oa:UserArea> <!-- unmarshalled by unmarshallOrderEditableStatus --> . </oa:UserArea> <oa:UserArea> <!-- unmarshalled by unmarshallOrderApporvalPendingStatus--> . </oa:UserArea> <oa:UserArea> <!-- unmarshalled by unmarshallOrderLockStatus --> . </oa:UserArea> <oa:UserArea> <!-- unmarshalled by unmarshallCheckOrderLock --> . </oa:UserArea> </oa:OrderStatus>
protected void unmarshallOrderEditableStatus(SalesContainer salesContainer, org.w3c.dom.Element orderStatusUserArea)
<oa:UserArea> <wc:isOrderEditable>NALC</wc:isOrderEditablee> <!-- salesContainer.setEditableStatus() --> </oa:UserArea>
protected void unmarshallOrderApporvalPendingStatus(SalesContainer salesContainer, org.w3c.dom.Element orderStatusUserArea)
<oa:UserArea> <wc:isOrderApprovalPending>NALC</wc:isOrderApprovalPending> <!-- salesContainer.setApprovalPendingStatus() --> </oa:UserArea>
protected void unmarshallOrderLockStatus(SalesContainer salesContainer, org.w3c.dom.Element orderStatusUserArea)
<oa:UserArea> <wc:isOrderLocked>NALC</wc:isOrderLocked> <!-- salesContainer.setTakeOverOrder() --> </oa:UserArea>
protected void unmarshallCheckOrderLock(SalesContainer salesContainer, org.w3c.dom.Element orderStatusUserArea)
<oa:UserArea> <wc:checkLock>NALC</wc:checkLock> <!-- salesContainer.setCheckLock() --> </oa:UserArea>
protected void unmarshallParties(Product product, org.w3c.dom.Element partiesElement)
<oa:Parties> <oa:PartyId/> <!-- product.setManufacturer() --> </oa:Parties>
protected void unmarshallParties(SalesContainer salesContainer, org.w3c.dom.Element partiesElement)
<oa:Parties> <oa:CustomerParty> <!-- unmarshalled by unmarshallCustomerParty() --> . . </oa:CustomerParty> <BillToParty> <!-- unmarshalled by unmarshallBillToParty() --> . . </BillToParty> </oa:Parties>
protected void unmarshallParties(Line line, org.w3c.dom.Element partiesElement)
<oa:Parties> <oa:CustomerParty> <!-- unmarshalled by unmarshallCustomerParty() --> . . </oa:CustomerParty> <oa:ShipToParty> <!-- unmarshalled by unmarshallShipToParty() --> . . </oa:ShipToParty> </oa:Parties>
protected void unmarshallPartyId(Customer customer, org.w3c.dom.Element partyIdElement)
<oa:PartyId> <oa:Id>43</oa:Id> <!-- customer.setMemberId() --> </oa:PartyId>
protected void unmarshallPartyId(Payment payment, org.w3c.dom.Element partyIdElement)
<oa:PartyId> <oa:Id>11304</oa:Id> <!-- payment.setBillingAddress --> </oa:PartyId>
protected void unmarshallPaymentInstruction(Payment payment, org.w3c.dom.Element paymentInstructionElement)
<PaymentInstruction> <PIId>10001</PIId> <!-- payment.setUniqueIdentifier() --> <PIAmount>143.99000</PIAmount> <!-- payment.setDiscountAmount() --> <PIMethod>VISA</PIMethod> <!-- payment.setPaymentMethodId() --> <PIDataEditable>true</PIDataEditable> <!-- payment.setPaymentDataEditable() --> <PIAmountEditable>true</PIAmountEditable> <!-- payment.setPaymentAmountEditable() --> <PIValid>true</PIValid> <!-- payment.setValid() --> <UserDataField name="XXXXX"> <!-- payment.addAttribute() --> . . </UserDataField> <UserDataField name="XXXXX"> <!-- payment.addAttribute()) --> . . </UserDataField> <UserDataField name="XXXXX"> <!-- payment.addAttribute() --> . . </UserDataField> </PaymentInstruction>
protected void unmarshallPaymentMethods(SalesContainer salesContainer, org.w3c.dom.Element paymentMethodsElement)
<PaymentMethods> <oa:PaymentMethodId>VISA</oa:PaymentMethodId> <!-- salesContainer.addAvailablePaymentMethod() --> <PaymentAttributes> <!-- salesContainer.setAvailablePaymentAttributes --> <PaymentAttribute> name="XXXX">value </PaymentAttribute> <PaymentAttribute> name="XXXX">value <:/PaymentAttribute> </PaymentAttributes> <oa:Addresses> <!-- unmarshalled by unmarshallBillingAddresses() --> . . </oa:Addresses> </PaymentMethods>
protected void unmarshallPaymentTerms(SalesContainer salesContainer, org.w3c.dom.Element paymentTermsElement)
<oa:PaymentTerms> <oa:DiscountAmount>43</oa:DiscountAmount> <!-- salesContainer.setDiscountAmount() --> <!-- unmarshalled by unmarshallAvailablePaymentMethods() --> . . </oa:PaymentTerms>
protected void unmarshallLinePaymentTerms(Line line, org.w3c.dom.Element paymentTermsElement)
<oa:PaymentTerms> <oa:DiscountAmount currency="USD">43</oa:DiscountAmount> <!-- line.setDiscountAmount() --> </oa:PaymentTerms>
protected void unmarshallLineContractID(Line line, org.w3c.dom.Element documentRefs)
<oa:DocumentReferences> <oa:ContractDocumentReference> <oa:DocumentIds> <oa:DocumentId> <oa:Id>10006</oa:Id> <!-- line.setContractID --> </oa:DocumentId> </oa:DocumentIds> </oa:ContractDocumentReference> </oa:DocumentReferences>
protected void unmarshallPerson(Customer customer, org.w3c.dom.Element personElement)
<oa:Person> <oa:PersonName> <!-- unmarshalled by unmarshallPersonName() --> . . </oa:PersonName> </oa:Person>
protected void unmarshallPersonName(Customer customer, org.w3c.dom.Element personNameElement)
<oa:PersonName> <oa:Salutation>Mr.</oa:Salutation> <!-- customer.setSalutation() --> <oa:GivenName>John</oa:GivenName> <!-- customer.setGivenName() --> <oa:PreferredGivenName>John</oa:PreferredGivenName> <!-- customer.setPreferredGivenName() --> <oa:MiddleName>Peter</oa:MiddleName> <!-- customer.setMiddleName() --> <oa:FamilyName>Smith</oa:FamilyName> <!-- customer.setFamilyName() --> <oa:Suffix>PHD</oa:Suffix> <!-- customer.setSuffix() --> </oa:PersonName>
protected void unmarshallPersonName(TsrName tsr, org.w3c.dom.Element personNameElement)
<oa:PersonName> <oa:Salutation>Mr.</oa:Salutation> <!-- tsr.setSalutation() --> <oa:GivenName>John</oa:GivenName> <!-- tsr.setGivenName() --> <oa:MiddleName>Peter</oa:MiddleName> <!-- tsr.setMiddleName() --> <oa:FamilyName>Smith</oa:FamilyName> <!-- tsr.setFamilyName() --> <oa:Suffix>PHD</oa:Suffix> <!-- tsr.setSuffix() --> <oa:FormattedName>John</oa:PreferredGivenName> <!-- tsr.setFormattedName() --> </oa:PersonName>
protected void unmarshallSalesContainer(SalesContainer salesContainer, org.w3c.dom.Element salesOrderElement)
<SalesOrder> <!-- if this is a quote, then the element will be Quote --> <Header> <!-- unmarshalled by unmarshallHeader() --> . . </Header> <Line> <!-- unmarshalled by unmarshallLine() --> . . </Line> <Line> <!-- unmarshalled by unmarshallLine() --> . . </Line> <OrderShippingInformation> <!-- unmarshalled by unmarshallShippingInformation() --> . . </OrderShippingInformation> <OrderHistoryExistedFlag>true<OrderHistoryExistedFlag> <!-- unmarshalled by unmarshallOrderHistoryExistedFlag() --> <OrderVersion> . <!-- unmarshalled by unmarshallOrderVersion() --> </OrderVersion> <OrderHistoryInformation> <!-- unmarshalled by unmarshallOrderHistoryInformation() --> </OrderHistoryInformation> <UserData/> <!-- unmarshalled by unmarshallUserData() --> </SalesOrder>
protected boolean getSpecifiedItemsOnly()
Example - GetSalescontainerItemsSpecificDetailsOnly=true, if user wants to fetch only items specific data from server. If the GetSalescontainerSpecificItemsDetailsOnly value is not set in the configuration file, then the default value false will be returned. Customer can also customize this method to change default value from false to return true.
protected void unmarshallOrderHistoryInformation(SalesContainer salesContainer, org.w3c.dom.Element parentElement)
<OrderHistoryInformation> <OrdHistRecordedTime>2006-05-10 16:16:49.593</OrdHistRecordedTime> <!-- orderChange.setRecordedTime() --> <OrdHistChangeReason>CHANGE BILLING ADDRESS</OrdHistChangeReason> <!-- orderChange.setReason() --> <OrdHistRecordedBy>wcsadmin</OrdHistRecordedBy> <!-- orderChange.setRecordedBy() --> <OrdHistChangeComment>comment</OrdHistChangeComment> <!-- orderChange.setComment() --> <OrdHistOrderVersion>0</OrdHistOrderVersion> <!-- orderVersion.setVersion() --> </OrderHistoryInformation>
protected void unmarshallOrderVersion(SalesContainer salesContainer, org.w3c.dom.Element orderVersionElement)
<OrderVersion>1</OrderVersion> <!-- salesContainer.setOrderVersion() -->
protected void unmarshallShipToParty(Line line, org.w3c.dom.Element shipToPartyElement)
<oa:ShipToParty> <oa:Addresses> <!-- unmarshalled by unmarshallContractAddresses() --> . . </oa:Addresses> </oa:ShipToParty>
protected void unmarshallSubLine(Line line, org.w3c.dom.Element subLineElement)
<SubLine> <oa:LineNumber>1000</oa:LineNumber> <!-- subLine.setLineNumber() --> <oa:OrderItem> <!-- unmarshalled by unmarshallOrderitem --> . . </oa:OrderItem> <oa:OrderQuantity uom="NMTOKEN">1</oa:OrderQuantity> <!-- subLine.setQuantity() --> <oa:ExtendedPrice currency="USD">199.99</oa:ExtendedPrice> <!-- subLine.setExtendedPrice() --> <oa:EarliestShipDate>2004-09-01</oa:EarliestShipDate> <!-- subLine.setEarliestShipDate() --> <DistributionCenter>10001</DistributionCenter> <!-- subLine.setFulfillmentCenter() --> <AllocatedQuantity uom="NMTOKEN">0</AllocatedQuantity> <!-- subLine.setQuantityAllocated() --> <!-- unmarshalled by unmarshallUserData() --> <wc:UserData> <!-- optional --> <wc:UserDataField name="name">value</wc:UserDataField> . </wc:UserData> </SubLine>
protected void unmarshallSupplierItemId(Line item, org.w3c.dom.Element supplierItemIdElement)
<oa:SupplierItemId> <oa:AssigningPartyId> <!-- unmarshalled by unmarshallAssigningPartyId() --> . . </oa:AssigningPartyId> </oa:SupplierItemid>
protected void unmarshallTax(SalesContainer salesContainer, org.w3c.dom.Element taxElement)
<oa:Tax> <oa:TaxAmount currency="USD">0.00000</oa:TaxAmount> <!-- salesContainer.addTaxAmount --> <oa:Charges> <!-- unmarshalled by unmarshallTaxCharges() --> . . </oa:Charges> </oa:Tax>
protected void unmarshallTaxCharges(SalesContainer salesContainer, org.w3c.dom.Element chargesElement)
<oa:Charges> <oa:TransportationCharge> <!-- unmarshalled by unmarshallTaxTransportationCharge() --> . . </oa:TransportationCharge> </oa:Charges>
protected void unmarshallTaxTransportationCharge(SalesContainer salesContainer, org.w3c.dom.Element transportationChargeElement)
<oa:TransportationCharge> <oa:Total currency="USD">0.00000</oa:Total> <!-- salesContainer.addTaxAmount --> </oa:TransportationCharge>
protected void unmarshallTransportationCharge(SalesContainer salesContainer, org.w3c.dom.Element transportationChargeElement)
<oa:TransportationCharge> <oa:Total currency="USD">0.00000</oa:Total> <!-- salesContainer.setTransportationCharge --> </oa:TransportationCharge>
protected void unmarshallMiscellaneousCharge(SalesContainer salesContainer, org.w3c.dom.Element miscellaneousChargeElement)
<oa:MiscellaneousCharge> <!-- salesContainer.addMiscellaneousCharge --> <oa:Id>10001</oa:Id> <!-- miscCharge.setUniqueIdentifier --> <oa:Total currency="USD">10.00</oa:Total> <!-- miscCharge.setCurrency and miscCharge.setAmount --> <oa:Description>Surchange Adjustment</oa:Description> <!-- miscCharge.setDescription() --> <wc:PromotionCode> <wc:Code>A12-34</wc:Code; <!-- miscCharge.setPromotionCode() --> </wc:PromotionCode> <!-- unmarshalled by unmarshallUserData() --> <wc:UserData> <!-- optional --> <wc:UserDataField name="name">value</wc:UserDataField> . </wc:UserData> </oa:MiscellaneousCharge>
protected void unmarshallLineMiscellaneousCharge(Line line, org.w3c.dom.Element miscellaneousChargeElement)
<oa:MiscellaneousCharge> <!-- line.addMiscellaneousCharge --> <oa:Id>10001</oa:Id> <!-- miscCharge.setUniqueIdentifier --> <oa:Total currency="USD">10.00</oa:Total> <!-- miscCharge.setCurrency and miscCharge.setAmount --> <oa:Description>Surchange Adjustment</oa:Description> <!-- miscCharge.setDescription() --> <wc:PromotionCode> <wc:Code>A12-34</wc:Code; <!-- miscCharge.setPromotionCode() --> </wc:PromotionCode> <!-- unmarshalled by unmarshallUserData() --> <wc:UserData> <!-- optional --> <wc:UserDataField name="name">value</wc:UserDataField> . </wc:UserData> </oa:MiscellaneousCharge>
protected void unmarshallShippingInformation(SalesContainer salesContainer, org.w3c.dom.Element orderShippingInformationElement)
<OrderShippingInformation> <ShippingAdjustments> <!-- unmarshalled by unmarshallShippingAdjustments() --> . . </ShippingAdjustments> <ShippingAdjustments> <!-- unmarshalled by unmarshallShippingAdjustments() --> . . </ShippingAdjustments> <ShippingInstructions><!-- unmarshalled by unmarshallShippingInstructions() --> . . </ShippingInstructions> <ShippingInstructions><!-- unmarshalled by unmarshallShippingInstructions() --> . . </ShippingInstructions> <ShippingCarriers><!-- unmarshalled by unmarshallShippingCarriers() --> . . </ShippingCarriers> <ShippingCarriers><!-- unmarshalled by unmarshallShippingCarriers() --> . . </ShippingCarriers> <UsableShipChargesAndAccountByShipMode> <!-- unmarshalled by unmarshallUsableShipChargesAndAccountByShipMode() --> . . </UsableShipChargesAndAccountByShipMode> <!-- unmarshalled by unmarshallUserData() --> <wc:UserData> <!-- optional --> <wc:UserDataField name="name">value</wc:UserDataField> . </wc:UserData> </OrderShippingInformation>
protected void unmarshallOrderHistoryExistedFlag(SalesContainer salesContainer, org.w3c.dom.Element orderHistoryExistedFlagElement)
<OrderHistoryExistedFlag>true<:OrderHistoryExistedFlag> <!-- salesContainer.setHistoryExisted -->
protected void unmarshallOrderIsEmptyFlag(SalesContainer salesContainer, org.w3c.dom.Element orderIsEmptyElement)
<IsEmpty>true<:IsEmpty> <!-- salesContainer.setIsEmpty -->
protected void unmarshallNextAvilableTieCode(SalesContainer salesContainer, org.w3c.dom.Element nextAvilableTieCodeElement)
<NextAvilableTieCode>7<:NextAvilableTieCode> <!-- salesContainer.setAvailableTieCode -->
protected void unmarshallUsableShipChargesAndAccountByShipMode(SalesContainer salesContainer, org.w3c.dom.Element usableShipChargesAndAccountByShipModeElement)
<UsableShipChargesAndAccountByShipMode> <ShipMode> <!-- unmarshalled by unmarshallShippingModes() --> . . </ShipMode> <ShipMode> <!-- unmarshalled by unmarshallShippingModes() --> . . </ShipMode> </UsableShipChargesAndAccountByShipMode>
protected void unmarshallShippingModes(ShippingMode shippingMode, org.w3c.dom.Element shippingModeElement)
<ShipMode> <Description> <!-- unmarshalled by unmarshallShipModeDescription() --> . </Description> <ShipModeId> <!-- unmarshalled by unmarshallShipModeId() --> . </ShipModeId> <ShipCharge> <!-- unmarshalled by unmarshallShippingChargeElement() --> . . </ShipCharge> <!-- unmarshalled by unmarshallUserData() --> <wc:UserData> <!-- optional --> <wc:UserDataField name="name">value</wc:UserDataField> . </wc:UserData> </ShipMode>
protected void unmarshallShippingChargeElement(ShipCharge shipCharge, org.w3c.dom.Element shipChargeElement)
<ShipCharge> <CarrierAccount> <!-- unmarshalled by unmarshallShipChargeCarrierAccountId() --> . </CarrierAccount> <InternalPolicyId> <!-- unmarshalled by unmarshallShipChargeInternalPolicyId() --> . </InternalPolicyId> <PolicyId> <!-- unmarshalled by unmarshallShipChargePolicyId() --> . </PolicyId> <PolicyName> <!-- unmarshalled by unmarshallShipChargePolicyName() --> . </PolicyName> <Selected> <!-- unmarshalled by unmarshallShipChargeSelected() --> . </Selected> <!-- unmarshalled by unmarshallUserData() --> <wc:UserData> <!-- optional --> <wc:UserDataField name="name">value</wc:UserDataField> . </wc:UserData> </ShipCharge>
protected void unmarshallShipModeId(ShippingMode shippingMode, org.w3c.dom.Element shipModeIdElement)
<ShipModeId>10003</ShipModeId> <!-- shippingMode.setModeId -->
protected void unmarshallShipModeDescription(ShippingMode shippingMode, org.w3c.dom.Element shipModeDescriptionlement)
<Description>Courier</Description> <!-- shippingMode.setDescription -->
protected void unmarshallShipChargeCarrierAccountId(ShipCharge shipCharge, org.w3c.dom.Element shipCarrierAccountElement)
<CarrierAccount>11</CarrierAccount> <!-- shipCharge.setCarrierAccount -->
protected void unmarshallShipChargeInternalPolicyId(ShipCharge shipCharge, org.w3c.dom.Element shipChargeInternalPolicyIdElement)
<InternalPolicyId>7001</InternalPolicyId> <!-- shipCharge.setInternalPolicyId -->
protected void unmarshallShipChargePolicyId(ShipCharge shipCharge, org.w3c.dom.Element shipChargePolicyIdElement)
<PolicyId>shipCharge.setInternalPolicyId</PolicyId> <!-- shipCharge.setPolicyId -->
protected void unmarshallShipChargePolicyName(ShipCharge shipCharge, org.w3c.dom.Element shipChargePolicyNameElement)
<PolicyName>StandardShippingChargeBySeller</PolicyName> <!-- shipCharge.setPolicyName -->
protected void unmarshallShipChargeSelected(ShipCharge shipCharge, org.w3c.dom.Element shipChargeSelectedElement)
<Selected>true</Selected> <!-- shipCharge.setSelected -->
protected void unmarshallShippingAdjustments(ShippingInfo info, org.w3c.dom.Element shippingAdjustmentsElement)
<ShippingAdjustments> <ShipModeId> <!-- unmarshalled by unmarshallShipModeId() --> . . </ShipModeId> <ShippingAdjustmentFloorPercent> <!-- unmarshalled by unmarshallShippingAdjustmentFloorPercent() --> . . </ShippingAdjustmentFloorPercent> <ShippingAdjustmentFloorCost> <!-- unmarshalled by unmarshallShippingAdjustmentFloorCost() --> . . </ShippingAdjustmentFloorCost> <ShippingAdjustmentFloorAmtOff> <!-- unmarshalled by unmarshallShippingAdjustmentFloorAmtOff() --> . . </ShippingAdjustmentFloorAmtOff> <ActualShippingChargeTotalAmount> <!-- unmarshalled by unmarshallActualShippingChargeTotalAmount() --> . . </ActualShippingChargeTotalAmount> <ShippedItemsShippingChargeTotalAmount> <!-- unmarshalled by unmarshallShippedItemsShippingChargeTotalAmount() --> . . </ShippedItemsShippingChargeTotalAmount> <PrevShippingAdjustments> <!-- unmarshalled by unmarshallPrevShippingAdjustments() --> . . </PrevShippingAdjustments> <!-- unmarshalled by unmarshallUserData() --> <wc:UserData> <!-- optional --> <wc:UserDataField name="name">value</wc:UserDataField> . </wc:UserData> </ShippingAdjustments>
protected void unmarshallPrevShippingAdjustments(ShippingAdjustments shippingAdjustment, org.w3c.dom.Element prevShippingAdjustmentsElement)
<PrevShippingAdjustments> <OriginalShippingCost> <!-- unmarshalled by unmarshallOriginalShippingCost() --> . . </OriginalShippingCost> <PrevShippingCost> <!-- unmarshalled by unmarshallPrevShippingCost() --> . . </PrevShippingCost> <PrevDiscountPercent> <!-- unmarshalled by unmarshallPrevDiscountPercent() --> . . </PrevDiscountPercent> <TSRName> <!-- unmarshalled by unmarshallTsrName() --> . . </TSRName> <!-- unmarshalled by unmarshallUserData() --> <wc:UserData> <!-- optional --> <wc:UserDataField name="name">value</wc:UserDataField> . </wc:UserData> </PrevShippingAdjustments>
protected void unmarshallShippingInstructions(ShippingInfo info, org.w3c.dom.Element shippingInstructionsElement)
<ShippingInstructions> <ShipModeId>12346</ShipModeId> <!-- unmarshalled by unmarshallShipModeId--> <AddressId>12346788</AddressId> <!-- unmarshalled by unmarshallAddressId--> <ShippingInstruction>Leave on back porch</ShippingInstruction> <!-- unmarshalled by unmarshallShippingInstruction--> <!-- unmarshalled by unmarshallUserData() --> <wc:UserData> <!-- optional --> <wc:UserDataField name="name">value</wc:UserDataField> . </wc:UserData> </ShippingInstructions>
protected void unmarshallShippingCarriers(ShippingInfo info, org.w3c.dom.Element shippingCarriersElement)
<ShippingCarriers> <ShipModeId>12346</ShipModeId> <!-- unmarshalled by unmarshallShipModeId() --> <AddressId>-1</AddressId> <!-- unmarshalled by unmarshallAddressId() --> <CarrierAccount>23423ABS23525</CarrierAccount> <!-- unmarshalled by unmarshallCarrierAccount() --> <ShipChargeAccountType>Charge Type</ShipChargeAccountType> <!-- unmarshalled by unmarshallShipChargeAccountType() --> <!-- unmarshalled by unmarshallUserData() --> <wc:UserData> <!-- optional --> <wc:UserDataField name="name">value</wc:UserDataField> . </wc:UserData> </ShippingCarriers>
protected void unmarshallTsrName(PrevShippingAdjustments prevShippingAdjustment, org.w3c.dom.Element tsrNameElement)
<TSRName > <oa:PersonName> <!-- unmarshalled by unmarshallPersonName() --> . . </oa:PersonName> <!-- unmarshalled by unmarshallUserData() --> <wc:UserData> <!-- optional --> <wc:UserDataField name="name">value</wc:UserDataField> . </wc:UserData> lt;/TSRName>
protected void unmarshallPrevDiscountPercent(PrevShippingAdjustments prevShippingAdjustment, org.w3c.dom.Element prevDiscountPercentElement)
<PrevDiscountPercent >30</PrevDiscountPercent> <!-- prevShippingAdjustment.setCurrentPercentOff -->
protected void unmarshallPrevShippingCost(PrevShippingAdjustments prevShippingAdjustment, org.w3c.dom.Element prevShippingCostElement)
<PrevShippingCost currency="USD">100.30</PrevShippingCost> <!-- prevShippingAdjustment.setCurrentCostCurrency; prevShippingAdjustment.setCurrentCost -->
protected void unmarshallOriginalShippingCost(PrevShippingAdjustments prevShippingAdjustment, org.w3c.dom.Element originalShippingCostElement)
<OriginalShippingCost currency="USD">100.30</OriginalShippingCost> <!-- prevShippingAdjustment.setOriginalPriceCurrency; prevShippingAdjustment.setOriginalPrice -->
protected void unmarshallShippingAdjustmentFloorAmtOff(ShippingAdjustments shippingAdjustment, org.w3c.dom.Element shippingAdjustmentFloorAmtOffElement)
<ShippingAdjustmentFloorAmtOff currency="USD">100.30</ShippingAdjustmentFloorAmtOff> <!-- shippingAdjustment.setFloorAmountOffCurrency; shippingAdjustment.setFloorAmountOff -->
protected void unmarshallShippingAdjustmentFloorCost(ShippingAdjustments shippingAdjustment, org.w3c.dom.Element shippingAdjustmentFloorCostElement)
<ShippingAdjustmentFloorCost currency="USD">100.30</ShippingAdjustmentFloorCost> <!-- shippingAdjustment.setFloorCostCurrency; shippingAdjustment.setFloorCost -->
protected void unmarshallShippingAdjustmentFloorPercent(ShippingAdjustments shippingAdjustment, org.w3c.dom.Element shippingAdjustmentFloorPercentElement)
<ShippingAdjustmentFloorPercent>15</ShippingAdjustmentFloorPercent> <!-- shippingAdjustment.setFloorPercent -->
protected void unmarshallActualShippingChargeTotalAmount(ShippingAdjustments shippingAdjustment, org.w3c.dom.Element actualShippingChargeTotalAmountElement)
<ActualShippingChargeTotalAmount currency="USD">100.30</ActualShippingChargeTotalAmount> <!-- shippingAdjustment.setCurrentShippingChargeAmount; -->
protected void unmarshallShippedItemsShippingChargeTotalAmount(ShippingAdjustments shippingAdjustment, org.w3c.dom.Element shippedItemsShippingChargeTotalAmountElement)
<ShippedItemsShippingChargeTotalAmount currency="USD">100.30</ShippedItemsShippingChargeTotalAmount> <!-- shippingAdjustment.setShippedItemsShippingChargeTotalAmount; -->
protected void unmarshallShipModeId(ShippingAdjustments shippingAdjustment, org.w3c.dom.Element shipModeIdElement)
<ShipModeId>10003</ShipModeId> <!-- shippingAdjustment.setShipModeId -->
protected void unmarshallShipModeId(ShippingInstructions shippingInstruction, org.w3c.dom.Element shipModeIdElement)
<ShipModeId>10003</ShipModeId> <!-- shippingInstruction.setShipModeId -->
protected void unmarshallShipModeId(ShippingCarriers shippingCarrier, org.w3c.dom.Element shipModeIdElement)
<ShipModeId>10003</ShipModeId> <!-- shippingCarrier.setShipModeId -->
protected void unmarshallAddressId(ShippingInstructions shippingInstruction, org.w3c.dom.Element addressIdElement)
<AddressId>1100lt;/AddressId> <!-- shippingInstruction.setAddressId -->
protected void unmarshallAddressId(ShippingCarriers shippingCarrier, org.w3c.dom.Element addressIdElement)
<AddressId>1100lt;/AddressId> <!-- shippingCarrier.setAddressId -->
protected void unmarshallShippingInstruction(ShippingInstructions shippingInstruction, org.w3c.dom.Element shippingInstructionElement)
<ShippingInstruction>1100lt;/ShippingInstruction> <!-- shippingInstruction.setShippingInstruction -->
protected void unmarshallCarrierAccount(ShippingCarriers shippingCarrier, org.w3c.dom.Element carrierAccountElement)
<CarrierAccount>1100ABC00lt;/CarrierAcount> <!-- shippingCarrier.setShippingCarrier -->
protected void unmarshallShipChargeAccountType(ShippingCarriers shippingCarrier, org.w3c.dom.Element shipChargeAccountTypeElement)
<ShipChargeAccountType>-7001;/ShipChargeAccountType> <!-- shippingCarrier.setShipChargeAccountType -->
protected void unmarshallTransportationTerm(Line line, org.w3c.dom.Element transportationTermElement)
<oa:TransportationTerm> <oa:TermCode>10003</oa:TermCode> <!-- line.setShippingMode --> </oa:TransportationTerm>
protected void unmarshallUnitPrice(Product product, org.w3c.dom.Element unitPriceElement)
<oa:UnitPrice> <oa:Amount currency="USD">99.99</oa:Amount> <!-- product.setUnitPrice, product.setCurrency --> <!-- unmarshalled by unmarshallUserData() --> <wc:UserData> <!-- optional --> <wc:UserDataField name="name">value</wc:UserDataField> . </wc:UserData> </oa:UnitPrice>
protected void unmarshallContractUnitPrice(Product product, org.w3c.dom.Element itemPriceElement)
<oa:ItemPrice> <oa:UnitPrice> <oa:Amount currency="USD">99.99</oa:Amount> <!-- product.setUnitPrice, product.setCurrency --> </oa:UnitPrice> <oa:DocumentReferences> <oa:ContractDocumentReference> <oa:DocumentIds> <oa:DocumentId> <oa:Id>10006</oa:Id> <!-- price.setContractId --> </oa:DocumentId> </oa:DocumentIds> </oa:ContractDocumentReference> </oa:DocumentReferences> <!-- unmarshalled by unmarshallUserData() --> <wc:UserData> <!-- optional --> <wc:UserDataField name="name">value</wc:UserDataField> . </wc:UserData> </oa:ItemPrice>
protected void unmarshallUnitPrice(Line line, org.w3c.dom.Element unitPriceElement)
<oa:UnitPrice> <oa:Amount currency="USD">99.99</oa:Amount> <!-- line.setCurrency --> </oa:UnitPrice>
protected void unmarshallExpediteOrderItem(Line line, org.w3c.dom.Element lineElement)
<wc:ExpediteOrderItem> < Y < line.setExpedite(true) or < N <!-- line.setExpedite(false) --> </wc:ExpediteOrderItem>
protected void unmarshallUserAccount(Customer customer, org.w3c.dom.Element userAccountElement)
<UserAccount> <Authorization> <!-- unmarshalled by unmarshallAuthorization() --> . . </Authorization> </UserAccount>
protected void unmarshallOrderBlocks(SalesContainer salesContainer, org.w3c.dom.Element orderBlocksElement)
<OrderBlocks> <OrderBlock> <BlockId>1234</BlockId> <BlockReasonCodeId>5010</BlockReasonCodeId> <Description>The customer acted like a real jerk</Description> <ResolvedInd>false</ResolvedInd> <BlockDate>2004-09-09T10:32:15-0334</BlockDate> <!-- unmarshalled by unmarshallUserData() --> <wc:UserData> <!-- optional --> <wc:UserDataField name="name">value</wc:UserDataField> . </wc:UserData> </OrderBlock> </OrderBlocks>
protected void unmarshallBlockReasonCode(OrderBlock orderBlock, org.w3c.dom.Element blockElement)
protected void unmarshallBusinessChannel(SalesContainer salesContainer, org.w3c.dom.Element businessChannelElement)
<BusinessChannel> <BusinessChannelId></BusinessChannelId> <BusinessChannelName></BusinessChannelName> <Description></Description> <Name></Name> <!-- unmarshalled by unmarshallUserData() --> <wc:UserData> <!-- optional --> <wc:UserDataField name="name">value</wc:UserDataField> . </wc:UserData> </BusinessChannel>
protected void unmarshallBillingAddresses(Address[] addresses, java.util.ArrayList addressList)
<oa:Addresses> <Address type="SB"> <!-- Address.setType --> <oa:AddressId>10302</oa:AddressId> <!-- Address.setAddressId() --> <oa:AddressLine>8200 Warden Avenue</oa:AddressLine> <!-- Address.setAddressLine1() --> <oa:AddressLine>line 2</oa:AddressLine> <!-- Address.setAddressLine2() --> <oa:AddressLine>line 3</oa:AddressLine> <!-- Address.setAddressLine2() --> <oa:City>Markham</oa:City> <!-- Address.setTownCity() --> <wc:StateOrProvinceCode>ON</wc:StateOrProvinceCode> <!-- Address.setStateProvinceCode() --> <wc:CountryCode>CA</wc:CountryCode> <!-- Address.setCountryCode() --> <oa:PostalCode>L6G 1C7</oa:PostalCode> <!-- Address.setPostalCode() --> <AddressNickName>home</AddressNickName> <!-- Address.setAddressNickName() --> <!-- unmarshalled by unmarshallUserData() --> <wc:UserData> <!-- optional --> <wc:UserDataField name="name">value</wc:UserDataField> . </wc:UserData> </Address> <Address> . . </Address> </Addresses>
protected void unmarshallBusiness(Customer customer, org.w3c.dom.Element businessElement)
<oa:Business> <oa:Function>O</oa:Funcstion> <!-- organization.setOrganizationFunction() --> <oa:Name>Business Category</oa:Name> <!-- organization.setCategory() --> <oa:RelatedUnit> <!-- unmarshalled by unmarshallRelatedUnit() --> . . </oa:RelatedUnit> <!-- unmarshalled by unmarshallUserData() --> <wc:UserData> <!-- optional --> <wc:UserDataField name="name">value</wc:UserDataField> . </wc:UserData> </oa:Business>
protected void unmarshallBusiness(SalesContainer salesContainer, org.w3c.dom.Element businessElement)
<oa:Business> <oa:Function>O</oa:Funcstion> <!-- organization.setOrganizationFunction() --> <oa:Name>Business Category</oa:Name> <!-- organization.setCategory() --> <oa:RelatedUnit> <!-- unmarshalled by unmarshallRelatedUnit() --> . . </oa:RelatedUnit> <!-- unmarshalled by unmarshallUserData() --> <wc:UserData> <!-- optional --> <wc:UserDataField name="name">value</wc:UserDataField> . </wc:UserData> </oa:Business>
protected void unmarshallRelatedUnit(Organization organization, org.w3c.dom.Element relatedUnitElement)
<oa:RelatedUnit> <oa:Unit> <!-- unmarshalled by unmarshallUnit() --> . . </oa:Unit> </oa:RelatedUnit>
protected void unmarshallUnit(Organization organization, org.w3c.dom.Element unitElement)
<oa:Unit> <oa:Id>700000100000009001</oa:Id> <!-- organization.setOrganizationEntityID() --> <oa:Name>Default Organization</oa:Name> <!-- organization.setOrganizationName() --> </oa:Unit>
protected void unmarshallOrderPromotionCodes(SalesContainer salesContainer, org.w3c.dom.Element orderPromotionCodesElement)
<wc:OrderPromotionCodes> <!-- unmarshalled by unmarshallPromotionCode() --> . . </wc:OrderPromotionCodes>
protected void unmarshallPromotionCode(com.ibm.commerce.telesales.model.OrderPromotionCode promotion, org.w3c.dom.Element promotionCodesElement)
<wc:PromotionCode> <wc:Code>102</wc:Code> <wc:Description>Save 20% on all Brake Pads!</wc:Description> <UserData/> <!-- unmarshalled by unmarshallUserData() --> </wc:PromotionCode>
protected void resolveProducts(SalesContainer salesContainer)
protected boolean isMAProductDetailsNeeded()
protected boolean isMerchandisingAssociationsRequired(SalesContainer salesContainer)
protected void resolveAddresses(SalesContainer salesContainer)
protected void resolveOrderingCustomer(SalesContainer salesContainer)
protected org.w3c.dom.Document maskRequestBod(org.w3c.dom.Document bod)
protected org.w3c.dom.Document maskResponseBod(org.w3c.dom.Document bod)
protected java.lang.Boolean isPaginationEnabled()
Example - PaginationEnabled=false, if user wants to disable the pagination. If the PaginationEnabled value is not set in the configuration file, then the default value Boolean.TRUE will be returned.