ReadonlyactionOptional ReadonlycustomCustom Fields for the custom Shipping Method.
Optional ReadonlyexternalExternal Tax Rate for the shippingRate to be set if the Cart has the External TaxMode.
ReadonlyshippingName of the custom Shipping Method.
ReadonlyshippingDetermines the shipping price.
Optional ReadonlytaxTax Category used to determine the Tax Rate when the Cart has the Platform TaxMode.
To set the Cart's custom Shipping Method (independent of the ShippingMethods managed through the Shipping Methods API) the Cart must have the
SingleShippingMode and ashippingAddress.