SFRA Server-side Javascript - Class: account menu

SFRA / Server-side JS / Class: account

account

new account(currentCustomer, addressModel, orderModel)

Account class that represents the current customer's profile dashboard

Parameters:
Name Type Description
currentCustomer Object

Current customer

addressModel Object

The current customer's preferred address

orderModel Object

The current customer's order history

Source: