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