1 {"slug":"/references/cart/models/ShippingMethodAdjustment","title":"ShippingMethodAdjustment - Cart Module Data Models Reference","frontmatter":{"displayed_sidebar":"cartModelReference","slug":"/references/cart/models/ShippingMethodAdjustment","sidebar_label":"ShippingMethodAdjustment"},"toc":[],"blocks":[{"kind":"markdown","html":"This documentation provides a reference to the ShippingMethodAdjustment data model. It belongs to the Cart Module."},{"kind":"sourceCodeLink","link":"https://github.com/medusajs/medusa/blob/020565398e436a2bc65777a3b1ad347b4735d6df/packages/modules/cart/src/models/shipping-method-adjustment.ts#L4"},{"kind":"typeList","sectionTitle":"ShippingMethodAdjustment","types":[{"name":"id","type":"PrimaryKeyModifier&#60;IdProperty&#62;","description":"The ID of the shipping method adjustment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"[TextProperty](/references/utils/classes/utils.TextProperty)","description":"The description of the shipping method adjustment","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$dataType","type":"`string`","description":"A type-only property to infer the JavaScript data-type\nof the schema property","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"#retrievable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"#providerOptions","type":"`Record<string, Record&#60;string, unknown&#62;>`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"#filterable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"#sortable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"#facetable","type":"`boolean` \\| `object`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"types","type":"[SearchFacetKind](/references/types/SearchTypes/types/types.SearchTypes.SearchFacetKind)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"#array","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"#searchable","type":"`boolean` \\| `object`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"weight","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"dataType","type":"`object`","description":"The runtime dataType for the schema. It is not the same as\nthe \"$dataType\".","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"name","type":"`\"text\"`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"`Record<string, any>`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"code","type":"[TextProperty](/references/utils/classes/utils.TextProperty)","description":"The code of promotion that applied the adjustment","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$dataType","type":"`string`","description":"A type-only property to infer the JavaScript data-type\nof the schema property","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"#retrievable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"#providerOptions","type":"`Record<string, Record&#60;string, unknown&#62;>`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"#filterable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"#sortable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"#facetable","type":"`boolean` \\| `object`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"types","type":"[SearchFacetKind](/references/types/SearchTypes/types/types.SearchTypes.SearchFacetKind)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"#array","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"#searchable","type":"`boolean` \\| `object`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"weight","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"dataType","type":"`object`","description":"The runtime dataType for the schema. It is not the same as\nthe \"$dataType\".","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"name","type":"`\"text\"`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"`Record<string, any>`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"amount","type":"`BigNumberProperty`","description":"The shipping method adjustment's amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"[TextProperty](/references/utils/classes/utils.TextProperty)","description":"The ID of the external provider that the adjustment is related to.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$dataType","type":"`string`","description":"A type-only property to infer the JavaScript data-type\nof the schema property","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"#retrievable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"#providerOptions","type":"`Record<string, Record&#60;string, unknown&#62;>`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"#filterable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"#sortable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"#facetable","type":"`boolean` \\| `object`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"types","type":"[SearchFacetKind](/references/types/SearchTypes/types/types.SearchTypes.SearchFacetKind)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"#array","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"#searchable","type":"`boolean` \\| `object`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"weight","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"dataType","type":"`object`","description":"The runtime dataType for the schema. It is not the same as\nthe \"$dataType\".","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"name","type":"`\"text\"`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"`Record<string, any>`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"metadata","type":"JSONProperty&#60;NoInfer&#60;Record&#60;string, unknown&#62;&#62;&#62;","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"[TextProperty](/references/utils/classes/utils.TextProperty)","description":"The ID of the promotion applied","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$dataType","type":"`string`","description":"A type-only property to infer the JavaScript data-type\nof the schema property","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"#retrievable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"#providerOptions","type":"`Record<string, Record&#60;string, unknown&#62;>`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"#filterable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"#sortable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"#facetable","type":"`boolean` \\| `object`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"types","type":"[SearchFacetKind](/references/types/SearchTypes/types/types.SearchTypes.SearchFacetKind)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"#array","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"#searchable","type":"`boolean` \\| `object`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"weight","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"dataType","type":"`object`","description":"The runtime dataType for the schema. It is not the same as\nthe \"$dataType\".","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"name","type":"`\"text\"`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"`Record<string, any>`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"shipping_method","type":"BelongsTo&#60;[ShippingMethod](/references/cart/models/ShippingMethod)&#62;","description":"The associated shipping\\_method.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"PrimaryKeyModifier&#60;IdProperty&#62;","description":"The ID of the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"[TextProperty](/references/utils/classes/utils.TextProperty)","description":"The name of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"$dataType","type":"`string`","description":"A type-only property to infer the JavaScript data-type\nof the schema property","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"#retrievable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"#providerOptions","type":"`Record<string, Record&#60;string, unknown&#62;>`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"#filterable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"#sortable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"#facetable","type":"`boolean` \\| `object`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"#array","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"#searchable","type":"`boolean` \\| `object`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"dataType","type":"`object`","description":"The runtime dataType for the schema. It is not the same as\nthe \"$dataType\".","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"description","type":"JSONProperty&#60;NoInfer&#60;Record&#60;string, unknown&#62;&#62;&#62;","description":"The description of the shipping method","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`BigNumberProperty`","description":"The amount of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"[BooleanProperty](/references/utils/classes/utils.BooleanProperty)","description":"Whether the shipping method's amount is tax inclusive.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"$dataType","type":"`boolean`","description":"A type-only property to infer the JavaScript data-type\nof the schema property","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"#retrievable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"#providerOptions","type":"`Record<string, Record&#60;string, unknown&#62;>`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"#filterable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"#sortable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"#facetable","type":"`boolean` \\| `object`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"#array","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"dataType","type":"`object`","description":"The runtime dataType for the schema. It is not the same as\nthe \"$dataType\".","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_option_id","type":"[TextProperty](/references/utils/classes/utils.TextProperty)","description":"The ID of the related shipping option.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$dataType","type":"`string`","description":"A type-only property to infer the JavaScript data-type\nof the schema property","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"#retrievable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"#providerOptions","type":"`Record<string, Record&#60;string, unknown&#62;>`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"#filterable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"#sortable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"#facetable","type":"`boolean` \\| `object`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"#array","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"#searchable","type":"`boolean` \\| `object`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"dataType","type":"`object`","description":"The runtime dataType for the schema. It is not the same as\nthe \"$dataType\".","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"data","type":"JSONProperty&#60;NoInfer&#60;Record&#60;string, unknown&#62;&#62;&#62;","description":"The data of the shipping method, used by the associated fulfillment provider when processing the shipping method.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"JSONProperty&#60;NoInfer&#60;Record&#60;string, unknown&#62;&#62;&#62;","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"ComputedProperty&#60;null \\| number, BigNumberProperty&#62;","description":"The original total of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"ComputedProperty&#60;null \\| number, BigNumberProperty&#62;","description":"The original subtotal of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"ComputedProperty&#60;null \\| number, BigNumberProperty&#62;","description":"The original tax total of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"ComputedProperty&#60;null \\| number, BigNumberProperty&#62;","description":"The total of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"ComputedProperty&#60;null \\| number, BigNumberProperty&#62;","description":"The subtotal of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"ComputedProperty&#60;null \\| number, BigNumberProperty&#62;","description":"The tax total of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"ComputedProperty&#60;null \\| number, BigNumberProperty&#62;","description":"The discount total of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"ComputedProperty&#60;null \\| number, BigNumberProperty&#62;","description":"The discount tax total of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart","type":"BelongsTo&#60;[Cart](/references/cart/models/Cart)&#62;","description":"The associated cart.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"PrimaryKeyModifier&#60;IdProperty&#62;","description":"The unique identifier of the cart.The ID of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"[TextProperty](/references/utils/classes/utils.TextProperty)","description":"The ID of the region the cart belongs to.The ID of the cart's region.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"[TextProperty](/references/utils/classes/utils.TextProperty)","description":"The ID of the customer the cart belongs to.The ID of the cart's customer.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel_id","type":"[TextProperty](/references/utils/classes/utils.TextProperty)","description":"The ID of the sales channel the cart is associated with.The ID of the cart's sales channel.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"email","type":"[TextProperty](/references/utils/classes/utils.TextProperty)","description":"The email address associated with the cart.The email of the cart's customer","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"[TextProperty](/references/utils/classes/utils.TextProperty)","description":"The currency code used for the cart.The ISO 3 currency code of the cart, such as `usd`.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"locale","type":"[TextProperty](/references/utils/classes/utils.TextProperty)","description":"The BCP 47 language tag code of the localeThe locale of the cart","optional":true,"defaultValue":"","example":"\"en-US\"","expandable":false,"children":[],"since":"2.12.3"},{"name":"metadata","type":"JSONProperty&#60;NoInfer&#60;Record&#60;string, unknown&#62;&#62;&#62;","description":"Additional metadata for the cart.Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"completed_at","type":"`DateTimeProperty`","description":"The timestamp when the cart was completed/converted to an order.The date the cart was completed.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_address","type":"HasOneWithForeignKey&#60;[Address](/references/cart/models/Address)&#62;","description":"The shipping address for the cart.The associated shipping\\_address.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"billing_address","type":"HasOneWithForeignKey&#60;[Address](/references/cart/models/Address)&#62;","description":"The billing address for the cart.The associated billing\\_address.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"items","type":"HasMany&#60;[LineItem](/references/cart/models/LineItem)&#62;","description":"The line items in the cart.The associated items.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"credit_lines","type":"HasMany&#60;[CreditLine](/references/cart/models/CreditLine)&#62;","description":"The credit lines associated with the cart.The associated credit lines.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_methods","type":"HasMany&#60;[ShippingMethod](/references/cart/models/ShippingMethod)&#62;","description":"The shipping methods selected for the cart.The associated shipping\\_methods.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"original_item_total","type":"ComputedProperty&#60;null \\| number, BigNumberProperty&#62;","description":"The original total amount of all items in the cart before any discounts.The original item total of the cart","optional":false,"defaultValue":"","expandable":false,"children":[],"since":"2.13.7"},{"name":"original_item_subtotal","type":"ComputedProperty&#60;null \\| number, BigNumberProperty&#62;","description":"The original subtotal amount of all items in the cart before any discounts.The original item subtotal of the cart","optional":false,"defaultValue":"","expandable":false,"children":[],"since":"2.13.7"},{"name":"original_item_tax_total","type":"ComputedProperty&#60;null \\| number, BigNumberProperty&#62;","description":"The original tax total amount of all items in the cart before any discounts.The original item tax total of the cart","optional":false,"defaultValue":"","expandable":false,"children":[],"since":"2.13.7"},{"name":"item_total","type":"ComputedProperty&#60;null \\| number, BigNumberProperty&#62;","description":"The total amount of all items in the cart after discounts.The item total of the cart","optional":false,"defaultValue":"","expandable":false,"children":[],"since":"2.13.7"},{"name":"item_subtotal","type":"ComputedProperty&#60;null \\| number, BigNumberProperty&#62;","description":"The subtotal amount of all items in the cart after discounts.The item subtotal of the cart","optional":false,"defaultValue":"","expandable":false,"children":[],"since":"2.13.7"},{"name":"item_tax_total","type":"ComputedProperty&#60;null \\| number, BigNumberProperty&#62;","description":"The tax total amount of all items in the cart after discounts.The item tax total of the cart","optional":false,"defaultValue":"","expandable":false,"children":[],"since":"2.13.7"},{"name":"original_total","type":"ComputedProperty&#60;null \\| number, BigNumberProperty&#62;","description":"The original total amount of the cart before any discounts.The original total of the cart","optional":false,"defaultValue":"","expandable":false,"children":[],"since":"2.13.7"},{"name":"original_subtotal","type":"ComputedProperty&#60;null \\| number, BigNumberProperty&#62;","description":"The original subtotal amount of the cart before any discounts.The original subtotal of the cart","optional":false,"defaultValue":"","expandable":false,"children":[],"since":"2.13.7"},{"name":"original_tax_total","type":"ComputedProperty&#60;null \\| number, BigNumberProperty&#62;","description":"The original tax total amount of the cart before any discounts.The original tax total of the cart","optional":false,"defaultValue":"","expandable":false,"children":[],"since":"2.13.7"},{"name":"total","type":"ComputedProperty&#60;null \\| number, BigNumberProperty&#62;","description":"The total amount of the cart after discounts.The total of the cart","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"ComputedProperty&#60;null \\| number, BigNumberProperty&#62;","description":"The subtotal amount of the cart after discounts.The subtotal of the cart","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"ComputedProperty&#60;null \\| number, BigNumberProperty&#62;","description":"The tax total amount of the cart.The tax total of the cart","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"ComputedProperty&#60;null \\| number, BigNumberProperty&#62;","description":"The total discount amount applied to the cart.The discount total of the cart","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"ComputedProperty&#60;null \\| number, BigNumberProperty&#62;","description":"The total tax amount on discounts applied to the cart.The discount tax total of the cart","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_total","type":"ComputedProperty&#60;null \\| number, BigNumberProperty&#62;","description":"The total gift card amount applied to the cart.The gift card total of the cart","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_tax_total","type":"ComputedProperty&#60;null \\| number, BigNumberProperty&#62;","description":"The total tax amount on gift cards applied to the cart.The gift card tax total of the cart","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_total","type":"ComputedProperty&#60;null \\| number, BigNumberProperty&#62;","description":"The total shipping amount for the cart.The shipping total of the cart","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_subtotal","type":"ComputedProperty&#60;null \\| number, BigNumberProperty&#62;","description":"The shipping subtotal amount for the cart.The shipping subtotal of the cart","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_tax_total","type":"ComputedProperty&#60;null \\| number, BigNumberProperty&#62;","description":"The total tax amount on shipping for the cart.The shipping tax total of the cart","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_shipping_total","type":"ComputedProperty&#60;null \\| number, BigNumberProperty&#62;","description":"The original total shipping amount for the cart before discounts.The original shipping total of the cart","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_shipping_subtotal","type":"ComputedProperty&#60;null \\| number, BigNumberProperty&#62;","description":"The original shipping subtotal amount for the cart before discounts.The original shipping subtotal of the cart","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_shipping_tax_total","type":"ComputedProperty&#60;null \\| number, BigNumberProperty&#62;","description":"The original total tax amount on shipping for the cart before discounts.The original shipping tax total of the cart","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"tax_lines","type":"HasMany&#60;[ShippingMethodTaxLine](/references/cart/models/ShippingMethodTaxLine)&#62;","description":"The associated tax\\_lines.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"PrimaryKeyModifier&#60;IdProperty&#62;","description":"The ID of the shipping method tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"[TextProperty](/references/utils/classes/utils.TextProperty)","description":"The description of the tax line.The description of the shipping method tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"[TextProperty](/references/utils/classes/utils.TextProperty)","description":"The code of the tax line.The code of the applied tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"[FloatProperty](/references/utils/classes/utils.FloatProperty)","description":"The rate of the tax line.The rate of the applied tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"[TextProperty](/references/utils/classes/utils.TextProperty)","description":"The ID of the associated tax provider.The ID of the provider used to calculate the tax lines.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"[TextProperty](/references/utils/classes/utils.TextProperty)","description":"The ID of the associated tax rate.The ID of the applied tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"JSONProperty&#60;NoInfer&#60;Record&#60;string, unknown&#62;&#62;&#62;","description":"Holds custom data in key-value pairs.Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"JSONProperty&#60;NoInfer&#60;Record&#60;string, unknown&#62;&#62;&#62;","description":"Holds data returned by the tax provider in key-value pairs.The data of the shipping method tax line","optional":true,"defaultValue":"","expandable":false,"children":[],"since":"2.17.3"},{"name":"shipping_method","type":"BelongsTo&#60;[ShippingMethod](/references/cart/models/ShippingMethod)&#62;","description":"The associated shipping method.The associated shipping\\_method.","optional":false,"defaultValue":"","expandable":true,"children":[]}]},{"name":"adjustments","type":"HasMany&#60;[ShippingMethodAdjustment](/references/cart/models/ShippingMethodAdjustment)&#62;","description":"The associated adjustments.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"PrimaryKeyModifier&#60;IdProperty&#62;","description":"The ID of the shipping method adjustment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"[TextProperty](/references/utils/classes/utils.TextProperty)","description":"The description of the shipping method adjustment","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"[TextProperty](/references/utils/classes/utils.TextProperty)","description":"The code of promotion that applied the adjustment","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`BigNumberProperty`","description":"The shipping method adjustment's amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"[TextProperty](/references/utils/classes/utils.TextProperty)","description":"The ID of the external provider that the adjustment is related to.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"JSONProperty&#60;NoInfer&#60;Record&#60;string, unknown&#62;&#62;&#62;","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"[TextProperty](/references/utils/classes/utils.TextProperty)","description":"The ID of the promotion applied","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"BelongsTo&#60;[ShippingMethod](/references/cart/models/ShippingMethod)&#62;","description":"The associated shipping\\_method.","optional":false,"defaultValue":"","expandable":true,"children":[]}]}]}]}]}