Class CustomerSignUpDraft.Builder
java.lang.Object
com.commercetools.graphql.api.types.CustomerSignUpDraft.Builder
- Enclosing class:
- CustomerSignUpDraft
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddresses(List<AddressInput> addresses) anonymousCart(ResourceIdentifierInput anonymousCart) anonymousCartId(String anonymousCartId) This field will be deprecated in favour of anonymousCart.id.anonymousId(String anonymousId) authenticationMode(AuthenticationMode authenticationMode) BETA: This feature can be subject to change and should be used carefully in production.billingAddresses(List<Integer> billingAddresses) The indices of the billing addresses in the `addresses` list.build()companyName(String companyName) custom(CustomFieldsDraft custom) customerGroup(ResourceIdentifierInput customerGroup) customerNumber(String customerNumber) dateOfBirth(LocalDate dateOfBirth) defaultBillingAddress(Integer defaultBillingAddress) The index of the address in the `addresses` list.defaultShippingAddress(Integer defaultShippingAddress) The index of the address in the `addresses` list.externalId(String externalId) isEmailVerified(Boolean isEmailVerified) middleName(String middleName) salutation(String salutation) shippingAddresses(List<Integer> shippingAddresses) The indices of the shipping addresses in the `addresses` list.stores(List<ResourceIdentifierInput> stores)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
-
email
-
password
-
firstName
-
lastName
-
middleName
-
title
-
dateOfBirth
-
companyName
-
vatId
-
addresses
-
defaultBillingAddress
The index of the address in the `addresses` list. The `defaultBillingAddressId` of the customer will be set to the ID of that address. -
defaultShippingAddress
The index of the address in the `addresses` list. The `defaultShippingAddressId` of the customer will be set to the ID of that address. -
shippingAddresses
The indices of the shipping addresses in the `addresses` list. The `shippingAddressIds` of the `Customer` will be set to the IDs of that addresses. -
billingAddresses
The indices of the billing addresses in the `addresses` list. The `billingAddressIds` of the customer will be set to the IDs of that addresses. -
custom
-
locale
-
salutation
-
key
-
stores
-
customerNumber
-
anonymousCartId
This field will be deprecated in favour of anonymousCart.id. -
anonymousCart
-
externalId
-
customerGroup
-
isEmailVerified
-
anonymousId
-
authenticationMode
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
-