customer

package
v5.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllowedAddressStatusEnumValues = []AddressStatus{
	"ACTIVE",
	"DELETED",
	"UNKNOWN_ENUM_VALUE",
}

All allowed values of AddressStatus enum

View Source
var AllowedEndCustomerStatusEnumValues = []EndCustomerStatus{
	"ACTIVE",
	"INACTIVE",
	"PENDING",
	"BLOCKED",
	"DELETED",
	"UNKNOWN_ENUM_VALUE",
}

All allowed values of EndCustomerStatus enum

View Source
var AllowedIdentityAccountTypeEnumValues = []IdentityAccountType{
	"BANK_ACCOUNT",
	"EWALLET",
	"CREDIT_CARD",
	"PAY_LATER",
	"OTC",
	"QR_CODE",
	"UNKNOWN_ENUM_VALUE",
}

All allowed values of IdentityAccountType enum

View Source
var AllowedKYCDocumentSubTypeEnumValues = []KYCDocumentSubType{
	"NATIONAL_ID",
	"CONSULAR_ID",
	"VOTER_ID",
	"POSTAL_ID",
	"RESIDENCE_PERMIT",
	"TAX_ID",
	"STUDENT_ID",
	"MILITARY_ID",
	"MEDICAL_ID",
	"OTHERS",
	"UNKNOWN_ENUM_VALUE",
}

All allowed values of KYCDocumentSubType enum

View Source
var AllowedKYCDocumentTypeEnumValues = []KYCDocumentType{
	"BIRTH_CERTIFICATE",
	"BANK_STATEMENT",
	"DRIVING_LICENSE",
	"IDENTITY_CARD",
	"PASSPORT",
	"VISA",
	"BUSINESS_REGISTRATION",
	"BUSINESS_LICENSE",
	"UNKNOWN_ENUM_VALUE",
}

All allowed values of KYCDocumentType enum

Functions

This section is empty.

Types

type AccountBank

type AccountBank struct {
	// Unique account identifier as per the bank records.
	AccountNumber *string `json:"account_number,omitempty"`
	// Name of account holder as per the bank records. Needs to match the registered account name exactly. .
	AccountHolderName NullableString `json:"account_holder_name,omitempty"`
	// The SWIFT code for international payments
	SwiftCode NullableString `json:"swift_code,omitempty"`
	// Free text account type, e.g., Savings, Transaction, Virtual Account.
	AccountType NullableString `json:"account_type,omitempty"`
	// Potentially masked account detail, for display purposes only.
	AccountDetails NullableString `json:"account_details,omitempty"`
	Currency       *string        `json:"currency,omitempty"`
}

AccountBank struct for AccountBank

func NewAccountBank

func NewAccountBank() *AccountBank

NewAccountBank instantiates a new AccountBank 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 NewAccountBankWithDefaults

func NewAccountBankWithDefaults() *AccountBank

NewAccountBankWithDefaults instantiates a new AccountBank 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 (*AccountBank) GetAccountDetails

func (o *AccountBank) GetAccountDetails() string

GetAccountDetails returns the AccountDetails field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AccountBank) GetAccountDetailsOk

func (o *AccountBank) GetAccountDetailsOk() (*string, bool)

GetAccountDetailsOk returns a tuple with the AccountDetails field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AccountBank) GetAccountHolderName

func (o *AccountBank) GetAccountHolderName() string

GetAccountHolderName returns the AccountHolderName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AccountBank) GetAccountHolderNameOk

func (o *AccountBank) GetAccountHolderNameOk() (*string, bool)

GetAccountHolderNameOk returns a tuple with the AccountHolderName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AccountBank) GetAccountNumber

func (o *AccountBank) GetAccountNumber() string

GetAccountNumber returns the AccountNumber field value if set, zero value otherwise.

func (*AccountBank) GetAccountNumberOk

func (o *AccountBank) GetAccountNumberOk() (*string, bool)

GetAccountNumberOk returns a tuple with the AccountNumber field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccountBank) GetAccountType

func (o *AccountBank) GetAccountType() string

GetAccountType returns the AccountType field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AccountBank) GetAccountTypeOk

func (o *AccountBank) GetAccountTypeOk() (*string, bool)

GetAccountTypeOk returns a tuple with the AccountType field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AccountBank) GetCurrency

func (o *AccountBank) GetCurrency() string

GetCurrency returns the Currency field value if set, zero value otherwise.

func (*AccountBank) GetCurrencyOk

func (o *AccountBank) GetCurrencyOk() (*string, bool)

GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccountBank) GetSwiftCode

func (o *AccountBank) GetSwiftCode() string

GetSwiftCode returns the SwiftCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AccountBank) GetSwiftCodeOk

func (o *AccountBank) GetSwiftCodeOk() (*string, bool)

GetSwiftCodeOk returns a tuple with the SwiftCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AccountBank) HasAccountDetails

func (o *AccountBank) HasAccountDetails() bool

HasAccountDetails returns a boolean if a field has been set.

func (*AccountBank) HasAccountHolderName

func (o *AccountBank) HasAccountHolderName() bool

HasAccountHolderName returns a boolean if a field has been set.

func (*AccountBank) HasAccountNumber

func (o *AccountBank) HasAccountNumber() bool

HasAccountNumber returns a boolean if a field has been set.

func (*AccountBank) HasAccountType

func (o *AccountBank) HasAccountType() bool

HasAccountType returns a boolean if a field has been set.

func (*AccountBank) HasCurrency

func (o *AccountBank) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (*AccountBank) HasSwiftCode

func (o *AccountBank) HasSwiftCode() bool

HasSwiftCode returns a boolean if a field has been set.

func (AccountBank) MarshalJSON

func (o AccountBank) MarshalJSON() ([]byte, error)

func (*AccountBank) SetAccountDetails

func (o *AccountBank) SetAccountDetails(v string)

SetAccountDetails gets a reference to the given NullableString and assigns it to the AccountDetails field.

func (*AccountBank) SetAccountDetailsNil

func (o *AccountBank) SetAccountDetailsNil()

SetAccountDetailsNil sets the value for AccountDetails to be an explicit nil

func (*AccountBank) SetAccountHolderName

func (o *AccountBank) SetAccountHolderName(v string)

SetAccountHolderName gets a reference to the given NullableString and assigns it to the AccountHolderName field.

func (*AccountBank) SetAccountHolderNameNil

func (o *AccountBank) SetAccountHolderNameNil()

SetAccountHolderNameNil sets the value for AccountHolderName to be an explicit nil

func (*AccountBank) SetAccountNumber

func (o *AccountBank) SetAccountNumber(v string)

SetAccountNumber gets a reference to the given string and assigns it to the AccountNumber field.

func (*AccountBank) SetAccountType

func (o *AccountBank) SetAccountType(v string)

SetAccountType gets a reference to the given NullableString and assigns it to the AccountType field.

func (*AccountBank) SetAccountTypeNil

func (o *AccountBank) SetAccountTypeNil()

SetAccountTypeNil sets the value for AccountType to be an explicit nil

func (*AccountBank) SetCurrency

func (o *AccountBank) SetCurrency(v string)

SetCurrency gets a reference to the given string and assigns it to the Currency field.

func (*AccountBank) SetSwiftCode

func (o *AccountBank) SetSwiftCode(v string)

SetSwiftCode gets a reference to the given NullableString and assigns it to the SwiftCode field.

func (*AccountBank) SetSwiftCodeNil

func (o *AccountBank) SetSwiftCodeNil()

SetSwiftCodeNil sets the value for SwiftCode to be an explicit nil

func (AccountBank) ToMap

func (o AccountBank) ToMap() (map[string]interface{}, error)

func (*AccountBank) UnsetAccountDetails

func (o *AccountBank) UnsetAccountDetails()

UnsetAccountDetails ensures that no value is present for AccountDetails, not even an explicit nil

func (*AccountBank) UnsetAccountHolderName

func (o *AccountBank) UnsetAccountHolderName()

UnsetAccountHolderName ensures that no value is present for AccountHolderName, not even an explicit nil

func (*AccountBank) UnsetAccountType

func (o *AccountBank) UnsetAccountType()

UnsetAccountType ensures that no value is present for AccountType, not even an explicit nil

func (*AccountBank) UnsetSwiftCode

func (o *AccountBank) UnsetSwiftCode()

UnsetSwiftCode ensures that no value is present for SwiftCode, not even an explicit nil

type AccountCard

type AccountCard struct {
	// The token id returned in tokenisation
	TokenId *string `json:"token_id,omitempty"`
}

AccountCard struct for AccountCard

func NewAccountCard

func NewAccountCard() *AccountCard

NewAccountCard instantiates a new AccountCard 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 NewAccountCardWithDefaults

func NewAccountCardWithDefaults() *AccountCard

NewAccountCardWithDefaults instantiates a new AccountCard 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 (*AccountCard) GetTokenId

func (o *AccountCard) GetTokenId() string

GetTokenId returns the TokenId field value if set, zero value otherwise.

func (*AccountCard) GetTokenIdOk

func (o *AccountCard) GetTokenIdOk() (*string, bool)

GetTokenIdOk returns a tuple with the TokenId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccountCard) HasTokenId

func (o *AccountCard) HasTokenId() bool

HasTokenId returns a boolean if a field has been set.

func (AccountCard) MarshalJSON

func (o AccountCard) MarshalJSON() ([]byte, error)

func (*AccountCard) SetTokenId

func (o *AccountCard) SetTokenId(v string)

SetTokenId gets a reference to the given string and assigns it to the TokenId field.

func (AccountCard) ToMap

func (o AccountCard) ToMap() (map[string]interface{}, error)

type AccountEwallet

type AccountEwallet struct {
	// Unique account identifier as per the bank records.
	AccountNumber *string `json:"account_number,omitempty"`
	// Name of account holder as per the bank records. Needs to match the registered account name exactly.
	AccountHolderName NullableString `json:"account_holder_name,omitempty"`
	Currency          *string        `json:"currency,omitempty"`
}

AccountEwallet struct for AccountEwallet

func NewAccountEwallet

func NewAccountEwallet() *AccountEwallet

NewAccountEwallet instantiates a new AccountEwallet 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 NewAccountEwalletWithDefaults

func NewAccountEwalletWithDefaults() *AccountEwallet

NewAccountEwalletWithDefaults instantiates a new AccountEwallet 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 (*AccountEwallet) GetAccountHolderName

func (o *AccountEwallet) GetAccountHolderName() string

GetAccountHolderName returns the AccountHolderName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AccountEwallet) GetAccountHolderNameOk

func (o *AccountEwallet) GetAccountHolderNameOk() (*string, bool)

GetAccountHolderNameOk returns a tuple with the AccountHolderName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AccountEwallet) GetAccountNumber

func (o *AccountEwallet) GetAccountNumber() string

GetAccountNumber returns the AccountNumber field value if set, zero value otherwise.

func (*AccountEwallet) GetAccountNumberOk

func (o *AccountEwallet) GetAccountNumberOk() (*string, bool)

GetAccountNumberOk returns a tuple with the AccountNumber field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccountEwallet) GetCurrency

func (o *AccountEwallet) GetCurrency() string

GetCurrency returns the Currency field value if set, zero value otherwise.

func (*AccountEwallet) GetCurrencyOk

func (o *AccountEwallet) GetCurrencyOk() (*string, bool)

GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccountEwallet) HasAccountHolderName

func (o *AccountEwallet) HasAccountHolderName() bool

HasAccountHolderName returns a boolean if a field has been set.

func (*AccountEwallet) HasAccountNumber

func (o *AccountEwallet) HasAccountNumber() bool

HasAccountNumber returns a boolean if a field has been set.

func (*AccountEwallet) HasCurrency

func (o *AccountEwallet) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (AccountEwallet) MarshalJSON

func (o AccountEwallet) MarshalJSON() ([]byte, error)

func (*AccountEwallet) SetAccountHolderName

func (o *AccountEwallet) SetAccountHolderName(v string)

SetAccountHolderName gets a reference to the given NullableString and assigns it to the AccountHolderName field.

func (*AccountEwallet) SetAccountHolderNameNil

func (o *AccountEwallet) SetAccountHolderNameNil()

SetAccountHolderNameNil sets the value for AccountHolderName to be an explicit nil

func (*AccountEwallet) SetAccountNumber

func (o *AccountEwallet) SetAccountNumber(v string)

SetAccountNumber gets a reference to the given string and assigns it to the AccountNumber field.

func (*AccountEwallet) SetCurrency

func (o *AccountEwallet) SetCurrency(v string)

SetCurrency gets a reference to the given string and assigns it to the Currency field.

func (AccountEwallet) ToMap

func (o AccountEwallet) ToMap() (map[string]interface{}, error)

func (*AccountEwallet) UnsetAccountHolderName

func (o *AccountEwallet) UnsetAccountHolderName()

UnsetAccountHolderName ensures that no value is present for AccountHolderName, not even an explicit nil

type AccountOTC

type AccountOTC struct {
	// Complete fixed payment code (including prefix)
	PaymentCode *string `json:"payment_code,omitempty"`
	// YYYY-MM-DD string with expiry date for the payment code
	ExpiresAt NullableString `json:"expires_at,omitempty"`
}

AccountOTC struct for AccountOTC

func NewAccountOTC

func NewAccountOTC() *AccountOTC

NewAccountOTC instantiates a new AccountOTC 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 NewAccountOTCWithDefaults

func NewAccountOTCWithDefaults() *AccountOTC

NewAccountOTCWithDefaults instantiates a new AccountOTC 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 (*AccountOTC) GetExpiresAt

func (o *AccountOTC) GetExpiresAt() string

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AccountOTC) GetExpiresAtOk

func (o *AccountOTC) GetExpiresAtOk() (*string, bool)

GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AccountOTC) GetPaymentCode

func (o *AccountOTC) GetPaymentCode() string

GetPaymentCode returns the PaymentCode field value if set, zero value otherwise.

func (*AccountOTC) GetPaymentCodeOk

func (o *AccountOTC) GetPaymentCodeOk() (*string, bool)

GetPaymentCodeOk returns a tuple with the PaymentCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccountOTC) HasExpiresAt

func (o *AccountOTC) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (*AccountOTC) HasPaymentCode

func (o *AccountOTC) HasPaymentCode() bool

HasPaymentCode returns a boolean if a field has been set.

func (AccountOTC) MarshalJSON

func (o AccountOTC) MarshalJSON() ([]byte, error)

func (*AccountOTC) SetExpiresAt

func (o *AccountOTC) SetExpiresAt(v string)

SetExpiresAt gets a reference to the given NullableString and assigns it to the ExpiresAt field.

func (*AccountOTC) SetExpiresAtNil

func (o *AccountOTC) SetExpiresAtNil()

SetExpiresAtNil sets the value for ExpiresAt to be an explicit nil

func (*AccountOTC) SetPaymentCode

func (o *AccountOTC) SetPaymentCode(v string)

SetPaymentCode gets a reference to the given string and assigns it to the PaymentCode field.

func (AccountOTC) ToMap

func (o AccountOTC) ToMap() (map[string]interface{}, error)

func (*AccountOTC) UnsetExpiresAt

func (o *AccountOTC) UnsetExpiresAt()

UnsetExpiresAt ensures that no value is present for ExpiresAt, not even an explicit nil

type AccountPayLater

type AccountPayLater struct {
	// Alphanumeric string identifying this account. Usually an email address or phone number.
	AccountId *string `json:"account_id,omitempty"`
	// Name of account holder as per the cardless credit account.
	AccountHolderName NullableString `json:"account_holder_name,omitempty"`
	Currency          *string        `json:"currency,omitempty"`
}

AccountPayLater struct for AccountPayLater

func NewAccountPayLater

func NewAccountPayLater() *AccountPayLater

NewAccountPayLater instantiates a new AccountPayLater 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 NewAccountPayLaterWithDefaults

func NewAccountPayLaterWithDefaults() *AccountPayLater

NewAccountPayLaterWithDefaults instantiates a new AccountPayLater 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 (*AccountPayLater) GetAccountHolderName

func (o *AccountPayLater) GetAccountHolderName() string

GetAccountHolderName returns the AccountHolderName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AccountPayLater) GetAccountHolderNameOk

func (o *AccountPayLater) GetAccountHolderNameOk() (*string, bool)

GetAccountHolderNameOk returns a tuple with the AccountHolderName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AccountPayLater) GetAccountId

func (o *AccountPayLater) GetAccountId() string

GetAccountId returns the AccountId field value if set, zero value otherwise.

func (*AccountPayLater) GetAccountIdOk

func (o *AccountPayLater) GetAccountIdOk() (*string, bool)

GetAccountIdOk returns a tuple with the AccountId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccountPayLater) GetCurrency

func (o *AccountPayLater) GetCurrency() string

GetCurrency returns the Currency field value if set, zero value otherwise.

func (*AccountPayLater) GetCurrencyOk

func (o *AccountPayLater) GetCurrencyOk() (*string, bool)

GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccountPayLater) HasAccountHolderName

func (o *AccountPayLater) HasAccountHolderName() bool

HasAccountHolderName returns a boolean if a field has been set.

func (*AccountPayLater) HasAccountId

func (o *AccountPayLater) HasAccountId() bool

HasAccountId returns a boolean if a field has been set.

func (*AccountPayLater) HasCurrency

func (o *AccountPayLater) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (AccountPayLater) MarshalJSON

func (o AccountPayLater) MarshalJSON() ([]byte, error)

func (*AccountPayLater) SetAccountHolderName

func (o *AccountPayLater) SetAccountHolderName(v string)

SetAccountHolderName gets a reference to the given NullableString and assigns it to the AccountHolderName field.

func (*AccountPayLater) SetAccountHolderNameNil

func (o *AccountPayLater) SetAccountHolderNameNil()

SetAccountHolderNameNil sets the value for AccountHolderName to be an explicit nil

func (*AccountPayLater) SetAccountId

func (o *AccountPayLater) SetAccountId(v string)

SetAccountId gets a reference to the given string and assigns it to the AccountId field.

func (*AccountPayLater) SetCurrency

func (o *AccountPayLater) SetCurrency(v string)

SetCurrency gets a reference to the given string and assigns it to the Currency field.

func (AccountPayLater) ToMap

func (o AccountPayLater) ToMap() (map[string]interface{}, error)

func (*AccountPayLater) UnsetAccountHolderName

func (o *AccountPayLater) UnsetAccountHolderName()

UnsetAccountHolderName ensures that no value is present for AccountHolderName, not even an explicit nil

type AccountQRCode

type AccountQRCode struct {
	// String representation of the QR Code image
	QrString *string `json:"qr_string,omitempty"`
}

AccountQRCode struct for AccountQRCode

func NewAccountQRCode

func NewAccountQRCode() *AccountQRCode

NewAccountQRCode instantiates a new AccountQRCode 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 NewAccountQRCodeWithDefaults

func NewAccountQRCodeWithDefaults() *AccountQRCode

NewAccountQRCodeWithDefaults instantiates a new AccountQRCode 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 (*AccountQRCode) GetQrString

func (o *AccountQRCode) GetQrString() string

GetQrString returns the QrString field value if set, zero value otherwise.

func (*AccountQRCode) GetQrStringOk

func (o *AccountQRCode) GetQrStringOk() (*string, bool)

GetQrStringOk returns a tuple with the QrString field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccountQRCode) HasQrString

func (o *AccountQRCode) HasQrString() bool

HasQrString returns a boolean if a field has been set.

func (AccountQRCode) MarshalJSON

func (o AccountQRCode) MarshalJSON() ([]byte, error)

func (*AccountQRCode) SetQrString

func (o *AccountQRCode) SetQrString(v string)

SetQrString gets a reference to the given string and assigns it to the QrString field.

func (AccountQRCode) ToMap

func (o AccountQRCode) ToMap() (map[string]interface{}, error)

type Address

type Address struct {
	Id            *string                `json:"id,omitempty"`
	Category      NullableString         `json:"category"`
	Country       string                 `json:"country"`
	ProvinceState NullableString         `json:"province_state"`
	City          NullableString         `json:"city"`
	PostalCode    NullableString         `json:"postal_code"`
	StreetLine1   NullableString         `json:"street_line1"`
	StreetLine2   NullableString         `json:"street_line2"`
	Status        NullableAddressStatus  `json:"status,omitempty"`
	IsPrimary     NullableBool           `json:"is_primary"`
	Meta          map[string]interface{} `json:"meta,omitempty"`
	Created       *time.Time             `json:"created,omitempty"`
	Updated       *time.Time             `json:"updated,omitempty"`
}

Address struct for Address

func NewAddress

func NewAddress(category NullableString, country string, provinceState NullableString, city NullableString, postalCode NullableString, streetLine1 NullableString, streetLine2 NullableString, isPrimary NullableBool) *Address

NewAddress instantiates a new Address 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 NewAddressWithDefaults

func NewAddressWithDefaults() *Address

NewAddressWithDefaults instantiates a new Address 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 (*Address) GetCategory

func (o *Address) GetCategory() string

GetCategory returns the Category field value If the value is explicit nil, the zero value for string will be returned

func (*Address) GetCategoryOk

func (o *Address) GetCategoryOk() (*string, bool)

GetCategoryOk returns a tuple with the Category field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Address) GetCity

func (o *Address) GetCity() string

GetCity returns the City field value If the value is explicit nil, the zero value for string will be returned

func (*Address) GetCityOk

func (o *Address) GetCityOk() (*string, bool)

GetCityOk returns a tuple with the City field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Address) GetCountry

func (o *Address) GetCountry() string

GetCountry returns the Country field value

func (*Address) GetCountryOk

func (o *Address) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value and a boolean to check if the value has been set.

func (*Address) GetCreated

func (o *Address) GetCreated() time.Time

GetCreated returns the Created field value if set, zero value otherwise.

func (*Address) GetCreatedOk

func (o *Address) GetCreatedOk() (*time.Time, bool)

GetCreatedOk returns a tuple with the Created field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Address) GetId

func (o *Address) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Address) GetIdOk

func (o *Address) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Address) GetIsPrimary

func (o *Address) GetIsPrimary() bool

GetIsPrimary returns the IsPrimary field value If the value is explicit nil, the zero value for bool will be returned

