Sana Assistant (online)
Table of Contents

ExtraCheckoutStepModelContext reference

This article provides reference material about the ExtraCheckoutStepModelContext record.

The ExtraCheckoutStepModelContext record provides extension developers with additional information that is needed to create an extra checkout step model by payment extension. It is available as a parameter in the CreateExtraCheckoutStepModel method of payment extensions.

Sana Commerce Cloud automatically fills in the ExtraCheckoutStepModelContext parameter of the CreateExtraCheckoutStepModel method with data from order, transaction, shop context, etc.

Properties

ExtraCheckoutStepModelContext class

PaymentMethodSettings

Gets the payment method settings. This property contains the settings of the selected by the user or default payment method from checkout that is needed to be paid.

Amount

Gets the amount to be paid. This property contains the amount of the order from checkout that needs to be paid.

CurrencyId

Gets the currency identifier. This property contains an identifier of currency that is assigned to the customer in ERP.

LanguageId

Gets the language identifier. This property contains identifier of the language selected by the user on the web store.

CustomerId

Gets the customer identifier. Could be null if guest checkout is used but the guest has not been saved to the ERP yet.

BillingAddress

Gets the customer billing address. This property contains the customer billing address from the ERP.

ShippingAddress

Gets the customer's shipping address. This property contains the customer shipping address from the ERP.

User

Gets the current user. This property contains the current user browsing the web store.

See also