public final class SetShippingRateInput extends UpdateActionImpl<Cart>
shippingRateInput
property of a Cart
.Cart.getShippingRateInput()
Modifier and Type | Method and Description |
---|---|
ShippingRateInputDraft |
getShippingRateInput() |
static SetShippingRateInput |
of(ShippingRateInputDraft shippingRateInput)
Creates a new object initialized with the given values.
|
static SetShippingRateInput |
ofUnset()
Creates a new object initialized with the given values.
|
getAction
@Nullable public ShippingRateInputDraft getShippingRateInput()
public static SetShippingRateInput of(@Nullable ShippingRateInputDraft shippingRateInput)
shippingRateInput
- initial value for the Cart.getShippingRateInput()
propertypublic static SetShippingRateInput ofUnset()