func (*Address) GetIsPrimaryOk

func (o *Address) GetIsPrimaryOk() (*bool, bool)

GetIsPrimaryOk returns a tuple with the IsPrimary field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Address) GetMeta

func (o *Address) GetMeta() map[string]interface{}

GetMeta returns the Meta field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Address) GetMetaOk

func (o *Address) GetMetaOk() (map[string]interface{}, bool)

GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Address) GetPostalCode

func (o *Address) GetPostalCode() string

GetPostalCode returns the PostalCode field value If the value is explicit nil, the zero value for string will be returned

func (*Address) GetPostalCodeOk

func (o *Address) GetPostalCodeOk() (*string, bool)

GetPostalCodeOk returns a tuple with the PostalCode field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Address) GetProvinceState

func (o *Address) GetProvinceState() string

GetProvinceState returns the ProvinceState field value If the value is explicit nil, the zero value for string will be returned

func (*Address) GetProvinceStateOk

func (o *Address) GetProvinceStateOk() (*string, bool)

GetProvinceStateOk returns a tuple with the ProvinceState field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Address) GetStatus

func (o *Address) GetStatus() AddressStatus

GetStatus returns the Status field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Address) GetStatusOk

func (o *Address) GetStatusOk() (*AddressStatus, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Address) GetStreetLine1

func (o *Address) GetStreetLine1() string

GetStreetLine1 returns the StreetLine1 field value If the value is explicit nil, the zero value for string will be returned

func (*Address) GetStreetLine1Ok

func (o *Address) GetStreetLine1Ok() (*string, bool)

GetStreetLine1Ok returns a tuple with the StreetLine1 field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Address) GetStreetLine2

func (o *Address) GetStreetLine2() string

GetStreetLine2 returns the StreetLine2 field value If the value is explicit nil, the zero value for string will be returned

func (*Address) GetStreetLine2Ok

func (o *Address) GetStreetLine2Ok() (*string, bool)

GetStreetLine2Ok returns a tuple with the StreetLine2 field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Address) GetUpdated

func (o *Address) GetUpdated() time.Time

GetUpdated returns the Updated field value if set, zero value otherwise.

func (*Address) GetUpdatedOk

func (o *Address) GetUpdatedOk() (*time.Time, bool)

GetUpdatedOk returns a tuple with the Updated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Address) HasCreated

func (o *Address) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*Address) HasId

func (o *Address) HasId() bool

HasId returns a boolean if a field has been set.

func (*Address) HasMeta

func (o *Address) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (*Address) HasStatus

func (o *Address) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Address) HasUpdated

func (o *Address) HasUpdated() bool

HasUpdated returns a boolean if a field has been set.

func (Address) MarshalJSON

func (o Address) MarshalJSON() ([]byte, error)

func (*Address) SetCategory

func (o *Address) SetCategory(v string)

SetCategory sets field value

func (*Address) SetCity

func (o *Address) SetCity(v string)

SetCity sets field value

func (*Address) SetCountry

func (o *Address) SetCountry(v string)

SetCountry sets field value

func (*Address) SetCreated

func (o *Address) SetCreated(v time.Time)

SetCreated gets a reference to the given time.Time and assigns it to the Created field.

func (*Address) SetId

func (o *Address) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Address) SetIsPrimary

func (o *Address) SetIsPrimary(v bool)

SetIsPrimary sets field value

func (*Address) SetMeta

func (o *Address) SetMeta(v map[string]interface{})

SetMeta gets a reference to the given map[string]interface{} and assigns it to the Meta field.

func (*Address) SetPostalCode

func (o *Address) SetPostalCode(v string)

SetPostalCode sets field value

func (*Address) SetProvinceState

func (o *Address) SetProvinceState(v string)

SetProvinceState sets field value

func (*Address) SetStatus

func (o *Address) SetStatus(v AddressStatus)

SetStatus gets a reference to the given NullableAddressStatus and assigns it to the Status field.

func (*Address) SetStatusNil

func (o *Address) SetStatusNil()

SetStatusNil sets the value for Status to be an explicit nil

func (*Address) SetStreetLine1

func (o *Address) SetStreetLine1(v string)

SetStreetLine1 sets field value

func (*Address) SetStreetLine2

func (o *Address) SetStreetLine2(v string)

SetStreetLine2 sets field value

func (*Address) SetUpdated

func (o *Address) SetUpdated(v time.Time)

SetUpdated gets a reference to the given time.Time and assigns it to the Updated field.

func (Address) ToMap

func (o Address) ToMap() (map[string]interface{}, error)

func (*Address) UnsetStatus

func (o *Address) UnsetStatus()

UnsetStatus ensures that no value is present for Status, not even an explicit nil

type AddressRequest

type AddressRequest struct {
	// Home, work or provincial
	Category *string `json:"category,omitempty"`
	// ISO3166-2 country code
	CountryCode   NullableString        `json:"country_code,omitempty"`
	ProvinceState *string               `json:"province_state,omitempty"`
	City          *string               `json:"city,omitempty"`
	Suburb        *string               `json:"suburb,omitempty"`
	PostalCode    *string               `json:"postal_code,omitempty"`
	Line1         *string               `json:"line_1,omitempty"`
	Line2         *string               `json:"line_2,omitempty"`
	Status        NullableAddressStatus `json:"status,omitempty"`
	IsPrimary     *bool                 `json:"is_primary,omitempty"`
}

AddressRequest struct for AddressRequest

func NewAddressRequest

func NewAddressRequest() *AddressRequest

NewAddressRequest instantiates a new AddressRequest 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 NewAddressRequestWithDefaults

func NewAddressRequestWithDefaults() *AddressRequest

NewAddressRequestWithDefaults instantiates a new AddressRequest 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 (*AddressRequest) GetCategory

func (o *AddressRequest) GetCategory() string

GetCategory returns the Category field value if set, zero value otherwise.

func (*AddressRequest) GetCategoryOk

func (o *AddressRequest) GetCategoryOk() (*string, bool)

GetCategoryOk returns a tuple with the Category field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AddressRequest) GetCity

func (o *AddressRequest) GetCity() string

GetCity returns the City field value if set, zero value otherwise.

func (*AddressRequest) GetCityOk

func (o *AddressRequest) GetCityOk() (*string, bool)

GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AddressRequest) GetCountryCode

func (o *AddressRequest) GetCountryCode() string

GetCountryCode returns the CountryCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AddressRequest) GetCountryCodeOk

func (o *AddressRequest) GetCountryCodeOk() (*string, bool)

GetCountryCodeOk returns a tuple with the CountryCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AddressRequest) GetIsPrimary

func (o *AddressRequest) GetIsPrimary() bool

GetIsPrimary returns the IsPrimary field value if set, zero value otherwise.

func (*AddressRequest) GetIsPrimaryOk

func (o *AddressRequest) GetIsPrimaryOk() (*bool, bool)

GetIsPrimaryOk returns a tuple with the IsPrimary field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AddressRequest) GetLine1

func (o *AddressRequest) GetLine1() string

GetLine1 returns the Line1 field value if set, zero value otherwise.

func (*AddressRequest) GetLine1Ok

func (o *AddressRequest) GetLine1Ok() (*string, bool)

GetLine1Ok returns a tuple with the Line1 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AddressRequest) GetLine2

func (o *AddressRequest) GetLine2() string

GetLine2 returns the Line2 field value if set, zero value otherwise.

func (*AddressRequest) GetLine2Ok

func (o *AddressRequest) GetLine2Ok() (*string, bool)

GetLine2Ok returns a tuple with the Line2 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AddressRequest) GetPostalCode

func (o *AddressRequest) GetPostalCode() string

GetPostalCode returns the PostalCode field value if set, zero value otherwise.

func (*AddressRequest) GetPostalCodeOk

func (o *AddressRequest) GetPostalCodeOk() (*string, bool)

GetPostalCodeOk returns a tuple with the PostalCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AddressRequest) GetProvinceState

func (o *AddressRequest) GetProvinceState() string

GetProvinceState returns the ProvinceState field value if set, zero value otherwise.

func (*AddressRequest) GetProvinceStateOk

func (o *AddressRequest) GetProvinceStateOk() (*string, bool)

GetProvinceStateOk returns a tuple with the ProvinceState field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AddressRequest) GetStatus

func (o *AddressRequest) GetStatus() AddressStatus

GetStatus returns the Status field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AddressRequest) GetStatusOk

func (o *AddressRequest) GetStatusOk() (*AddressStatus, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AddressRequest) GetSuburb

func (o *AddressRequest) GetSuburb() string

GetSuburb returns the Suburb field value if set, zero value otherwise.

func (*AddressRequest) GetSuburbOk

func (o *AddressRequest) GetSuburbOk() (*string, bool)

GetSuburbOk returns a tuple with the Suburb field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AddressRequest) HasCategory

func (o *AddressRequest) HasCategory() bool

HasCategory returns a boolean if a field has been set.

func (*AddressRequest) HasCity

func (o *AddressRequest) HasCity() bool

HasCity returns a boolean if a field has been set.

func (*AddressRequest) HasCountryCode

func (o *AddressRequest) HasCountryCode() bool

HasCountryCode returns a boolean if a field has been set.

func (*AddressRequest) HasIsPrimary

func (o *AddressRequest) HasIsPrimary() bool

HasIsPrimary returns a boolean if a field has been set.

func (*AddressRequest) HasLine1

func (o *AddressRequest) HasLine1() bool

HasLine1 returns a boolean if a field has been set.

func (*AddressRequest) HasLine2

func (o *AddressRequest) HasLine2() bool

HasLine2 returns a boolean if a field has been set.

func (*AddressRequest) HasPostalCode

func (o *AddressRequest) HasPostalCode() bool

HasPostalCode returns a boolean if a field has been set.

func (*AddressRequest) HasProvinceState

func (o *AddressRequest) HasProvinceState() bool

HasProvinceState returns a boolean if a field has been set.

func (*AddressRequest) HasStatus

func (o *AddressRequest) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*AddressRequest) HasSuburb

func (o *AddressRequest) HasSuburb() bool

HasSuburb returns a boolean if a field has been set.

func (AddressRequest) MarshalJSON

func (o AddressRequest) MarshalJSON() ([]byte, error)

func (*AddressRequest) SetCategory

func (o *AddressRequest) SetCategory(v string)

SetCategory gets a reference to the given string and assigns it to the Category field.

func (*AddressRequest) SetCity

func (o *AddressRequest) SetCity(v string)

SetCity gets a reference to the given string and assigns it to the City field.

func (*AddressRequest) SetCountryCode

func (o *AddressRequest) SetCountryCode(v string)

SetCountryCode gets a reference to the given NullableString and assigns it to the CountryCode field.

func (*AddressRequest) SetCountryCodeNil

func (o *AddressRequest) SetCountryCodeNil()

SetCountryCodeNil sets the value for CountryCode to be an explicit nil

func (*AddressRequest) SetIsPrimary

func (o *AddressRequest) SetIsPrimary(v bool)

SetIsPrimary gets a reference to the given bool and assigns it to the IsPrimary field.

func (*AddressRequest) SetLine1

func (o *AddressRequest) SetLine1(v string)

SetLine1 gets a reference to the given string and assigns it to the Line1 field.

func (*AddressRequest) SetLine2

func (o *AddressRequest) SetLine2(v string)

SetLine2 gets a reference to the given string and assigns it to the Line2 field.

func (*AddressRequest) SetPostalCode

func (o *AddressRequest) SetPostalCode(v string)

SetPostalCode gets a reference to the given string and assigns it to the PostalCode field.

func (*AddressRequest) SetProvinceState

func (o *AddressRequest) SetProvinceState(v string)

SetProvinceState gets a reference to the given string and assigns it to the ProvinceState field.

func (*AddressRequest) SetStatus

func (o *AddressRequest) SetStatus(v AddressStatus)

SetStatus gets a reference to the given NullableAddressStatus and assigns it to the Status field.

func (*AddressRequest) SetStatusNil

func (o *AddressRequest) SetStatusNil()

SetStatusNil sets the value for Status to be an explicit nil

func (*AddressRequest) SetSuburb

func (o *AddressRequest) SetSuburb(v string)

SetSuburb gets a reference to the given string and assigns it to the Suburb field.

func (AddressRequest) ToMap

func (o AddressRequest) ToMap() (map[string]interface{}, error)

func (*AddressRequest) UnsetCountryCode

func (o *AddressRequest) UnsetCountryCode()

UnsetCountryCode ensures that no value is present for CountryCode, not even an explicit nil

func (*AddressRequest) UnsetStatus

func (o *AddressRequest) UnsetStatus()

UnsetStatus ensures that no value is present for Status, not even an explicit nil

type AddressStatus

type AddressStatus string

AddressStatus the model 'AddressStatus'

const (
	ADDRESSSTATUS_ACTIVE                       AddressStatus = "ACTIVE"
	ADDRESSSTATUS_DELETED                      AddressStatus = "DELETED"
	ADDRESSSTATUS_XENDIT_ENUM_DEFAULT_FALLBACK AddressStatus = "UNKNOWN_ENUM_VALUE"
)

List of AddressStatus

func NewAddressStatusFromValue

func NewAddressStatusFromValue(v string) (*AddressStatus, error)

NewAddressStatusFromValue returns a pointer to a valid AddressStatus for the value passed as argument, or an error if the value passed is not allowed by the enum

func (AddressStatus) IsValid

func (v AddressStatus) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (AddressStatus) Ptr

func (v AddressStatus) Ptr() *AddressStatus

Ptr returns reference to AddressStatus value

func (AddressStatus) String

func (v AddressStatus) String() string

func (*AddressStatus) UnmarshalJSON

func (v *AddressStatus) UnmarshalJSON(src []byte) error

type ApiCreateCustomerRequest

type ApiCreateCustomerRequest struct {
	ApiService CustomerApi
	// contains filtered or unexported fields
}

func (ApiCreateCustomerRequest) CustomerRequest

func (r ApiCreateCustomerRequest) CustomerRequest(customerRequest CustomerRequest) ApiCreateCustomerRequest

Request object for end customer object

func (ApiCreateCustomerRequest) Execute

func (ApiCreateCustomerRequest) ForUserId

The sub-account user-id that you want to make this transaction for.

func (ApiCreateCustomerRequest) IdempotencyKey

func (r ApiCreateCustomerRequest) IdempotencyKey(idempotencyKey string) ApiCreateCustomerRequest

A unique key to prevent processing duplicate requests.

type ApiGetCustomerByReferenceIDRequest

type ApiGetCustomerByReferenceIDRequest struct {
	ApiService CustomerApi
	// contains filtered or unexported fields
}

func (ApiGetCustomerByReferenceIDRequest) Execute

func (ApiGetCustomerByReferenceIDRequest) ForUserId

The sub-account user-id that you want to make this transaction for.

func (ApiGetCustomerByReferenceIDRequest) ReferenceId

Merchant's reference of end customer

type ApiGetCustomerRequest

type ApiGetCustomerRequest struct {
	ApiService CustomerApi
	// contains filtered or unexported fields
}

func (ApiGetCustomerRequest) Execute

func (ApiGetCustomerRequest) ForUserId

func (r ApiGetCustomerRequest) ForUserId(forUserId string) ApiGetCustomerRequest

The sub-account user-id that you want to make this transaction for.

type ApiUpdateCustomerRequest

type ApiUpdateCustomerRequest struct {
	ApiService CustomerApi
	// contains filtered or unexported fields
}

func (ApiUpdateCustomerRequest) Execute

func (ApiUpdateCustomerRequest) ForUserId

The sub-account user-id that you want to make this transaction for.

func (ApiUpdateCustomerRequest) PatchCustomer

func (r ApiUpdateCustomerRequest) PatchCustomer(patchCustomer PatchCustomer) ApiUpdateCustomerRequest

Update Request for end customer object

type BusinessDetail

type BusinessDetail struct {
	BusinessName       *string        `json:"business_name,omitempty"`
	BusinessType       NullableString `json:"business_type,omitempty"`
	DateOfRegistration NullableString `json:"date_of_registration,omitempty"`
	NatureOfBusiness   NullableString `json:"nature_of_business,omitempty"`
	// ISO3166-2 country code
	BusinessDomicile NullableString `json:"business_domicile,omitempty"`
}

BusinessDetail struct for BusinessDetail

func NewBusinessDetail

func NewBusinessDetail() *BusinessDetail

NewBusinessDetail instantiates a new BusinessDetail 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 NewBusinessDetailWithDefaults

func NewBusinessDetailWithDefaults() *BusinessDetail

NewBusinessDetailWithDefaults instantiates a new BusinessDetail 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 (*BusinessDetail) GetBusinessDomicile

func (o *BusinessDetail) GetBusinessDomicile() string

GetBusinessDomicile returns the BusinessDomicile field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BusinessDetail) GetBusinessDomicileOk

func (o *BusinessDetail) GetBusinessDomicileOk() (*string, bool)

GetBusinessDomicileOk returns a tuple with the BusinessDomicile field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BusinessDetail) GetBusinessName

func (o *BusinessDetail) GetBusinessName() string

GetBusinessName returns the BusinessName field value if set, zero value otherwise.

func (*BusinessDetail) GetBusinessNameOk

func (o *BusinessDetail) GetBusinessNameOk() (*string, bool)

GetBusinessNameOk returns a tuple with the BusinessName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BusinessDetail) GetBusinessType

func (o *BusinessDetail) GetBusinessType() string

GetBusinessType returns the BusinessType field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BusinessDetail) GetBusinessTypeOk

func (o *BusinessDetail) GetBusinessTypeOk() (*string, bool)

GetBusinessTypeOk returns a tuple with the BusinessType field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BusinessDetail) GetDateOfRegistration

func (o *BusinessDetail) GetDateOfRegistration() string

GetDateOfRegistration returns the DateOfRegistration field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BusinessDetail) GetDateOfRegistrationOk

func (o *BusinessDetail) GetDateOfRegistrationOk() (*string, bool)

GetDateOfRegistrationOk returns a tuple with the DateOfRegistration field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BusinessDetail) GetNatureOfBusiness

func (o *BusinessDetail) GetNatureOfBusiness() string

GetNatureOfBusiness returns the NatureOfBusiness field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BusinessDetail) GetNatureOfBusinessOk

func (o *BusinessDetail) GetNatureOfBusinessOk() (*string, bool)

GetNatureOfBusinessOk returns a tuple with the NatureOfBusiness field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BusinessDetail) HasBusinessDomicile

func (o *BusinessDetail) HasBusinessDomicile() bool

HasBusinessDomicile returns a boolean if a field has been set.

func (*BusinessDetail) HasBusinessName

func (o *BusinessDetail) HasBusinessName() bool

HasBusinessName returns a boolean if a field has been set.

func (*BusinessDetail) HasBusinessType

func (o *BusinessDetail) HasBusinessType() bool

HasBusinessType returns a boolean if a field has been set.

func (*BusinessDetail) HasDateOfRegistration

func (o *BusinessDetail) HasDateOfRegistration() bool

HasDateOfRegistration returns a boolean if a field has been set.

func (*BusinessDetail) HasNatureOfBusiness

func (o *BusinessDetail) HasNatureOfBusiness() bool

HasNatureOfBusiness returns a boolean if a field has been set.

func (BusinessDetail) MarshalJSON

func (o BusinessDetail) MarshalJSON() ([]byte, error)

func (*BusinessDetail) SetBusinessDomicile

func (o *BusinessDetail) SetBusinessDomicile(v string)

SetBusinessDomicile gets a reference to the given NullableString and assigns it to the BusinessDomicile field.

func (*BusinessDetail) SetBusinessDomicileNil

func (o *BusinessDetail) SetBusinessDomicileNil()

SetBusinessDomicileNil sets the value for BusinessDomicile to be an explicit nil

func (*BusinessDetail) SetBusinessName

func (o *BusinessDetail) SetBusinessName(v string)

SetBusinessName gets a reference to the given string and assigns it to the BusinessName field.

func (*BusinessDetail) SetBusinessType

func (o *BusinessDetail) SetBusinessType(v string)

SetBusinessType gets a reference to the given NullableString and assigns it to the BusinessType field.

func (*BusinessDetail) SetBusinessTypeNil

func (o *BusinessDetail) SetBusinessTypeNil()

SetBusinessTypeNil sets the value for BusinessType to be an explicit nil

func (*BusinessDetail) SetDateOfRegistration

func (o *BusinessDetail) SetDateOfRegistration(v string)

SetDateOfRegistration gets a reference to the given NullableString and assigns it to the DateOfRegistration field.

func (*BusinessDetail) SetDateOfRegistrationNil

func (o *BusinessDetail) SetDateOfRegistrationNil()

SetDateOfRegistrationNil sets the value for DateOfRegistration to be an explicit nil

func (*BusinessDetail) SetNatureOfBusiness

func (o *BusinessDetail) SetNatureOfBusiness(v string)

SetNatureOfBusiness gets a reference to the given NullableString and assigns it to the NatureOfBusiness field.

func (*BusinessDetail) SetNatureOfBusinessNil

func (o *BusinessDetail) SetNatureOfBusinessNil()

SetNatureOfBusinessNil sets the value for NatureOfBusiness to be an explicit nil

func (BusinessDetail) ToMap

func (o BusinessDetail) ToMap() (map[string]interface{}, error)

func (*BusinessDetail) UnsetBusinessDomicile

func (o *BusinessDetail) UnsetBusinessDomicile()

UnsetBusinessDomicile ensures that no value is present for BusinessDomicile, not even an explicit nil

func (*BusinessDetail) UnsetBusinessType

func (o *BusinessDetail) UnsetBusinessType()

UnsetBusinessType ensures that no value is present for BusinessType, not even an explicit nil

func (*BusinessDetail) UnsetDateOfRegistration

func (o *BusinessDetail) UnsetDateOfRegistration()

UnsetDateOfRegistration ensures that no value is present for DateOfRegistration, not even an explicit nil

func (*BusinessDetail) UnsetNatureOfBusiness

func (o *BusinessDetail) UnsetNatureOfBusiness()

UnsetNatureOfBusiness ensures that no value is present for NatureOfBusiness, not even an explicit nil

type CreateCustomer400Response

