public class OrderUpdateCallbackShippingOption extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
OrderUpdateCallbackShippingOption.Builder
Class to build instances of
OrderUpdateCallbackShippingOption. |
| Constructor and Description |
|---|
OrderUpdateCallbackShippingOption()
Default constructor.
|
OrderUpdateCallbackShippingOption(String id,
String label,
ShippingType type,
Money amount)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Money |
getAmount()
Getter for Amount.
|
String |
getId()
Getter for Id.
|
String |
getLabel()
Getter for Label.
|
ShippingType |
getType()
Getter for Type.
|
void |
setAmount(Money amount)
Setter for Amount.
|
void |
setId(String id)
Setter for Id.
|
void |
setLabel(String label)
Setter for Label.
|
void |
setType(ShippingType type)
Setter for Type.
|
OrderUpdateCallbackShippingOption.Builder |
toBuilder()
Builds a new
OrderUpdateCallbackShippingOption.Builder object. |
String |
toString()
Converts this OrderUpdateCallbackShippingOption into string format.
|
public OrderUpdateCallbackShippingOption()
public OrderUpdateCallbackShippingOption(String id, String label, ShippingType type, Money amount)
id - String value for id.label - String value for label.type - ShippingType value for type.amount - Money value for amount.public String getId()
public void setId(String id)
id - Value for Stringpublic String getLabel()
public void setLabel(String label)
label - Value for Stringpublic ShippingType getType()
public void setType(ShippingType type)
type - Value for ShippingTypepublic Money getAmount()
public void setAmount(Money amount)
amount - Value for Moneypublic String toString()
public OrderUpdateCallbackShippingOption.Builder toBuilder()
OrderUpdateCallbackShippingOption.Builder object.
Creates the instance with the state of the current model.OrderUpdateCallbackShippingOption.Builder objectCopyright © 2025. All rights reserved.