AccountTakeoverCustomerAccount

Information about a user's account.

Parameters

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's namespace. Used to track repeat account activity by the same user.

accountType

Identifies the account type of a user''s account. Possible values are: - INDIVIDUAL - Applicable if this account is for an individual traveler. - BUSINESS - Applicable if this account is for a business or organization account used by suppliers or Partners.

username

Username of the account.

emailAddress

Email address for the account owner.

registeredTime

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

activeFlag

Indicator for if this account is an active account or not.

accountRole

Identifies the account role and associated permissions of a user''s account. Possible values are: - USER: Basic account with no special privileges. - MANAGER: Account with additional privileges, such as the ability to make bookings for others. - ADMIN: Account with higher privileges than a manager, including the ability to grant manager access to other users.

name
telephones
address
loyaltyMemberId

Unique loyalty identifier for a user.

Constructors

Link copied to clipboard
public AccountTakeoverCustomerAccount AccountTakeoverCustomerAccount(String userId, AccountTakeoverCustomerAccount.AccountType accountType, String username, String emailAddress, OffsetDateTime registeredTime, Boolean activeFlag, AccountTakeoverCustomerAccount.AccountRole accountRole, AccountTakeoverName name, List<Telephone> telephones, CustomerAccountAddress address, String loyaltyMemberId)

Types

Link copied to clipboard

Identifies the account role and associated permissions of a user''s account. Possible values are: - USER: Basic account with no special privileges. - MANAGER: Account with additional privileges, such as the ability to make bookings for others. - ADMIN: Account with higher privileges than a manager, including the ability to grant manager access to other users. Values: USER,MANAGER,ADMIN

Link copied to clipboard

Identifies the account type of a user''s account. Possible values are: - INDIVIDUAL - Applicable if this account is for an individual traveler. - BUSINESS - Applicable if this account is for a business or organization account used by suppliers or Partners. Values: INDIVIDUAL,BUSINESS

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@NotNull()
@Valid()
private final Boolean activeFlag
Link copied to clipboard
@Valid()
private final CustomerAccountAddress address
Link copied to clipboard
@NotNull()
@Valid()
private final String emailAddress
Link copied to clipboard
@Length(max = 200)
@Valid()
private final String loyaltyMemberId
Link copied to clipboard
@Valid()
private final AccountTakeoverName name
Link copied to clipboard
Link copied to clipboard
@Size(max = 20)
@Valid()
private final List<Telephone> telephones
Link copied to clipboard
@Length(max = 200)
@NotNull()
@Valid()
private final String userId
Link copied to clipboard
@Length(max = 200)
@NotNull()
@Valid()
private final String username

Functions

Link copied to clipboard
Link copied to clipboard
public final Boolean getActiveFlag()
Link copied to clipboard
Link copied to clipboard
public final String getEmailAddress()
Link copied to clipboard
public final String getLoyaltyMemberId()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final List<Telephone> getTelephones()
Link copied to clipboard
public final String getUserId()
Link copied to clipboard
public final String getUsername()
Link copied to clipboard