Class RegisterRequest

java.lang.Object
de.codebarista.shopware.model.core.RegisterRequest

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-06-10T11:26:02.541008353+02:00[Europe/Berlin]", comments="Generator version: 7.5.0") public class RegisterRequest extends Object
RegisterRequest
  • Field Details

  • Constructor Details

    • RegisterRequest

      public RegisterRequest()
  • Method Details

    • email

      public RegisterRequest email(String email)
    • getEmail

      @Nonnull public String getEmail()
      Email of the customer. Has to be unique, unless `guest` is `true`
      Returns:
      email
    • setEmail

      public void setEmail(String email)
    • password

      public RegisterRequest password(String password)
    • getPassword

      @Nonnull public String getPassword()
      Password for the customer. Required, unless `guest` is `true`
      Returns:
      password
    • setPassword

      public void setPassword(String password)
    • salutationId

      public RegisterRequest salutationId(String salutationId)
    • getSalutationId

      @Nonnull public String getSalutationId()
      Id of the salutation for the customer account. Fetch options using `salutation` endpoint.
      Returns:
      salutationId
    • setSalutationId

      public void setSalutationId(String salutationId)
    • firstName

      public RegisterRequest firstName(String firstName)
    • getFirstName

      @Nonnull public String getFirstName()
      Customer first name. Value will be reused for shipping and billing address if not provided explicitly.
      Returns:
      firstName
    • setFirstName

      public void setFirstName(String firstName)
    • lastName

      public RegisterRequest lastName(String lastName)
    • getLastName

      @Nonnull public String getLastName()
      Customer last name. Value will be reused for shipping and billing address if not provided explicitly.
      Returns:
      lastName
    • setLastName

      public void setLastName(String lastName)
    • acceptedDataProtection

      public RegisterRequest acceptedDataProtection(Boolean acceptedDataProtection)
    • getAcceptedDataProtection

      @Nonnull public Boolean getAcceptedDataProtection()
      Flag indicating accepted data protection
      Returns:
      acceptedDataProtection
    • setAcceptedDataProtection

      public void setAcceptedDataProtection(Boolean acceptedDataProtection)
    • storefrontUrl

      public RegisterRequest storefrontUrl(String storefrontUrl)
    • getStorefrontUrl

      @Nonnull public String getStorefrontUrl()
      URL of the storefront for that registration. Used in confirmation emails. Has to be one of the configured domains of the sales channel.
      Returns:
      storefrontUrl
    • setStorefrontUrl

      public void setStorefrontUrl(String storefrontUrl)
    • billingAddress

      public RegisterRequest billingAddress(CustomerAddress billingAddress)
    • getBillingAddress

      @Nonnull public CustomerAddress getBillingAddress()
      Get billingAddress
      Returns:
      billingAddress
    • setBillingAddress

      public void setBillingAddress(CustomerAddress billingAddress)
    • shippingAddress

      public RegisterRequest shippingAddress(CustomerAddress shippingAddress)
    • getShippingAddress

      @Nullable public CustomerAddress getShippingAddress()
      Get shippingAddress
      Returns:
      shippingAddress
    • setShippingAddress

      public void setShippingAddress(CustomerAddress shippingAddress)
    • accountType

      public RegisterRequest accountType(String accountType)
    • getAccountType

      @Nullable public String getAccountType()
      Account type of the customer which can be either `private` or `business`.
      Returns:
      accountType
    • setAccountType

      public void setAccountType(String accountType)
    • guest

      public RegisterRequest guest(Boolean guest)
    • getGuest

      @Nullable public Boolean getGuest()
      If set, will create a guest customer. Guest customers can re-use an email address and don't need a password.
      Returns:
      guest
    • setGuest

      public void setGuest(Boolean guest)
    • birthdayDay

      public RegisterRequest birthdayDay(Integer birthdayDay)
    • getBirthdayDay

      @Nullable public Integer getBirthdayDay()
      Birthday day
      Returns:
      birthdayDay
    • setBirthdayDay

      public void setBirthdayDay(Integer birthdayDay)
    • birthdayMonth

      public RegisterRequest birthdayMonth(Integer birthdayMonth)
    • getBirthdayMonth

      @Nullable public Integer getBirthdayMonth()
      Birthday month
      Returns:
      birthdayMonth
    • setBirthdayMonth

      public void setBirthdayMonth(Integer birthdayMonth)
    • birthdayYear

      public RegisterRequest birthdayYear(Integer birthdayYear)
    • getBirthdayYear

      @Nullable public Integer getBirthdayYear()
      Birthday year
      Returns:
      birthdayYear
    • setBirthdayYear

      public void setBirthdayYear(Integer birthdayYear)
    • title

      public RegisterRequest title(String title)
    • getTitle

      @Nullable public String getTitle()
      (Academic) title of the customer
      Returns:
      title
    • setTitle

      public void setTitle(String title)
    • affiliateCode

      public RegisterRequest affiliateCode(String affiliateCode)
    • getAffiliateCode

      @Nullable public String getAffiliateCode()
      Field can be used to store an affiliate tracking code
      Returns:
      affiliateCode
    • setAffiliateCode

      public void setAffiliateCode(String affiliateCode)
    • campaignCode

      public RegisterRequest campaignCode(String campaignCode)
    • getCampaignCode

      @Nullable public String getCampaignCode()
      Field can be used to store a campaign tracking code
      Returns:
      campaignCode
    • setCampaignCode

      public void setCampaignCode(String campaignCode)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object