type CreateCustomer400Response struct {
	ErrorCode string                   `json:"error_code"`
	Message   interface{}              `json:"message"`
	Errors    []map[string]interface{} `json:"errors,omitempty"`
}

CreateCustomer400Response struct for CreateCustomer400Response

func NewCreateCustomer400Response

func NewCreateCustomer400Response(errorCode string, message interface{}) *CreateCustomer400Response

NewCreateCustomer400Response instantiates a new CreateCustomer400Response 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 NewCreateCustomer400ResponseWithDefaults

func NewCreateCustomer400ResponseWithDefaults() *CreateCustomer400Response

NewCreateCustomer400ResponseWithDefaults instantiates a new CreateCustomer400Response 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 (*CreateCustomer400Response) GetErrorCode

func (o *CreateCustomer400Response) GetErrorCode() string

GetErrorCode returns the ErrorCode field value

func (*CreateCustomer400Response) GetErrorCodeOk

func (o *CreateCustomer400Response) GetErrorCodeOk() (*string, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value and a boolean to check if the value has been set.

func (*CreateCustomer400Response) GetErrors

func (o *CreateCustomer400Response) GetErrors() []map[string]interface{}

GetErrors returns the Errors field value if set, zero value otherwise.

func (*CreateCustomer400Response) GetErrorsOk

func (o *CreateCustomer400Response) GetErrorsOk() ([]map[string]interface{}, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateCustomer400Response) GetMessage

func (o *CreateCustomer400Response) GetMessage() interface{}

GetMessage returns the Message field value If the value is explicit nil, the zero value for interface{} will be returned

func (*CreateCustomer400Response) GetMessageOk

func (o *CreateCustomer400Response) GetMessageOk() (*interface{}, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateCustomer400Response) HasErrors

func (o *CreateCustomer400Response) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (CreateCustomer400Response) MarshalJSON

func (o CreateCustomer400Response) MarshalJSON() ([]byte, error)

func (*CreateCustomer400Response) SetErrorCode

func (o *CreateCustomer400Response) SetErrorCode(v string)

SetErrorCode sets field value

func (*CreateCustomer400Response) SetErrors

func (o *CreateCustomer400Response) SetErrors(v []map[string]interface{})

SetErrors gets a reference to the given []map[string]interface{} and assigns it to the Errors field.

func (*CreateCustomer400Response) SetMessage

func (o *CreateCustomer400Response) SetMessage(v interface{})

SetMessage sets field value

func (CreateCustomer400Response) ToMap

func (o CreateCustomer400Response) ToMap() (map[string]interface{}, error)

type CreateCustomer400ResponseAllOf

type CreateCustomer400ResponseAllOf struct {
	ErrorCode *string     `json:"error_code,omitempty"`
	Message   interface{} `json:"message,omitempty"`
}

CreateCustomer400ResponseAllOf struct for CreateCustomer400ResponseAllOf

func NewCreateCustomer400ResponseAllOf

func NewCreateCustomer400ResponseAllOf() *CreateCustomer400ResponseAllOf

NewCreateCustomer400ResponseAllOf instantiates a new CreateCustomer400ResponseAllOf 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 NewCreateCustomer400ResponseAllOfWithDefaults

func NewCreateCustomer400ResponseAllOfWithDefaults() *CreateCustomer400ResponseAllOf

NewCreateCustomer400ResponseAllOfWithDefaults instantiates a new CreateCustomer400ResponseAllOf 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 (*CreateCustomer400ResponseAllOf) GetErrorCode

func (o *CreateCustomer400ResponseAllOf) GetErrorCode() string

GetErrorCode returns the ErrorCode field value if set, zero value otherwise.

func (*CreateCustomer400ResponseAllOf) GetErrorCodeOk

func (o *CreateCustomer400ResponseAllOf) GetErrorCodeOk() (*string, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateCustomer400ResponseAllOf) GetMessage

func (o *CreateCustomer400ResponseAllOf) GetMessage() interface{}

GetMessage returns the Message field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateCustomer400ResponseAllOf) GetMessageOk

func (o *CreateCustomer400ResponseAllOf) GetMessageOk() (*interface{}, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateCustomer400ResponseAllOf) HasErrorCode

func (o *CreateCustomer400ResponseAllOf) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*CreateCustomer400ResponseAllOf) HasMessage

func (o *CreateCustomer400ResponseAllOf) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (CreateCustomer400ResponseAllOf) MarshalJSON

func (o CreateCustomer400ResponseAllOf) MarshalJSON() ([]byte, error)

func (*CreateCustomer400ResponseAllOf) SetErrorCode

func (o *CreateCustomer400ResponseAllOf) SetErrorCode(v string)

SetErrorCode gets a reference to the given string and assigns it to the ErrorCode field.

func (*CreateCustomer400ResponseAllOf) SetMessage

func (o *CreateCustomer400ResponseAllOf) SetMessage(v interface{})

SetMessage gets a reference to the given interface{} and assigns it to the Message field.

func (CreateCustomer400ResponseAllOf) ToMap

func (o CreateCustomer400ResponseAllOf) ToMap() (map[string]interface{}, error)

type Customer

type Customer struct {
	Type string `json:"type"`
	// Merchant's reference of this end customer, eg Merchant's user's id. Must be unique.
	ReferenceId      string                    `json:"reference_id"`
	IndividualDetail NullableIndividualDetail  `json:"individual_detail"`
	BusinessDetail   NullableBusinessDetail    `json:"business_detail"`
	Description      NullableString            `json:"description"`
	Email            NullableString            `json:"email"`
	MobileNumber     NullableString            `json:"mobile_number"`
	PhoneNumber      NullableString            `json:"phone_number"`
	Addresses        []Address                 `json:"addresses"`
	IdentityAccounts []IdentityAccountResponse `json:"identity_accounts"`
	KycDocuments     []KYCDocumentResponse     `json:"kyc_documents"`
	Metadata         map[string]interface{}    `json:"metadata"`
	Status           NullableEndCustomerStatus `json:"status,omitempty"`
	Id               string                    `json:"id"`
	Created          time.Time                 `json:"created"`
	Updated          time.Time                 `json:"updated"`
}

Customer struct for Customer

func NewCustomer

func NewCustomer(type_ string, referenceId string, individualDetail NullableIndividualDetail, businessDetail NullableBusinessDetail, description NullableString, email NullableString, mobileNumber NullableString, phoneNumber NullableString, addresses []Address, identityAccounts []IdentityAccountResponse, kycDocuments []KYCDocumentResponse, metadata map[string]interface{}, id string, created time.Time, updated time.Time) *Customer

NewCustomer instantiates a new Customer 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 NewCustomerWithDefaults

func NewCustomerWithDefaults() *Customer

NewCustomerWithDefaults instantiates a new Customer 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 (*Customer) GetAddresses

func (o *Customer) GetAddresses() []Address

GetAddresses returns the Addresses field value If the value is explicit nil, the zero value for []Address will be returned

func (*Customer) GetAddressesOk

func (o *Customer) GetAddressesOk() ([]Address, bool)

GetAddressesOk returns a tuple with the Addresses field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Customer) GetBusinessDetail

func (o *Customer) GetBusinessDetail() BusinessDetail

GetBusinessDetail returns the BusinessDetail field value If the value is explicit nil, the zero value for BusinessDetail will be returned

func (*Customer) GetBusinessDetailOk

func (o *Customer) GetBusinessDetailOk() (*BusinessDetail, bool)

GetBusinessDetailOk returns a tuple with the BusinessDetail field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Customer) GetCreated

func (o *Customer) GetCreated() time.Time

GetCreated returns the Created field value

func (*Customer) GetCreatedOk

func (o *Customer) GetCreatedOk() (*time.Time, bool)

GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.

func (*Customer) GetDescription

func (o *Customer) GetDescription() string

GetDescription returns the Description field value If the value is explicit nil, the zero value for string will be returned

func (*Customer) GetDescriptionOk

func (o *Customer) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Customer) GetEmail

func (o *Customer) GetEmail() string

GetEmail returns the Email field value If the value is explicit nil, the zero value for string will be returned

func (*Customer) GetEmailOk

func (o *Customer) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Customer) GetId

func (o *Customer) GetId() string

GetId returns the Id field value

func (*Customer) GetIdOk

func (o *Customer) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Customer) GetIdentityAccounts

func (o *Customer) GetIdentityAccounts() []IdentityAccountResponse

GetIdentityAccounts returns the IdentityAccounts field value If the value is explicit nil, the zero value for []IdentityAccountResponse will be returned

func (*Customer) GetIdentityAccountsOk

func (o *Customer) GetIdentityAccountsOk() ([]IdentityAccountResponse, bool)

GetIdentityAccountsOk returns a tuple with the IdentityAccounts field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Customer) GetIndividualDetail

func (o *Customer) GetIndividualDetail() IndividualDetail

GetIndividualDetail returns the IndividualDetail field value If the value is explicit nil, the zero value for IndividualDetail will be returned

func (*Customer) GetIndividualDetailOk

func (o *Customer) GetIndividualDetailOk() (*IndividualDetail, bool)

GetIndividualDetailOk returns a tuple with the IndividualDetail field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Customer) GetKycDocuments

func (o *Customer) GetKycDocuments() []KYCDocumentResponse

GetKycDocuments returns the KycDocuments field value If the value is explicit nil, the zero value for []KYCDocumentResponse will be returned

func (*Customer) GetKycDocumentsOk

func (o *Customer) GetKycDocumentsOk() ([]KYCDocumentResponse, bool)

GetKycDocumentsOk returns a tuple with the KycDocuments field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Customer) GetMetadata

func (o *Customer) GetMetadata() map[string]interface{}

GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for map[string]interface{} will be returned

func (*Customer) GetMetadataOk

func (o *Customer) GetMetadataOk() (map[string]interface{}, bool)

GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Customer) GetMobileNumber

func (o *Customer) GetMobileNumber() string

GetMobileNumber returns the MobileNumber field value If the value is explicit nil, the zero value for string will be returned

func (*Customer) GetMobileNumberOk

func (o *Customer) GetMobileNumberOk() (*string, bool)

GetMobileNumberOk returns a tuple with the MobileNumber field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Customer) GetPhoneNumber

func (o *Customer) GetPhoneNumber() string

GetPhoneNumber returns the PhoneNumber field value If the value is explicit nil, the zero value for string will be returned

func (*Customer) GetPhoneNumberOk

func (o *Customer) GetPhoneNumberOk() (*string, bool)

GetPhoneNumberOk returns a tuple with the PhoneNumber field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Customer) GetReferenceId

func (o *Customer) GetReferenceId() string

GetReferenceId returns the ReferenceId field value

func (*Customer) GetReferenceIdOk

func (o *Customer) GetReferenceIdOk() (*string, bool)

GetReferenceIdOk returns a tuple with the ReferenceId field value and a boolean to check if the value has been set.

func (*Customer) GetStatus

func (o *Customer) GetStatus() EndCustomerStatus

GetStatus returns the Status field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Customer) GetStatusOk

func (o *Customer) GetStatusOk() (*EndCustomerStatus, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Customer) GetType

func (o *Customer) GetType() string

GetType returns the Type field value

func (*Customer) GetTypeOk

func (o *Customer) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*Customer) GetUpdated

func (o *Customer) GetUpdated() time.Time

GetUpdated returns the Updated field value

func (*Customer) GetUpdatedOk

func (o *Customer) GetUpdatedOk() (*time.Time, bool)

GetUpdatedOk returns a tuple with the Updated field value and a boolean to check if the value has been set.

func (*Customer) HasStatus

func (o *Customer) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (Customer) MarshalJSON

func (o Customer) MarshalJSON() ([]byte, error)

func (*Customer) SetAddresses

func (o *Customer) SetAddresses(v []Address)

SetAddresses sets field value

func (*Customer) SetBusinessDetail

func (o *Customer) SetBusinessDetail(v BusinessDetail)

SetBusinessDetail sets field value

func (*Customer) SetCreated

func (o *Customer) SetCreated(v time.Time)

SetCreated sets field value

func (*Customer) SetDescription

func (o *Customer) SetDescription(v string)

SetDescription sets field value

func (*Customer) SetEmail

func (o *Customer) SetEmail(v string)

SetEmail sets field value

func (*Customer) SetId

func (o *Customer) SetId(v string)

SetId sets field value

func (*Customer) SetIdentityAccounts

func (o *Customer) SetIdentityAccounts(v []IdentityAccountResponse)

SetIdentityAccounts sets field value

func (*Customer) SetIndividualDetail

func (o *Customer) SetIndividualDetail(v IndividualDetail)

SetIndividualDetail sets field value

func (*Customer) SetKycDocuments

func (o *Customer) SetKycDocuments(v []KYCDocumentResponse)

SetKycDocuments sets field value

func (*Customer) SetMetadata

func (o *Customer) SetMetadata(v map[string]interface{})

SetMetadata sets field value

func (*Customer) SetMobileNumber

func (o *Customer) SetMobileNumber(v string)

SetMobileNumber sets field value

func (*Customer) SetPhoneNumber

func (o *Customer) SetPhoneNumber(v string)

SetPhoneNumber sets field value

func (*Customer) SetReferenceId

func (o *Customer) SetReferenceId(v string)

SetReferenceId sets field value

func (*Customer) SetStatus

func (o *Customer) SetStatus(v EndCustomerStatus)

SetStatus gets a reference to the given NullableEndCustomerStatus and assigns it to the Status field.

func (*Customer) SetStatusNil

func (o *Customer) SetStatusNil()

SetStatusNil sets the value for Status to be an explicit nil

func (*Customer) SetType

func (o *Customer) SetType(v string)

SetType sets field value

func (*Customer) SetUpdated

func (o *Customer) SetUpdated(v time.Time)

SetUpdated sets field value

func (Customer) ToMap

func (o Customer) ToMap() (map[string]interface{}, error)

func (*Customer) UnsetStatus

func (o *Customer) UnsetStatus()

UnsetStatus ensures that no value is present for Status, not even an explicit nil

type CustomerApi

type CustomerApi interface {

	/*
		CreateCustomer Create Customer

		Function to create a customer that you may use in your Invoice or Payment Requests. For detail explanations, see this link: https://developers.xendit.co/api-reference/#create-customer

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiCreateCustomerRequest
	*/
	CreateCustomer(ctx context.Context) ApiCreateCustomerRequest

	// CreateCustomerExecute executes the request
	//  @return Customer
	CreateCustomerExecute(r ApiCreateCustomerRequest) (*Customer, *http.Response, *common.XenditSdkError)

	/*
		GetCustomer Get Customer By ID

		Retrieves a single customer object For detail explanations, see this link: https://developers.xendit.co/api-reference/#get-customer

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param id End customer resource id
		@return ApiGetCustomerRequest
	*/
	GetCustomer(ctx context.Context, id string) ApiGetCustomerRequest

	// GetCustomerExecute executes the request
	//  @return Customer
	GetCustomerExecute(r ApiGetCustomerRequest) (*Customer, *http.Response, *common.XenditSdkError)

	/*
		GetCustomerByReferenceID GET customers by reference id

		Retrieves an array with a customer object that matches the provided reference_id - the identifier provided by you For detail explanations, see this link: https://developers.xendit.co/api-reference/#get-customer-by-reference-id

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiGetCustomerByReferenceIDRequest
	*/
	GetCustomerByReferenceID(ctx context.Context) ApiGetCustomerByReferenceIDRequest

	// GetCustomerByReferenceIDExecute executes the request
	//  @return GetCustomerByReferenceID200Response
	GetCustomerByReferenceIDExecute(r ApiGetCustomerByReferenceIDRequest) (*GetCustomerByReferenceID200Response, *http.Response, *common.XenditSdkError)

	/*
		UpdateCustomer Update End Customer Resource

		Function to update an existing customer. For a detailed explanation For detail explanations, see this link: https://developers.xendit.co/api-reference/#update-customer

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param id End customer resource id
		@return ApiUpdateCustomerRequest
	*/
	UpdateCustomer(ctx context.Context, id string) ApiUpdateCustomerRequest

	// UpdateCustomerExecute executes the request
	//  @return Customer
	UpdateCustomerExecute(r ApiUpdateCustomerRequest) (*Customer, *http.Response, *common.XenditSdkError)
}

func NewCustomerApi

func NewCustomerApi(client common.IClient) CustomerApi

NewCustomerApi Create a new CustomerApi service

type CustomerApiService

type CustomerApiService struct {
	// contains filtered or unexported fields
}

CustomerApiService CustomerApi service

func (*CustomerApiService) CreateCustomer

CreateCustomer Create Customer

Function to create a customer that you may use in your Invoice or Payment Requests. For detail explanations, see this link: https://developers.xendit.co/api-reference/#create-customer

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateCustomerRequest

func (*CustomerApiService) CreateCustomerExecute

Execute executes the request

@return Customer

func (*CustomerApiService) GetCustomer

GetCustomer Get Customer By ID

Retrieves a single customer object For detail explanations, see this link: https://developers.xendit.co/api-reference/#get-customer

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id End customer resource id
@return ApiGetCustomerRequest

func (*CustomerApiService) GetCustomerByReferenceID

func (a *CustomerApiService) GetCustomerByReferenceID(ctx context.Context) ApiGetCustomerByReferenceIDRequest

GetCustomerByReferenceID GET customers by reference id

Retrieves an array with a customer object that matches the provided reference_id - the identifier provided by you For detail explanations, see this link: https://developers.xendit.co/api-reference/#get-customer-by-reference-id

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetCustomerByReferenceIDRequest

func (*CustomerApiService) GetCustomerByReferenceIDExecute

Execute executes the request

@return GetCustomerByReferenceID200Response

func (*CustomerApiService) GetCustomerExecute

Execute executes the request

@return Customer

func (*CustomerApiService) UpdateCustomer

UpdateCustomer Update End Customer Resource

Function to update an existing customer. For a detailed explanation For detail explanations, see this link: https://developers.xendit.co/api-reference/#update-customer

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id End customer resource id
@return ApiUpdateCustomerRequest

func (*CustomerApiService) UpdateCustomerExecute

Execute executes the request

@return Customer

type CustomerRequest

type CustomerRequest struct {
	// Entity's name for this client
	ClientName *string `json:"client_name,omitempty"`
	// Merchant's reference of this end customer, eg Merchant's user's id. Must be unique.
	ReferenceId      string                   `json:"reference_id"`
	Type             *string                  `json:"type,omitempty"`
	IndividualDetail NullableIndividualDetail `json:"individual_detail,omitempty"`
	BusinessDetail   NullableBusinessDetail   `json:"business_detail,omitempty"`
	Description      NullableString           `json:"description,omitempty"`
	Email            *string                  `json:"email,omitempty"`
	MobileNumber     *string                  `json:"mobile_number,omitempty"`
	PhoneNumber      *string                  `json:"phone_number,omitempty"`
	Addresses        []AddressRequest         `json:"addresses,omitempty"`
	IdentityAccounts []IdentityAccountRequest `json:"identity_accounts,omitempty"`
	KycDocuments     []KYCDocumentRequest     `json:"kyc_documents,omitempty"`
	Metadata         map[string]interface{}   `json:"metadata,omitempty"`
}

CustomerRequest struct for CustomerRequest

func NewCustomerRequest

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

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 (*CustomerRequest) GetAddresses

func (o *CustomerRequest) GetAddresses() []AddressRequest

GetAddresses returns the Addresses field value if set, zero value otherwise.

func (*CustomerRequest) GetAddressesOk

func (o *CustomerRequest) GetAddressesOk() ([]AddressRequest, bool)

GetAddressesOk returns a tuple with the Addresses field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerRequest) GetBusinessDetail

func (o *CustomerRequest) GetBusinessDetail() BusinessDetail

GetBusinessDetail returns the BusinessDetail field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CustomerRequest) GetBusinessDetailOk

func (o *CustomerRequest) GetBusinessDetailOk() (*BusinessDetail, bool)

GetBusinessDetailOk returns a tuple with the BusinessDetail field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CustomerRequest) GetClientName

func (o *CustomerRequest) GetClientName() string

GetClientName returns the ClientName field value if set, zero value otherwise.

func (*CustomerRequest) GetClientNameOk

func (o *CustomerRequest) GetClientNameOk() (*string, bool)

GetClientNameOk returns a tuple with the ClientName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerRequest) GetDescription

func (o *CustomerRequest) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CustomerRequest) GetDescriptionOk

func (o *CustomerRequest) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CustomerRequest) GetEmail

func (o *CustomerRequest) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*CustomerRequest) GetEmailOk

func (o *CustomerRequest) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerRequest) GetIdentityAccounts

func (o *CustomerRequest) GetIdentityAccounts() []IdentityAccountRequest

GetIdentityAccounts returns the IdentityAccounts field value if set, zero value otherwise.

func (*CustomerRequest) GetIdentityAccountsOk

func (o *CustomerRequest) GetIdentityAccountsOk() ([]IdentityAccountRequest, bool)

GetIdentityAccountsOk returns a tuple with the IdentityAccounts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerRequest) GetIndividualDetail

func (o *CustomerRequest) GetIndividualDetail() IndividualDetail

GetIndividualDetail returns the IndividualDetail field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CustomerRequest) GetIndividualDetailOk

func (o *CustomerRequest) GetIndividualDetailOk() (*IndividualDetail, bool)

GetIndividualDetailOk returns a tuple with the IndividualDetail field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CustomerRequest) GetKycDocuments

func (o *CustomerRequest) GetKycDocuments() []KYCDocumentRequest

GetKycDocuments returns the KycDocuments field value if set, zero value otherwise.

func (*CustomerRequest) GetKycDocumentsOk

func (o *CustomerRequest) GetKycDocumentsOk() ([]KYCDocumentRequest, bool)

GetKycDocumentsOk returns a tuple with the KycDocuments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerRequest) GetMetadata

func (o *CustomerRequest) GetMetadata() map[string]interface{}

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*CustomerRequest) GetMetadataOk

func (o *CustomerRequest) GetMetadataOk() (map[string]interface{}, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerRequest) GetMobileNumber

func (o *CustomerRequest) GetMobileNumber() string

GetMobileNumber returns the MobileNumber field value if set, zero value otherwise.

