establishCustomerProfile

Method Signature Cart establishCustomerProfile(String email, String password);
Description
This function will store the email address on the cart and the password for the new customer profile that will be created when the customer finalizes the checkout.
Parameters String email – the email address of the customer. String password – the password to be used on the customer profile.
Result Cart – the updated cart. The global cart variable is automatically updated after this call.