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 Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacceptedDataProtection(Boolean acceptedDataProtection) accountType(String accountType) affiliateCode(String affiliateCode) billingAddress(CustomerAddress billingAddress) birthdayDay(Integer birthdayDay) birthdayMonth(Integer birthdayMonth) birthdayYear(Integer birthdayYear) campaignCode(String campaignCode) booleanFlag indicating accepted data protectionAccount type of the customer which can be either `private` or `business`.Field can be used to store an affiliate tracking codeGet billingAddressBirthday dayBirthday monthBirthday yearField can be used to store a campaign tracking codegetEmail()Email of the customer.Customer first name.getGuest()If set, will create a guest customer.Customer last name.Password for the customer.Id of the salutation for the customer account.Get shippingAddressURL of the storefront for that registration.getTitle()(Academic) title of the customerinthashCode()salutationId(String salutationId) voidsetAcceptedDataProtection(Boolean acceptedDataProtection) voidsetAccountType(String accountType) voidsetAffiliateCode(String affiliateCode) voidsetBillingAddress(CustomerAddress billingAddress) voidsetBirthdayDay(Integer birthdayDay) voidsetBirthdayMonth(Integer birthdayMonth) voidsetBirthdayYear(Integer birthdayYear) voidsetCampaignCode(String campaignCode) voidvoidsetFirstName(String firstName) voidvoidsetLastName(String lastName) voidsetPassword(String password) voidsetSalutationId(String salutationId) voidsetShippingAddress(CustomerAddress shippingAddress) voidsetStorefrontUrl(String storefrontUrl) voidshippingAddress(CustomerAddress shippingAddress) storefrontUrl(String storefrontUrl) toString()
-
Field Details
-
JSON_PROPERTY_EMAIL
- See Also:
-
JSON_PROPERTY_PASSWORD
- See Also:
-
JSON_PROPERTY_SALUTATION_ID
- See Also:
-
JSON_PROPERTY_FIRST_NAME
- See Also:
-
JSON_PROPERTY_LAST_NAME
- See Also:
-
JSON_PROPERTY_ACCEPTED_DATA_PROTECTION
- See Also:
-
JSON_PROPERTY_STOREFRONT_URL
- See Also:
-
JSON_PROPERTY_BILLING_ADDRESS
- See Also:
-
JSON_PROPERTY_SHIPPING_ADDRESS
- See Also:
-
JSON_PROPERTY_ACCOUNT_TYPE
- See Also:
-
JSON_PROPERTY_GUEST
- See Also:
-
JSON_PROPERTY_BIRTHDAY_DAY
- See Also:
-
JSON_PROPERTY_BIRTHDAY_MONTH
- See Also:
-
JSON_PROPERTY_BIRTHDAY_YEAR
- See Also:
-
JSON_PROPERTY_TITLE
- See Also:
-
JSON_PROPERTY_AFFILIATE_CODE
- See Also:
-
JSON_PROPERTY_CAMPAIGN_CODE
- See Also:
-
-
Constructor Details
-
RegisterRequest
public RegisterRequest()
-
-
Method Details
-
email
-
getEmail
Email of the customer. Has to be unique, unless `guest` is `true`- Returns:
-
setEmail
-
password
-
getPassword
Password for the customer. Required, unless `guest` is `true`- Returns:
- password
-
setPassword
-
salutationId
-
getSalutationId
Id of the salutation for the customer account. Fetch options using `salutation` endpoint.- Returns:
- salutationId
-
setSalutationId
-
firstName
-
getFirstName
Customer first name. Value will be reused for shipping and billing address if not provided explicitly.- Returns:
- firstName
-
setFirstName
-
lastName
-
getLastName
Customer last name. Value will be reused for shipping and billing address if not provided explicitly.- Returns:
- lastName
-
setLastName
-
acceptedDataProtection
-
getAcceptedDataProtection
Flag indicating accepted data protection- Returns:
- acceptedDataProtection
-
setAcceptedDataProtection
-
storefrontUrl
-
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
-
billingAddress
-
getBillingAddress
Get billingAddress- Returns:
- billingAddress
-
setBillingAddress
-
shippingAddress
-
getShippingAddress
Get shippingAddress- Returns:
- shippingAddress
-
setShippingAddress
-
accountType
-
getAccountType
Account type of the customer which can be either `private` or `business`.- Returns:
- accountType
-
setAccountType
-
guest
-
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
-
birthdayDay
-
getBirthdayDay
Birthday day- Returns:
- birthdayDay
-
setBirthdayDay
-
birthdayMonth
-
getBirthdayMonth
Birthday month- Returns:
- birthdayMonth
-
setBirthdayMonth
-
birthdayYear
-
getBirthdayYear
Birthday year- Returns:
- birthdayYear
-
setBirthdayYear
-
title
-
getTitle
(Academic) title of the customer- Returns:
- title
-
setTitle
-
affiliateCode
-
getAffiliateCode
Field can be used to store an affiliate tracking code- Returns:
- affiliateCode
-
setAffiliateCode
-
campaignCode
-
getCampaignCode
Field can be used to store a campaign tracking code- Returns:
- campaignCode
-
setCampaignCode
-
equals
-
hashCode
public int hashCode() -
toString
-