Skip navigation links
org.broadleafcommerce.core.order.domain

Interface FulfillmentOption

    • Method Detail

      • getId

        Long getId()
      • setId

        void setId(Long id)
      • getName

        String getName()
        Gets the name displayed to the user when they selected the FulfillmentOption for their order. This might be "2-day" or "Super-saver shipping"
        Returns:
        the display name for this option
      • setName

        void setName(String name)
        Set the display name for this option that will be shown to the user to select from such as "2-day" or "Express" or "Super-saver shipping"
        Parameters:
        name - - the display name for this option
      • getLongDescription

        String getLongDescription()
        Gets the long description for this option which can be shown to the user to provide more information about the option they are selecting. An example might be that this is shipped the next business day or that it requires additional processing time
        Returns:
        the description to display to the user
      • setLongDescription

        void setLongDescription(String longDescription)
        Sets the long description for this option to show to the user when they select an option for fulfilling their order
        Parameters:
        longDescription - - the description to show to the user
      • getUseFlatRates

        Boolean getUseFlatRates()
        Tells the FulfillmentPricingProvider whether it should try to use the flat rate cost for a Sku rather than try to factor that Sku into its shipping calculation. This defaults to true
        Returns:
        true if the FulfillmentPricingProvider should use the flat rate on a Sku when it's available rather than try to calculate shipping for it, false otherwise. Default value is true
      • setUseFlatRates

        void setUseFlatRates(Boolean useFlatRates)
        Tells the FulfillmentPricingProvider whether it should try to use the flat rate cost for a Sku rather than try to factor that Sku into its shipping calculation
        Parameters:
        useFlatRates -
      • getFulfillmentType

        FulfillmentType getFulfillmentType()
        Gets the type of fulfillment that this option supports
        Returns:
        the type of this option
      • setFulfillmentType

        void setFulfillmentType(FulfillmentType fulfillmentType)
        Sets the type of fulfillment that this option supports
        Parameters:
        fulfillmentType -
      • setTaxCode

        void setTaxCode(String taxCode)
        Sets the taxCode of the particular option
        Parameters:
        taxCode -
      • getTaxCode

        String getTaxCode()
        Returns taxCode of option
        Returns:
      • getTaxable

        Boolean getTaxable()
        Returns if option is taxable
        Returns:
      • setTaxable

        void setTaxable(Boolean taxable)
        Sets taxability of option
        Parameters:
        taxable -

Copyright © 2019. All rights reserved.