func (*CustomerRequest) GetMobileNumberOk

func (o *CustomerRequest) GetMobileNumberOk() (*string, bool)

GetMobileNumberOk returns a tuple with the MobileNumber field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerRequest) GetPhoneNumber

func (o *CustomerRequest) GetPhoneNumber() string

GetPhoneNumber returns the PhoneNumber field value if set, zero value otherwise.

func (*CustomerRequest) GetPhoneNumberOk

func (o *CustomerRequest) GetPhoneNumberOk() (*string, bool)

GetPhoneNumberOk returns a tuple with the PhoneNumber field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerRequest) GetReferenceId

func (o *CustomerRequest) GetReferenceId() string

GetReferenceId returns the ReferenceId field value

func (*CustomerRequest) GetReferenceIdOk

func (o *CustomerRequest) GetReferenceIdOk() (*string, bool)

GetReferenceIdOk returns a tuple with the ReferenceId field value and a boolean to check if the value has been set.

func (*CustomerRequest) GetType

func (o *CustomerRequest) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*CustomerRequest) GetTypeOk

func (o *CustomerRequest) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerRequest) HasAddresses

func (o *CustomerRequest) HasAddresses() bool

HasAddresses returns a boolean if a field has been set.

func (*CustomerRequest) HasBusinessDetail

func (o *CustomerRequest) HasBusinessDetail() bool

HasBusinessDetail returns a boolean if a field has been set.

func (*CustomerRequest) HasClientName

func (o *CustomerRequest) HasClientName() bool

HasClientName returns a boolean if a field has been set.

func (*CustomerRequest) HasDescription

func (o *CustomerRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CustomerRequest) HasEmail

func (o *CustomerRequest) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*CustomerRequest) HasIdentityAccounts

func (o *CustomerRequest) HasIdentityAccounts() bool

HasIdentityAccounts returns a boolean if a field has been set.

func (*CustomerRequest) HasIndividualDetail

func (o *CustomerRequest) HasIndividualDetail() bool

HasIndividualDetail returns a boolean if a field has been set.

func (*CustomerRequest) HasKycDocuments

func (o *CustomerRequest) HasKycDocuments() bool

HasKycDocuments returns a boolean if a field has been set.

func (*CustomerRequest) HasMetadata

func (o *CustomerRequest) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*CustomerRequest) HasMobileNumber

func (o *CustomerRequest) HasMobileNumber() bool

HasMobileNumber returns a boolean if a field has been set.

func (*CustomerRequest) HasPhoneNumber

func (o *CustomerRequest) HasPhoneNumber() bool

HasPhoneNumber returns a boolean if a field has been set.

func (*CustomerRequest) HasType

func (o *CustomerRequest) HasType() bool

HasType returns a boolean if a field has been set.

func (CustomerRequest) MarshalJSON

func (o CustomerRequest) MarshalJSON() ([]byte, error)

func (*CustomerRequest) SetAddresses

func (o *CustomerRequest) SetAddresses(v []AddressRequest)

SetAddresses gets a reference to the given []AddressRequest and assigns it to the Addresses field.

func (*CustomerRequest) SetBusinessDetail

func (o *CustomerRequest) SetBusinessDetail(v BusinessDetail)

SetBusinessDetail gets a reference to the given NullableBusinessDetail and assigns it to the BusinessDetail field.

func (*CustomerRequest) SetBusinessDetailNil

func (o *CustomerRequest) SetBusinessDetailNil()

SetBusinessDetailNil sets the value for BusinessDetail to be an explicit nil

func (*CustomerRequest) SetClientName

func (o *CustomerRequest) SetClientName(v string)

SetClientName gets a reference to the given string and assigns it to the ClientName field.

func (*CustomerRequest) SetDescription

func (o *CustomerRequest) SetDescription(v string)

SetDescription gets a reference to the given NullableString and assigns it to the Description field.

func (*CustomerRequest) SetDescriptionNil

func (o *CustomerRequest) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*CustomerRequest) SetEmail

func (o *CustomerRequest) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*CustomerRequest) SetIdentityAccounts

func (o *CustomerRequest) SetIdentityAccounts(v []IdentityAccountRequest)

SetIdentityAccounts gets a reference to the given []IdentityAccountRequest and assigns it to the IdentityAccounts field.

func (*CustomerRequest) SetIndividualDetail

func (o *CustomerRequest) SetIndividualDetail(v IndividualDetail)

SetIndividualDetail gets a reference to the given NullableIndividualDetail and assigns it to the IndividualDetail field.

func (*CustomerRequest) SetIndividualDetailNil

func (o *CustomerRequest) SetIndividualDetailNil()

SetIndividualDetailNil sets the value for IndividualDetail to be an explicit nil

func (*CustomerRequest) SetKycDocuments

func (o *CustomerRequest) SetKycDocuments(v []KYCDocumentRequest)

SetKycDocuments gets a reference to the given []KYCDocumentRequest and assigns it to the KycDocuments field.

func (*CustomerRequest) SetMetadata

func (o *CustomerRequest) SetMetadata(v map[string]interface{})

SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.

func (*CustomerRequest) SetMobileNumber

func (o *CustomerRequest) SetMobileNumber(v string)

SetMobileNumber gets a reference to the given string and assigns it to the MobileNumber field.

func (*CustomerRequest) SetPhoneNumber

func (o *CustomerRequest) SetPhoneNumber(v string)

SetPhoneNumber gets a reference to the given string and assigns it to the PhoneNumber field.

func (*CustomerRequest) SetReferenceId

func (o *CustomerRequest) SetReferenceId(v string)

SetReferenceId sets field value

func (*CustomerRequest) SetType

func (o *CustomerRequest) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (CustomerRequest) ToMap

func (o CustomerRequest) ToMap() (map[string]interface{}, error)

func (*CustomerRequest) UnsetBusinessDetail

func (o *CustomerRequest) UnsetBusinessDetail()

UnsetBusinessDetail ensures that no value is present for BusinessDetail, not even an explicit nil

func (*CustomerRequest) UnsetDescription

func (o *CustomerRequest) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

func (*CustomerRequest) UnsetIndividualDetail

func (o *CustomerRequest) UnsetIndividualDetail()

UnsetIndividualDetail ensures that no value is present for IndividualDetail, not even an explicit nil

type EmploymentDetail

type EmploymentDetail struct {
	// Name of employer
	EmployerName NullableString `json:"employer_name,omitempty"`
	// Industry or nature of business
	NatureOfBusiness NullableString `json:"nature_of_business,omitempty"`
	// Occupation or title
	RoleDescription NullableString `json:"role_description,omitempty"`
}

EmploymentDetail struct for EmploymentDetail

func NewEmploymentDetail

func NewEmploymentDetail() *EmploymentDetail

NewEmploymentDetail instantiates a new EmploymentDetail 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 NewEmploymentDetailWithDefaults

func NewEmploymentDetailWithDefaults() *EmploymentDetail

NewEmploymentDetailWithDefaults instantiates a new EmploymentDetail 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 (*EmploymentDetail) GetEmployerName

func (o *EmploymentDetail) GetEmployerName() string

GetEmployerName returns the EmployerName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*EmploymentDetail) GetEmployerNameOk

func (o *EmploymentDetail) GetEmployerNameOk() (*string, bool)

GetEmployerNameOk returns a tuple with the EmployerName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmploymentDetail) GetNatureOfBusiness

func (o *EmploymentDetail) GetNatureOfBusiness() string

GetNatureOfBusiness returns the NatureOfBusiness field value if set, zero value otherwise (both if not set or set to explicit null).

func (*EmploymentDetail) GetNatureOfBusinessOk

func (o *EmploymentDetail) GetNatureOfBusinessOk() (*string, bool)

GetNatureOfBusinessOk returns a tuple with the NatureOfBusiness field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmploymentDetail) GetRoleDescription

func (o *EmploymentDetail) GetRoleDescription() string

GetRoleDescription returns the RoleDescription field value if set, zero value otherwise (both if not set or set to explicit null).

func (*EmploymentDetail) GetRoleDescriptionOk

func (o *EmploymentDetail) GetRoleDescriptionOk() (*string, bool)

GetRoleDescriptionOk returns a tuple with the RoleDescription field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmploymentDetail) HasEmployerName

func (o *EmploymentDetail) HasEmployerName() bool

HasEmployerName returns a boolean if a field has been set.

func (*EmploymentDetail) HasNatureOfBusiness

func (o *EmploymentDetail) HasNatureOfBusiness() bool

HasNatureOfBusiness returns a boolean if a field has been set.

func (*EmploymentDetail) HasRoleDescription

func (o *EmploymentDetail) HasRoleDescription() bool

HasRoleDescription returns a boolean if a field has been set.

func (EmploymentDetail) MarshalJSON

func (o EmploymentDetail) MarshalJSON() ([]byte, error)

func (*EmploymentDetail) SetEmployerName

func (o *EmploymentDetail) SetEmployerName(v string)

SetEmployerName gets a reference to the given NullableString and assigns it to the EmployerName field.

func (*EmploymentDetail) SetEmployerNameNil

func (o *EmploymentDetail) SetEmployerNameNil()

SetEmployerNameNil sets the value for EmployerName to be an explicit nil

func (*EmploymentDetail) SetNatureOfBusiness

func (o *EmploymentDetail) SetNatureOfBusiness(v string)

SetNatureOfBusiness gets a reference to the given NullableString and assigns it to the NatureOfBusiness field.

func (*EmploymentDetail) SetNatureOfBusinessNil

func (o *EmploymentDetail) SetNatureOfBusinessNil()

SetNatureOfBusinessNil sets the value for NatureOfBusiness to be an explicit nil

func (*EmploymentDetail) SetRoleDescription

func (o *EmploymentDetail) SetRoleDescription(v string)

SetRoleDescription gets a reference to the given NullableString and assigns it to the RoleDescription field.

func (*EmploymentDetail) SetRoleDescriptionNil

func (o *EmploymentDetail) SetRoleDescriptionNil()

SetRoleDescriptionNil sets the value for RoleDescription to be an explicit nil

func (EmploymentDetail) ToMap

func (o EmploymentDetail) ToMap() (map[string]interface{}, error)

func (*EmploymentDetail) UnsetEmployerName

func (o *EmploymentDetail) UnsetEmployerName()

UnsetEmployerName ensures that no value is present for EmployerName, not even an explicit nil

func (*EmploymentDetail) UnsetNatureOfBusiness

func (o *EmploymentDetail) UnsetNatureOfBusiness()

UnsetNatureOfBusiness ensures that no value is present for NatureOfBusiness, not even an explicit nil

func (*EmploymentDetail) UnsetRoleDescription

func (o *EmploymentDetail) UnsetRoleDescription()

UnsetRoleDescription ensures that no value is present for RoleDescription, not even an explicit nil

type EndCustomerStatus

type EndCustomerStatus string

EndCustomerStatus the model 'EndCustomerStatus'

const (
	ENDCUSTOMERSTATUS_ACTIVE                       EndCustomerStatus = "ACTIVE"
	ENDCUSTOMERSTATUS_INACTIVE                     EndCustomerStatus = "INACTIVE"
	ENDCUSTOMERSTATUS_PENDING                      EndCustomerStatus = "PENDING"
	ENDCUSTOMERSTATUS_BLOCKED                      EndCustomerStatus = "BLOCKED"
	ENDCUSTOMERSTATUS_DELETED                      EndCustomerStatus = "DELETED"
	ENDCUSTOMERSTATUS_XENDIT_ENUM_DEFAULT_FALLBACK EndCustomerStatus = "UNKNOWN_ENUM_VALUE"
)

List of EndCustomerStatus

func NewEndCustomerStatusFromValue

func NewEndCustomerStatusFromValue(v string) (*EndCustomerStatus, error)

NewEndCustomerStatusFromValue returns a pointer to a valid EndCustomerStatus for the value passed as argument, or an error if the value passed is not allowed by the enum

func (EndCustomerStatus) IsValid

func (v EndCustomerStatus) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (EndCustomerStatus) Ptr

Ptr returns reference to EndCustomerStatus value

func (EndCustomerStatus) String

func (v EndCustomerStatus) String() string

func (*EndCustomerStatus) UnmarshalJSON

func (v *EndCustomerStatus) UnmarshalJSON(src []byte) error

type Error

type Error struct {
	ErrorCode string                   `json:"error_code"`
	Message   string                   `json:"message"`
	Errors    []map[string]interface{} `json:"errors,omitempty"`
}

Error struct for Error

func NewError

func NewError(errorCode string, message string) *Error

NewError instantiates a new Error 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 NewErrorWithDefaults

func NewErrorWithDefaults() *Error

NewErrorWithDefaults instantiates a new Error 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 (*Error) GetErrorCode

func (o *Error) GetErrorCode() string

GetErrorCode returns the ErrorCode field value

func (*Error) GetErrorCodeOk

func (o *Error) GetErrorCodeOk() (*string, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value and a boolean to check if the value has been set.

func (*Error) GetErrors

func (o *Error) GetErrors() []map[string]interface{}

GetErrors returns the Errors field value if set, zero value otherwise.

func (*Error) GetErrorsOk

func (o *Error) GetErrorsOk() ([]map[string]interface{}, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error) GetMessage

func (o *Error) GetMessage() string

GetMessage returns the Message field value

func (*Error) GetMessageOk

func (o *Error) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (*Error) HasErrors

func (o *Error) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (Error) MarshalJSON

func (o Error) MarshalJSON() ([]byte, error)

func (*Error) SetErrorCode

func (o *Error) SetErrorCode(v string)

SetErrorCode sets field value

func (*Error) SetErrors

func (o *Error) SetErrors(v []map[string]interface{})

SetErrors gets a reference to the given []map[string]interface{} and assigns it to the Errors field.

func (*Error) SetMessage

func (o *Error) SetMessage(v string)

SetMessage sets field value

func (Error) ToMap

func (o Error) ToMap() (map[string]interface{}, error)

type GetCustomerByReferenceID200Response

type GetCustomerByReferenceID200Response struct {
	HasMore *bool      `json:"has_more,omitempty"`
	Data    []Customer `json:"data,omitempty"`
}

GetCustomerByReferenceID200Response struct for GetCustomerByReferenceID200Response

func NewGetCustomerByReferenceID200Response

func NewGetCustomerByReferenceID200Response() *GetCustomerByReferenceID200Response

NewGetCustomerByReferenceID200Response instantiates a new GetCustomerByReferenceID200Response 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 NewGetCustomerByReferenceID200ResponseWithDefaults

func NewGetCustomerByReferenceID200ResponseWithDefaults() *GetCustomerByReferenceID200Response

NewGetCustomerByReferenceID200ResponseWithDefaults instantiates a new GetCustomerByReferenceID200Response 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 (*GetCustomerByReferenceID200Response) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*GetCustomerByReferenceID200Response) GetDataOk

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetCustomerByReferenceID200Response) GetHasMore

func (o *GetCustomerByReferenceID200Response) GetHasMore() bool

GetHasMore returns the HasMore field value if set, zero value otherwise.

func (*GetCustomerByReferenceID200Response) GetHasMoreOk

func (o *GetCustomerByReferenceID200Response) GetHasMoreOk() (*bool, bool)

GetHasMoreOk returns a tuple with the HasMore field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetCustomerByReferenceID200Response) HasData

HasData returns a boolean if a field has been set.

func (*GetCustomerByReferenceID200Response) HasHasMore

func (o *GetCustomerByReferenceID200Response) HasHasMore() bool

HasHasMore returns a boolean if a field has been set.

func (GetCustomerByReferenceID200Response) MarshalJSON

func (o GetCustomerByReferenceID200Response) MarshalJSON() ([]byte, error)

func (*GetCustomerByReferenceID200Response) SetData

SetData gets a reference to the given []Customer and assigns it to the Data field.

func (*GetCustomerByReferenceID200Response) SetHasMore

func (o *GetCustomerByReferenceID200Response) SetHasMore(v bool)

SetHasMore gets a reference to the given bool and assigns it to the HasMore field.

func (GetCustomerByReferenceID200Response) ToMap

func (o GetCustomerByReferenceID200Response) ToMap() (map[string]interface{}, error)

type GetCustomerByReferenceID400Response

type GetCustomerByReferenceID400Response struct {
	ErrorCode string                   `json:"error_code"`
	Message   interface{}              `json:"message"`
	Errors    []map[string]interface{} `json:"errors,omitempty"`
}

GetCustomerByReferenceID400Response struct for GetCustomerByReferenceID400Response

func NewGetCustomerByReferenceID400Response

func NewGetCustomerByReferenceID400Response(errorCode string, message interface{}) *GetCustomerByReferenceID400Response

NewGetCustomerByReferenceID400Response instantiates a new GetCustomerByReferenceID400Response 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 NewGetCustomerByReferenceID400ResponseWithDefaults

func NewGetCustomerByReferenceID400ResponseWithDefaults() *GetCustomerByReferenceID400Response

NewGetCustomerByReferenceID400ResponseWithDefaults instantiates a new GetCustomerByReferenceID400Response 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 (*GetCustomerByReferenceID400Response) GetErrorCode

func (o *GetCustomerByReferenceID400Response) GetErrorCode() string

GetErrorCode returns the ErrorCode field value

func (*GetCustomerByReferenceID400Response) GetErrorCodeOk

func (o *GetCustomerByReferenceID400Response) GetErrorCodeOk() (*string, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value and a boolean to check if the value has been set.

func (*GetCustomerByReferenceID400Response) GetErrors

func (o *GetCustomerByReferenceID400Response) GetErrors() []map[string]interface{}

GetErrors returns the Errors field value if set, zero value otherwise.

func (*GetCustomerByReferenceID400Response) GetErrorsOk

func (o *GetCustomerByReferenceID400Response) GetErrorsOk() ([]map[string]interface{}, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetCustomerByReferenceID400Response) GetMessage

func (o *GetCustomerByReferenceID400Response) GetMessage() interface{}

GetMessage returns the Message field value If the value is explicit nil, the zero value for interface{} will be returned

func (*GetCustomerByReferenceID400Response) GetMessageOk

func (o *GetCustomerByReferenceID400Response) GetMessageOk() (*interface{}, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GetCustomerByReferenceID400Response) HasErrors

HasErrors returns a boolean if a field has been set.

func (GetCustomerByReferenceID400Response) MarshalJSON

func (o GetCustomerByReferenceID400Response) MarshalJSON() ([]byte, error)

func (*GetCustomerByReferenceID400Response) SetErrorCode

func (o *GetCustomerByReferenceID400Response) SetErrorCode(v string)

SetErrorCode sets field value

func (*GetCustomerByReferenceID400Response) SetErrors

func (o *GetCustomerByReferenceID400Response) SetErrors(v []map[string]interface{})

SetErrors gets a reference to the given []map[string]interface{} and assigns it to the Errors field.

func (*GetCustomerByReferenceID400Response) SetMessage

func (o *GetCustomerByReferenceID400Response) SetMessage(v interface{})

SetMessage sets field value

func (GetCustomerByReferenceID400Response) ToMap

func (o GetCustomerByReferenceID400Response) ToMap() (map[string]interface{}, error)

type GetCustomerByReferenceID400ResponseAllOf

type GetCustomerByReferenceID400ResponseAllOf struct {
	ErrorCode *string     `json:"error_code,omitempty"`
	Message   interface{} `json:"message,omitempty"`
}

GetCustomerByReferenceID400ResponseAllOf struct for GetCustomerByReferenceID400ResponseAllOf

func NewGetCustomerByReferenceID400ResponseAllOf

func NewGetCustomerByReferenceID400ResponseAllOf() *GetCustomerByReferenceID400ResponseAllOf

NewGetCustomerByReferenceID400ResponseAllOf instantiates a new GetCustomerByReferenceID400ResponseAllOf 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 NewGetCustomerByReferenceID400ResponseAllOfWithDefaults

func NewGetCustomerByReferenceID400ResponseAllOfWithDefaults() *GetCustomerByReferenceID400ResponseAllOf

NewGetCustomerByReferenceID400ResponseAllOfWithDefaults instantiates a new GetCustomerByReferenceID400ResponseAllOf 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 (*GetCustomerByReferenceID400ResponseAllOf) GetErrorCode

GetErrorCode returns the ErrorCode field value if set, zero value otherwise.

func (*GetCustomerByReferenceID400ResponseAllOf) GetErrorCodeOk

func (o *GetCustomerByReferenceID400ResponseAllOf) GetErrorCodeOk() (*string, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetCustomerByReferenceID400ResponseAllOf) GetMessage

func (o *GetCustomerByReferenceID400ResponseAllOf) GetMessage() interface{}

GetMessage returns the Message field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GetCustomerByReferenceID400ResponseAllOf) GetMessageOk

func (o *GetCustomerByReferenceID400ResponseAllOf) GetMessageOk() (*interface{}, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GetCustomerByReferenceID400ResponseAllOf) HasErrorCode

HasErrorCode returns a boolean if a field has been set.

func (*GetCustomerByReferenceID400ResponseAllOf) HasMessage

HasMessage returns a boolean if a field has been set.

func (GetCustomerByReferenceID400ResponseAllOf) MarshalJSON

func (*GetCustomerByReferenceID400ResponseAllOf) SetErrorCode

SetErrorCode gets a reference to the given string and assigns it to the ErrorCode field.

func (*GetCustomerByReferenceID400ResponseAllOf) SetMessage

func (o *GetCustomerByReferenceID400ResponseAllOf) SetMessage(v interface{})

SetMessage gets a reference to the given interface{} and assigns it to the Message field.

func (GetCustomerByReferenceID400ResponseAllOf) ToMap

func (o GetCustomerByReferenceID400ResponseAllOf) ToMap() (map[string]interface{}, error)

type IdentityAccountRequest

type IdentityAccountRequest struct {
	Type *IdentityAccountType `json:"type,omitempty"`
	// The issuing institution associated with the account (e.g., OCBC, GOPAY, 7-11). If adding financial accounts that Xendit supports, we recommend you use the channel_name found at https://xendit.github.io/apireference/#payment-channels for this field
	Company *string `json:"company,omitempty"`
	// Free text description of this account
	Description *string `json:"description,omitempty"`
	// ISO3166-2 country code
	Country    NullableString                    `json:"country,omitempty"`
	Properties *IdentityAccountRequestProperties `json:"properties,omitempty"`
}

