The API for interacting with the checkout settings.
The API object provided to this and other `customer-account.order-status` extension targets.
Settings applied to the buyer's checkout.
Settings describing the behavior of the buyer's checkout.
The type of order that will be created once the buyer completes checkout.
Represents the merchant configured payment terms.
Settings describing the behavior of the shipping address.
Represents the payment terms template object.
The due date for net payment terms as a ISO 8601 formatted string `YYYY-MM-DDTHH:mm:ss.sssZ`.
The number of days between the issued date and due date if using net payment terms.
A globally-unique ID.
The name of the payment terms translated to the buyer's current language. See [localization.language](/docs/api/checkout-ui-extensions/apis/standardapi#properties-propertydetail-localization).
Settings describing the behavior of the shipping address.
Describes whether the buyer can ship to any address during checkout.
Returns the `checkoutSettings` applied to the checkout.
Returns the proposed `attributes` applied to the checkout.
export function useAttributes< Target extends RenderOrderStatusExtensionTarget = RenderOrderStatusExtensionTarget, >(): Attribute[] | undefined { const api = useApi<Target>(); const extensionTarget = api.extension.target; if (!('attributes' in api)) { throw new ExtensionHasNoFieldError('attributes', extensionTarget); } return useSubscription(api.attributes); }
The key for the attribute.
The value for the attribute.