Name | Type | Description | Notes |
---|---|---|---|
AntifraudInfo | Pointer to NullableCustomerAntifraudInfoResponse | [optional] | |
Corporate | Pointer to bool | true if the customer is a company | [optional] |
CreatedAt | int64 | Creation date of the object | |
CustomReference | Pointer to string | Custom reference | [optional] |
DateOfBirth | Pointer to string | It is a parameter that allows to identify the date of birth of the client. | [optional] |
DefaultFiscalEntityId | Pointer to NullableString | [optional] | |
DefaultShippingContactId | Pointer to string | [optional] | |
DefaultPaymentSourceId | Pointer to NullableString | [optional] | |
Pointer to string | [optional] | ||
FiscalEntities | Pointer to CustomerFiscalEntitiesResponse | [optional] | |
Id | string | Customer's ID | |
Livemode | bool | true if the object exists in live mode or the value false if the object exists in test mode | |
Name | string | Customer's name | |
NationalId | Pointer to string | It is a parameter that allows to identify the national identification number of the client. | [optional] |
Metadata | Pointer to map[string]interface{} | [optional] | |
Object | string | ||
PaymentSources | Pointer to CustomerPaymentMethodsResponse | [optional] | |
Phone | Pointer to string | Customer's phone number | [optional] |
ShippingContacts | Pointer to CustomerResponseShippingContacts | [optional] | |
Subscription | Pointer to SubscriptionResponse | [optional] |
func NewCustomerResponse(createdAt int64, id string, livemode bool, name string, object string, ) *CustomerResponse
NewCustomerResponse instantiates a new CustomerResponse 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 NewCustomerResponseWithDefaults() *CustomerResponse
NewCustomerResponseWithDefaults instantiates a new CustomerResponse 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 *CustomerResponse) GetAntifraudInfo() CustomerAntifraudInfoResponse
GetAntifraudInfo returns the AntifraudInfo field if non-nil, zero value otherwise.
func (o *CustomerResponse) GetAntifraudInfoOk() (*CustomerAntifraudInfoResponse, bool)
GetAntifraudInfoOk returns a tuple with the AntifraudInfo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerResponse) SetAntifraudInfo(v CustomerAntifraudInfoResponse)
SetAntifraudInfo sets AntifraudInfo field to given value.
func (o *CustomerResponse) HasAntifraudInfo() bool
HasAntifraudInfo returns a boolean if a field has been set.
func (o *CustomerResponse) SetAntifraudInfoNil(b bool)
SetAntifraudInfoNil sets the value for AntifraudInfo to be an explicit nil
func (o *CustomerResponse) UnsetAntifraudInfo()
UnsetAntifraudInfo ensures that no value is present for AntifraudInfo, not even an explicit nil
func (o *CustomerResponse) GetCorporate() bool
GetCorporate returns the Corporate field if non-nil, zero value otherwise.
func (o *CustomerResponse) GetCorporateOk() (*bool, bool)
GetCorporateOk returns a tuple with the Corporate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerResponse) SetCorporate(v bool)
SetCorporate sets Corporate field to given value.
func (o *CustomerResponse) HasCorporate() bool
HasCorporate returns a boolean if a field has been set.
func (o *CustomerResponse) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *CustomerResponse) GetCreatedAtOk() (*int64, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerResponse) SetCreatedAt(v int64)
SetCreatedAt sets CreatedAt field to given value.
func (o *CustomerResponse) GetCustomReference() string
GetCustomReference returns the CustomReference field if non-nil, zero value otherwise.
func (o *CustomerResponse) GetCustomReferenceOk() (*string, bool)
GetCustomReferenceOk returns a tuple with the CustomReference field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerResponse) SetCustomReference(v string)
SetCustomReference sets CustomReference field to given value.
func (o *CustomerResponse) HasCustomReference() bool
HasCustomReference returns a boolean if a field has been set.
func (o *CustomerResponse) GetDateOfBirth() string
GetDateOfBirth returns the DateOfBirth field if non-nil, zero value otherwise.
func (o *CustomerResponse) GetDateOfBirthOk() (*string, bool)
GetDateOfBirthOk returns a tuple with the DateOfBirth field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerResponse) SetDateOfBirth(v string)
SetDateOfBirth sets DateOfBirth field to given value.
func (o *CustomerResponse) HasDateOfBirth() bool
HasDateOfBirth returns a boolean if a field has been set.
func (o *CustomerResponse) GetDefaultFiscalEntityId() string
GetDefaultFiscalEntityId returns the DefaultFiscalEntityId field if non-nil, zero value otherwise.
func (o *CustomerResponse) GetDefaultFiscalEntityIdOk() (*string, bool)
GetDefaultFiscalEntityIdOk returns a tuple with the DefaultFiscalEntityId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerResponse) SetDefaultFiscalEntityId(v string)
SetDefaultFiscalEntityId sets DefaultFiscalEntityId field to given value.
func (o *CustomerResponse) HasDefaultFiscalEntityId() bool
HasDefaultFiscalEntityId returns a boolean if a field has been set.
func (o *CustomerResponse) SetDefaultFiscalEntityIdNil(b bool)
SetDefaultFiscalEntityIdNil sets the value for DefaultFiscalEntityId to be an explicit nil
func (o *CustomerResponse) UnsetDefaultFiscalEntityId()
UnsetDefaultFiscalEntityId ensures that no value is present for DefaultFiscalEntityId, not even an explicit nil
func (o *CustomerResponse) GetDefaultShippingContactId() string
GetDefaultShippingContactId returns the DefaultShippingContactId field if non-nil, zero value otherwise.
func (o *CustomerResponse) GetDefaultShippingContactIdOk() (*string, bool)
GetDefaultShippingContactIdOk returns a tuple with the DefaultShippingContactId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerResponse) SetDefaultShippingContactId(v string)
SetDefaultShippingContactId sets DefaultShippingContactId field to given value.
func (o *CustomerResponse) HasDefaultShippingContactId() bool
HasDefaultShippingContactId returns a boolean if a field has been set.
func (o *CustomerResponse) GetDefaultPaymentSourceId() string
GetDefaultPaymentSourceId returns the DefaultPaymentSourceId field if non-nil, zero value otherwise.
func (o *CustomerResponse) GetDefaultPaymentSourceIdOk() (*string, bool)
GetDefaultPaymentSourceIdOk returns a tuple with the DefaultPaymentSourceId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerResponse) SetDefaultPaymentSourceId(v string)
SetDefaultPaymentSourceId sets DefaultPaymentSourceId field to given value.
func (o *CustomerResponse) HasDefaultPaymentSourceId() bool
HasDefaultPaymentSourceId returns a boolean if a field has been set.
func (o *CustomerResponse) SetDefaultPaymentSourceIdNil(b bool)
SetDefaultPaymentSourceIdNil sets the value for DefaultPaymentSourceId to be an explicit nil
func (o *CustomerResponse) UnsetDefaultPaymentSourceId()
UnsetDefaultPaymentSourceId ensures that no value is present for DefaultPaymentSourceId, not even an explicit nil
func (o *CustomerResponse) GetEmail() string
GetEmail returns the Email field if non-nil, zero value otherwise.
func (o *CustomerResponse) 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 *CustomerResponse) SetEmail(v string)
SetEmail sets Email field to given value.
func (o *CustomerResponse) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (o *CustomerResponse) GetFiscalEntities() CustomerFiscalEntitiesResponse
GetFiscalEntities returns the FiscalEntities field if non-nil, zero value otherwise.
func (o *CustomerResponse) GetFiscalEntitiesOk() (*CustomerFiscalEntitiesResponse, bool)
GetFiscalEntitiesOk returns a tuple with the FiscalEntities field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerResponse) SetFiscalEntities(v CustomerFiscalEntitiesResponse)
SetFiscalEntities sets FiscalEntities field to given value.
func (o *CustomerResponse) HasFiscalEntities() bool
HasFiscalEntities returns a boolean if a field has been set.
func (o *CustomerResponse) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *CustomerResponse) 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 *CustomerResponse) SetId(v string)
SetId sets Id field to given value.
func (o *CustomerResponse) GetLivemode() bool
GetLivemode returns the Livemode field if non-nil, zero value otherwise.
func (o *CustomerResponse) GetLivemodeOk() (*bool, bool)
GetLivemodeOk returns a tuple with the Livemode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerResponse) SetLivemode(v bool)
SetLivemode sets Livemode field to given value.
func (o *CustomerResponse) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *CustomerResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerResponse) SetName(v string)
SetName sets Name field to given value.
func (o *CustomerResponse) GetNationalId() string
GetNationalId returns the NationalId field if non-nil, zero value otherwise.
func (o *CustomerResponse) GetNationalIdOk() (*string, bool)
GetNationalIdOk returns a tuple with the NationalId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerResponse) SetNationalId(v string)
SetNationalId sets NationalId field to given value.
func (o *CustomerResponse) HasNationalId() bool
HasNationalId returns a boolean if a field has been set.
func (o *CustomerResponse) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
func (o *CustomerResponse) GetMetadataOk() (*map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerResponse) SetMetadata(v map[string]interface{})
SetMetadata sets Metadata field to given value.
func (o *CustomerResponse) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (o *CustomerResponse) GetObject() string
GetObject returns the Object field if non-nil, zero value otherwise.
func (o *CustomerResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerResponse) SetObject(v string)
SetObject sets Object field to given value.
func (o *CustomerResponse) GetPaymentSources() CustomerPaymentMethodsResponse
GetPaymentSources returns the PaymentSources field if non-nil, zero value otherwise.
func (o *CustomerResponse) GetPaymentSourcesOk() (*CustomerPaymentMethodsResponse, bool)
GetPaymentSourcesOk returns a tuple with the PaymentSources field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerResponse) SetPaymentSources(v CustomerPaymentMethodsResponse)
SetPaymentSources sets PaymentSources field to given value.
func (o *CustomerResponse) HasPaymentSources() bool
HasPaymentSources returns a boolean if a field has been set.
func (o *CustomerResponse) GetPhone() string
GetPhone returns the Phone field if non-nil, zero value otherwise.
func (o *CustomerResponse) GetPhoneOk() (*string, bool)
GetPhoneOk returns a tuple with the Phone field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerResponse) SetPhone(v string)
SetPhone sets Phone field to given value.
func (o *CustomerResponse) HasPhone() bool
HasPhone returns a boolean if a field has been set.
func (o *CustomerResponse) GetShippingContacts() CustomerResponseShippingContacts
GetShippingContacts returns the ShippingContacts field if non-nil, zero value otherwise.
func (o *CustomerResponse) GetShippingContactsOk() (*CustomerResponseShippingContacts, bool)
GetShippingContactsOk returns a tuple with the ShippingContacts field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerResponse) SetShippingContacts(v CustomerResponseShippingContacts)
SetShippingContacts sets ShippingContacts field to given value.
func (o *CustomerResponse) HasShippingContacts() bool
HasShippingContacts returns a boolean if a field has been set.
func (o *CustomerResponse) GetSubscription() SubscriptionResponse
GetSubscription returns the Subscription field if non-nil, zero value otherwise.
func (o *CustomerResponse) GetSubscriptionOk() (*SubscriptionResponse, bool)
GetSubscriptionOk returns a tuple with the Subscription field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerResponse) SetSubscription(v SubscriptionResponse)
SetSubscription sets Subscription field to given value.
func (o *CustomerResponse) HasSubscription() bool
HasSubscription returns a boolean if a field has been set.