Class SubscribeToNewsletterRequest
java.lang.Object
de.codebarista.shopware.model.core.SubscribeToNewsletterRequest
@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 SubscribeToNewsletterRequest
extends Object
SubscribeToNewsletterRequest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncustomFields(String customFields) booleangetCity()CityCustom field data that should be added to the subscription.getEmail()Email address that will receive the confirmation and the newsletter.First nameIdentifier of the language.Last nameDefines what should be done.Identifier of the salutation.Url of the storefront of the shop.StreetgetTags()Zip codeZip codeinthashCode()languageId(String languageId) salutationId(String salutationId) voidvoidsetCustomFields(String customFields) voidvoidsetFirstName(String firstName) voidsetLanguageId(String languageId) voidsetLastName(String lastName) voidvoidsetSalutationId(String salutationId) voidsetStorefrontUrl(String storefrontUrl) voidvoidvoidsetZipCode(String zipCode) storefrontUrl(String storefrontUrl) toString()
-
Field Details
-
JSON_PROPERTY_EMAIL
- See Also:
-
JSON_PROPERTY_OPTION
- See Also:
-
JSON_PROPERTY_STOREFRONT_URL
- See Also:
-
JSON_PROPERTY_SALUTATION_ID
- See Also:
-
JSON_PROPERTY_FIRST_NAME
- See Also:
-
JSON_PROPERTY_LAST_NAME
- See Also:
-
JSON_PROPERTY_STREET
- See Also:
-
JSON_PROPERTY_CITY
- See Also:
-
JSON_PROPERTY_ZIP_CODE
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
JSON_PROPERTY_LANGUAGE_ID
- See Also:
-
JSON_PROPERTY_CUSTOM_FIELDS
- See Also:
-
-
Constructor Details
-
SubscribeToNewsletterRequest
public SubscribeToNewsletterRequest()
-
-
Method Details
-
email
-
getEmail
Email address that will receive the confirmation and the newsletter.- Returns:
-
setEmail
-
option
-
getOption
Defines what should be done.- Returns:
- option
-
setOption
-
storefrontUrl
-
getStorefrontUrl
Url of the storefront of the shop. This will be used for generating the link to the /newsletter/confirm inside the confirm email.- Returns:
- storefrontUrl
-
setStorefrontUrl
-
salutationId
-
getSalutationId
Identifier of the salutation.- Returns:
- salutationId
-
setSalutationId
-
firstName
-
getFirstName
First name- Returns:
- firstName
-
setFirstName
-
lastName
-
getLastName
Last name- Returns:
- lastName
-
setLastName
-
street
-
getStreet
Street- Returns:
- street
-
setStreet
-
city
-
getCity
City- Returns:
- city
-
setCity
-
zipCode
-
getZipCode
Zip code- Returns:
- zipCode
-
setZipCode
-
tags
-
getTags
Zip code- Returns:
- tags
-
setTags
-
languageId
-
getLanguageId
Identifier of the language.- Returns:
- languageId
-
setLanguageId
-
customFields
-
getCustomFields
Custom field data that should be added to the subscription.- Returns:
- customFields
-
setCustomFields
-
equals
-
hashCode
public int hashCode() -
toString
-