java.lang.Object
com.broadleafcommerce.paypal.micro.gateway.domain.orders.ShippingOption
All Implemented Interfaces:
Serializable

public class ShippingOption extends Object implements Serializable
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    The shipping cost for the selected option.
    A unique ID that identifies a selected shipping option.
    A description that the customer sees, which helps them choose an appropriate shipping option.
    The shipping option type.
    boolean
    Determines which option is selected by default.
    void
    setAmount(Money amount)
    The shipping cost for the selected option.
    void
    A unique ID that identifies a selected shipping option.
    void
    A description that the customer sees, which helps them choose an appropriate shipping option.
    void
    setSelected(boolean selected)
    Determines which option is selected by default.
    void
    The shipping option type.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ShippingOption

      public ShippingOption()
  • Method Details

    • setId

      public void setId(String id)
      A unique ID that identifies a selected shipping option.
    • setLabel

      public void setLabel(String label)
      A description that the customer sees, which helps them choose an appropriate shipping option.
    • setType

      public void setType(String type)
      The shipping option type. Possible values: SHIPPING, PICKUP_IN_STORE, PICKUP_FROM_PERSON, PICKUP (deprecated)
    • setAmount

      public void setAmount(Money amount)
      The shipping cost for the selected option.
    • setSelected

      public void setSelected(boolean selected)
      Determines which option is selected by default. Only one shipping option can have `selected=true`.
    • getId

      public String getId()
      A unique ID that identifies a selected shipping option.
    • getLabel

      public String getLabel()
      A description that the customer sees, which helps them choose an appropriate shipping option.
    • getType

      public String getType()
      The shipping option type. Possible values: SHIPPING, PICKUP_IN_STORE, PICKUP_FROM_PERSON, PICKUP (deprecated)
    • getAmount

      public Money getAmount()
      The shipping cost for the selected option.
    • isSelected

      public boolean isSelected()
      Determines which option is selected by default. Only one shipping option can have `selected=true`.