menu

SFRA / Server-side JS / Class: billing

billing

new billing(addressModel, paymentModel, associatedAddressId)

Billing class that represent billing information for the current basket

Parameters:
Name Type Description
addressModel Object

the billing address of the current basket

paymentModel Object

payment information for the current basket

associatedAddressId string

the matching ID of the shipping or customer address

Source: