Class ShippingOption
java.lang.Object
com.broadleafcommerce.paypal.micro.gateway.domain.orders.ShippingOption
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe shipping cost for the selected option.getId()A unique ID that identifies a selected shipping option.getLabel()A description that the customer sees, which helps them choose an appropriate shipping option.getType()The shipping option type.booleanDetermines which option is selected by default.voidThe shipping cost for the selected option.voidA unique ID that identifies a selected shipping option.voidA description that the customer sees, which helps them choose an appropriate shipping option.voidsetSelected(boolean selected) Determines which option is selected by default.voidThe shipping option type.
-
Constructor Details
-
ShippingOption
public ShippingOption()
-
-
Method Details
-
setId
A unique ID that identifies a selected shipping option. -
setLabel
A description that the customer sees, which helps them choose an appropriate shipping option. -
setType
The shipping option type. Possible values: SHIPPING, PICKUP_IN_STORE, PICKUP_FROM_PERSON, PICKUP (deprecated) -
setAmount
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
A unique ID that identifies a selected shipping option. -
getLabel
A description that the customer sees, which helps them choose an appropriate shipping option. -
getType
The shipping option type. Possible values: SHIPPING, PICKUP_IN_STORE, PICKUP_FROM_PERSON, PICKUP (deprecated) -
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`.
-