Serialized Form

  • Package com.broadleafcommerce.fulfillment.common.domain

    • Class com.broadleafcommerce.fulfillment.common.domain.FulfillmentPricingGroup

      class FulfillmentPricingGroup extends Object implements Serializable
      serialVersionUID:
      1L
      • Serialized Fields

        • address
          @NonNull Address address
          The fulfillment address. This could be either a Ship-To address or a Store address. Calculators are configured to work with certain destinations and will use the passed in address to select the best calculator. Some implementations may work without any address information, most will require at least a country. Some calculator configurations may require state and even postal code to compute the correct shipping options and prices.
        • fulfillmentType
          @NonNull String fulfillmentType
          The fulfillment type of this group. This is typically SHIP or PICKUP, but may otherwise be defined by the implementor, as needed. This provides context for the address. All items in this group are expected to have the same fulfillment type.
        • groupSubtotal
          javax.money.MonetaryAmount groupSubtotal
          Optional merchandise subtotal of the Fulfillment Group. System will attempt to calculate from the contained fulfillment items if not provided.
        • id
          @NonNull String id
          The reference number of the FulfillmentGroup that this group represents.
        • items
          @NonNull List<FulfillmentPricingItem> items
          List of items in this group that need to be fulfilled.
        • serviceLevel
          String serviceLevel
          Service level for the group. Applicable if pricing for the group; otherwise can work as a default for item level pricing where the service level is not set.
        • totalGroupWeight
          Weight totalGroupWeight
          Optional aggregate weight of all items in the group. System will attempt to calculate from the contained fulfillment items if not provided.
    • Class com.broadleafcommerce.fulfillment.common.domain.FulfillmentPricingItem

      class FulfillmentPricingItem extends Object implements Serializable
      serialVersionUID:
      1L
      • Serialized Fields

        • dimensions
          Dimensions dimensions
          Dimensions per unit.
        • flatRates
          Map<String,javax.money.MonetaryAmount> flatRates
          A List of Flat Rates to consider when pricing Fulfillment Options. This is a Map keyed by the service level with a MonetaryAmount. Note that the Inventory Type and Fulfillment Type are implicit on the FulfillmentPricingGroup, so the service level in this map is for a service level that is associated with the Fulfillment Pricing Group's inventory type and fulfillment type.
        • fulfillmentOriginInfos
          List<FulfillmentOriginInfo> fulfillmentOriginInfos
          Used to allow targeting of fulfillment pricing based on a location where the application expects the item to be shipped from. The request can include multiple fulfillmentSourceInfos to allow the pricing algorithm to attempt pricing for multiple scenarios. For example, an application might implement algorithms to price the order using the closest locations or fulfill from a single location, etc.
        • fulfillmentType
          String fulfillmentType
          The fulfillment type for this item if it has been assigned a PricedFulfillmentOption.
        • inventoryType
          String inventoryType
          The inventory type of this item.
        • itemReference
          String itemReference
          This is the reference number of the Fulfillment Item.
        • quantity
          int quantity
          Quantity or number of units.
        • serviceLevel
          String serviceLevel
          The service level for this item if it has been assigned a PricedFulfillmentOption.
        • sku
          String sku
          String representing the SKU.
        • unitPrice
          javax.money.MonetaryAmount unitPrice
          The Cart price of one unit of this item.
        • weight
          Weight weight
          Weight per unit.