isAddressRequired
Describes@ebitex/commerce-sdk 0.2.xSee the changelog:@ebitex/commerce-sdk
isAddressRequired(
error):error is CommerceApiError & { detail: { missing: AddressField[] } }
True for the 409 address_required refusal of a checkout; error.detail.missing then names what to ask the shopper for.
Parameters
Section titled “Parameters”unknown
Returns
Section titled “Returns”error is CommerceApiError & { detail: { missing: AddressField[] } }