public class CustomerPreferences extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CustomerPreferences.Builder
Class to build instances of
CustomerPreferences. |
| Modifier | Constructor and Description |
|---|---|
|
CustomerPreferences(Boolean emailUnsubscribed)
Initialization constructor.
|
protected |
CustomerPreferences(io.apimatic.core.types.OptionalNullable<Boolean> emailUnsubscribed)
Internal initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Boolean |
getEmailUnsubscribed()
Getter for EmailUnsubscribed.
|
int |
hashCode() |
protected io.apimatic.core.types.OptionalNullable<Boolean> |
internalGetEmailUnsubscribed()
Internal Getter for EmailUnsubscribed.
|
CustomerPreferences.Builder |
toBuilder()
Builds a new
CustomerPreferences.Builder object. |
String |
toString()
Converts this CustomerPreferences into string format.
|
public CustomerPreferences(Boolean emailUnsubscribed)
emailUnsubscribed - Boolean value for emailUnsubscribed.protected CustomerPreferences(io.apimatic.core.types.OptionalNullable<Boolean> emailUnsubscribed)
protected io.apimatic.core.types.OptionalNullable<Boolean> internalGetEmailUnsubscribed()
public Boolean getEmailUnsubscribed()
public String toString()
public CustomerPreferences.Builder toBuilder()
CustomerPreferences.Builder object.
Creates the instance with the state of the current model.CustomerPreferences.Builder objectCopyright © 2023. All rights reserved.