Class CustomerSignUpDraft
java.lang.Object
com.commercetools.graphql.api.types.CustomerSignUpDraft
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCustomerSignUpDraft(String email, String password, String firstName, String lastName, String middleName, String title, LocalDate dateOfBirth, String companyName, String vatId, List<AddressInput> addresses, Integer defaultBillingAddress, Integer defaultShippingAddress, List<Integer> shippingAddresses, List<Integer> billingAddresses, CustomFieldsDraft custom, String locale, String salutation, String key, List<ResourceIdentifierInput> stores, String customerNumber, String anonymousCartId, ResourceIdentifierInput anonymousCart, String externalId, ResourceIdentifierInput customerGroup, Boolean isEmailVerified, String anonymousId, AuthenticationMode authenticationMode) -
Method Summary
Modifier and TypeMethodDescriptionbooleanThis field will be deprecated in favour of anonymousCart.id.BETA: This feature can be subject to change and should be used carefully in production.The indices of the billing addresses in the `addresses` list.The index of the address in the `addresses` list.The index of the address in the `addresses` list.getEmail()getKey()The indices of the shipping addresses in the `addresses` list.getTitle()getVatId()inthashCode()static CustomerSignUpDraft.BuildervoidsetAddresses(List<AddressInput> addresses) voidsetAnonymousCart(ResourceIdentifierInput anonymousCart) voidsetAnonymousCartId(String anonymousCartId) voidsetAnonymousId(String anonymousId) voidsetAuthenticationMode(AuthenticationMode authenticationMode) voidsetBillingAddresses(List<Integer> billingAddresses) voidsetCompanyName(String companyName) voidsetCustom(CustomFieldsDraft custom) voidsetCustomerGroup(ResourceIdentifierInput customerGroup) voidsetCustomerNumber(String customerNumber) voidsetDateOfBirth(LocalDate dateOfBirth) voidsetDefaultBillingAddress(Integer defaultBillingAddress) voidsetDefaultShippingAddress(Integer defaultShippingAddress) voidvoidsetExternalId(String externalId) voidsetFirstName(String firstName) voidsetIsEmailVerified(Boolean isEmailVerified) voidvoidsetLastName(String lastName) voidvoidsetMiddleName(String middleName) voidsetPassword(String password) voidsetSalutation(String salutation) voidsetShippingAddresses(List<Integer> shippingAddresses) voidsetStores(List<ResourceIdentifierInput> stores) voidvoidtoString()
-
Constructor Details
-
CustomerSignUpDraft
public CustomerSignUpDraft() -
CustomerSignUpDraft
public CustomerSignUpDraft(String email, String password, String firstName, String lastName, String middleName, String title, LocalDate dateOfBirth, String companyName, String vatId, List<AddressInput> addresses, Integer defaultBillingAddress, Integer defaultShippingAddress, List<Integer> shippingAddresses, List<Integer> billingAddresses, CustomFieldsDraft custom, String locale, String salutation, String key, List<ResourceIdentifierInput> stores, String customerNumber, String anonymousCartId, ResourceIdentifierInput anonymousCart, String externalId, ResourceIdentifierInput customerGroup, Boolean isEmailVerified, String anonymousId, AuthenticationMode authenticationMode)
-
-
Method Details
-
getEmail
-
setEmail
-
getPassword
-
setPassword
-
getFirstName
-
setFirstName
-
getLastName
-
setLastName
-
getMiddleName
-
setMiddleName
-
getTitle
-
setTitle
-
getDateOfBirth
-
setDateOfBirth
-
getCompanyName
-
setCompanyName
-
getVatId
-
setVatId
-
getAddresses
-
setAddresses
-
getDefaultBillingAddress
The index of the address in the `addresses` list. The `defaultBillingAddressId` of the customer will be set to the ID of that address. -
setDefaultBillingAddress
-
getDefaultShippingAddress
The index of the address in the `addresses` list. The `defaultShippingAddressId` of the customer will be set to the ID of that address. -
setDefaultShippingAddress
-
getShippingAddresses
The indices of the shipping addresses in the `addresses` list. The `shippingAddressIds` of the `Customer` will be set to the IDs of that addresses. -
setShippingAddresses
-
getBillingAddresses
The indices of the billing addresses in the `addresses` list. The `billingAddressIds` of the customer will be set to the IDs of that addresses. -
setBillingAddresses
-
getCustom
-
setCustom
-
getLocale
-
setLocale
-
getSalutation
-
setSalutation
-
getKey
-
setKey
-
getStores
-
setStores
-
getCustomerNumber
-
setCustomerNumber
-
getAnonymousCartId
This field will be deprecated in favour of anonymousCart.id. -
setAnonymousCartId
-
getAnonymousCart
-
setAnonymousCart
-
getExternalId
-
setExternalId
-
getCustomerGroup
-
setCustomerGroup
-
getIsEmailVerified
-
setIsEmailVerified
-
getAnonymousId
-
setAnonymousId
-
getAuthenticationMode
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta -
setAuthenticationMode
-
toString
-
equals
-
hashCode
public int hashCode() -
newBuilder
-