com.ibm.commerce.order.commands

Class AbstractOrderCalculateExternalCmdImpl

    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM Copyright notice field.
        See Also:
        Constant Field Values
      • CLASS_NAME

        public static final java.lang.String CLASS_NAME
        The name of this class.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AbstractOrderCalculateExternalCmdImpl

        public AbstractOrderCalculateExternalCmdImpl()
    • Method Detail

      • getPromotionCodeTypeList

        public java.util.List getPromotionCodeTypeList()
        Get the list of object of PromotionCodeType
        Returns:
        The list of object of PromotionCodeType
      • setPromotionCodeTypeList

        public void setPromotionCodeTypeList(java.util.List promotionCodeTypeList)
        Set the list of object of PromotionCodeType
        Parameters:
        promotionCodeTypeList -
      • getPromotionCodes

        public java.lang.String[] getPromotionCodes()
        Get the array of promotion code.
        Returns:
        The array of promotion code.
      • setsPromotionCodes

        public void setsPromotionCodes(java.lang.String[] arrayPromotionCode)
        Set the array of promotion code.
        Parameters:
        arrayPromotionCode -
      • getPricingDate

        public java.lang.String getPricingDate()
        Get the pricing date.
        Returns:
        The pricing date.
      • setPricingDate

        public void setPricingDate(java.lang.String date)
        Set the pricing date.
        Parameters:
        date -
      • getHshPartNumber2CorrelationGroupMap

        public java.util.HashMap getHshPartNumber2CorrelationGroupMap()
        This method returns the map of of free gift before performing order calculation. This is for the case of splitting free gift order item from Sterling side.
        Returns:
        The map of PartNumber to correlation group
      • setHshPartNumber2CorrelationGroupMap

        public void setHshPartNumber2CorrelationGroupMap(java.util.HashMap ihshPartNumber2CorrelationGroupMap)
        This method sets the map of free gift before performing order calculation.
        Parameters:
        ihshPartNumber2CorrelationGroupMap -
      • getHshOrderItemId2CorrelationGroupMap

        public java.util.HashMap getHshOrderItemId2CorrelationGroupMap()
        This method returns the map of of the OrderItems.
        Returns:
        The hashMap
      • setHshOrderItemId2CorrelationGroupMap

        public void setHshOrderItemId2CorrelationGroupMap(java.util.HashMap ihshOrderItemId2CorrelationGroupMap)
        This method sets the map of the OrderItems.
        Parameters:
        ihshOrderItemId2CorrelationGroupMap - The input hash map.
      • getOrderId

        public java.lang.String getOrderId()
        Get order id.
        Returns:
        The order id.
      • setOrderId

        public void setOrderId(java.lang.String iOrderId)
        Set order id.
        Parameters:
        iOrderId - The order id.
      • getCalculationUsageIds

        public java.lang.String getCalculationUsageIds()
        Get CalculationUsageIds.
        Returns:
        The CalculationUsageIds.
      • setCalculationUsageIds

        public void setCalculationUsageIds(java.lang.String iCalculationUsageIds)
        Set CalculationUsageIds.
        Parameters:
        iCalculationUsageIds - The string of CalculationUsageIds.
      • getOrderStoreId

        public java.lang.String getOrderStoreId()
        Get order store id.
        Returns:
        The order store id.
      • setOrderStoreId

        public void setOrderStoreId(java.lang.String iOrderStoreId)
        Set order store id.
        Parameters:
        iOrderStoreId - The order store id.
      • getPriceUpdateFlag

        public java.lang.String getPriceUpdateFlag()
        Get price update flag.
        Returns:
        The price update flag.
      • setPriceUpdateFlag

        public void setPriceUpdateFlag(java.lang.String iPriceUpdateFlag)
        Set price update flag.
        Parameters:
        iPriceUpdateFlag - The price update flag.
      • getOrderAB

        public OrderAccessBean getOrderAB()
        Get order access bean.
        Returns:
        The order access bean.
      • setOrderAB

        public void setOrderAB(OrderAccessBean iOrderAB)
        Set order access bean.
        Parameters:
        iOrderAB - The order access bean.
      • getPaymentMethodName

        public java.lang.String getPaymentMethodName()
        Get the name of the payment method.
        Returns:
        The order name of the payment method.
      • setPaymentMethodName

        public void setPaymentMethodName(java.lang.String paymentMethod)
        Set the name of the payment method.
        Parameters:
        paymentMethod - The name of the payment method.
      • getCatentryCount

        public java.lang.Integer getCatentryCount()
        Get catalog entry count.
        Returns:
        The catalog entry count.
      • setCatentryCount

        public void setCatentryCount(java.lang.Integer iCatentryCount)
        Set catalog entry count.
        Parameters:
        iCatentryCount - The catalog entry count.
      • getMemberId

        public java.lang.String getMemberId()
        Get member id.
        Returns:
        The member id.
      • setMemberId

        public void setMemberId(java.lang.String iMemberId)
        Set memberId.
        Parameters:
        iMemberId - The memberId.
      • getOrderType

        public java.lang.String getOrderType()
        Get order type.
        Returns:
        The order type.
      • setOrderType

        public void setOrderType(java.lang.String iOrderType)
        Set order type.
        Parameters:
        iOrderType - The order type.
      • getContractId

        public java.lang.String getContractId()
        Get contractId.
        Returns:
        The contractId.
      • setContractId

        public void setContractId(java.lang.String iContractId)
        Set contractId.
        Parameters:
        iContractId - The contractId.
      • getExternalOrderId

        public java.lang.String getExternalOrderId()
        Get external order id.
        Returns:
        The externalOrderId.
      • setExternalOrderId

        public void setExternalOrderId(java.lang.String iExternalOrderId)
        Set external order id.
        Parameters:
        iExternalOrderId - The external order id.
      • getOrderExisting

        public java.lang.Boolean getOrderExisting()
        Get order existing flag.
        Returns:
        The orderExisting.
      • setOrderExisting

        public void setOrderExisting(java.lang.Boolean iOrderExisting)
        Set order existing flag.
        Parameters:
        iOrderExisting - The order existing flag.
      • getShippingModeId

        public java.lang.String getShippingModeId()
        Get shipping mode id.
        Returns:
        The shippingModeId.
      • setShippingModeId

        public void setShippingModeId(java.lang.String iShippingModeId)
        Set shipping mode id.
        Parameters:
        iShippingModeId - The shipping mode id.
      • getCurrency

        public java.lang.String getCurrency()
        Get currency.
        Returns:
        The currency.
      • setCurrency

        public void setCurrency(java.lang.String iCurrency)
        Set currency.
        Parameters:
        iCurrency - The currency.
      • getCalculationProperty

        public TypedProperty getCalculationProperty()
        Get calculationProperty.
        Returns:
        The calculationProperty.
      • setCalculationProperty

        public void setCalculationProperty(TypedProperty iCalculationProperty)
        Set calculationProperty.
        Parameters:
        iCalculationProperty - The calculationProperty.
      • getPriceInformationOnlySet

        public java.util.Set getPriceInformationOnlySet()
        Get priceInformationOnlySet.
        Returns:
        The priceInformationOnlySet.
      • setPriceInformationOnlySet

        public void setPriceInformationOnlySet(java.util.Set iPriceInformationOnlySet)
        Set priceInformationOnlySet.
        Parameters:
        iPriceInformationOnlySet - The iPriceInformationOnlySet.
      • getOrderItem2IsPriceInformationOnlyMap

        public java.util.Map getOrderItem2IsPriceInformationOnlyMap()
        Get orderItem2IsPriceInformationOnlyMap.
        Returns:
        The orderItem2IsPriceInformationOnlyMap.
      • setOrderItem2IsPriceInformationOnlyMap

        public void setOrderItem2IsPriceInformationOnlyMap(java.util.Map iOrderItem2IsPriceInformationOnlyMap)
        Set orderItem2IsPriceInformationOnlyMap.
        Parameters:
        iOrderItem2IsPriceInformationOnlyMap - The orderItem2IsPriceInformationOnlyMap.
      • setOrderItemRequestParameters

        public void setOrderItemRequestParameters()
                                           throws ECException
        This method sets the parameters for order item.
        Throws:
        ECException
      • setOrderRequestParameters

        public void setOrderRequestParameters()
                                       throws ECException
        This method sets the parameters for order.
        Throws:
        ECException