ShippingMethodTaxLine
A Shipping Method Tax Line represents the taxes applied on a shipping method in a cart.
Constructors
constructor
**new ShippingMethodTaxLine**()
A Shipping Method Tax Line represents the taxes applied on a shipping method in a cart.
Properties
code
null | stringRequiredA code to identify the tax type by
created_at
DateRequiredThe date with timezone at which the resource was created.
id
stringRequiredThe line item tax line's ID
metadata
Record<string, unknown>RequiredAn optional key-value map with additional details
name
stringRequiredA human friendly name for the tax
rate
numberRequiredThe numeric rate to charge tax by
The details of the associated shipping method.
shipping_method_id
stringRequiredThe ID of the line item
updated_at
DateRequiredThe date with timezone at which the resource was updated.
Methods
beforeInsert
Private **beforeInsert**(): void
Returns
void
void
voidWas this section helpful?