IdentityAccountRequest struct for IdentityAccountRequest

func NewIdentityAccountRequest

func NewIdentityAccountRequest() *IdentityAccountRequest

NewIdentityAccountRequest instantiates a new IdentityAccountRequest 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 NewIdentityAccountRequestWithDefaults

func NewIdentityAccountRequestWithDefaults() *IdentityAccountRequest

NewIdentityAccountRequestWithDefaults instantiates a new IdentityAccountRequest 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 (*IdentityAccountRequest) GetCompany

func (o *IdentityAccountRequest) GetCompany() string

GetCompany returns the Company field value if set, zero value otherwise.

func (*IdentityAccountRequest) GetCompanyOk

func (o *IdentityAccountRequest) GetCompanyOk() (*string, bool)

GetCompanyOk returns a tuple with the Company field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IdentityAccountRequest) GetCountry

func (o *IdentityAccountRequest) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IdentityAccountRequest) GetCountryOk

func (o *IdentityAccountRequest) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IdentityAccountRequest) GetDescription

func (o *IdentityAccountRequest) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*IdentityAccountRequest) GetDescriptionOk

func (o *IdentityAccountRequest) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IdentityAccountRequest) GetProperties

GetProperties returns the Properties field value if set, zero value otherwise.

func (*IdentityAccountRequest) GetPropertiesOk

GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IdentityAccountRequest) GetType

GetType returns the Type field value if set, zero value otherwise.

func (*IdentityAccountRequest) GetTypeOk

func (o *IdentityAccountRequest) GetTypeOk() (*IdentityAccountType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IdentityAccountRequest) HasCompany

func (o *IdentityAccountRequest) HasCompany() bool

HasCompany returns a boolean if a field has been set.

func (*IdentityAccountRequest) HasCountry

func (o *IdentityAccountRequest) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*IdentityAccountRequest) HasDescription

func (o *IdentityAccountRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*IdentityAccountRequest) HasProperties

func (o *IdentityAccountRequest) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*IdentityAccountRequest) HasType

func (o *IdentityAccountRequest) HasType() bool

HasType returns a boolean if a field has been set.

func (IdentityAccountRequest) MarshalJSON

func (o IdentityAccountRequest) MarshalJSON() ([]byte, error)

func (*IdentityAccountRequest) SetCompany

func (o *IdentityAccountRequest) SetCompany(v string)

SetCompany gets a reference to the given string and assigns it to the Company field.

func (*IdentityAccountRequest) SetCountry

func (o *IdentityAccountRequest) SetCountry(v string)

SetCountry gets a reference to the given NullableString and assigns it to the Country field.

func (*IdentityAccountRequest) SetCountryNil

func (o *IdentityAccountRequest) SetCountryNil()

SetCountryNil sets the value for Country to be an explicit nil

func (*IdentityAccountRequest) SetDescription

func (o *IdentityAccountRequest) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*IdentityAccountRequest) SetProperties

SetProperties gets a reference to the given IdentityAccountRequestProperties and assigns it to the Properties field.

func (*IdentityAccountRequest) SetType

SetType gets a reference to the given IdentityAccountType and assigns it to the Type field.

func (IdentityAccountRequest) ToMap

func (o IdentityAccountRequest) ToMap() (map[string]interface{}, error)

func (*IdentityAccountRequest) UnsetCountry

func (o *IdentityAccountRequest) UnsetCountry()

UnsetCountry ensures that no value is present for Country, not even an explicit nil

type IdentityAccountRequestProperties

type IdentityAccountRequestProperties struct {
	AccountBank     *AccountBank
	AccountCard     *AccountCard
	AccountEwallet  *AccountEwallet
	AccountOTC      *AccountOTC
	AccountPayLater *AccountPayLater
	AccountQRCode   *AccountQRCode
}

IdentityAccountRequestProperties struct for IdentityAccountRequestProperties

func (*IdentityAccountRequestProperties) MarshalJSON

func (src *IdentityAccountRequestProperties) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*IdentityAccountRequestProperties) UnmarshalJSON

func (dst *IdentityAccountRequestProperties) UnmarshalJSON(data []byte) error

Unmarshal JSON data into any of the pointers in the struct

type IdentityAccountResponse

type IdentityAccountResponse struct {
	Id          *string        `json:"id,omitempty"`
	Code        NullableString `json:"code,omitempty"`
	Company     NullableString `json:"company"`
	Description NullableString `json:"description"`
	// ISO3166-2 country code
	Country    NullableString                    `json:"country"`
	HolderName NullableString                    `json:"holder_name,omitempty"`
	Type       NullableString                    `json:"type"`
	Properties IdentityAccountResponseProperties `json:"properties"`
	Created    *time.Time                        `json:"created,omitempty"`
}

IdentityAccountResponse struct for IdentityAccountResponse

func NewIdentityAccountResponse

func NewIdentityAccountResponse(company NullableString, description NullableString, country NullableString, type_ NullableString, properties IdentityAccountResponseProperties) *IdentityAccountResponse

NewIdentityAccountResponse instantiates a new IdentityAccountResponse 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 NewIdentityAccountResponseWithDefaults

func NewIdentityAccountResponseWithDefaults() *IdentityAccountResponse

NewIdentityAccountResponseWithDefaults instantiates a new IdentityAccountResponse 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 (*IdentityAccountResponse) GetCode

func (o *IdentityAccountResponse) GetCode() string

GetCode returns the Code field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IdentityAccountResponse) GetCodeOk

func (o *IdentityAccountResponse) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IdentityAccountResponse) GetCompany

func (o *IdentityAccountResponse) GetCompany() string

GetCompany returns the Company field value If the value is explicit nil, the zero value for string will be returned

func (*IdentityAccountResponse) GetCompanyOk

func (o *IdentityAccountResponse) GetCompanyOk() (*string, bool)

GetCompanyOk returns a tuple with the Company field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IdentityAccountResponse) GetCountry

func (o *IdentityAccountResponse) GetCountry() string

GetCountry returns the Country field value If the value is explicit nil, the zero value for string will be returned

func (*IdentityAccountResponse) GetCountryOk

func (o *IdentityAccountResponse) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IdentityAccountResponse) GetCreated

func (o *IdentityAccountResponse) GetCreated() time.Time

GetCreated returns the Created field value if set, zero value otherwise.

func (*IdentityAccountResponse) GetCreatedOk

func (o *IdentityAccountResponse) GetCreatedOk() (*time.Time, bool)

GetCreatedOk returns a tuple with the Created field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IdentityAccountResponse) GetDescription

func (o *IdentityAccountResponse) GetDescription() string

GetDescription returns the Description field value If the value is explicit nil, the zero value for string will be returned

func (*IdentityAccountResponse) GetDescriptionOk

func (o *IdentityAccountResponse) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IdentityAccountResponse) GetHolderName

func (o *IdentityAccountResponse) GetHolderName() string

GetHolderName returns the HolderName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IdentityAccountResponse) GetHolderNameOk

func (o *IdentityAccountResponse) GetHolderNameOk() (*string, bool)

GetHolderNameOk returns a tuple with the HolderName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IdentityAccountResponse) GetId

func (o *IdentityAccountResponse) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*IdentityAccountResponse) GetIdOk

func (o *IdentityAccountResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IdentityAccountResponse) GetProperties

GetProperties returns the Properties field value

func (*IdentityAccountResponse) GetPropertiesOk

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.

func (*IdentityAccountResponse) GetType

func (o *IdentityAccountResponse) GetType() string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*IdentityAccountResponse) GetTypeOk

func (o *IdentityAccountResponse) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IdentityAccountResponse) HasCode

func (o *IdentityAccountResponse) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*IdentityAccountResponse) HasCreated

func (o *IdentityAccountResponse) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*IdentityAccountResponse) HasHolderName

func (o *IdentityAccountResponse) HasHolderName() bool

HasHolderName returns a boolean if a field has been set.

func (*IdentityAccountResponse) HasId

func (o *IdentityAccountResponse) HasId() bool

HasId returns a boolean if a field has been set.

func (IdentityAccountResponse) MarshalJSON

func (o IdentityAccountResponse) MarshalJSON() ([]byte, error)

func (*IdentityAccountResponse) SetCode

func (o *IdentityAccountResponse) SetCode(v string)

SetCode gets a reference to the given NullableString and assigns it to the Code field.

func (*IdentityAccountResponse) SetCodeNil

func (o *IdentityAccountResponse) SetCodeNil()

SetCodeNil sets the value for Code to be an explicit nil

func (*IdentityAccountResponse) SetCompany

func (o *IdentityAccountResponse) SetCompany(v string)

SetCompany sets field value

func (*IdentityAccountResponse) SetCountry

func (o *IdentityAccountResponse) SetCountry(v string)

SetCountry sets field value

func (*IdentityAccountResponse) SetCreated

func (o *IdentityAccountResponse) SetCreated(v time.Time)

SetCreated gets a reference to the given time.Time and assigns it to the Created field.

func (*IdentityAccountResponse) SetDescription

func (o *IdentityAccountResponse) SetDescription(v string)

SetDescription sets field value

func (*IdentityAccountResponse) SetHolderName

func (o *IdentityAccountResponse) SetHolderName(v string)

SetHolderName gets a reference to the given NullableString and assigns it to the HolderName field.

func (*IdentityAccountResponse) SetHolderNameNil

func (o *IdentityAccountResponse) SetHolderNameNil()

SetHolderNameNil sets the value for HolderName to be an explicit nil

func (*IdentityAccountResponse) SetId

func (o *IdentityAccountResponse) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*IdentityAccountResponse) SetProperties

SetProperties sets field value

func (*IdentityAccountResponse) SetType

func (o *IdentityAccountResponse) SetType(v string)

SetType sets field value

func (IdentityAccountResponse) ToMap

func (o IdentityAccountResponse) ToMap() (map[string]interface{}, error)

func (*IdentityAccountResponse) UnsetCode

func (o *IdentityAccountResponse) UnsetCode()

UnsetCode ensures that no value is present for Code, not even an explicit nil

func (*IdentityAccountResponse) UnsetHolderName

func (o *IdentityAccountResponse) UnsetHolderName()

UnsetHolderName ensures that no value is present for HolderName, not even an explicit nil

type IdentityAccountResponseProperties

type IdentityAccountResponseProperties struct {
	AccountBank     *AccountBank
	AccountCard     *AccountCard
	AccountEwallet  *AccountEwallet
	AccountOTC      *AccountOTC
	AccountPayLater *AccountPayLater
	AccountQRCode   *AccountQRCode
}

IdentityAccountResponseProperties struct for IdentityAccountResponseProperties

func (*IdentityAccountResponseProperties) MarshalJSON

func (src *IdentityAccountResponseProperties) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*IdentityAccountResponseProperties) UnmarshalJSON

func (dst *IdentityAccountResponseProperties) UnmarshalJSON(data []byte) error

Unmarshal JSON data into any of the pointers in the struct

type IdentityAccountType

type IdentityAccountType string

IdentityAccountType the model 'IdentityAccountType'

const (
	IDENTITYACCOUNTTYPE_BANK_ACCOUNT                 IdentityAccountType = "BANK_ACCOUNT"
	IDENTITYACCOUNTTYPE_EWALLET                      IdentityAccountType = "EWALLET"
	IDENTITYACCOUNTTYPE_CREDIT_CARD                  IdentityAccountType = "CREDIT_CARD"
	IDENTITYACCOUNTTYPE_PAY_LATER                    IdentityAccountType = "PAY_LATER"
	IDENTITYACCOUNTTYPE_OTC                          IdentityAccountType = "OTC"
	IDENTITYACCOUNTTYPE_QR_CODE                      IdentityAccountType = "QR_CODE"
	IDENTITYACCOUNTTYPE_XENDIT_ENUM_DEFAULT_FALLBACK IdentityAccountType = "UNKNOWN_ENUM_VALUE"
)

List of IdentityAccountType

func NewIdentityAccountTypeFromValue

func NewIdentityAccountTypeFromValue(v string) (*IdentityAccountType, error)

NewIdentityAccountTypeFromValue returns a pointer to a valid IdentityAccountType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (IdentityAccountType) IsValid

func (v IdentityAccountType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (IdentityAccountType) Ptr

Ptr returns reference to IdentityAccountType value

func (IdentityAccountType) String

func (v IdentityAccountType) String() string

func (*IdentityAccountType) UnmarshalJSON

func (v *IdentityAccountType) UnmarshalJSON(src []byte) error

type IndividualDetail

type IndividualDetail struct {
	GivenNames         *string        `json:"given_names,omitempty"`
	GivenNamesNonRoman NullableString `json:"given_names_non_roman,omitempty"`
	MiddleName         NullableString `json:"middle_name,omitempty"`
	Surname            NullableString `json:"surname,omitempty"`
	SurnameNonRoman    NullableString `json:"surname_non_roman,omitempty"`
	MotherMaidenName   NullableString `json:"mother_maiden_name,omitempty"`
	Gender             NullableString `json:"gender,omitempty"`
	DateOfBirth        NullableString `json:"date_of_birth,omitempty"`
	// ISO3166-2 country code
	Nationality  NullableString           `json:"nationality,omitempty"`
	PlaceOfBirth NullableString           `json:"place_of_birth,omitempty"`
	Employment   NullableEmploymentDetail `json:"employment,omitempty"`
}

IndividualDetail struct for IndividualDetail

func NewIndividualDetail

func NewIndividualDetail() *IndividualDetail

NewIndividualDetail instantiates a new IndividualDetail 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 NewIndividualDetailWithDefaults

func NewIndividualDetailWithDefaults() *IndividualDetail

NewIndividualDetailWithDefaults instantiates a new IndividualDetail 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 (*IndividualDetail) GetDateOfBirth

func (o *IndividualDetail) GetDateOfBirth() string

GetDateOfBirth returns the DateOfBirth field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IndividualDetail) GetDateOfBirthOk

func (o *IndividualDetail) GetDateOfBirthOk() (*string, bool)

GetDateOfBirthOk returns a tuple with the DateOfBirth field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IndividualDetail) GetEmployment

func (o *IndividualDetail) GetEmployment() EmploymentDetail

GetEmployment returns the Employment field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IndividualDetail) GetEmploymentOk

func (o *IndividualDetail) GetEmploymentOk() (*EmploymentDetail, bool)

GetEmploymentOk returns a tuple with the Employment field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IndividualDetail) GetGender

func (o *IndividualDetail) GetGender() string

GetGender returns the Gender field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IndividualDetail) GetGenderOk

func (o *IndividualDetail) GetGenderOk() (*string, bool)

GetGenderOk returns a tuple with the Gender field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IndividualDetail) GetGivenNames

func (o *IndividualDetail) GetGivenNames() string

GetGivenNames returns the GivenNames field value if set, zero value otherwise.

func (*IndividualDetail) GetGivenNamesNonRoman

func (o *IndividualDetail) GetGivenNamesNonRoman() string

GetGivenNamesNonRoman returns the GivenNamesNonRoman field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IndividualDetail) GetGivenNamesNonRomanOk

func (o *IndividualDetail) GetGivenNamesNonRomanOk() (*string, bool)

GetGivenNamesNonRomanOk returns a tuple with the GivenNamesNonRoman field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IndividualDetail) GetGivenNamesOk

func (o *IndividualDetail) GetGivenNamesOk() (*string, bool)

GetGivenNamesOk returns a tuple with the GivenNames field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IndividualDetail) GetMiddleName

func (o *IndividualDetail) GetMiddleName() string

GetMiddleName returns the MiddleName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IndividualDetail) GetMiddleNameOk

func (o *IndividualDetail) GetMiddleNameOk() (*string, bool)

GetMiddleNameOk returns a tuple with the MiddleName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IndividualDetail) GetMotherMaidenName

func (o *IndividualDetail) GetMotherMaidenName() string

GetMotherMaidenName returns the MotherMaidenName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IndividualDetail) GetMotherMaidenNameOk

func (o *IndividualDetail) GetMotherMaidenNameOk() (*string, bool)

GetMotherMaidenNameOk returns a tuple with the MotherMaidenName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IndividualDetail) GetNationality

func (o *IndividualDetail) GetNationality() string

GetNationality returns the Nationality field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IndividualDetail) GetNationalityOk

func (o *IndividualDetail) GetNationalityOk() (*string, bool)

GetNationalityOk returns a tuple with the Nationality field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IndividualDetail) GetPlaceOfBirth

func (o *IndividualDetail) GetPlaceOfBirth() string

GetPlaceOfBirth returns the PlaceOfBirth field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IndividualDetail) GetPlaceOfBirthOk

func (o *IndividualDetail) GetPlaceOfBirthOk() (*string, bool)

GetPlaceOfBirthOk returns a tuple with the PlaceOfBirth field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IndividualDetail) GetSurname

func (o *IndividualDetail) GetSurname() string

GetSurname returns the Surname field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IndividualDetail) GetSurnameNonRoman

func (o *IndividualDetail) GetSurnameNonRoman() string

GetSurnameNonRoman returns the SurnameNonRoman field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IndividualDetail) GetSurnameNonRomanOk

func (o *IndividualDetail) GetSurnameNonRomanOk() (*string, bool)

GetSurnameNonRomanOk returns a tuple with the SurnameNonRoman field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IndividualDetail) GetSurnameOk

func (o *IndividualDetail) GetSurnameOk() (*string, bool)

GetSurnameOk returns a tuple with the Surname field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IndividualDetail) HasDateOfBirth

func (o *IndividualDetail) HasDateOfBirth() bool

HasDateOfBirth returns a boolean if a field has been set.

func (*IndividualDetail) HasEmployment

func (o *IndividualDetail) HasEmployment() bool

HasEmployment returns a boolean if a field has been set.

func (*IndividualDetail) HasGender

func (o *IndividualDetail) HasGender() bool

HasGender returns a boolean if a field has been set.

func (*IndividualDetail) HasGivenNames

func (o *IndividualDetail) HasGivenNames() bool

HasGivenNames returns a boolean if a field has been set.

func (*IndividualDetail) HasGivenNamesNonRoman

func (o *IndividualDetail) HasGivenNamesNonRoman() bool

HasGivenNamesNonRoman returns a boolean if a field has been set.

func (*IndividualDetail) HasMiddleName

func (o *IndividualDetail) HasMiddleName() bool

HasMiddleName returns a boolean if a field has been set.

func (*IndividualDetail) HasMotherMaidenName

func (o *IndividualDetail) HasMotherMaidenName() bool

HasMotherMaidenName returns a boolean if a field has been set.

func (*IndividualDetail) HasNationality

func (o *IndividualDetail) HasNationality() bool

HasNationality returns a boolean if a field has been set.

func (*IndividualDetail) HasPlaceOfBirth

func (o *IndividualDetail) HasPlaceOfBirth() bool

HasPlaceOfBirth returns a boolean if a field has been set.

func (*IndividualDetail) HasSurname

func (o *IndividualDetail) HasSurname() bool

HasSurname returns a boolean if a field has been set.

func (*IndividualDetail) HasSurnameNonRoman

func (o *IndividualDetail) HasSurnameNonRoman() bool

HasSurnameNonRoman returns a boolean if a field has been set.

func (IndividualDetail) MarshalJSON

func (o IndividualDetail) MarshalJSON() ([]byte, error)

func (*IndividualDetail) SetDateOfBirth

func (o *IndividualDetail) SetDateOfBirth(v string)

SetDateOfBirth gets a reference to the given NullableString and assigns it to the DateOfBirth field.

func (*IndividualDetail) SetDateOfBirthNil

func (o *IndividualDetail) SetDateOfBirthNil()

SetDateOfBirthNil sets the value for DateOfBirth to be an explicit nil

func (*IndividualDetail) SetEmployment

func (o *IndividualDetail) SetEmployment(v EmploymentDetail)

SetEmployment gets a reference to the given NullableEmploymentDetail and assigns it to the Employment field.

func (*IndividualDetail) SetEmploymentNil

func (o *IndividualDetail) SetEmploymentNil()

SetEmploymentNil sets the value for Employment to be an explicit nil

func (*IndividualDetail) SetGender

func (o *IndividualDetail) SetGender(v string)

SetGender gets a reference to the given NullableString and assigns it to the Gender field.

func (*IndividualDetail) SetGenderNil

func (o *IndividualDetail) SetGenderNil()

SetGenderNil sets the value for Gender to be an explicit nil

func (*IndividualDetail) SetGivenNames

func (o *IndividualDetail) SetGivenNames(v string)

SetGivenNames gets a reference to the given string and assigns it to the GivenNames field.

func (*IndividualDetail) SetGivenNamesNonRoman

func (o *IndividualDetail) SetGivenNamesNonRoman(v string)

SetGivenNamesNonRoman gets a reference to the given NullableString and assigns it to the GivenNamesNonRoman field.

func (*IndividualDetail) SetGivenNamesNonRomanNil

func (o *IndividualDetail) SetGivenNamesNonRomanNil()

SetGivenNamesNonRomanNil sets the value for GivenNamesNonRoman to be an explicit nil

func (*IndividualDetail) SetMiddleName

func (o *IndividualDetail) SetMiddleName(v string)

SetMiddleName gets a reference to the given NullableString and assigns it to the MiddleName field.

func (*IndividualDetail) SetMiddleNameNil

func (o *IndividualDetail) SetMiddleNameNil()

SetMiddleNameNil sets the value for MiddleName to be an explicit nil

func (*IndividualDetail) SetMotherMaidenName

func (o *IndividualDetail) SetMotherMaidenName(v string)

SetMotherMaidenName gets a reference to the given NullableString and assigns it to the MotherMaidenName field.

func (*IndividualDetail) SetMotherMaidenNameNil

func (o *IndividualDetail) SetMotherMaidenNameNil()

SetMotherMaidenNameNil sets the value for MotherMaidenName to be an explicit nil

func (*IndividualDetail) SetNationality

func (o *IndividualDetail) SetNationality(v string)

SetNationality gets a reference to the given NullableString and assigns it to the Nationality field.

func (*IndividualDetail) SetNationalityNil

