CustomerAccount

public CustomerAccount CustomerAccount(CustomerAccount.AccountType accountType, Name name, String emailAddress, String userId, List<Telephone> telephones, CustomerAccountAddress address, OffsetDateTime registeredTime)

Parameters

accountType

Identifies if the customer account is known to the client. Possible values are: -GUEST - Applicable if the partner maintains record to distinguish whether the transaction was booked via a guest account. -STANDARD - Default account type.

name
emailAddress

Email address for the account owner.

userId

Unique account identifier provided by the partner's Identity Provider/System assigned to the account owner by the partner. user_id is specific to the partner namespace. Used to track repeat purchases by the same user.

telephones
address
registeredTime

The local date and time that the customer first registered on the client site, in ISO-8601 date and time format yyyy-MM-ddTHH:mm:ss.SSSZ.