Name | Type | Required | Description | Examples |
---|---|---|---|---|
ClientName | Pointer to string | Entity's name for this client | ||
ReferenceId | string | ☑️ | Merchant's reference of this end customer, eg Merchant's user's id. Must be unique. | |
Type | Pointer to string | ["INDIVIDUAL"] | ||
IndividualDetail | Pointer to NullableIndividualDetail | |||
BusinessDetail | Pointer to NullableBusinessDetail | |||
Description | Pointer to NullableString | |||
Pointer to string | ||||
MobileNumber | Pointer to string | |||
PhoneNumber | Pointer to string | |||
Addresses | Pointer to AddressRequest[] | |||
IdentityAccounts | Pointer to IdentityAccountRequest[] | |||
KycDocuments | Pointer to KYCDocumentRequest[] | |||
Metadata | Pointer to map[string]interface{} |
func NewCustomerRequest(referenceId string, ) *CustomerRequest
NewCustomerRequest instantiates a new CustomerRequest 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 NewCustomerRequestWithDefaults() *CustomerRequest
NewCustomerRequestWithDefaults instantiates a new CustomerRequest 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 *CustomerRequest) GetClientName() string
GetClientName returns the ClientName field if non-nil, zero value otherwise.
func (o *CustomerRequest) GetClientNameOk() (*string, bool)
GetClientNameOk returns a tuple with the ClientName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerRequest) SetClientName(v string)
SetClientName sets ClientName field to given value.
func (o *CustomerRequest) HasClientName() bool
HasClientName returns a boolean if a field has been set.
func (o *CustomerRequest) GetReferenceId() string
GetReferenceId returns the ReferenceId field if non-nil, zero value otherwise.
func (o *CustomerRequest) GetReferenceIdOk() (*string, bool)
GetReferenceIdOk returns a tuple with the ReferenceId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerRequest) SetReferenceId(v string)
SetReferenceId sets ReferenceId field to given value.
func (o *CustomerRequest) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *CustomerRequest) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerRequest) SetType(v string)
SetType sets Type field to given value.
func (o *CustomerRequest) HasType() bool
HasType returns a boolean if a field has been set.
func (o *CustomerRequest) GetIndividualDetail() IndividualDetail
GetIndividualDetail returns the IndividualDetail field if non-nil, zero value otherwise.
func (o *CustomerRequest) GetIndividualDetailOk() (*IndividualDetail, bool)
GetIndividualDetailOk returns a tuple with the IndividualDetail field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerRequest) SetIndividualDetail(v IndividualDetail)
SetIndividualDetail sets IndividualDetail field to given value.
func (o *CustomerRequest) HasIndividualDetail() bool
HasIndividualDetail returns a boolean if a field has been set.
func (o *CustomerRequest) SetIndividualDetailNil(b bool)
SetIndividualDetailNil sets the value for IndividualDetail to be an explicit nil
func (o *CustomerRequest) UnsetIndividualDetail()
UnsetIndividualDetail ensures that no value is present for IndividualDetail, not even an explicit nil
func (o *CustomerRequest) GetBusinessDetail() BusinessDetail
GetBusinessDetail returns the BusinessDetail field if non-nil, zero value otherwise.
func (o *CustomerRequest) GetBusinessDetailOk() (*BusinessDetail, bool)
GetBusinessDetailOk returns a tuple with the BusinessDetail field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerRequest) SetBusinessDetail(v BusinessDetail)
SetBusinessDetail sets BusinessDetail field to given value.
func (o *CustomerRequest) HasBusinessDetail() bool
HasBusinessDetail returns a boolean if a field has been set.
func (o *CustomerRequest) SetBusinessDetailNil(b bool)
SetBusinessDetailNil sets the value for BusinessDetail to be an explicit nil
func (o *CustomerRequest) UnsetBusinessDetail()
UnsetBusinessDetail ensures that no value is present for BusinessDetail, not even an explicit nil
func (o *CustomerRequest) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *CustomerRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerRequest) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *CustomerRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *CustomerRequest) SetDescriptionNil(b bool)
SetDescriptionNil sets the value for Description to be an explicit nil
func (o *CustomerRequest) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (o *CustomerRequest) GetEmail() string
GetEmail returns the Email field if non-nil, zero value otherwise.
func (o *CustomerRequest) 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 *CustomerRequest) SetEmail(v string)
SetEmail sets Email field to given value.
func (o *CustomerRequest) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (o *CustomerRequest) GetMobileNumber() string
GetMobileNumber returns the MobileNumber field if non-nil, zero value otherwise.
func (o *CustomerRequest) 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 *CustomerRequest) SetMobileNumber(v string)
SetMobileNumber sets MobileNumber field to given value.
func (o *CustomerRequest) HasMobileNumber() bool
HasMobileNumber returns a boolean if a field has been set.
func (o *CustomerRequest) GetPhoneNumber() string
GetPhoneNumber returns the PhoneNumber field if non-nil, zero value otherwise.
func (o *CustomerRequest) 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 *CustomerRequest) SetPhoneNumber(v string)
SetPhoneNumber sets PhoneNumber field to given value.
func (o *CustomerRequest) HasPhoneNumber() bool
HasPhoneNumber returns a boolean if a field has been set.
func (o *CustomerRequest) GetAddresses() []AddressRequest
GetAddresses returns the Addresses field if non-nil, zero value otherwise.
func (o *CustomerRequest) GetAddressesOk() (*[]AddressRequest, 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 *CustomerRequest) SetAddresses(v []AddressRequest)
SetAddresses sets Addresses field to given value.
func (o *CustomerRequest) HasAddresses() bool
HasAddresses returns a boolean if a field has been set.
func (o *CustomerRequest) GetIdentityAccounts() []IdentityAccountRequest
GetIdentityAccounts returns the IdentityAccounts field if non-nil, zero value otherwise.
func (o *CustomerRequest) GetIdentityAccountsOk() (*[]IdentityAccountRequest, bool)
GetIdentityAccountsOk returns a tuple with the IdentityAccounts field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerRequest) SetIdentityAccounts(v []IdentityAccountRequest)
SetIdentityAccounts sets IdentityAccounts field to given value.
func (o *CustomerRequest) HasIdentityAccounts() bool
HasIdentityAccounts returns a boolean if a field has been set.
func (o *CustomerRequest) GetKycDocuments() []KYCDocumentRequest
GetKycDocuments returns the KycDocuments field if non-nil, zero value otherwise.
func (o *CustomerRequest) GetKycDocumentsOk() (*[]KYCDocumentRequest, bool)
GetKycDocumentsOk returns a tuple with the KycDocuments field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomerRequest) SetKycDocuments(v []KYCDocumentRequest)
SetKycDocuments sets KycDocuments field to given value.
func (o *CustomerRequest) HasKycDocuments() bool
HasKycDocuments returns a boolean if a field has been set.
func (o *CustomerRequest) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
func (o *CustomerRequest) 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 *CustomerRequest) SetMetadata(v map[string]interface{})
SetMetadata sets Metadata field to given value.
func (o *CustomerRequest) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.