func (o *IndividualDetail) SetNationalityNil()

SetNationalityNil sets the value for Nationality to be an explicit nil

func (*IndividualDetail) SetPlaceOfBirth

func (o *IndividualDetail) SetPlaceOfBirth(v string)

SetPlaceOfBirth gets a reference to the given NullableString and assigns it to the PlaceOfBirth field.

func (*IndividualDetail) SetPlaceOfBirthNil

func (o *IndividualDetail) SetPlaceOfBirthNil()

SetPlaceOfBirthNil sets the value for PlaceOfBirth to be an explicit nil

func (*IndividualDetail) SetSurname

func (o *IndividualDetail) SetSurname(v string)

SetSurname gets a reference to the given NullableString and assigns it to the Surname field.

func (*IndividualDetail) SetSurnameNil

func (o *IndividualDetail) SetSurnameNil()

SetSurnameNil sets the value for Surname to be an explicit nil

func (*IndividualDetail) SetSurnameNonRoman

func (o *IndividualDetail) SetSurnameNonRoman(v string)

SetSurnameNonRoman gets a reference to the given NullableString and assigns it to the SurnameNonRoman field.

func (*IndividualDetail) SetSurnameNonRomanNil

func (o *IndividualDetail) SetSurnameNonRomanNil()

SetSurnameNonRomanNil sets the value for SurnameNonRoman to be an explicit nil

func (IndividualDetail) ToMap

func (o IndividualDetail) ToMap() (map[string]interface{}, error)

func (*IndividualDetail) UnsetDateOfBirth

func (o *IndividualDetail) UnsetDateOfBirth()

UnsetDateOfBirth ensures that no value is present for DateOfBirth, not even an explicit nil

func (*IndividualDetail) UnsetEmployment

func (o *IndividualDetail) UnsetEmployment()

UnsetEmployment ensures that no value is present for Employment, not even an explicit nil

func (*IndividualDetail) UnsetGender

func (o *IndividualDetail) UnsetGender()

UnsetGender ensures that no value is present for Gender, not even an explicit nil

func (*IndividualDetail) UnsetGivenNamesNonRoman

func (o *IndividualDetail) UnsetGivenNamesNonRoman()

UnsetGivenNamesNonRoman ensures that no value is present for GivenNamesNonRoman, not even an explicit nil

func (*IndividualDetail) UnsetMiddleName

func (o *IndividualDetail) UnsetMiddleName()

UnsetMiddleName ensures that no value is present for MiddleName, not even an explicit nil

func (*IndividualDetail) UnsetMotherMaidenName

func (o *IndividualDetail) UnsetMotherMaidenName()

UnsetMotherMaidenName ensures that no value is present for MotherMaidenName, not even an explicit nil

func (*IndividualDetail) UnsetNationality

func (o *IndividualDetail) UnsetNationality()

UnsetNationality ensures that no value is present for Nationality, not even an explicit nil

func (*IndividualDetail) UnsetPlaceOfBirth

func (o *IndividualDetail) UnsetPlaceOfBirth()

UnsetPlaceOfBirth ensures that no value is present for PlaceOfBirth, not even an explicit nil

func (*IndividualDetail) UnsetSurname

func (o *IndividualDetail) UnsetSurname()

UnsetSurname ensures that no value is present for Surname, not even an explicit nil

func (*IndividualDetail) UnsetSurnameNonRoman

func (o *IndividualDetail) UnsetSurnameNonRoman()

UnsetSurnameNonRoman ensures that no value is present for SurnameNonRoman, not even an explicit nil

type KYCDocumentRequest

type KYCDocumentRequest struct {
	// ISO3166-2 country code
	Country        NullableString             `json:"country,omitempty"`
	Type           *KYCDocumentType           `json:"type,omitempty"`
	SubType        NullableKYCDocumentSubType `json:"sub_type,omitempty"`
	DocumentName   *string                    `json:"document_name,omitempty"`
	DocumentNumber *string                    `json:"document_number,omitempty"`
	ExpiresAt      *string                    `json:"expires_at,omitempty"`
	HolderName     *string                    `json:"holder_name,omitempty"`
	DocumentImages []string                   `json:"document_images,omitempty"`
}

KYCDocumentRequest struct for KYCDocumentRequest

func NewKYCDocumentRequest

func NewKYCDocumentRequest() *KYCDocumentRequest

NewKYCDocumentRequest instantiates a new KYCDocumentRequest 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 NewKYCDocumentRequestWithDefaults

func NewKYCDocumentRequestWithDefaults() *KYCDocumentRequest

NewKYCDocumentRequestWithDefaults instantiates a new KYCDocumentRequest 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 (*KYCDocumentRequest) GetCountry

func (o *KYCDocumentRequest) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise (both if not set or set to explicit null).

func (*KYCDocumentRequest) GetCountryOk

func (o *KYCDocumentRequest) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*KYCDocumentRequest) GetDocumentImages

func (o *KYCDocumentRequest) GetDocumentImages() []string

GetDocumentImages returns the DocumentImages field value if set, zero value otherwise.

func (*KYCDocumentRequest) GetDocumentImagesOk

func (o *KYCDocumentRequest) GetDocumentImagesOk() ([]string, bool)

GetDocumentImagesOk returns a tuple with the DocumentImages field value if set, nil otherwise and a boolean to check if the value has been set.

func (*KYCDocumentRequest) GetDocumentName

func (o *KYCDocumentRequest) GetDocumentName() string

GetDocumentName returns the DocumentName field value if set, zero value otherwise.

func (*KYCDocumentRequest) GetDocumentNameOk

func (o *KYCDocumentRequest) GetDocumentNameOk() (*string, bool)

GetDocumentNameOk returns a tuple with the DocumentName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*KYCDocumentRequest) GetDocumentNumber

func (o *KYCDocumentRequest) GetDocumentNumber() string

GetDocumentNumber returns the DocumentNumber field value if set, zero value otherwise.

func (*KYCDocumentRequest) GetDocumentNumberOk

func (o *KYCDocumentRequest) GetDocumentNumberOk() (*string, bool)

GetDocumentNumberOk returns a tuple with the DocumentNumber field value if set, nil otherwise and a boolean to check if the value has been set.

func (*KYCDocumentRequest) GetExpiresAt

func (o *KYCDocumentRequest) GetExpiresAt() string

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*KYCDocumentRequest) GetExpiresAtOk

func (o *KYCDocumentRequest) GetExpiresAtOk() (*string, bool)

GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*KYCDocumentRequest) GetHolderName

func (o *KYCDocumentRequest) GetHolderName() string

GetHolderName returns the HolderName field value if set, zero value otherwise.

func (*KYCDocumentRequest) GetHolderNameOk

func (o *KYCDocumentRequest) GetHolderNameOk() (*string, bool)

GetHolderNameOk returns a tuple with the HolderName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*KYCDocumentRequest) GetSubType

func (o *KYCDocumentRequest) GetSubType() KYCDocumentSubType

GetSubType returns the SubType field value if set, zero value otherwise (both if not set or set to explicit null).

func (*KYCDocumentRequest) GetSubTypeOk

func (o *KYCDocumentRequest) GetSubTypeOk() (*KYCDocumentSubType, bool)

GetSubTypeOk returns a tuple with the SubType field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*KYCDocumentRequest) GetType

func (o *KYCDocumentRequest) GetType() KYCDocumentType

GetType returns the Type field value if set, zero value otherwise.

func (*KYCDocumentRequest) GetTypeOk

func (o *KYCDocumentRequest) GetTypeOk() (*KYCDocumentType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*KYCDocumentRequest) HasCountry

func (o *KYCDocumentRequest) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*KYCDocumentRequest) HasDocumentImages

func (o *KYCDocumentRequest) HasDocumentImages() bool

HasDocumentImages returns a boolean if a field has been set.

func (*KYCDocumentRequest) HasDocumentName

func (o *KYCDocumentRequest) HasDocumentName() bool

HasDocumentName returns a boolean if a field has been set.

func (*KYCDocumentRequest) HasDocumentNumber

func (o *KYCDocumentRequest) HasDocumentNumber() bool

HasDocumentNumber returns a boolean if a field has been set.

func (*KYCDocumentRequest) HasExpiresAt

func (o *KYCDocumentRequest) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (*KYCDocumentRequest) HasHolderName

func (o *KYCDocumentRequest) HasHolderName() bool

HasHolderName returns a boolean if a field has been set.

func (*KYCDocumentRequest) HasSubType

func (o *KYCDocumentRequest) HasSubType() bool

HasSubType returns a boolean if a field has been set.

func (*KYCDocumentRequest) HasType

func (o *KYCDocumentRequest) HasType() bool

HasType returns a boolean if a field has been set.

func (KYCDocumentRequest) MarshalJSON

func (o KYCDocumentRequest) MarshalJSON() ([]byte, error)

func (*KYCDocumentRequest) SetCountry

func (o *KYCDocumentRequest) SetCountry(v string)

SetCountry gets a reference to the given NullableString and assigns it to the Country field.

func (*KYCDocumentRequest) SetCountryNil

func (o *KYCDocumentRequest) SetCountryNil()

SetCountryNil sets the value for Country to be an explicit nil

func (*KYCDocumentRequest) SetDocumentImages

func (o *KYCDocumentRequest) SetDocumentImages(v []string)

SetDocumentImages gets a reference to the given []string and assigns it to the DocumentImages field.

func (*KYCDocumentRequest) SetDocumentName

func (o *KYCDocumentRequest) SetDocumentName(v string)

SetDocumentName gets a reference to the given string and assigns it to the DocumentName field.

func (*KYCDocumentRequest) SetDocumentNumber

func (o *KYCDocumentRequest) SetDocumentNumber(v string)

SetDocumentNumber gets a reference to the given string and assigns it to the DocumentNumber field.

func (*KYCDocumentRequest) SetExpiresAt

func (o *KYCDocumentRequest) SetExpiresAt(v string)

SetExpiresAt gets a reference to the given string and assigns it to the ExpiresAt field.

func (*KYCDocumentRequest) SetHolderName

func (o *KYCDocumentRequest) SetHolderName(v string)

SetHolderName gets a reference to the given string and assigns it to the HolderName field.

func (*KYCDocumentRequest) SetSubType

func (o *KYCDocumentRequest) SetSubType(v KYCDocumentSubType)

SetSubType gets a reference to the given NullableKYCDocumentSubType and assigns it to the SubType field.

func (*KYCDocumentRequest) SetSubTypeNil

func (o *KYCDocumentRequest) SetSubTypeNil()

SetSubTypeNil sets the value for SubType to be an explicit nil

func (*KYCDocumentRequest) SetType

func (o *KYCDocumentRequest) SetType(v KYCDocumentType)

SetType gets a reference to the given KYCDocumentType and assigns it to the Type field.

func (KYCDocumentRequest) ToMap

func (o KYCDocumentRequest) ToMap() (map[string]interface{}, error)

func (*KYCDocumentRequest) UnsetCountry

func (o *KYCDocumentRequest) UnsetCountry()

UnsetCountry ensures that no value is present for Country, not even an explicit nil

func (*KYCDocumentRequest) UnsetSubType

func (o *KYCDocumentRequest) UnsetSubType()

UnsetSubType ensures that no value is present for SubType, not even an explicit nil

type KYCDocumentResponse

type KYCDocumentResponse struct {
	Country        string             `json:"country"`
	Type           KYCDocumentType    `json:"type"`
	SubType        KYCDocumentSubType `json:"sub_type"`
	DocumentName   NullableString     `json:"document_name"`
	DocumentNumber NullableString     `json:"document_number"`
	ExpiresAt      NullableString     `json:"expires_at"`
	HolderName     NullableString     `json:"holder_name"`
	DocumentImages []string           `json:"document_images"`
}

KYCDocumentResponse struct for KYCDocumentResponse

func NewKYCDocumentResponse

func NewKYCDocumentResponse(country string, type_ KYCDocumentType, subType KYCDocumentSubType, documentName NullableString, documentNumber NullableString, expiresAt NullableString, holderName NullableString, documentImages []string) *KYCDocumentResponse

NewKYCDocumentResponse instantiates a new KYCDocumentResponse 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 NewKYCDocumentResponseWithDefaults

func NewKYCDocumentResponseWithDefaults() *KYCDocumentResponse

NewKYCDocumentResponseWithDefaults instantiates a new KYCDocumentResponse 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 (*KYCDocumentResponse) GetCountry

func (o *KYCDocumentResponse) GetCountry() string

GetCountry returns the Country field value

func (*KYCDocumentResponse) GetCountryOk

func (o *KYCDocumentResponse) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value and a boolean to check if the value has been set.

func (*KYCDocumentResponse) GetDocumentImages

func (o *KYCDocumentResponse) GetDocumentImages() []string

GetDocumentImages returns the DocumentImages field value If the value is explicit nil, the zero value for []string will be returned

func (*KYCDocumentResponse) GetDocumentImagesOk

func (o *KYCDocumentResponse) GetDocumentImagesOk() ([]string, bool)

GetDocumentImagesOk returns a tuple with the DocumentImages field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*KYCDocumentResponse) GetDocumentName

func (o *KYCDocumentResponse) GetDocumentName() string

GetDocumentName returns the DocumentName field value If the value is explicit nil, the zero value for string will be returned

func (*KYCDocumentResponse) GetDocumentNameOk

func (o *KYCDocumentResponse) GetDocumentNameOk() (*string, bool)

GetDocumentNameOk returns a tuple with the DocumentName field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*KYCDocumentResponse) GetDocumentNumber

func (o *KYCDocumentResponse) GetDocumentNumber() string

GetDocumentNumber returns the DocumentNumber field value If the value is explicit nil, the zero value for string will be returned

func (*KYCDocumentResponse) GetDocumentNumberOk

func (o *KYCDocumentResponse) GetDocumentNumberOk() (*string, bool)

GetDocumentNumberOk returns a tuple with the DocumentNumber field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*KYCDocumentResponse) GetExpiresAt

func (o *KYCDocumentResponse) GetExpiresAt() string

GetExpiresAt returns the ExpiresAt field value If the value is explicit nil, the zero value for string will be returned

func (*KYCDocumentResponse) GetExpiresAtOk

func (o *KYCDocumentResponse) GetExpiresAtOk() (*string, bool)

GetExpiresAtOk returns a tuple with the ExpiresAt field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*KYCDocumentResponse) GetHolderName

func (o *KYCDocumentResponse) GetHolderName() string

GetHolderName returns the HolderName field value If the value is explicit nil, the zero value for string will be returned

func (*KYCDocumentResponse) GetHolderNameOk

func (o *KYCDocumentResponse) GetHolderNameOk() (*string, bool)

GetHolderNameOk returns a tuple with the HolderName field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*KYCDocumentResponse) GetSubType

func (o *KYCDocumentResponse) GetSubType() KYCDocumentSubType

GetSubType returns the SubType field value

func (*KYCDocumentResponse) GetSubTypeOk

func (o *KYCDocumentResponse) GetSubTypeOk() (*KYCDocumentSubType, bool)

GetSubTypeOk returns a tuple with the SubType field value and a boolean to check if the value has been set.

func (*KYCDocumentResponse) GetType

func (o *KYCDocumentResponse) GetType() KYCDocumentType

GetType returns the Type field value

func (*KYCDocumentResponse) GetTypeOk

