public final class CustomerDraftDsl extends Base
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetNamepublic static CustomerDraftDsl of(CustomerName customerName, String email, String password)
@Deprecated public CustomerDraftDsl withCart(Referenceable<Cart> cart)
public CustomerDraftDsl withCustomerGroup(@Nullable Referenceable<CustomerGroup> customerGroup)
@Nullable public List<Address> getAddresses()
getAddresses in interface CustomerDraft@Nullable public ResourceIdentifier<Cart> getAnonymousCart()
getAnonymousCart in interface CustomerDraft@Nullable @Deprecated public String getAnonymousCartId()
getAnonymousCartId in interface CustomerDraft@Nullable public String getAnonymousId()
getAnonymousId in interface CustomerDraft@Nullable public AuthenticationMode getAuthenticationMode()
getAuthenticationMode in interface CustomerDraft@Nullable public List<Integer> getBillingAddresses()
getBillingAddresses in interface CustomerDraft@Nullable public String getCompanyName()
getCompanyName in interface CustomerDraft@Nullable public CustomFieldsDraft getCustom()
getCustom in interface CustomerDraftgetCustom in interface CustomDraft@Nullable public ResourceIdentifier<CustomerGroup> getCustomerGroup()
getCustomerGroup in interface CustomerDraft@Nullable public String getCustomerNumber()
getCustomerNumber in interface CustomerDraft@Nullable public LocalDate getDateOfBirth()
getDateOfBirth in interface CustomerDraft@Nullable public Integer getDefaultBillingAddress()
getDefaultBillingAddress in interface CustomerDraft@Nullable public Integer getDefaultShippingAddress()
getDefaultShippingAddress in interface CustomerDraftpublic String getEmail()
getEmail in interface CustomerDraftpublic Boolean isEmailVerified()
isEmailVerified in interface CustomerDraft@Nullable public String getExternalId()
getExternalId in interface CustomerDraft@Nullable public String getFirstName()
getFirstName in interface CustomerDraft@Nullable public String getKey()
getKey in interface CustomerDraftgetKey in interface WithKey@Nullable public String getLastName()
getLastName in interface CustomerDraft@Nullable public Locale getLocale()
getLocale in interface CustomerDraft@Nullable public String getMiddleName()
getMiddleName in interface CustomerDraftpublic String getPassword()
getPassword in interface CustomerDraft@Nullable public String getSalutation()
getSalutation in interface CustomerDraft@Nullable public List<Integer> getShippingAddresses()
getShippingAddresses in interface CustomerDraft@Nullable public List<ResourceIdentifier<Store>> getStores()
getStores in interface CustomerDraft@Nullable public String getTitle()
getTitle in interface CustomerDraft@Nullable public String getVatId()
getVatId in interface CustomerDraftpublic CustomerDraftBuilder newBuilder()
public T withAnonymousCart(@Nullable ResourceIdentifier<Cart> anonymousCart)
@Deprecated public T withAnonymousCartId(@Nullable String anonymousCartId)
public T withAuthenticationMode(@Nullable AuthenticationMode authenticationMode)
public T withCustom(@Nullable CustomFieldsDraft custom)
public T withCustomerGroup(@Nullable ResourceIdentifier<CustomerGroup> customerGroup)
public T withDefaultBillingAddress(@Nullable Integer defaultBillingAddress)
public T withDefaultShippingAddress(@Nullable Integer defaultShippingAddress)
public T withEmail(String email)
public T withEmailVerified(Boolean emailVerified)
public T withPassword(String password)
public T withStores(@Nullable List<ResourceIdentifier<Store>> stores)
public T withIsEmailVerified(Boolean emailVerified)
public static CustomerDraftDsl of(String email, String password)
email - initial value for the CustomerDraft.getEmail() propertypassword - initial value for the CustomerDraft.getPassword() propertypublic static CustomerDraftDsl of(CustomerDraft template)
template - the template