new Payment(currentBasket, currentCustomer, countryCode)
Payment class that represents payment information for the current basket
Parameters:
Name | Type | Description |
---|---|---|
currentBasket |
dw.order.Basket |
the target Basket object |
currentCustomer |
dw.customer.Customer |
the associated Customer object |
countryCode |
string |
the associated Site countryCode |