func (o *KYCDocumentResponse) GetTypeOk() (*KYCDocumentType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (KYCDocumentResponse) MarshalJSON

func (o KYCDocumentResponse) MarshalJSON() ([]byte, error)

func (*KYCDocumentResponse) SetCountry

func (o *KYCDocumentResponse) SetCountry(v string)

SetCountry sets field value

func (*KYCDocumentResponse) SetDocumentImages

func (o *KYCDocumentResponse) SetDocumentImages(v []string)

SetDocumentImages sets field value

func (*KYCDocumentResponse) SetDocumentName

func (o *KYCDocumentResponse) SetDocumentName(v string)

SetDocumentName sets field value

func (*KYCDocumentResponse) SetDocumentNumber

func (o *KYCDocumentResponse) SetDocumentNumber(v string)

SetDocumentNumber sets field value

func (*KYCDocumentResponse) SetExpiresAt

func (o *KYCDocumentResponse) SetExpiresAt(v string)

SetExpiresAt sets field value

func (*KYCDocumentResponse) SetHolderName

func (o *KYCDocumentResponse) SetHolderName(v string)

SetHolderName sets field value

func (*KYCDocumentResponse) SetSubType

func (o *KYCDocumentResponse) SetSubType(v KYCDocumentSubType)

SetSubType sets field value

func (*KYCDocumentResponse) SetType

func (o *KYCDocumentResponse) SetType(v KYCDocumentType)

SetType sets field value

func (KYCDocumentResponse) ToMap

func (o KYCDocumentResponse) ToMap() (map[string]interface{}, error)

type KYCDocumentSubType

type KYCDocumentSubType string

KYCDocumentSubType the model 'KYCDocumentSubType'

const (
	KYCDOCUMENTSUBTYPE_NATIONAL_ID                  KYCDocumentSubType = "NATIONAL_ID"
	KYCDOCUMENTSUBTYPE_CONSULAR_ID                  KYCDocumentSubType = "CONSULAR_ID"
	KYCDOCUMENTSUBTYPE_VOTER_ID                     KYCDocumentSubType = "VOTER_ID"
	KYCDOCUMENTSUBTYPE_POSTAL_ID                    KYCDocumentSubType = "POSTAL_ID"
	KYCDOCUMENTSUBTYPE_RESIDENCE_PERMIT             KYCDocumentSubType = "RESIDENCE_PERMIT"
	KYCDOCUMENTSUBTYPE_TAX_ID                       KYCDocumentSubType = "TAX_ID"
	KYCDOCUMENTSUBTYPE_STUDENT_ID                   KYCDocumentSubType = "STUDENT_ID"
	KYCDOCUMENTSUBTYPE_MILITARY_ID                  KYCDocumentSubType = "MILITARY_ID"
	KYCDOCUMENTSUBTYPE_MEDICAL_ID                   KYCDocumentSubType = "MEDICAL_ID"
	KYCDOCUMENTSUBTYPE_OTHERS                       KYCDocumentSubType = "OTHERS"
	KYCDOCUMENTSUBTYPE_XENDIT_ENUM_DEFAULT_FALLBACK KYCDocumentSubType = "UNKNOWN_ENUM_VALUE"
)

List of KYCDocumentSubType

func NewKYCDocumentSubTypeFromValue

func NewKYCDocumentSubTypeFromValue(v string) (*KYCDocumentSubType, error)

NewKYCDocumentSubTypeFromValue returns a pointer to a valid KYCDocumentSubType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (KYCDocumentSubType) IsValid

func (v KYCDocumentSubType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (KYCDocumentSubType) Ptr

Ptr returns reference to KYCDocumentSubType value

func (KYCDocumentSubType) String

func (v KYCDocumentSubType) String() string

func (*KYCDocumentSubType) UnmarshalJSON

func (v *KYCDocumentSubType) UnmarshalJSON(src []byte) error

type KYCDocumentType

type KYCDocumentType string

KYCDocumentType the model 'KYCDocumentType'

const (
	KYCDOCUMENTTYPE_BIRTH_CERTIFICATE            KYCDocumentType = "BIRTH_CERTIFICATE"
	KYCDOCUMENTTYPE_BANK_STATEMENT               KYCDocumentType = "BANK_STATEMENT"
	KYCDOCUMENTTYPE_DRIVING_LICENSE              KYCDocumentType = "DRIVING_LICENSE"
	KYCDOCUMENTTYPE_IDENTITY_CARD                KYCDocumentType = "IDENTITY_CARD"
	KYCDOCUMENTTYPE_PASSPORT                     KYCDocumentType = "PASSPORT"
	KYCDOCUMENTTYPE_VISA                         KYCDocumentType = "VISA"
	KYCDOCUMENTTYPE_BUSINESS_REGISTRATION        KYCDocumentType = "BUSINESS_REGISTRATION"
	KYCDOCUMENTTYPE_BUSINESS_LICENSE             KYCDocumentType = "BUSINESS_LICENSE"
	KYCDOCUMENTTYPE_XENDIT_ENUM_DEFAULT_FALLBACK KYCDocumentType = "UNKNOWN_ENUM_VALUE"
)

List of KYCDocumentType

func NewKYCDocumentTypeFromValue

func NewKYCDocumentTypeFromValue(v string) (*KYCDocumentType, error)

NewKYCDocumentTypeFromValue returns a pointer to a valid KYCDocumentType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (KYCDocumentType) IsValid

func (v KYCDocumentType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (KYCDocumentType) Ptr

Ptr returns reference to KYCDocumentType value

func (KYCDocumentType) String

func (v KYCDocumentType) String() string

func (*KYCDocumentType) UnmarshalJSON

func (v *KYCDocumentType) UnmarshalJSON(src []byte) error

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type NullableAccountBank

type NullableAccountBank struct {
	// contains filtered or unexported fields
}

func NewNullableAccountBank

func NewNullableAccountBank(val *AccountBank) *NullableAccountBank

func (NullableAccountBank) Get

func (NullableAccountBank) IsSet

func (v NullableAccountBank) IsSet() bool

func (NullableAccountBank) MarshalJSON

func (v NullableAccountBank) MarshalJSON() ([]byte, error)

func (*NullableAccountBank) Set

func (v *NullableAccountBank) Set(val *AccountBank)

func (*NullableAccountBank) UnmarshalJSON

func (v *NullableAccountBank) UnmarshalJSON(src []byte) error

func (*NullableAccountBank) Unset

func (v *NullableAccountBank) Unset()

type NullableAccountCard

type NullableAccountCard struct {
	// contains filtered or unexported fields
}

func NewNullableAccountCard

func NewNullableAccountCard(val *AccountCard) *NullableAccountCard

func (NullableAccountCard) Get

func (NullableAccountCard) IsSet

func (v NullableAccountCard) IsSet() bool

func (NullableAccountCard) MarshalJSON

func (v NullableAccountCard) MarshalJSON() ([]byte, error)

func (*NullableAccountCard) Set

func (v *NullableAccountCard) Set(val *AccountCard)

func (*NullableAccountCard) UnmarshalJSON

func (v *NullableAccountCard) UnmarshalJSON(src []byte) error

func (*NullableAccountCard) Unset

func (v *NullableAccountCard) Unset()

type NullableAccountEwallet

type NullableAccountEwallet struct {
	// contains filtered or unexported fields
}

func NewNullableAccountEwallet

func NewNullableAccountEwallet(val *AccountEwallet) *NullableAccountEwallet

func (NullableAccountEwallet) Get

func (NullableAccountEwallet) IsSet

func (v NullableAccountEwallet) IsSet() bool

func (NullableAccountEwallet) MarshalJSON

func (v NullableAccountEwallet) MarshalJSON() ([]byte, error)

func (*NullableAccountEwallet) Set

func (*NullableAccountEwallet) UnmarshalJSON

func (v *NullableAccountEwallet) UnmarshalJSON(src []byte) error

func (*NullableAccountEwallet) Unset

func (v *NullableAccountEwallet) Unset()

type NullableAccountOTC

type NullableAccountOTC struct {
	// contains filtered or unexported fields
}

func NewNullableAccountOTC

func NewNullableAccountOTC(val *AccountOTC) *NullableAccountOTC

func (NullableAccountOTC) Get

func (v NullableAccountOTC) Get() *AccountOTC

func (NullableAccountOTC) IsSet

func (v NullableAccountOTC) IsSet() bool

func (NullableAccountOTC) MarshalJSON

func (v NullableAccountOTC) MarshalJSON() ([]byte, error)

func (*NullableAccountOTC) Set

func (v *NullableAccountOTC) Set(val *AccountOTC)

func (*NullableAccountOTC) UnmarshalJSON

func (v *NullableAccountOTC) UnmarshalJSON(src []byte) error

func (*NullableAccountOTC) Unset

func (v *NullableAccountOTC) Unset()

type NullableAccountPayLater

type NullableAccountPayLater struct {
	// contains filtered or unexported fields
}

func NewNullableAccountPayLater

func NewNullableAccountPayLater(val *AccountPayLater) *NullableAccountPayLater

func (NullableAccountPayLater) Get

func (NullableAccountPayLater) IsSet

func (v NullableAccountPayLater) IsSet() bool

func (NullableAccountPayLater) MarshalJSON

func (v NullableAccountPayLater) MarshalJSON() ([]byte, error)

func (*NullableAccountPayLater) Set

func (*NullableAccountPayLater) UnmarshalJSON

func (v *NullableAccountPayLater) UnmarshalJSON(src []byte) error

func (*NullableAccountPayLater) Unset

func (v *NullableAccountPayLater) Unset()

type NullableAccountQRCode

type NullableAccountQRCode struct {
	// contains filtered or unexported fields
}

func NewNullableAccountQRCode

func NewNullableAccountQRCode(val *AccountQRCode) *NullableAccountQRCode

func (NullableAccountQRCode) Get

func (NullableAccountQRCode) IsSet

func (v NullableAccountQRCode) IsSet() bool

func (NullableAccountQRCode) MarshalJSON

func (v NullableAccountQRCode) MarshalJSON() ([]byte, error)

func (*NullableAccountQRCode) Set

func (v *NullableAccountQRCode) Set(val *AccountQRCode)

func (*NullableAccountQRCode) UnmarshalJSON

func (v *NullableAccountQRCode) UnmarshalJSON(src []byte) error

func (*NullableAccountQRCode) Unset

func (v *NullableAccountQRCode) Unset()

type NullableAddress

type NullableAddress struct {
	// contains filtered or unexported fields
}

func NewNullableAddress

func NewNullableAddress(val *Address) *NullableAddress

func (NullableAddress) Get

func (v NullableAddress) Get() *Address

func (NullableAddress) IsSet

func (v NullableAddress) IsSet() bool

func (NullableAddress) MarshalJSON

func (v NullableAddress) MarshalJSON() ([]byte, error)

func (*NullableAddress) Set

func (v *NullableAddress) Set(val *Address)

func (*NullableAddress) UnmarshalJSON

func (v *NullableAddress) UnmarshalJSON(src []byte) error

func (*NullableAddress) Unset

func (v *NullableAddress) Unset()

type NullableAddressRequest

type NullableAddressRequest struct {
	// contains filtered or unexported fields
}

func NewNullableAddressRequest

func NewNullableAddressRequest(val *AddressRequest) *NullableAddressRequest

func (NullableAddressRequest) Get

func (NullableAddressRequest) IsSet

func (v NullableAddressRequest) IsSet() bool

func (NullableAddressRequest) MarshalJSON

func (v NullableAddressRequest) MarshalJSON() ([]byte, error)

func (*NullableAddressRequest) Set

func (*NullableAddressRequest) UnmarshalJSON

func (v *NullableAddressRequest) UnmarshalJSON(src []byte) error

func (*NullableAddressRequest) Unset

func (v *NullableAddressRequest) Unset()

type NullableAddressStatus

type NullableAddressStatus struct {
	// contains filtered or unexported fields
}

func NewNullableAddressStatus

func NewNullableAddressStatus(val *AddressStatus) *NullableAddressStatus

func (NullableAddressStatus) Get

func (NullableAddressStatus) IsSet

func (v NullableAddressStatus) IsSet() bool

func (NullableAddressStatus) MarshalJSON

func (v NullableAddressStatus) MarshalJSON() ([]byte, error)

func (*NullableAddressStatus) Set

func (v *NullableAddressStatus) Set(val *AddressStatus)

func (*NullableAddressStatus) UnmarshalJSON

func (v *NullableAddressStatus) UnmarshalJSON(src []byte) error

func (*NullableAddressStatus) Unset

func (v *NullableAddressStatus) Unset()

type NullableBool

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableBusinessDetail

type NullableBusinessDetail struct {
	// contains filtered or unexported fields
}

func NewNullableBusinessDetail

func NewNullableBusinessDetail(val *BusinessDetail) *NullableBusinessDetail

func (NullableBusinessDetail) Get

func (NullableBusinessDetail) IsSet

func (v NullableBusinessDetail) IsSet() bool

func (NullableBusinessDetail) MarshalJSON

func (v NullableBusinessDetail) MarshalJSON() ([]byte, error)

func (*NullableBusinessDetail) Set

func (*NullableBusinessDetail) UnmarshalJSON

func (v *NullableBusinessDetail) UnmarshalJSON(src []byte) error

func (*NullableBusinessDetail) Unset

func (v *NullableBusinessDetail) Unset()

type NullableCreateCustomer400Response

type NullableCreateCustomer400Response struct {
	// contains filtered or unexported fields
}

func (NullableCreateCustomer400Response) Get

func (NullableCreateCustomer400Response) IsSet

func (NullableCreateCustomer400Response) MarshalJSON

func (v NullableCreateCustomer400Response) MarshalJSON() ([]byte, error)

func (*NullableCreateCustomer400Response) Set

func (*NullableCreateCustomer400Response) UnmarshalJSON

func (v *NullableCreateCustomer400Response) UnmarshalJSON(src []byte) error

func (*NullableCreateCustomer400Response) Unset

type NullableCreateCustomer400ResponseAllOf

type NullableCreateCustomer400ResponseAllOf struct {
	// contains filtered or unexported fields
}

func (NullableCreateCustomer400ResponseAllOf) Get

func (NullableCreateCustomer400ResponseAllOf) IsSet

func (NullableCreateCustomer400ResponseAllOf) MarshalJSON

func (v NullableCreateCustomer400ResponseAllOf) MarshalJSON() ([]byte, error)

func (*NullableCreateCustomer400ResponseAllOf) Set

func (*NullableCreateCustomer400ResponseAllOf) UnmarshalJSON

func (v *NullableCreateCustomer400ResponseAllOf) UnmarshalJSON(src []byte) error

func (*NullableCreateCustomer400ResponseAllOf) Unset

type NullableCustomer

type NullableCustomer struct {
	// contains filtered or unexported fields
}

func NewNullableCustomer

func NewNullableCustomer(val *Customer) *NullableCustomer

func (NullableCustomer) Get

func (v NullableCustomer) Get() *Customer

func (NullableCustomer) IsSet

func (v NullableCustomer) IsSet() bool

func (NullableCustomer) MarshalJSON

func (v NullableCustomer) MarshalJSON() ([]byte, error)

func (*NullableCustomer) Set

func (v *NullableCustomer) Set(val *Customer)

func (*NullableCustomer) UnmarshalJSON

func (v *NullableCustomer) UnmarshalJSON(src []byte) error

func (*NullableCustomer) Unset

func (v *NullableCustomer) Unset()

type NullableCustomerRequest

type NullableCustomerRequest struct {
	// contains filtered or unexported fields
}

func NewNullableCustomerRequest

func NewNullableCustomerRequest(val *CustomerRequest) *NullableCustomerRequest

func (NullableCustomerRequest) Get

func (NullableCustomerRequest) IsSet

func (v NullableCustomerRequest) IsSet() bool

func (NullableCustomerRequest) MarshalJSON

func (v NullableCustomerRequest) MarshalJSON() ([]byte, error)

func (*NullableCustomerRequest) Set

func (*NullableCustomerRequest) UnmarshalJSON

func (v *NullableCustomerRequest) UnmarshalJSON(src []byte) error

func (*NullableCustomerRequest) Unset

func (v *NullableCustomerRequest) Unset()

type NullableEmploymentDetail

type NullableEmploymentDetail struct {
	// contains filtered or unexported fields
}

func NewNullableEmploymentDetail

func NewNullableEmploymentDetail(val *EmploymentDetail) *NullableEmploymentDetail

func (NullableEmploymentDetail) Get

func (NullableEmploymentDetail) IsSet

func (v NullableEmploymentDetail) IsSet() bool

func (NullableEmploymentDetail) MarshalJSON

func (v NullableEmploymentDetail) MarshalJSON() ([]byte, error)

func (*NullableEmploymentDetail) Set

func (*NullableEmploymentDetail) UnmarshalJSON

func (v *NullableEmploymentDetail) UnmarshalJSON(src []byte) error

func (*NullableEmploymentDetail) Unset

func (v *NullableEmploymentDetail) Unset()

type NullableEndCustomerStatus

type NullableEndCustomerStatus struct {
	// contains filtered or unexported fields
}

func NewNullableEndCustomerStatus

func NewNullableEndCustomerStatus(val *EndCustomerStatus) *NullableEndCustomerStatus

func (NullableEndCustomerStatus) Get

func (NullableEndCustomerStatus) IsSet

func (v NullableEndCustomerStatus) IsSet() bool

func (NullableEndCustomerStatus) MarshalJSON

func (v NullableEndCustomerStatus) MarshalJSON() ([]byte, error)

func (*NullableEndCustomerStatus) Set

func (*NullableEndCustomerStatus) UnmarshalJSON

func (v *NullableEndCustomerStatus) UnmarshalJSON(src []byte) error

func (*NullableEndCustomerStatus) Unset

func (v *NullableEndCustomerStatus) Unset()

type NullableError

type NullableError struct {
	// contains filtered or unexported fields
}

func NewNullableError

func NewNullableError(val *Error) *NullableError

func (NullableError) Get

func (v NullableError) Get() *Error

func (NullableError) IsSet

func (v NullableError) IsSet() bool

func (NullableError) MarshalJSON

func (v NullableError) MarshalJSON() ([]byte, error)

func (*NullableError) Set

func (v *NullableError) Set(val *Error)

func (*NullableError) UnmarshalJSON

func (v *NullableError) UnmarshalJSON(src []byte) error

func (*NullableError) Unset

func (v *NullableError) Unset()

type NullableFloat32

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableGetCustomerByReferenceID200Response

type NullableGetCustomerByReferenceID200Response struct {
	// contains filtered or unexported fields
}

func (NullableGetCustomerByReferenceID200Response) Get

func (NullableGetCustomerByReferenceID200Response) IsSet

func (NullableGetCustomerByReferenceID200Response) MarshalJSON

func (*NullableGetCustomerByReferenceID200Response) Set

func (*NullableGetCustomerByReferenceID200Response) UnmarshalJSON

func (v *NullableGetCustomerByReferenceID200Response) UnmarshalJSON(src []byte) error

func (*NullableGetCustomerByReferenceID200Response) Unset

type NullableGetCustomerByReferenceID400Response

type NullableGetCustomerByReferenceID400Response struct {
	// contains filtered or unexported fields
}

func (NullableGetCustomerByReferenceID400Response) Get

func (NullableGetCustomerByReferenceID400Response) IsSet

func (NullableGetCustomerByReferenceID400Response) MarshalJSON

func (*NullableGetCustomerByReferenceID400Response) Set

func (*NullableGetCustomerByReferenceID400Response) UnmarshalJSON

func (v *NullableGetCustomerByReferenceID400Response) UnmarshalJSON(src []byte) error

func (*NullableGetCustomerByReferenceID400Response) Unset

type NullableGetCustomerByReferenceID400ResponseAllOf

type NullableGetCustomerByReferenceID400ResponseAllOf struct {
	// contains filtered or unexported fields
}

func (NullableGetCustomerByReferenceID400ResponseAllOf) Get

func (NullableGetCustomerByReferenceID400ResponseAllOf) IsSet

func (NullableGetCustomerByReferenceID400ResponseAllOf) MarshalJSON

func (*NullableGetCustomerByReferenceID400ResponseAllOf) Set

func (*NullableGetCustomerByReferenceID400ResponseAllOf) UnmarshalJSON

func (*NullableGetCustomerByReferenceID400ResponseAllOf) Unset

type NullableIdentityAccountRequest

type NullableIdentityAccountRequest struct {
	// contains filtered or unexported fields
}

func (NullableIdentityAccountRequest) Get

func (NullableIdentityAccountRequest) IsSet

func (NullableIdentityAccountRequest) MarshalJSON

func (v NullableIdentityAccountRequest) MarshalJSON() ([]byte, error)

func (*NullableIdentityAccountRequest) Set

func (*NullableIdentityAccountRequest) UnmarshalJSON

func (v *NullableIdentityAccountRequest) UnmarshalJSON(src []byte) error

func (*NullableIdentityAccountRequest) Unset

func (v *NullableIdentityAccountRequest) Unset()

type NullableIdentityAccountRequestProperties

type NullableIdentityAccountRequestProperties struct {
	// contains filtered or unexported fields
}

func (NullableIdentityAccountRequestProperties) Get

func (NullableIdentityAccountRequestProperties) IsSet

func (NullableIdentityAccountRequestProperties) MarshalJSON

func (*NullableIdentityAccountRequestProperties) Set

func (*NullableIdentityAccountRequestProperties) UnmarshalJSON

func (v *NullableIdentityAccountRequestProperties) UnmarshalJSON(src []byte) error

func (*NullableIdentityAccountRequestProperties) Unset

type NullableIdentityAccountResponse

type NullableIdentityAccountResponse struct {
	// contains filtered or unexported fields
}

func (NullableIdentityAccountResponse) Get

func (NullableIdentityAccountResponse) IsSet

func (NullableIdentityAccountResponse) MarshalJSON

func (v NullableIdentityAccountResponse) MarshalJSON() ([]byte, error)

func (*NullableIdentityAccountResponse) Set

func (*NullableIdentityAccountResponse) UnmarshalJSON

func (v *NullableIdentityAccountResponse) UnmarshalJSON(src []byte) error

func (*NullableIdentityAccountResponse) Unset

type NullableIdentityAccountResponseProperties

type NullableIdentityAccountResponseProperties struct {
	// contains filtered or unexported fields
}

func (NullableIdentityAccountResponseProperties) Get

func (NullableIdentityAccountResponseProperties) IsSet

func (NullableIdentityAccountResponseProperties) MarshalJSON

func (*NullableIdentityAccountResponseProperties) Set

func (*NullableIdentityAccountResponseProperties) UnmarshalJSON

func (v *NullableIdentityAccountResponseProperties) UnmarshalJSON(src []byte) error

func (*NullableIdentityAccountResponseProperties) Unset

type NullableIdentityAccountType

type NullableIdentityAccountType struct {
	// contains filtered or unexported fields
}

func NewNullableIdentityAccountType

func NewNullableIdentityAccountType(val *IdentityAccountType) *NullableIdentityAccountType

func (NullableIdentityAccountType) Get

func (NullableIdentityAccountType) IsSet

func (NullableIdentityAccountType) MarshalJSON

func (v NullableIdentityAccountType) MarshalJSON() ([]byte, error)

func (*NullableIdentityAccountType) Set

func (*NullableIdentityAccountType) UnmarshalJSON

func (v *NullableIdentityAccountType) UnmarshalJSON(src []byte) error

func (*NullableIdentityAccountType) Unset

func (v *NullableIdentityAccountType) Unset()

type NullableIndividualDetail

type NullableIndividualDetail struct {
	// contains filtered or unexported fields
}

func NewNullableIndividualDetail

func NewNullableIndividualDetail(val *IndividualDetail) *NullableIndividualDetail

func (NullableIndividualDetail) Get

func (NullableIndividualDetail) IsSet

func (v NullableIndividualDetail) IsSet() bool

func (NullableIndividualDetail) MarshalJSON

func (v NullableIndividualDetail) MarshalJSON() ([]byte, error)

func (*NullableIndividualDetail) Set

func (*NullableIndividualDetail) UnmarshalJSON

func (v *NullableIndividualDetail) UnmarshalJSON(src []byte) error

func (*NullableIndividualDetail) Unset

func (v *NullableIndividualDetail) Unset()

type NullableInt

type NullableInt struct {
	// contains filtered or unexported fields
}

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

type NullableInt32 struct {
	// contains filtered or unexported fields
}

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

type NullableInt64 struct {
	// contains filtered or unexported fields
}

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableKYCDocumentRequest

type NullableKYCDocumentRequest struct {
	// contains filtered or unexported fields
}

func NewNullableKYCDocumentRequest

func NewNullableKYCDocumentRequest(val *KYCDocumentRequest) *NullableKYCDocumentRequest

func (NullableKYCDocumentRequest) Get

func (NullableKYCDocumentRequest) IsSet

func (v NullableKYCDocumentRequest) IsSet() bool

func (NullableKYCDocumentRequest) MarshalJSON

func (v NullableKYCDocumentRequest) MarshalJSON() ([]byte, error)

func (*NullableKYCDocumentRequest) Set

func (*NullableKYCDocumentRequest) UnmarshalJSON

func (v *NullableKYCDocumentRequest) UnmarshalJSON(src []byte) error

func (*NullableKYCDocumentRequest) Unset

func (v *NullableKYCDocumentRequest) Unset()

type NullableKYCDocumentResponse

type NullableKYCDocumentResponse struct {
	// contains filtered or unexported fields
}

func NewNullableKYCDocumentResponse

func NewNullableKYCDocumentResponse(val *KYCDocumentResponse) *NullableKYCDocumentResponse

func (NullableKYCDocumentResponse) Get

func (NullableKYCDocumentResponse) IsSet

func (NullableKYCDocumentResponse) MarshalJSON

func (v NullableKYCDocumentResponse) MarshalJSON() ([]byte, error)

func (*NullableKYCDocumentResponse) Set

func (*NullableKYCDocumentResponse) UnmarshalJSON

func (v *NullableKYCDocumentResponse) UnmarshalJSON(src []byte) error

func (*NullableKYCDocumentResponse) Unset

func (v *NullableKYCDocumentResponse) Unset()

type NullableKYCDocumentSubType

type NullableKYCDocumentSubType struct {
	// contains filtered or unexported fields
}

func NewNullableKYCDocumentSubType

func NewNullableKYCDocumentSubType(val *KYCDocumentSubType) *NullableKYCDocumentSubType

func (NullableKYCDocumentSubType) Get

func (NullableKYCDocumentSubType) IsSet

func (v NullableKYCDocumentSubType) IsSet() bool

func (NullableKYCDocumentSubType) MarshalJSON

func (v NullableKYCDocumentSubType) MarshalJSON() ([]byte, error)

func (*NullableKYCDocumentSubType) Set

func (*NullableKYCDocumentSubType) UnmarshalJSON

func (v *NullableKYCDocumentSubType) UnmarshalJSON(src []byte) error

func (*NullableKYCDocumentSubType) Unset

func (v *NullableKYCDocumentSubType) Unset()

type NullableKYCDocumentType

type NullableKYCDocumentType struct {
	// contains filtered or unexported fields
}

func NewNullableKYCDocumentType

func NewNullableKYCDocumentType(val *KYCDocumentType) *NullableKYCDocumentType

func (NullableKYCDocumentType) Get

func (NullableKYCDocumentType) IsSet

func (v NullableKYCDocumentType) IsSet() bool

func (NullableKYCDocumentType) MarshalJSON

func (v NullableKYCDocumentType) MarshalJSON() ([]byte, error)

func (*NullableKYCDocumentType) Set

func (*NullableKYCDocumentType) UnmarshalJSON

func (v *NullableKYCDocumentType) UnmarshalJSON(src []byte) error

func (*NullableKYCDocumentType) Unset

func (v *NullableKYCDocumentType) Unset()

type NullablePatchCustomer

type NullablePatchCustomer struct {
	// contains filtered or unexported fields
}

func NewNullablePatchCustomer

func NewNullablePatchCustomer(val *PatchCustomer) *NullablePatchCustomer

func (NullablePatchCustomer) Get

func (NullablePatchCustomer) IsSet

func (v NullablePatchCustomer) IsSet() bool

func (NullablePatchCustomer) MarshalJSON

func (v NullablePatchCustomer) MarshalJSON() ([]byte, error)

func (*NullablePatchCustomer) Set

func (v *NullablePatchCustomer) Set(val *PatchCustomer)

func (*NullablePatchCustomer) UnmarshalJSON

func (v *NullablePatchCustomer) UnmarshalJSON(src []byte) error

func (*NullablePatchCustomer) Unset

func (v *NullablePatchCustomer) Unset()

type NullableResponseDataNotFound

type NullableResponseDataNotFound struct {
	// contains filtered or unexported fields
}

func NewNullableResponseDataNotFound

func NewNullableResponseDataNotFound(val *ResponseDataNotFound) *NullableResponseDataNotFound

func (NullableResponseDataNotFound) Get

func (NullableResponseDataNotFound) IsSet

func (NullableResponseDataNotFound) MarshalJSON

func (v NullableResponseDataNotFound) MarshalJSON() ([]byte, error)

func (*NullableResponseDataNotFound) Set

func (*NullableResponseDataNotFound) UnmarshalJSON

func (v *NullableResponseDataNotFound) UnmarshalJSON(src []byte) error

func (*NullableResponseDataNotFound) Unset

func (v *NullableResponseDataNotFound) Unset()

type NullableString

type NullableString struct {
	// contains filtered or unexported fields
}

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

type NullableTime struct {
	// contains filtered or unexported fields
}

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type NullableUpdateCustomer400Response

type NullableUpdateCustomer400Response struct {
	// contains filtered or unexported fields
}

func (NullableUpdateCustomer400Response) Get

func (NullableUpdateCustomer400Response) IsSet

func (NullableUpdateCustomer400Response) MarshalJSON

func (v NullableUpdateCustomer400Response) MarshalJSON() ([]byte, error)

func (*NullableUpdateCustomer400Response) Set

func (*NullableUpdateCustomer400Response) UnmarshalJSON

func (v *NullableUpdateCustomer400Response) UnmarshalJSON(src []byte) error

func (*NullableUpdateCustomer400Response) Unset

type NullableUpdateCustomer400ResponseAllOf

type NullableUpdateCustomer400ResponseAllOf struct {
	// contains filtered or unexported fields
}

func (NullableUpdateCustomer400ResponseAllOf) Get

func (NullableUpdateCustomer400ResponseAllOf) IsSet

func (NullableUpdateCustomer400ResponseAllOf) MarshalJSON

func (v NullableUpdateCustomer400ResponseAllOf) MarshalJSON() ([]byte, error)

func (*NullableUpdateCustomer400ResponseAllOf) Set

func (*NullableUpdateCustomer400ResponseAllOf) UnmarshalJSON

func (v *NullableUpdateCustomer400ResponseAllOf) UnmarshalJSON(src []byte) error

func (*NullableUpdateCustomer400ResponseAllOf) Unset

type PatchCustomer

type PatchCustomer struct {
	// Entity's name for this client
	ClientName NullableString `json:"client_name,omitempty"`
	// Merchant's reference of this end customer, eg Merchant's user's id. Must be unique.
	ReferenceId      NullableString            `json:"reference_id,omitempty"`
	IndividualDetail NullableIndividualDetail  `json:"individual_detail,omitempty"`
	BusinessDetail   NullableBusinessDetail    `json:"business_detail,omitempty"`
	Description      NullableString            `json:"description,omitempty"`
	Email            NullableString            `json:"email,omitempty"`
	MobileNumber     NullableString            `json:"mobile_number,omitempty"`
	PhoneNumber      NullableString            `json:"phone_number,omitempty"`
	Metadata         map[string]interface{}    `json:"metadata,omitempty"`
	Addresses        []AddressRequest          `json:"addresses,omitempty"`
	IdentityAccounts []IdentityAccountRequest  `json:"identity_accounts,omitempty"`
	KycDocuments     []KYCDocumentRequest      `json:"kyc_documents,omitempty"`
	Status           NullableEndCustomerStatus `json:"status,omitempty"`
}

PatchCustomer struct for PatchCustomer

func NewPatchCustomer

func NewPatchCustomer() *PatchCustomer

NewPatchCustomer instantiates a new PatchCustomer 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 NewPatchCustomerWithDefaults

func NewPatchCustomerWithDefaults() *PatchCustomer

NewPatchCustomerWithDefaults instantiates a new PatchCustomer 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 (*PatchCustomer) GetAddresses

func (o *PatchCustomer) GetAddresses() []AddressRequest

GetAddresses returns the Addresses field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PatchCustomer) GetAddressesOk

func (o *PatchCustomer) GetAddressesOk() ([]AddressRequest, bool)

GetAddressesOk returns a tuple with the Addresses field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchCustomer) GetBusinessDetail

func (o *PatchCustomer) GetBusinessDetail() BusinessDetail

GetBusinessDetail returns the BusinessDetail field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PatchCustomer) GetBusinessDetailOk

