com.ibm.commerce.taxation.commands

Interface GetDisplayTaxesCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
    All Known Implementing Classes:
    GetDisplayTaxesCmdImpl, GetDisplayVATTaxesCmdImpl


    public interface GetDisplayTaxesCmd
    extends TaskCommand
    The interface sets the tax amounts for each of the tax categories that have been marked for display for the input catalog entry.
    • Method Detail

      • getCategorizedTaxAmount

        java.util.Hashtable getCategorizedTaxAmount()
        Returns the monetary amounts of all tax categories and their names.
        Returns:
        The monetary amounts of all tax categories and their corresponding category names/ids.
      • getTaxDescriptionHash

        java.util.Hashtable getTaxDescriptionHash()
        Gets the descriptions of all tax categories.
        Returns:
        The descriptions, names or ids of all tax categories.
      • getTaxRateHash

        java.util.HashMap getTaxRateHash()
        Gets the rates of all tax categories.
        Returns:
        The rates of all tax categories.
      • setAddressId

        void setAddressId(java.lang.Long aAddressId)
        Sets the id of the input ship-to address (Optional).
        Parameters:
        aAddressId - The reference number of the ship-to address.
      • setCatEntryId

        void setCatEntryId(java.lang.Long aCatEntryId)
        Sets the id of the input catalog entry.
        Parameters:
        aCatEntryId - The reference number of the catalog entry.
      • setCurrency

        void setCurrency(java.lang.String aCurrency)
        Sets the currency of the input price amount.
        Parameters:
        aCurrency - The currency of the input price amount.
      • setDisplayOnly

        void setDisplayOnly(boolean abDisplayOnly)
        Sets the flag to indicate if the taxes are calculated for display purpose (Optional).
        Parameters:
        abDisplayOnly - To indicate if it is for display use only. A true value (default) means for display. A false value means not for display.
      • setFulfillmentCenterId

        void setFulfillmentCenterId(java.lang.Integer aFulfillmentCenterId)
        Sets the id of the fulfillment center (Optional).
        Parameters:
        aFulfillmentCenterId - The reference number of the fulfillment center.
      • setPrice

        void setPrice(java.math.BigDecimal aPrice)
        Sets the product price for calculating the taxes.
        Parameters:
        aPrice - The product price for calculating the taxes.
      • setQuantity

        void setQuantity(java.lang.Double aQuantity)
        Sets the product quantity for calculating the taxes.
        Parameters:
        aQuantity - The product quantity for calculating the taxes.
      • setShippingCharge

        void setShippingCharge(java.math.BigDecimal aShippingCharge)
        Sets the shipping charge for the shipping the product.
        Parameters:
        aShippingCharge - The product shipping charge.
      • setUOM

        void setUOM(java.lang.String astrUOM)
        Sets the unit of measure for the product.
        Parameters:
        astrUOM - The unit of measure for the product.