Class FulfillmentFlatRate

  • All Implemented Interfaces:
    Serializable

    public class FulfillmentFlatRate
    extends Object
    implements Serializable
    Represents a flat fulfillment rate (e.g., shipping price) for a particular fulfillable item (e.g., Product, Variant) and fulfillment option (e.g., standard shipping). Depending on if the option is configured to use flat rates, this flat rate will be used in calculating the cost of fulfilling the associated item.
    Author:
    Nathan Moore (nathandmoore)
    See Also:
    Serialized Form
    • Constructor Detail

      • FulfillmentFlatRate

        public FulfillmentFlatRate​(javax.money.MonetaryAmount value)
      • FulfillmentFlatRate

        public FulfillmentFlatRate()
    • Method Detail

      • getValue

        public javax.money.MonetaryAmount getValue()
        The value of this flat rate
        Returns:
        The value of this flat rate
      • setValue

        public void setValue​(javax.money.MonetaryAmount value)
        The value of this flat rate
        Parameters:
        value - The value of this flat rate
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object