func (o *PatchCustomer) GetBusinessDetailOk() (*BusinessDetail, bool)

GetBusinessDetailOk returns a tuple with the BusinessDetail field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchCustomer) GetClientName

func (o *PatchCustomer) GetClientName() string

GetClientName returns the ClientName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PatchCustomer) GetClientNameOk

func (o *PatchCustomer) GetClientNameOk() (*string, bool)

GetClientNameOk returns a tuple with the ClientName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchCustomer) GetDescription

func (o *PatchCustomer) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PatchCustomer) GetDescriptionOk

func (o *PatchCustomer) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchCustomer) GetEmail

func (o *PatchCustomer) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PatchCustomer) GetEmailOk

func (o *PatchCustomer) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchCustomer) GetIdentityAccounts

func (o *PatchCustomer) GetIdentityAccounts() []IdentityAccountRequest

GetIdentityAccounts returns the IdentityAccounts field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PatchCustomer) GetIdentityAccountsOk

func (o *PatchCustomer) GetIdentityAccountsOk() ([]IdentityAccountRequest, bool)

GetIdentityAccountsOk returns a tuple with the IdentityAccounts field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchCustomer) GetIndividualDetail

func (o *PatchCustomer) GetIndividualDetail() IndividualDetail

GetIndividualDetail returns the IndividualDetail field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PatchCustomer) GetIndividualDetailOk

func (o *PatchCustomer) GetIndividualDetailOk() (*IndividualDetail, bool)

GetIndividualDetailOk returns a tuple with the IndividualDetail field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchCustomer) GetKycDocuments

func (o *PatchCustomer) GetKycDocuments() []KYCDocumentRequest

GetKycDocuments returns the KycDocuments field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PatchCustomer) GetKycDocumentsOk

func (o *PatchCustomer) GetKycDocumentsOk() ([]KYCDocumentRequest, bool)

GetKycDocumentsOk returns a tuple with the KycDocuments field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchCustomer) GetMetadata

func (o *PatchCustomer) GetMetadata() map[string]interface{}

GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PatchCustomer) GetMetadataOk

func (o *PatchCustomer) GetMetadataOk() (map[string]interface{}, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchCustomer) GetMobileNumber

func (o *PatchCustomer) GetMobileNumber() string

GetMobileNumber returns the MobileNumber field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PatchCustomer) GetMobileNumberOk

func (o *PatchCustomer) GetMobileNumberOk() (*string, bool)

GetMobileNumberOk returns a tuple with the MobileNumber field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchCustomer) GetPhoneNumber

func (o *PatchCustomer) GetPhoneNumber() string

GetPhoneNumber returns the PhoneNumber field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PatchCustomer) GetPhoneNumberOk

func (o *PatchCustomer) GetPhoneNumberOk() (*string, bool)

GetPhoneNumberOk returns a tuple with the PhoneNumber field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchCustomer) GetReferenceId

func (o *PatchCustomer) GetReferenceId() string

GetReferenceId returns the ReferenceId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PatchCustomer) GetReferenceIdOk

func (o *PatchCustomer) GetReferenceIdOk() (*string, bool)

GetReferenceIdOk returns a tuple with the ReferenceId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchCustomer) GetStatus

func (o *PatchCustomer) GetStatus() EndCustomerStatus

GetStatus returns the Status field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PatchCustomer) GetStatusOk

func (o *PatchCustomer) GetStatusOk() (*EndCustomerStatus, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchCustomer) HasAddresses

func (o *PatchCustomer) HasAddresses() bool

HasAddresses returns a boolean if a field has been set.

func (*PatchCustomer) HasBusinessDetail

func (o *PatchCustomer) HasBusinessDetail() bool

HasBusinessDetail returns a boolean if a field has been set.

func (*PatchCustomer) HasClientName

func (o *PatchCustomer) HasClientName() bool

HasClientName returns a boolean if a field has been set.

func (*PatchCustomer) HasDescription

func (o *PatchCustomer) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*PatchCustomer) HasEmail

func (o *PatchCustomer) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*PatchCustomer) HasIdentityAccounts

func (o *PatchCustomer) HasIdentityAccounts() bool

HasIdentityAccounts returns a boolean if a field has been set.

func (*PatchCustomer) HasIndividualDetail

func (o *PatchCustomer) HasIndividualDetail() bool

HasIndividualDetail returns a boolean if a field has been set.

func (*PatchCustomer) HasKycDocuments

func (o *PatchCustomer) HasKycDocuments() bool

HasKycDocuments returns a boolean if a field has been set.

func (*PatchCustomer) HasMetadata

func (o *PatchCustomer) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*PatchCustomer) HasMobileNumber

func (o *PatchCustomer) HasMobileNumber() bool

HasMobileNumber returns a boolean if a field has been set.

func (*PatchCustomer) HasPhoneNumber

func (o *PatchCustomer) HasPhoneNumber() bool

HasPhoneNumber returns a boolean if a field has been set.

func (*PatchCustomer) HasReferenceId

func (o *PatchCustomer) HasReferenceId() bool

HasReferenceId returns a boolean if a field has been set.

func (*PatchCustomer) HasStatus

func (o *PatchCustomer) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (PatchCustomer) MarshalJSON

func (o PatchCustomer) MarshalJSON() ([]byte, error)

func (*PatchCustomer) SetAddresses

func (o *PatchCustomer) SetAddresses(v []AddressRequest)

SetAddresses gets a reference to the given []AddressRequest and assigns it to the Addresses field.

func (*PatchCustomer) SetBusinessDetail

func (o *PatchCustomer) SetBusinessDetail(v BusinessDetail)

SetBusinessDetail gets a reference to the given NullableBusinessDetail and assigns it to the BusinessDetail field.

func (*PatchCustomer) SetBusinessDetailNil

func (o *PatchCustomer) SetBusinessDetailNil()

SetBusinessDetailNil sets the value for BusinessDetail to be an explicit nil

func (*PatchCustomer) SetClientName

func (o *PatchCustomer) SetClientName(v string)

SetClientName gets a reference to the given NullableString and assigns it to the ClientName field.

func (*PatchCustomer) SetClientNameNil

func (o *PatchCustomer) SetClientNameNil()

SetClientNameNil sets the value for ClientName to be an explicit nil

func (*PatchCustomer) SetDescription

func (o *PatchCustomer) SetDescription(v string)

SetDescription gets a reference to the given NullableString and assigns it to the Description field.

func (*PatchCustomer) SetDescriptionNil

func (o *PatchCustomer) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*PatchCustomer) SetEmail

func (o *PatchCustomer) SetEmail(v string)

SetEmail gets a reference to the given NullableString and assigns it to the Email field.

func (*PatchCustomer) SetEmailNil

func (o *PatchCustomer) SetEmailNil()

SetEmailNil sets the value for Email to be an explicit nil

func (*PatchCustomer) SetIdentityAccounts

func (o *PatchCustomer) SetIdentityAccounts(v []IdentityAccountRequest)

SetIdentityAccounts gets a reference to the given []IdentityAccountRequest and assigns it to the IdentityAccounts field.

func (*PatchCustomer) SetIndividualDetail

func (o *PatchCustomer) SetIndividualDetail(v IndividualDetail)

SetIndividualDetail gets a reference to the given NullableIndividualDetail and assigns it to the IndividualDetail field.

func (*PatchCustomer) SetIndividualDetailNil

func (o *PatchCustomer) SetIndividualDetailNil()

SetIndividualDetailNil sets the value for IndividualDetail to be an explicit nil

func (*PatchCustomer) SetKycDocuments

func (o *PatchCustomer) SetKycDocuments(v []KYCDocumentRequest)

SetKycDocuments gets a reference to the given []KYCDocumentRequest and assigns it to the KycDocuments field.

func (*PatchCustomer) SetMetadata

func (o *PatchCustomer) SetMetadata(v map[string]interface{})

SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.

func (*PatchCustomer) SetMobileNumber

func (o *PatchCustomer) SetMobileNumber(v string)

SetMobileNumber gets a reference to the given NullableString and assigns it to the MobileNumber field.

func (*PatchCustomer) SetMobileNumberNil

func (o *PatchCustomer) SetMobileNumberNil()

SetMobileNumberNil sets the value for MobileNumber to be an explicit nil

func (*PatchCustomer) SetPhoneNumber

func (o *PatchCustomer) SetPhoneNumber(v string)

SetPhoneNumber gets a reference to the given NullableString and assigns it to the PhoneNumber field.

func (*PatchCustomer) SetPhoneNumberNil

func (o *PatchCustomer) SetPhoneNumberNil()

SetPhoneNumberNil sets the value for PhoneNumber to be an explicit nil

func (*PatchCustomer) SetReferenceId

func (o *PatchCustomer) SetReferenceId(v string)

SetReferenceId gets a reference to the given NullableString and assigns it to the ReferenceId field.

func (*PatchCustomer) SetReferenceIdNil

func (o *PatchCustomer) SetReferenceIdNil()

SetReferenceIdNil sets the value for ReferenceId to be an explicit nil

func (*PatchCustomer) SetStatus

func (o *PatchCustomer) SetStatus(v EndCustomerStatus)

SetStatus gets a reference to the given NullableEndCustomerStatus and assigns it to the Status field.

func (*PatchCustomer) SetStatusNil

func (o *PatchCustomer) SetStatusNil()

SetStatusNil sets the value for Status to be an explicit nil

func (PatchCustomer) ToMap

func (o PatchCustomer) ToMap() (map[string]interface{}, error)

func (*PatchCustomer) UnsetBusinessDetail

func (o *PatchCustomer) UnsetBusinessDetail()

UnsetBusinessDetail ensures that no value is present for BusinessDetail, not even an explicit nil

func (*PatchCustomer) UnsetClientName

func (o *PatchCustomer) UnsetClientName()

UnsetClientName ensures that no value is present for ClientName, not even an explicit nil

func (*PatchCustomer) UnsetDescription

func (o *PatchCustomer) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

func (*PatchCustomer) UnsetEmail

func (o *PatchCustomer) UnsetEmail()

UnsetEmail ensures that no value is present for Email, not even an explicit nil

func (*PatchCustomer) UnsetIndividualDetail

func (o *PatchCustomer) UnsetIndividualDetail()

UnsetIndividualDetail ensures that no value is present for IndividualDetail, not even an explicit nil

func (*PatchCustomer) UnsetMobileNumber

func (o *PatchCustomer) UnsetMobileNumber()

UnsetMobileNumber ensures that no value is present for MobileNumber, not even an explicit nil

func (*PatchCustomer) UnsetPhoneNumber

func (o *PatchCustomer) UnsetPhoneNumber()

UnsetPhoneNumber ensures that no value is present for PhoneNumber, not even an explicit nil

func (*PatchCustomer) UnsetReferenceId

func (o *PatchCustomer) UnsetReferenceId()

UnsetReferenceId ensures that no value is present for ReferenceId, not even an explicit nil

func (*PatchCustomer) UnsetStatus

func (o *PatchCustomer) UnsetStatus()

UnsetStatus ensures that no value is present for Status, not even an explicit nil

type ResponseDataNotFound

type ResponseDataNotFound struct {
	ErrorCode *string     `json:"error_code,omitempty"`
	Message   interface{} `json:"message,omitempty"`
}

ResponseDataNotFound struct for ResponseDataNotFound

func NewResponseDataNotFound

func NewResponseDataNotFound() *ResponseDataNotFound

NewResponseDataNotFound instantiates a new ResponseDataNotFound 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 NewResponseDataNotFoundWithDefaults

func NewResponseDataNotFoundWithDefaults() *ResponseDataNotFound

NewResponseDataNotFoundWithDefaults instantiates a new ResponseDataNotFound 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 (*ResponseDataNotFound) GetErrorCode

func (o *ResponseDataNotFound) GetErrorCode() string

GetErrorCode returns the ErrorCode field value if set, zero value otherwise.

func (*ResponseDataNotFound) GetErrorCodeOk

func (o *ResponseDataNotFound) GetErrorCodeOk() (*string, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResponseDataNotFound) GetMessage

func (o *ResponseDataNotFound) GetMessage() interface{}

GetMessage returns the Message field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ResponseDataNotFound) GetMessageOk

func (o *ResponseDataNotFound) GetMessageOk() (*interface{}, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ResponseDataNotFound) HasErrorCode

func (o *ResponseDataNotFound) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*ResponseDataNotFound) HasMessage

func (o *ResponseDataNotFound) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ResponseDataNotFound) MarshalJSON

func (o ResponseDataNotFound) MarshalJSON() ([]byte, error)

func (*ResponseDataNotFound) SetErrorCode

func (o *ResponseDataNotFound) SetErrorCode(v string)

SetErrorCode gets a reference to the given string and assigns it to the ErrorCode field.

func (*ResponseDataNotFound) SetMessage

func (o *ResponseDataNotFound) SetMessage(v interface{})

SetMessage gets a reference to the given interface{} and assigns it to the Message field.

func (ResponseDataNotFound) ToMap

func (o ResponseDataNotFound) ToMap() (map[string]interface{}, error)

type UpdateCustomer400Response

type UpdateCustomer400Response struct {
	ErrorCode string                   `json:"error_code"`
	Message   interface{}              `json:"message"`
	Errors    []map[string]interface{} `json:"errors,omitempty"`
}

UpdateCustomer400Response struct for UpdateCustomer400Response

func NewUpdateCustomer400Response

func NewUpdateCustomer400Response(errorCode string, message interface{}) *UpdateCustomer400Response

NewUpdateCustomer400Response instantiates a new UpdateCustomer400Response 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 NewUpdateCustomer400ResponseWithDefaults

func NewUpdateCustomer400ResponseWithDefaults() *UpdateCustomer400Response

NewUpdateCustomer400ResponseWithDefaults instantiates a new UpdateCustomer400Response 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 (*UpdateCustomer400Response) GetErrorCode

func (o *UpdateCustomer400Response) GetErrorCode() string

GetErrorCode returns the ErrorCode field value

func (*UpdateCustomer400Response) GetErrorCodeOk

func (o *UpdateCustomer400Response) GetErrorCodeOk() (*string, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value and a boolean to check if the value has been set.

func (*UpdateCustomer400Response) GetErrors

func (o *UpdateCustomer400Response) GetErrors() []map[string]interface{}

GetErrors returns the Errors field value if set, zero value otherwise.

func (*UpdateCustomer400Response) GetErrorsOk

func (o *UpdateCustomer400Response) GetErrorsOk() ([]map[string]interface{}, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateCustomer400Response) GetMessage

func (o *UpdateCustomer400Response) GetMessage() interface{}

GetMessage returns the Message field value If the value is explicit nil, the zero value for interface{} will be returned

func (*UpdateCustomer400Response) GetMessageOk

func (o *UpdateCustomer400Response) GetMessageOk() (*interface{}, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*UpdateCustomer400Response) HasErrors

func (o *UpdateCustomer400Response) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (UpdateCustomer400Response) MarshalJSON

func (o UpdateCustomer400Response) MarshalJSON() ([]byte, error)

func (*UpdateCustomer400Response) SetErrorCode

func (o *UpdateCustomer400Response) SetErrorCode(v string)

SetErrorCode sets field value

func (*UpdateCustomer400Response) SetErrors

func (o *UpdateCustomer400Response) SetErrors(v []map[string]interface{})

SetErrors gets a reference to the given []map[string]interface{} and assigns it to the Errors field.

func (*UpdateCustomer400Response) SetMessage

func (o *UpdateCustomer400Response) SetMessage(v interface{})

SetMessage sets field value

func (UpdateCustomer400Response) ToMap

func (o UpdateCustomer400Response) ToMap() (map[string]interface{}, error)

type UpdateCustomer400ResponseAllOf

type UpdateCustomer400ResponseAllOf struct {
	ErrorCode *string     `json:"error_code,omitempty"`
	Message   interface{} `json:"message,omitempty"`
}

UpdateCustomer400ResponseAllOf struct for UpdateCustomer400ResponseAllOf

func NewUpdateCustomer400ResponseAllOf

func NewUpdateCustomer400ResponseAllOf() *UpdateCustomer400ResponseAllOf

NewUpdateCustomer400ResponseAllOf instantiates a new UpdateCustomer400ResponseAllOf 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 NewUpdateCustomer400ResponseAllOfWithDefaults

func NewUpdateCustomer400ResponseAllOfWithDefaults() *UpdateCustomer400ResponseAllOf

NewUpdateCustomer400ResponseAllOfWithDefaults instantiates a new UpdateCustomer400ResponseAllOf 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 (*UpdateCustomer400ResponseAllOf) GetErrorCode

func (o *UpdateCustomer400ResponseAllOf) GetErrorCode() string

GetErrorCode returns the ErrorCode field value if set, zero value otherwise.

func (*UpdateCustomer400ResponseAllOf) GetErrorCodeOk

func (o *UpdateCustomer400ResponseAllOf) GetErrorCodeOk() (*string, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateCustomer400ResponseAllOf) GetMessage

func (o *UpdateCustomer400ResponseAllOf) GetMessage() interface{}

GetMessage returns the Message field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UpdateCustomer400ResponseAllOf) GetMessageOk

func (o *UpdateCustomer400ResponseAllOf) GetMessageOk() (*interface{}, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*UpdateCustomer400ResponseAllOf) HasErrorCode

func (o *UpdateCustomer400ResponseAllOf) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*UpdateCustomer400ResponseAllOf) HasMessage

func (o *UpdateCustomer400ResponseAllOf) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (UpdateCustomer400ResponseAllOf) MarshalJSON

func (o UpdateCustomer400ResponseAllOf) MarshalJSON() ([]byte, error)

func (*UpdateCustomer400ResponseAllOf) SetErrorCode

func (o *UpdateCustomer400ResponseAllOf) SetErrorCode(v string)

SetErrorCode gets a reference to the given string and assigns it to the ErrorCode field.

func (*UpdateCustomer400ResponseAllOf) SetMessage

func (o *UpdateCustomer400ResponseAllOf) SetMessage(v interface{})

SetMessage gets a reference to the given interface{} and assigns it to the Message field.

func (UpdateCustomer400ResponseAllOf) ToMap

func (o UpdateCustomer400ResponseAllOf) ToMap() (map[string]interface{}, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL