An object representing a customer with various properties, including addresses.
Name | Type | Required | Description | Examples |
---|---|---|---|---|
Id | Pointer to NullableString | The unique identifier for the customer. | ||
PhoneNumber | Pointer to NullableString | The customer's phone number. | ||
GivenNames | Pointer to NullableString | The customer's given names or first names. | ||
Surname | Pointer to NullableString | The customer's surname or last name. | ||
Pointer to NullableString | The customer's email address. | |||
MobileNumber | Pointer to NullableString | The customer's mobile phone number. | ||
CustomerId | Pointer to NullableString | An additional identifier for the customer. | ||
Addresses | Pointer to AddressObject[] | An array of addresses associated with the customer. |
func NewCustomerObject() *CustomerObject
NewCustomerObject instantiates a new CustomerObject object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCustomerObjectWithDefaults() *CustomerObject
NewCustomerObjectWithDefaults instantiates a new CustomerObject object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *CustomerObject) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *CustomerObject) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerObject) SetId(v string)
SetId sets Id field to given value.
func (o *CustomerObject) HasId() bool
HasId returns a boolean if a field has been set.
func (o *CustomerObject) SetIdNil(b bool)
SetIdNil sets the value for Id to be an explicit nil
func (o *CustomerObject) UnsetId()
UnsetId ensures that no value is present for Id, not even an explicit nil
func (o *CustomerObject) GetPhoneNumber() string
GetPhoneNumber returns the PhoneNumber field if non-nil, zero value otherwise.
func (o *CustomerObject) GetPhoneNumberOk() (*string, bool)
GetPhoneNumberOk returns a tuple with the PhoneNumber field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerObject) SetPhoneNumber(v string)
SetPhoneNumber sets PhoneNumber field to given value.
func (o *CustomerObject) HasPhoneNumber() bool
HasPhoneNumber returns a boolean if a field has been set.
func (o *CustomerObject) SetPhoneNumberNil(b bool)
SetPhoneNumberNil sets the value for PhoneNumber to be an explicit nil
func (o *CustomerObject) UnsetPhoneNumber()
UnsetPhoneNumber ensures that no value is present for PhoneNumber, not even an explicit nil
func (o *CustomerObject) GetGivenNames() string
GetGivenNames returns the GivenNames field if non-nil, zero value otherwise.
func (o *CustomerObject) GetGivenNamesOk() (*string, bool)
GetGivenNamesOk returns a tuple with the GivenNames field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerObject) SetGivenNames(v string)
SetGivenNames sets GivenNames field to given value.
func (o *CustomerObject) HasGivenNames() bool
HasGivenNames returns a boolean if a field has been set.
func (o *CustomerObject) SetGivenNamesNil(b bool)
SetGivenNamesNil sets the value for GivenNames to be an explicit nil
func (o *CustomerObject) UnsetGivenNames()
UnsetGivenNames ensures that no value is present for GivenNames, not even an explicit nil
func (o *CustomerObject) GetSurname() string
GetSurname returns the Surname field if non-nil, zero value otherwise.
func (o *CustomerObject) GetSurnameOk() (*string, bool)
GetSurnameOk returns a tuple with the Surname field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerObject) SetSurname(v string)
SetSurname sets Surname field to given value.
func (o *CustomerObject) HasSurname() bool
HasSurname returns a boolean if a field has been set.
func (o *CustomerObject) SetSurnameNil(b bool)
SetSurnameNil sets the value for Surname to be an explicit nil
func (o *CustomerObject) UnsetSurname()
UnsetSurname ensures that no value is present for Surname, not even an explicit nil
func (o *CustomerObject) GetEmail() string
GetEmail returns the Email field if non-nil, zero value otherwise.
func (o *CustomerObject) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerObject) SetEmail(v string)
SetEmail sets Email field to given value.
func (o *CustomerObject) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (o *CustomerObject) SetEmailNil(b bool)
SetEmailNil sets the value for Email to be an explicit nil
func (o *CustomerObject) UnsetEmail()
UnsetEmail ensures that no value is present for Email, not even an explicit nil
func (o *CustomerObject) GetMobileNumber() string
GetMobileNumber returns the MobileNumber field if non-nil, zero value otherwise.
func (o *CustomerObject) GetMobileNumberOk() (*string, bool)
GetMobileNumberOk returns a tuple with the MobileNumber field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerObject) SetMobileNumber(v string)
SetMobileNumber sets MobileNumber field to given value.
func (o *CustomerObject) HasMobileNumber() bool
HasMobileNumber returns a boolean if a field has been set.
func (o *CustomerObject) SetMobileNumberNil(b bool)
SetMobileNumberNil sets the value for MobileNumber to be an explicit nil
func (o *CustomerObject) UnsetMobileNumber()
UnsetMobileNumber ensures that no value is present for MobileNumber, not even an explicit nil
func (o *CustomerObject) GetCustomerId() string
GetCustomerId returns the CustomerId field if non-nil, zero value otherwise.
func (o *CustomerObject) GetCustomerIdOk() (*string, bool)
GetCustomerIdOk returns a tuple with the CustomerId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerObject) SetCustomerId(v string)
SetCustomerId sets CustomerId field to given value.
func (o *CustomerObject) HasCustomerId() bool
HasCustomerId returns a boolean if a field has been set.
func (o *CustomerObject) SetCustomerIdNil(b bool)
SetCustomerIdNil sets the value for CustomerId to be an explicit nil
func (o *CustomerObject) UnsetCustomerId()
UnsetCustomerId ensures that no value is present for CustomerId, not even an explicit nil
func (o *CustomerObject) GetAddresses() []AddressObject
GetAddresses returns the Addresses field if non-nil, zero value otherwise.
func (o *CustomerObject) GetAddressesOk() (*[]AddressObject, bool)
GetAddressesOk returns a tuple with the Addresses field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerObject) SetAddresses(v []AddressObject)
SetAddresses sets Addresses field to given value.
func (o *CustomerObject) HasAddresses() bool
HasAddresses returns a boolean if a field has been set.
func (o *CustomerObject) SetAddressesNil(b bool)
SetAddressesNil sets the value for Addresses to be an explicit nil
func (o *CustomerObject) UnsetAddresses()
UnsetAddresses ensures that no value is present for Addresses, not even an explicit nil