Class CustomerSignMeUpDraft.Builder
java.lang.Object
com.commercetools.graphql.api.types.CustomerSignMeUpDraft.Builder
- Enclosing class:
- CustomerSignMeUpDraft
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddresses(List<AddressInput> addresses) billingAddresses(List<Integer> billingAddresses) The indices of the billing addresses in the `addresses` list.build()companyName(String companyName) custom(CustomFieldsDraft custom) 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.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
-