ShippingOptionRequirement
A shipping option requirement defines conditions that a Cart must satisfy for the Shipping Option to be available for usage in the Cart.
Constructors
constructor
**new ShippingOptionRequirement**()
A shipping option requirement defines conditions that a Cart must satisfy for the Shipping Option to be available for usage in the Cart.
Properties
amount
numberRequiredThe amount to compare the Cart subtotal to.
deleted_at
DateRequiredThe date with timezone at which the resource was deleted.
id
stringRequiredThe shipping option requirement's ID
The details of the shipping option that the requirements belong to.
shipping_option_id
stringRequiredThe ID of the shipping option that the requirements belong to.
The type of the requirement, this defines how the value will be compared to the Cart's total.
min\_subtotal
requirements define the minimum subtotal that is needed for the Shipping Option to be available, while the max\_subtotal
defines the maximum subtotal that the Cart can have for the Shipping Option to be available.Methods
beforeInsert
Private **beforeInsert**(): void
Returns
void
void
voidWas this section helpful?