Skip to content

Latest commit

 

History

History
80 lines (47 loc) · 2.28 KB

shippinginitializeoptions.md

File metadata and controls

80 lines (47 loc) · 2.28 KB

@bigcommerce/checkout-sdkShippingInitializeOptions

Interface: ShippingInitializeOptions ‹T

A set of options that are required to initialize the shipping step of the current checkout flow.

Some payment methods have specific requirements for setting the shipping details for checkout. For example, Amazon Pay requires the customer to enter their shipping address using their address book widget. As a result, you may need to provide additional information in order to initialize the shipping step of checkout.

Type parameters

T

Hierarchy

ShippingRequestOptions‹T›

ShippingInitializeOptions

Index

Properties

Properties

Optional amazon

amazon? : AmazonPayShippingInitializeOptions

The options that are required to initialize the shipping step of checkout when using Amazon Pay.


Optional amazonpay

amazonpay? : AmazonPayV2ShippingInitializeOptions

The options that are required to initialize the shipping step of checkout when using AmazonPayV2.


Optional methodId

methodId? : undefined | string

Inherited from ShippingInitializeOptions.methodId


Optional params

params? : TParams

Inherited from CheckoutButtonInitializeOptions.params

The parameters of the request, if required.


Optional timeout

timeout? : Timeout

Inherited from CheckoutButtonInitializeOptions.timeout

Provide this option if you want to cancel or time out the request. If the timeout object completes before the request, the request will be cancelled.