rafikigen

package module
v0.0.0-...-27fb908 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: MIT Imports: 20 Imported by: 0

README

Go API client for rafikigen

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 1
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import rafikigen "github.com/RafikiApi/openapi-clients/go/v1/generated"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), rafikigen.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), rafikigen.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices and sw.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), rafikigen.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), rafikigen.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://rest.sandbox.rafiki-api.com/v1

Class Method HTTP request Description
BankAPI BanksGet Get /banks List
PaymentAccountAPI PaymentAccountsGet Get /payment-accounts List
PaymentAccountAPI PaymentAccountsPost Post /payment-accounts Get or create
PayoutAPI PayoutsGet Get /payouts List
PayoutAPI PayoutsIdGet Get /payouts/{id} Get
PayoutAPI PayoutsPost Post /payouts Create
WalletAPI WalletsGet Get /wallets List

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

Bearer
  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: Authorization and passed in as the auth context for each request.

Example

auth := context.WithValue(
		context.Background(),
		sw.ContextAPIKeys,
		map[string]sw.APIKey{
			"Authorization": {Key: "API_KEY_STRING"},
		},
	)
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	BankAPI *BankAPIService

	PaymentAccountAPI *PaymentAccountAPIService

	PayoutAPI *PayoutAPIService

	WalletAPI *WalletAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the Resources API v1 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type ApiBanksGetRequest

type ApiBanksGetRequest struct {
	ApiService *BankAPIService
	// contains filtered or unexported fields
}

func (ApiBanksGetRequest) Execute

type ApiPaymentAccountsGetRequest

type ApiPaymentAccountsGetRequest struct {
	ApiService *PaymentAccountAPIService
	// contains filtered or unexported fields
}

func (ApiPaymentAccountsGetRequest) Execute

func (ApiPaymentAccountsGetRequest) PagingAfter

The base64 URL encoded cursor used to access the next set of paginated results

func (ApiPaymentAccountsGetRequest) PagingLimit

The count of items returned as part of the pagination cursor iteration, minimum value is 1 and maximum 50

type ApiPaymentAccountsPostRequest

type ApiPaymentAccountsPostRequest struct {
	ApiService *PaymentAccountAPIService
	// contains filtered or unexported fields
}

func (ApiPaymentAccountsPostRequest) Execute

func (ApiPaymentAccountsPostRequest) OpenapiPaymentAccountGetOrCreateRequest

func (r ApiPaymentAccountsPostRequest) OpenapiPaymentAccountGetOrCreateRequest(openapiPaymentAccountGetOrCreateRequest OpenapiPaymentAccountGetOrCreateRequest) ApiPaymentAccountsPostRequest

The payment account

type ApiPayoutsGetRequest

type ApiPayoutsGetRequest struct {
	ApiService *PayoutAPIService
	// contains filtered or unexported fields
}

func (ApiPayoutsGetRequest) CreatedAtFrom

func (r ApiPayoutsGetRequest) CreatedAtFrom(createdAtFrom string) ApiPayoutsGetRequest

Filters for payouts created from the specified datetime. The expected format can be either a standard date (YYYY-MM-DD) that defaults to 00:00:00 UTC or a valid RFC3339 string, including time and/or offset information.

func (ApiPayoutsGetRequest) CreatedAtTo

func (r ApiPayoutsGetRequest) CreatedAtTo(createdAtTo string) ApiPayoutsGetRequest

Filters for payouts created before the specified datetime. The expected format can be either a standard date (YYYY-MM-DD) that defaults to 23:59:59 UTC or a valid RFC3339 string, including time and/or offset information.

func (ApiPayoutsGetRequest) Execute

func (ApiPayoutsGetRequest) PagingAfter

func (r ApiPayoutsGetRequest) PagingAfter(pagingAfter string) ApiPayoutsGetRequest

The base64 URL encoded cursor used to access the next set of paginated results

func (ApiPayoutsGetRequest) PagingLimit

func (r ApiPayoutsGetRequest) PagingLimit(pagingLimit int32) ApiPayoutsGetRequest

The count of items returned as part of the pagination cursor iteration, minimum value is 1 and maximum 50

type ApiPayoutsIdGetRequest

type ApiPayoutsIdGetRequest struct {
	ApiService *PayoutAPIService
	// contains filtered or unexported fields
}

func (ApiPayoutsIdGetRequest) Execute

type ApiPayoutsPostRequest

type ApiPayoutsPostRequest struct {
	ApiService *PayoutAPIService
	// contains filtered or unexported fields
}

func (ApiPayoutsPostRequest) Execute

func (ApiPayoutsPostRequest) OpenapiPayoutCreateRequest

func (r ApiPayoutsPostRequest) OpenapiPayoutCreateRequest(openapiPayoutCreateRequest OpenapiPayoutCreateRequest) ApiPayoutsPostRequest

The payout

func (ApiPayoutsPostRequest) XIdempotencyKey

func (r ApiPayoutsPostRequest) XIdempotencyKey(xIdempotencyKey string) ApiPayoutsPostRequest

🚨️ Prevent duplicate payouts! See: [x-idempotency-key security scheme](idempotency)

type ApiWalletsGetRequest

type ApiWalletsGetRequest struct {
	ApiService *WalletAPIService
	// contains filtered or unexported fields
}

func (ApiWalletsGetRequest) Execute

type BankAPIService

type BankAPIService service

BankAPIService BankAPI service

func (*BankAPIService) BanksGet

BanksGet List

Within the scope of this API, the "Bank" resource serves the purpose of identifying the financial institutions that own payment accounts.

This endpoint enables you to retrieve the list of banks, including their branches, provided by our API.

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

func (*BankAPIService) BanksGetExecute

Execute executes the request

@return BanksGet200Response

type BanksGet200Response

type BanksGet200Response struct {
	Data []BanksGet200ResponseAllOfDataInner `json:"data,omitempty"`
}

BanksGet200Response struct for BanksGet200Response

func NewBanksGet200Response

func NewBanksGet200Response() *BanksGet200Response

NewBanksGet200Response instantiates a new BanksGet200Response 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 NewBanksGet200ResponseWithDefaults

func NewBanksGet200ResponseWithDefaults() *BanksGet200Response

NewBanksGet200ResponseWithDefaults instantiates a new BanksGet200Response 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 (*BanksGet200Response) GetData

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

func (*BanksGet200Response) 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 (*BanksGet200Response) HasData

func (o *BanksGet200Response) HasData() bool

HasData returns a boolean if a field has been set.

func (BanksGet200Response) MarshalJSON

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

func (*BanksGet200Response) SetData

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

func (BanksGet200Response) ToMap

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

type BanksGet200ResponseAllOfDataInner

type BanksGet200ResponseAllOfDataInner struct {
	// If the bank operates across multiple branches within a country, this property will be included, listing all the branches available from the bank.
	Branches []BanksGet200ResponseAllOfDataInnerBranchesInner `json:"branches,omitempty"`
	// The ISO 3166 alpha-2 country code in which the bank operates.
	Country *string `json:"country,omitempty"`
	Id      *string `json:"id,omitempty"`
	Name    *string `json:"name,omitempty"`
}

BanksGet200ResponseAllOfDataInner struct for BanksGet200ResponseAllOfDataInner

func NewBanksGet200ResponseAllOfDataInner

func NewBanksGet200ResponseAllOfDataInner() *BanksGet200ResponseAllOfDataInner

NewBanksGet200ResponseAllOfDataInner instantiates a new BanksGet200ResponseAllOfDataInner 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 NewBanksGet200ResponseAllOfDataInnerWithDefaults

func NewBanksGet200ResponseAllOfDataInnerWithDefaults() *BanksGet200ResponseAllOfDataInner

NewBanksGet200ResponseAllOfDataInnerWithDefaults instantiates a new BanksGet200ResponseAllOfDataInner 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 (*BanksGet200ResponseAllOfDataInner) GetBranches

GetBranches returns the Branches field value if set, zero value otherwise.

func (*BanksGet200ResponseAllOfDataInner) GetBranchesOk

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

func (*BanksGet200ResponseAllOfDataInner) GetCountry

func (o *BanksGet200ResponseAllOfDataInner) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (*BanksGet200ResponseAllOfDataInner) GetCountryOk

func (o *BanksGet200ResponseAllOfDataInner) 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.

func (*BanksGet200ResponseAllOfDataInner) GetId

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

func (*BanksGet200ResponseAllOfDataInner) GetIdOk

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 (*BanksGet200ResponseAllOfDataInner) GetName

GetName returns the Name field value if set, zero value otherwise.

func (*BanksGet200ResponseAllOfDataInner) GetNameOk

func (o *BanksGet200ResponseAllOfDataInner) GetNameOk() (*string, bool)

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

func (*BanksGet200ResponseAllOfDataInner) HasBranches

func (o *BanksGet200ResponseAllOfDataInner) HasBranches() bool

HasBranches returns a boolean if a field has been set.

func (*BanksGet200ResponseAllOfDataInner) HasCountry

func (o *BanksGet200ResponseAllOfDataInner) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*BanksGet200ResponseAllOfDataInner) HasId

HasId returns a boolean if a field has been set.

func (*BanksGet200ResponseAllOfDataInner) HasName

HasName returns a boolean if a field has been set.

func (BanksGet200ResponseAllOfDataInner) MarshalJSON

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

func (*BanksGet200ResponseAllOfDataInner) SetBranches

SetBranches gets a reference to the given []BanksGet200ResponseAllOfDataInnerBranchesInner and assigns it to the Branches field.

func (*BanksGet200ResponseAllOfDataInner) SetCountry

func (o *BanksGet200ResponseAllOfDataInner) SetCountry(v string)

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

func (*BanksGet200ResponseAllOfDataInner) SetId

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

func (*BanksGet200ResponseAllOfDataInner) SetName

SetName gets a reference to the given string and assigns it to the Name field.

func (BanksGet200ResponseAllOfDataInner) ToMap

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

type BanksGet200ResponseAllOfDataInnerBranchesInner

type BanksGet200ResponseAllOfDataInnerBranchesInner struct {
	Id   *string `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
}

BanksGet200ResponseAllOfDataInnerBranchesInner struct for BanksGet200ResponseAllOfDataInnerBranchesInner

func NewBanksGet200ResponseAllOfDataInnerBranchesInner

func NewBanksGet200ResponseAllOfDataInnerBranchesInner() *BanksGet200ResponseAllOfDataInnerBranchesInner

NewBanksGet200ResponseAllOfDataInnerBranchesInner instantiates a new BanksGet200ResponseAllOfDataInnerBranchesInner 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 NewBanksGet200ResponseAllOfDataInnerBranchesInnerWithDefaults

func NewBanksGet200ResponseAllOfDataInnerBranchesInnerWithDefaults() *BanksGet200ResponseAllOfDataInnerBranchesInner

NewBanksGet200ResponseAllOfDataInnerBranchesInnerWithDefaults instantiates a new BanksGet200ResponseAllOfDataInnerBranchesInner 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 (*BanksGet200ResponseAllOfDataInnerBranchesInner) GetId

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

func (*BanksGet200ResponseAllOfDataInnerBranchesInner) GetIdOk

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 (*BanksGet200ResponseAllOfDataInnerBranchesInner) GetName

GetName returns the Name field value if set, zero value otherwise.

func (*BanksGet200ResponseAllOfDataInnerBranchesInner) GetNameOk

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

func (*BanksGet200ResponseAllOfDataInnerBranchesInner) HasId

HasId returns a boolean if a field has been set.

func (*BanksGet200ResponseAllOfDataInnerBranchesInner) HasName

HasName returns a boolean if a field has been set.

func (BanksGet200ResponseAllOfDataInnerBranchesInner) MarshalJSON

func (*BanksGet200ResponseAllOfDataInnerBranchesInner) SetId

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

func (*BanksGet200ResponseAllOfDataInnerBranchesInner) SetName

SetName gets a reference to the given string and assigns it to the Name field.

func (BanksGet200ResponseAllOfDataInnerBranchesInner) ToMap

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

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type GenericOpenAPIError

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

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type MappedNullable

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

type NullableBanksGet200Response

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

func NewNullableBanksGet200Response

func NewNullableBanksGet200Response(val *BanksGet200Response) *NullableBanksGet200Response

func (NullableBanksGet200Response) Get

func (NullableBanksGet200Response) IsSet

func (NullableBanksGet200Response) MarshalJSON

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

func (*NullableBanksGet200Response) Set

func (*NullableBanksGet200Response) UnmarshalJSON

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

func (*NullableBanksGet200Response) Unset

func (v *NullableBanksGet200Response) Unset()

type NullableBanksGet200ResponseAllOfDataInner

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

func (NullableBanksGet200ResponseAllOfDataInner) Get

func (NullableBanksGet200ResponseAllOfDataInner) IsSet

func (NullableBanksGet200ResponseAllOfDataInner) MarshalJSON

func (*NullableBanksGet200ResponseAllOfDataInner) Set

func (*NullableBanksGet200ResponseAllOfDataInner) UnmarshalJSON

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

func (*NullableBanksGet200ResponseAllOfDataInner) Unset

type NullableBanksGet200ResponseAllOfDataInnerBranchesInner

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

func (NullableBanksGet200ResponseAllOfDataInnerBranchesInner) Get

func (NullableBanksGet200ResponseAllOfDataInnerBranchesInner) IsSet

func (NullableBanksGet200ResponseAllOfDataInnerBranchesInner) MarshalJSON

func (*NullableBanksGet200ResponseAllOfDataInnerBranchesInner) Set

func (*NullableBanksGet200ResponseAllOfDataInnerBranchesInner) UnmarshalJSON

func (*NullableBanksGet200ResponseAllOfDataInnerBranchesInner) 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 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 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 NullableOpenapiPaymentAccountGetOrCreateRequest

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

func (NullableOpenapiPaymentAccountGetOrCreateRequest) Get

func (NullableOpenapiPaymentAccountGetOrCreateRequest) IsSet

func (NullableOpenapiPaymentAccountGetOrCreateRequest) MarshalJSON

func (*NullableOpenapiPaymentAccountGetOrCreateRequest) Set

func (*NullableOpenapiPaymentAccountGetOrCreateRequest) UnmarshalJSON

func (*NullableOpenapiPaymentAccountGetOrCreateRequest) Unset

type NullableOpenapiPaymentAccountGetOrCreateRequestBankAccount

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

func (NullableOpenapiPaymentAccountGetOrCreateRequestBankAccount) Get

func (NullableOpenapiPaymentAccountGetOrCreateRequestBankAccount) IsSet

func (NullableOpenapiPaymentAccountGetOrCreateRequestBankAccount) MarshalJSON

func (*NullableOpenapiPaymentAccountGetOrCreateRequestBankAccount) Set

func (*NullableOpenapiPaymentAccountGetOrCreateRequestBankAccount) UnmarshalJSON

func (*NullableOpenapiPaymentAccountGetOrCreateRequestBankAccount) Unset

type NullableOpenapiPaymentAccountGetOrCreateRequestHolder

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

func (NullableOpenapiPaymentAccountGetOrCreateRequestHolder) Get

func (NullableOpenapiPaymentAccountGetOrCreateRequestHolder) IsSet

func (NullableOpenapiPaymentAccountGetOrCreateRequestHolder) MarshalJSON

func (*NullableOpenapiPaymentAccountGetOrCreateRequestHolder) Set

func (*NullableOpenapiPaymentAccountGetOrCreateRequestHolder) UnmarshalJSON

func (*NullableOpenapiPaymentAccountGetOrCreateRequestHolder) Unset

type NullableOpenapiPaymentAccountGetOrCreateRequestMobileMoney

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

func (NullableOpenapiPaymentAccountGetOrCreateRequestMobileMoney) Get

func (NullableOpenapiPaymentAccountGetOrCreateRequestMobileMoney) IsSet

func (NullableOpenapiPaymentAccountGetOrCreateRequestMobileMoney) MarshalJSON

func (*NullableOpenapiPaymentAccountGetOrCreateRequestMobileMoney) Set

func (*NullableOpenapiPaymentAccountGetOrCreateRequestMobileMoney) UnmarshalJSON

func (*NullableOpenapiPaymentAccountGetOrCreateRequestMobileMoney) Unset

type NullableOpenapiPaymentAccountGetOrCreateResponse

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

func (NullableOpenapiPaymentAccountGetOrCreateResponse) Get

func (NullableOpenapiPaymentAccountGetOrCreateResponse) IsSet

func (NullableOpenapiPaymentAccountGetOrCreateResponse) MarshalJSON

func (*NullableOpenapiPaymentAccountGetOrCreateResponse) Set

func (*NullableOpenapiPaymentAccountGetOrCreateResponse) UnmarshalJSON

func (*NullableOpenapiPaymentAccountGetOrCreateResponse) Unset

type NullableOpenapiPaymentAccountGetOrCreateResponseBankAccount

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

func (NullableOpenapiPaymentAccountGetOrCreateResponseBankAccount) Get

func (NullableOpenapiPaymentAccountGetOrCreateResponseBankAccount) IsSet

func (NullableOpenapiPaymentAccountGetOrCreateResponseBankAccount) MarshalJSON

func (*NullableOpenapiPaymentAccountGetOrCreateResponseBankAccount) Set

func (*NullableOpenapiPaymentAccountGetOrCreateResponseBankAccount) UnmarshalJSON

func (*NullableOpenapiPaymentAccountGetOrCreateResponseBankAccount) Unset

type NullableOpenapiPaymentAccountGetOrCreateResponseHolder

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

func (NullableOpenapiPaymentAccountGetOrCreateResponseHolder) Get

func (NullableOpenapiPaymentAccountGetOrCreateResponseHolder) IsSet

func (NullableOpenapiPaymentAccountGetOrCreateResponseHolder) MarshalJSON

func (*NullableOpenapiPaymentAccountGetOrCreateResponseHolder) Set

func (*NullableOpenapiPaymentAccountGetOrCreateResponseHolder) UnmarshalJSON

func (*NullableOpenapiPaymentAccountGetOrCreateResponseHolder) Unset

type NullableOpenapiPaymentAccountGetOrCreateResponseMobileMoney

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

func (NullableOpenapiPaymentAccountGetOrCreateResponseMobileMoney) Get

func (NullableOpenapiPaymentAccountGetOrCreateResponseMobileMoney) IsSet

func (NullableOpenapiPaymentAccountGetOrCreateResponseMobileMoney) MarshalJSON

func (*NullableOpenapiPaymentAccountGetOrCreateResponseMobileMoney) Set

func (*NullableOpenapiPaymentAccountGetOrCreateResponseMobileMoney) UnmarshalJSON

func (*NullableOpenapiPaymentAccountGetOrCreateResponseMobileMoney) Unset

type NullableOpenapiPaymentAccountListResponseMeta

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

func (NullableOpenapiPaymentAccountListResponseMeta) Get

func (NullableOpenapiPaymentAccountListResponseMeta) IsSet

func (NullableOpenapiPaymentAccountListResponseMeta) MarshalJSON

func (*NullableOpenapiPaymentAccountListResponseMeta) Set

func (*NullableOpenapiPaymentAccountListResponseMeta) UnmarshalJSON

func (*NullableOpenapiPaymentAccountListResponseMeta) Unset

type NullableOpenapiPaymentAccountListResponseMetaPaging

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

func (NullableOpenapiPaymentAccountListResponseMetaPaging) Get

func (NullableOpenapiPaymentAccountListResponseMetaPaging) IsSet

func (NullableOpenapiPaymentAccountListResponseMetaPaging) MarshalJSON

func (*NullableOpenapiPaymentAccountListResponseMetaPaging) Set

func (*NullableOpenapiPaymentAccountListResponseMetaPaging) UnmarshalJSON

func (*NullableOpenapiPaymentAccountListResponseMetaPaging) Unset

type NullableOpenapiPaymentAccountListResponseMetaPagingCursors

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

func (NullableOpenapiPaymentAccountListResponseMetaPagingCursors) Get

func (NullableOpenapiPaymentAccountListResponseMetaPagingCursors) IsSet

func (NullableOpenapiPaymentAccountListResponseMetaPagingCursors) MarshalJSON

func (*NullableOpenapiPaymentAccountListResponseMetaPagingCursors) Set

func (*NullableOpenapiPaymentAccountListResponseMetaPagingCursors) UnmarshalJSON

func (*NullableOpenapiPaymentAccountListResponseMetaPagingCursors) Unset

type NullableOpenapiPayoutCreateRequest

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

func (NullableOpenapiPayoutCreateRequest) Get

func (NullableOpenapiPayoutCreateRequest) IsSet

func (NullableOpenapiPayoutCreateRequest) MarshalJSON

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

func (*NullableOpenapiPayoutCreateRequest) Set

func (*NullableOpenapiPayoutCreateRequest) UnmarshalJSON

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

func (*NullableOpenapiPayoutCreateRequest) Unset

type NullableOpenapiPayoutCreateRequestAmount

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

func (NullableOpenapiPayoutCreateRequestAmount) Get

func (NullableOpenapiPayoutCreateRequestAmount) IsSet

func (NullableOpenapiPayoutCreateRequestAmount) MarshalJSON

func (*NullableOpenapiPayoutCreateRequestAmount) Set

func (*NullableOpenapiPayoutCreateRequestAmount) UnmarshalJSON

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

func (*NullableOpenapiPayoutCreateRequestAmount) Unset

type NullableOpenapiPayoutCreateRequestSender

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

func (NullableOpenapiPayoutCreateRequestSender) Get

func (NullableOpenapiPayoutCreateRequestSender) IsSet

func (NullableOpenapiPayoutCreateRequestSender) MarshalJSON

func (*NullableOpenapiPayoutCreateRequestSender) Set

func (*NullableOpenapiPayoutCreateRequestSender) UnmarshalJSON

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

func (*NullableOpenapiPayoutCreateRequestSender) Unset

type NullableOpenapiPayoutCreateRequestSenderAddress

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

func (NullableOpenapiPayoutCreateRequestSenderAddress) Get

func (NullableOpenapiPayoutCreateRequestSenderAddress) IsSet

func (NullableOpenapiPayoutCreateRequestSenderAddress) MarshalJSON

func (*NullableOpenapiPayoutCreateRequestSenderAddress) Set

func (*NullableOpenapiPayoutCreateRequestSenderAddress) UnmarshalJSON

func (*NullableOpenapiPayoutCreateRequestSenderAddress) Unset

type NullableOpenapiPayoutCreateRequestSenderIndividual

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

func (NullableOpenapiPayoutCreateRequestSenderIndividual) Get

func (NullableOpenapiPayoutCreateRequestSenderIndividual) IsSet

func (NullableOpenapiPayoutCreateRequestSenderIndividual) MarshalJSON

func (*NullableOpenapiPayoutCreateRequestSenderIndividual) Set

func (*NullableOpenapiPayoutCreateRequestSenderIndividual) UnmarshalJSON

func (*NullableOpenapiPayoutCreateRequestSenderIndividual) Unset

type NullableOpenapiPayoutCreateRequestSenderIndividualIdentityDocument

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

func (NullableOpenapiPayoutCreateRequestSenderIndividualIdentityDocument) Get

func (NullableOpenapiPayoutCreateRequestSenderIndividualIdentityDocument) IsSet

func (NullableOpenapiPayoutCreateRequestSenderIndividualIdentityDocument) MarshalJSON

func (*NullableOpenapiPayoutCreateRequestSenderIndividualIdentityDocument) Set

func (*NullableOpenapiPayoutCreateRequestSenderIndividualIdentityDocument) UnmarshalJSON

func (*NullableOpenapiPayoutCreateRequestSenderIndividualIdentityDocument) Unset

type NullableOpenapiPayoutCreateResponse

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

func (NullableOpenapiPayoutCreateResponse) Get

func (NullableOpenapiPayoutCreateResponse) IsSet

func (NullableOpenapiPayoutCreateResponse) MarshalJSON

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

func (*NullableOpenapiPayoutCreateResponse) Set

func (*NullableOpenapiPayoutCreateResponse) UnmarshalJSON

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

func (*NullableOpenapiPayoutCreateResponse) Unset

type NullableOpenapiPayoutCreateResponseAmount

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

func (NullableOpenapiPayoutCreateResponseAmount) Get

func (NullableOpenapiPayoutCreateResponseAmount) IsSet

func (NullableOpenapiPayoutCreateResponseAmount) MarshalJSON

func (*NullableOpenapiPayoutCreateResponseAmount) Set

func (*NullableOpenapiPayoutCreateResponseAmount) UnmarshalJSON

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

func (*NullableOpenapiPayoutCreateResponseAmount) Unset

type NullableOpenapiPayoutCreateResponseSender

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

func (NullableOpenapiPayoutCreateResponseSender) Get

func (NullableOpenapiPayoutCreateResponseSender) IsSet

func (NullableOpenapiPayoutCreateResponseSender) MarshalJSON

func (*NullableOpenapiPayoutCreateResponseSender) Set

func (*NullableOpenapiPayoutCreateResponseSender) UnmarshalJSON

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

func (*NullableOpenapiPayoutCreateResponseSender) Unset

type NullableOpenapiPayoutCreateResponseSenderAddress

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

func (NullableOpenapiPayoutCreateResponseSenderAddress) Get

func (NullableOpenapiPayoutCreateResponseSenderAddress) IsSet

func (NullableOpenapiPayoutCreateResponseSenderAddress) MarshalJSON

func (*NullableOpenapiPayoutCreateResponseSenderAddress) Set

func (*NullableOpenapiPayoutCreateResponseSenderAddress) UnmarshalJSON

func (*NullableOpenapiPayoutCreateResponseSenderAddress) Unset

type NullableOpenapiPayoutCreateResponseSenderIndividual

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

func (NullableOpenapiPayoutCreateResponseSenderIndividual) Get

func (NullableOpenapiPayoutCreateResponseSenderIndividual) IsSet

func (NullableOpenapiPayoutCreateResponseSenderIndividual) MarshalJSON

func (*NullableOpenapiPayoutCreateResponseSenderIndividual) Set

func (*NullableOpenapiPayoutCreateResponseSenderIndividual) UnmarshalJSON

func (*NullableOpenapiPayoutCreateResponseSenderIndividual) Unset

type NullableOpenapiPayoutCreateResponseSenderIndividualIdentityDocument

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

func (NullableOpenapiPayoutCreateResponseSenderIndividualIdentityDocument) Get

func (NullableOpenapiPayoutCreateResponseSenderIndividualIdentityDocument) IsSet

func (NullableOpenapiPayoutCreateResponseSenderIndividualIdentityDocument) MarshalJSON

func (*NullableOpenapiPayoutCreateResponseSenderIndividualIdentityDocument) Set

func (*NullableOpenapiPayoutCreateResponseSenderIndividualIdentityDocument) UnmarshalJSON

func (*NullableOpenapiPayoutCreateResponseSenderIndividualIdentityDocument) Unset

type NullableOpenapiPayoutCreateResponseState

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

func (NullableOpenapiPayoutCreateResponseState) Get

func (NullableOpenapiPayoutCreateResponseState) IsSet

func (NullableOpenapiPayoutCreateResponseState) MarshalJSON

func (*NullableOpenapiPayoutCreateResponseState) Set

func (*NullableOpenapiPayoutCreateResponseState) UnmarshalJSON

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

func (*NullableOpenapiPayoutCreateResponseState) Unset

type NullableOpenapiPayoutGetResponse

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

func (NullableOpenapiPayoutGetResponse) Get

func (NullableOpenapiPayoutGetResponse) IsSet

func (NullableOpenapiPayoutGetResponse) MarshalJSON

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

func (*NullableOpenapiPayoutGetResponse) Set

func (*NullableOpenapiPayoutGetResponse) UnmarshalJSON

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

func (*NullableOpenapiPayoutGetResponse) Unset

type NullableOpenapiPayoutListResponseMeta

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

func (NullableOpenapiPayoutListResponseMeta) Get

func (NullableOpenapiPayoutListResponseMeta) IsSet

func (NullableOpenapiPayoutListResponseMeta) MarshalJSON

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

func (*NullableOpenapiPayoutListResponseMeta) Set

func (*NullableOpenapiPayoutListResponseMeta) UnmarshalJSON

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

func (*NullableOpenapiPayoutListResponseMeta) Unset

type NullableOpenapiPayoutListResponseMetaPaging

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

func (NullableOpenapiPayoutListResponseMetaPaging) Get

func (NullableOpenapiPayoutListResponseMetaPaging) IsSet

func (NullableOpenapiPayoutListResponseMetaPaging) MarshalJSON

func (*NullableOpenapiPayoutListResponseMetaPaging) Set

func (*NullableOpenapiPayoutListResponseMetaPaging) UnmarshalJSON

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

func (*NullableOpenapiPayoutListResponseMetaPaging) Unset

type NullableOpenapiPayoutListResponseMetaPagingCursors

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

func (NullableOpenapiPayoutListResponseMetaPagingCursors) Get

func (NullableOpenapiPayoutListResponseMetaPagingCursors) IsSet

func (NullableOpenapiPayoutListResponseMetaPagingCursors) MarshalJSON

func (*NullableOpenapiPayoutListResponseMetaPagingCursors) Set

func (*NullableOpenapiPayoutListResponseMetaPagingCursors) UnmarshalJSON

func (*NullableOpenapiPayoutListResponseMetaPagingCursors) Unset

type NullableOpenapiResponseBodyIdempotencyConflict

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

func (NullableOpenapiResponseBodyIdempotencyConflict) Get

func (NullableOpenapiResponseBodyIdempotencyConflict) IsSet

func (NullableOpenapiResponseBodyIdempotencyConflict) MarshalJSON

func (*NullableOpenapiResponseBodyIdempotencyConflict) Set

func (*NullableOpenapiResponseBodyIdempotencyConflict) UnmarshalJSON

func (*NullableOpenapiResponseBodyIdempotencyConflict) Unset

type NullableOpenapiResponseBodyInternalServerError

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

func (NullableOpenapiResponseBodyInternalServerError) Get

func (NullableOpenapiResponseBodyInternalServerError) IsSet

func (NullableOpenapiResponseBodyInternalServerError) MarshalJSON

func (*NullableOpenapiResponseBodyInternalServerError) Set

func (*NullableOpenapiResponseBodyInternalServerError) UnmarshalJSON

func (*NullableOpenapiResponseBodyInternalServerError) Unset

type NullableOpenapiResponseBodyNotFound

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

func (NullableOpenapiResponseBodyNotFound) Get

func (NullableOpenapiResponseBodyNotFound) IsSet

func (NullableOpenapiResponseBodyNotFound) MarshalJSON

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

func (*NullableOpenapiResponseBodyNotFound) Set

func (*NullableOpenapiResponseBodyNotFound) UnmarshalJSON

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

func (*NullableOpenapiResponseBodyNotFound) Unset

type NullableOpenapiResponseBodySuccessCollection

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

func (NullableOpenapiResponseBodySuccessCollection) Get

func (NullableOpenapiResponseBodySuccessCollection) IsSet

func (NullableOpenapiResponseBodySuccessCollection) MarshalJSON

func (*NullableOpenapiResponseBodySuccessCollection) Set

func (*NullableOpenapiResponseBodySuccessCollection) UnmarshalJSON

func (*NullableOpenapiResponseBodySuccessCollection) Unset

type NullableOpenapiResponseBodySuccessCollectionNoMeta

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

func (NullableOpenapiResponseBodySuccessCollectionNoMeta) Get

func (NullableOpenapiResponseBodySuccessCollectionNoMeta) IsSet

func (NullableOpenapiResponseBodySuccessCollectionNoMeta) MarshalJSON

func (*NullableOpenapiResponseBodySuccessCollectionNoMeta) Set

func (*NullableOpenapiResponseBodySuccessCollectionNoMeta) UnmarshalJSON

func (*NullableOpenapiResponseBodySuccessCollectionNoMeta) Unset

type NullableOpenapiResponseBodySuccessCursorPaginated

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

func (NullableOpenapiResponseBodySuccessCursorPaginated) Get

func (NullableOpenapiResponseBodySuccessCursorPaginated) IsSet

func (NullableOpenapiResponseBodySuccessCursorPaginated) MarshalJSON

func (*NullableOpenapiResponseBodySuccessCursorPaginated) Set

func (*NullableOpenapiResponseBodySuccessCursorPaginated) UnmarshalJSON

func (*NullableOpenapiResponseBodySuccessCursorPaginated) Unset

type NullableOpenapiResponseBodySuccessCursorPaginatedMeta

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

func (NullableOpenapiResponseBodySuccessCursorPaginatedMeta) Get

func (NullableOpenapiResponseBodySuccessCursorPaginatedMeta) IsSet

func (NullableOpenapiResponseBodySuccessCursorPaginatedMeta) MarshalJSON

func (*NullableOpenapiResponseBodySuccessCursorPaginatedMeta) Set

func (*NullableOpenapiResponseBodySuccessCursorPaginatedMeta) UnmarshalJSON

func (*NullableOpenapiResponseBodySuccessCursorPaginatedMeta) Unset

type NullableOpenapiResponseBodySuccessCursorPaginatedMetaPaging

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

func (NullableOpenapiResponseBodySuccessCursorPaginatedMetaPaging) Get

func (NullableOpenapiResponseBodySuccessCursorPaginatedMetaPaging) IsSet

func (NullableOpenapiResponseBodySuccessCursorPaginatedMetaPaging) MarshalJSON

func (*NullableOpenapiResponseBodySuccessCursorPaginatedMetaPaging) Set

func (*NullableOpenapiResponseBodySuccessCursorPaginatedMetaPaging) UnmarshalJSON

func (*NullableOpenapiResponseBodySuccessCursorPaginatedMetaPaging) Unset

type NullableOpenapiResponseBodySuccessCursorPaginatedMetaPagingCursors

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

func (NullableOpenapiResponseBodySuccessCursorPaginatedMetaPagingCursors) Get

func (NullableOpenapiResponseBodySuccessCursorPaginatedMetaPagingCursors) IsSet

func (NullableOpenapiResponseBodySuccessCursorPaginatedMetaPagingCursors) MarshalJSON

func (*NullableOpenapiResponseBodySuccessCursorPaginatedMetaPagingCursors) Set

func (*NullableOpenapiResponseBodySuccessCursorPaginatedMetaPagingCursors) UnmarshalJSON

func (*NullableOpenapiResponseBodySuccessCursorPaginatedMetaPagingCursors) Unset

type NullableOpenapiResponseBodySuccessNoMeta

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

func (NullableOpenapiResponseBodySuccessNoMeta) Get

func (NullableOpenapiResponseBodySuccessNoMeta) IsSet

func (NullableOpenapiResponseBodySuccessNoMeta) MarshalJSON

func (*NullableOpenapiResponseBodySuccessNoMeta) Set

func (*NullableOpenapiResponseBodySuccessNoMeta) UnmarshalJSON

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

func (*NullableOpenapiResponseBodySuccessNoMeta) Unset

type NullableOpenapiResponseBodyValidationFailed

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

func (NullableOpenapiResponseBodyValidationFailed) Get

func (NullableOpenapiResponseBodyValidationFailed) IsSet

func (NullableOpenapiResponseBodyValidationFailed) MarshalJSON

func (*NullableOpenapiResponseBodyValidationFailed) Set

func (*NullableOpenapiResponseBodyValidationFailed) UnmarshalJSON

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

func (*NullableOpenapiResponseBodyValidationFailed) Unset

type NullableOpenapiResponseBodyValidationFailedErrors

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

func (NullableOpenapiResponseBodyValidationFailedErrors) Get

func (NullableOpenapiResponseBodyValidationFailedErrors) IsSet

func (NullableOpenapiResponseBodyValidationFailedErrors) MarshalJSON

func (*NullableOpenapiResponseBodyValidationFailedErrors) Set

func (*NullableOpenapiResponseBodyValidationFailedErrors) UnmarshalJSON

func (*NullableOpenapiResponseBodyValidationFailedErrors) Unset

type NullableOpenapiResponseBodyWalletInsufficientBalance

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

func (NullableOpenapiResponseBodyWalletInsufficientBalance) Get

func (NullableOpenapiResponseBodyWalletInsufficientBalance) IsSet

func (NullableOpenapiResponseBodyWalletInsufficientBalance) MarshalJSON

func (*NullableOpenapiResponseBodyWalletInsufficientBalance) Set

func (*NullableOpenapiResponseBodyWalletInsufficientBalance) UnmarshalJSON

func (*NullableOpenapiResponseBodyWalletInsufficientBalance) Unset

type NullablePaymentAccountsGet200Response

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

func (NullablePaymentAccountsGet200Response) Get

func (NullablePaymentAccountsGet200Response) IsSet

func (NullablePaymentAccountsGet200Response) MarshalJSON

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

func (*NullablePaymentAccountsGet200Response) Set

func (*NullablePaymentAccountsGet200Response) UnmarshalJSON

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

func (*NullablePaymentAccountsGet200Response) Unset

type NullablePaymentAccountsPost200Response

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

func (NullablePaymentAccountsPost200Response) Get

func (NullablePaymentAccountsPost200Response) IsSet

func (NullablePaymentAccountsPost200Response) MarshalJSON

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

func (*NullablePaymentAccountsPost200Response) Set

func (*NullablePaymentAccountsPost200Response) UnmarshalJSON

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

func (*NullablePaymentAccountsPost200Response) Unset

type NullablePaymentAccountsPost201Response

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

func (NullablePaymentAccountsPost201Response) Get

func (NullablePaymentAccountsPost201Response) IsSet

func (NullablePaymentAccountsPost201Response) MarshalJSON

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

func (*NullablePaymentAccountsPost201Response) Set

func (*NullablePaymentAccountsPost201Response) UnmarshalJSON

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

func (*NullablePaymentAccountsPost201Response) Unset

type NullablePayoutsGet200Response

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

func (NullablePayoutsGet200Response) Get

func (NullablePayoutsGet200Response) IsSet

func (NullablePayoutsGet200Response) MarshalJSON

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

func (*NullablePayoutsGet200Response) Set

func (*NullablePayoutsGet200Response) UnmarshalJSON

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

func (*NullablePayoutsGet200Response) Unset

func (v *NullablePayoutsGet200Response) Unset()

type NullablePayoutsIdGet200Response

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

func (NullablePayoutsIdGet200Response) Get

func (NullablePayoutsIdGet200Response) IsSet

func (NullablePayoutsIdGet200Response) MarshalJSON

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

func (*NullablePayoutsIdGet200Response) Set

func (*NullablePayoutsIdGet200Response) UnmarshalJSON

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

func (*NullablePayoutsIdGet200Response) Unset

type NullablePayoutsPost202Response

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

func (NullablePayoutsPost202Response) Get

func (NullablePayoutsPost202Response) IsSet

func (NullablePayoutsPost202Response) MarshalJSON

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

func (*NullablePayoutsPost202Response) Set

func (*NullablePayoutsPost202Response) UnmarshalJSON

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

func (*NullablePayoutsPost202Response) Unset

func (v *NullablePayoutsPost202Response) 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 NullableWalletsGet200Response

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

func (NullableWalletsGet200Response) Get

func (NullableWalletsGet200Response) IsSet

func (NullableWalletsGet200Response) MarshalJSON

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

func (*NullableWalletsGet200Response) Set

func (*NullableWalletsGet200Response) UnmarshalJSON

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

func (*NullableWalletsGet200Response) Unset

func (v *NullableWalletsGet200Response) Unset()

type NullableWalletsGet200ResponseAllOfDataInner

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

func (NullableWalletsGet200ResponseAllOfDataInner) Get

func (NullableWalletsGet200ResponseAllOfDataInner) IsSet

func (NullableWalletsGet200ResponseAllOfDataInner) MarshalJSON

func (*NullableWalletsGet200ResponseAllOfDataInner) Set

func (*NullableWalletsGet200ResponseAllOfDataInner) UnmarshalJSON

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

func (*NullableWalletsGet200ResponseAllOfDataInner) Unset

type OpenapiPaymentAccountGetOrCreateRequest

type OpenapiPaymentAccountGetOrCreateRequest struct {
	BankAccount *OpenapiPaymentAccountGetOrCreateRequestBankAccount `json:"bank_account,omitempty"`
	// <span style=\"color:#e95f6a;\">required</span>  The ISO 3166 alpha-2 country code in which the payment account is registered.
	Country     *string                                             `json:"country,omitempty"`
	Holder      *OpenapiPaymentAccountGetOrCreateRequestHolder      `json:"holder,omitempty"`
	MobileMoney *OpenapiPaymentAccountGetOrCreateRequestMobileMoney `json:"mobile_money,omitempty"`
	// <span style=\"color:#e95f6a;\">required</span>  Either `MOBILE_MONEY` or `BANK_ACCOUNT`
	Type *string `json:"type,omitempty"`
}

OpenapiPaymentAccountGetOrCreateRequest struct for OpenapiPaymentAccountGetOrCreateRequest

func NewOpenapiPaymentAccountGetOrCreateRequest

func NewOpenapiPaymentAccountGetOrCreateRequest() *OpenapiPaymentAccountGetOrCreateRequest

NewOpenapiPaymentAccountGetOrCreateRequest instantiates a new OpenapiPaymentAccountGetOrCreateRequest 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 NewOpenapiPaymentAccountGetOrCreateRequestWithDefaults

func NewOpenapiPaymentAccountGetOrCreateRequestWithDefaults() *OpenapiPaymentAccountGetOrCreateRequest

NewOpenapiPaymentAccountGetOrCreateRequestWithDefaults instantiates a new OpenapiPaymentAccountGetOrCreateRequest 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 (*OpenapiPaymentAccountGetOrCreateRequest) GetBankAccount

GetBankAccount returns the BankAccount field value if set, zero value otherwise.

func (*OpenapiPaymentAccountGetOrCreateRequest) GetBankAccountOk

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

func (*OpenapiPaymentAccountGetOrCreateRequest) GetCountry

GetCountry returns the Country field value if set, zero value otherwise.

func (*OpenapiPaymentAccountGetOrCreateRequest) GetCountryOk

func (o *OpenapiPaymentAccountGetOrCreateRequest) 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.

func (*OpenapiPaymentAccountGetOrCreateRequest) GetHolder

GetHolder returns the Holder field value if set, zero value otherwise.

func (*OpenapiPaymentAccountGetOrCreateRequest) GetHolderOk

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

func (*OpenapiPaymentAccountGetOrCreateRequest) GetMobileMoney

GetMobileMoney returns the MobileMoney field value if set, zero value otherwise.

func (*OpenapiPaymentAccountGetOrCreateRequest) GetMobileMoneyOk

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

func (*OpenapiPaymentAccountGetOrCreateRequest) GetType

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

func (*OpenapiPaymentAccountGetOrCreateRequest) GetTypeOk

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 (*OpenapiPaymentAccountGetOrCreateRequest) HasBankAccount

func (o *OpenapiPaymentAccountGetOrCreateRequest) HasBankAccount() bool

HasBankAccount returns a boolean if a field has been set.

func (*OpenapiPaymentAccountGetOrCreateRequest) HasCountry

HasCountry returns a boolean if a field has been set.

func (*OpenapiPaymentAccountGetOrCreateRequest) HasHolder

HasHolder returns a boolean if a field has been set.

func (*OpenapiPaymentAccountGetOrCreateRequest) HasMobileMoney

func (o *OpenapiPaymentAccountGetOrCreateRequest) HasMobileMoney() bool

HasMobileMoney returns a boolean if a field has been set.

func (*OpenapiPaymentAccountGetOrCreateRequest) HasType

HasType returns a boolean if a field has been set.

func (OpenapiPaymentAccountGetOrCreateRequest) MarshalJSON

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

func (*OpenapiPaymentAccountGetOrCreateRequest) SetBankAccount

SetBankAccount gets a reference to the given OpenapiPaymentAccountGetOrCreateRequestBankAccount and assigns it to the BankAccount field.

func (*OpenapiPaymentAccountGetOrCreateRequest) SetCountry

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

func (*OpenapiPaymentAccountGetOrCreateRequest) SetHolder

SetHolder gets a reference to the given OpenapiPaymentAccountGetOrCreateRequestHolder and assigns it to the Holder field.

func (*OpenapiPaymentAccountGetOrCreateRequest) SetMobileMoney

SetMobileMoney gets a reference to the given OpenapiPaymentAccountGetOrCreateRequestMobileMoney and assigns it to the MobileMoney field.

func (*OpenapiPaymentAccountGetOrCreateRequest) SetType

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

func (OpenapiPaymentAccountGetOrCreateRequest) ToMap

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

type OpenapiPaymentAccountGetOrCreateRequestBankAccount

type OpenapiPaymentAccountGetOrCreateRequestBankAccount struct {
	// <span style=\"color:#e95f6a;\">required with type BANK_ACCOUNT</span>  The bank identifier representing the bank associated with the payment account
	BankId *string `json:"bank_id,omitempty"`
	// <span style=\"color:#e95f6a;\">required with type BANK_ACCOUNT</span> <span style=\"color:#e95f6a;\">required if the bank spans across multiple branches</span>  The branch identifier representing the branch associated with the payment account
	BranchId *string `json:"branch_id,omitempty"`
	// <span style=\"color:#e95f6a;\">required with type BANK_ACCOUNT</span>  The actual bank account number (alphanum).
	Number *string `json:"number,omitempty"`
}

OpenapiPaymentAccountGetOrCreateRequestBankAccount struct for OpenapiPaymentAccountGetOrCreateRequestBankAccount

func NewOpenapiPaymentAccountGetOrCreateRequestBankAccount

func NewOpenapiPaymentAccountGetOrCreateRequestBankAccount() *OpenapiPaymentAccountGetOrCreateRequestBankAccount

NewOpenapiPaymentAccountGetOrCreateRequestBankAccount instantiates a new OpenapiPaymentAccountGetOrCreateRequestBankAccount 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 NewOpenapiPaymentAccountGetOrCreateRequestBankAccountWithDefaults

func NewOpenapiPaymentAccountGetOrCreateRequestBankAccountWithDefaults() *OpenapiPaymentAccountGetOrCreateRequestBankAccount

NewOpenapiPaymentAccountGetOrCreateRequestBankAccountWithDefaults instantiates a new OpenapiPaymentAccountGetOrCreateRequestBankAccount 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 (*OpenapiPaymentAccountGetOrCreateRequestBankAccount) GetBankId

GetBankId returns the BankId field value if set, zero value otherwise.

func (*OpenapiPaymentAccountGetOrCreateRequestBankAccount) GetBankIdOk

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

func (*OpenapiPaymentAccountGetOrCreateRequestBankAccount) GetBranchId

GetBranchId returns the BranchId field value if set, zero value otherwise.

func (*OpenapiPaymentAccountGetOrCreateRequestBankAccount) GetBranchIdOk

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

func (*OpenapiPaymentAccountGetOrCreateRequestBankAccount) GetNumber

GetNumber returns the Number field value if set, zero value otherwise.

func (*OpenapiPaymentAccountGetOrCreateRequestBankAccount) GetNumberOk

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

func (*OpenapiPaymentAccountGetOrCreateRequestBankAccount) HasBankId

HasBankId returns a boolean if a field has been set.

func (*OpenapiPaymentAccountGetOrCreateRequestBankAccount) HasBranchId

HasBranchId returns a boolean if a field has been set.

func (*OpenapiPaymentAccountGetOrCreateRequestBankAccount) HasNumber

HasNumber returns a boolean if a field has been set.

func (OpenapiPaymentAccountGetOrCreateRequestBankAccount) MarshalJSON

func (*OpenapiPaymentAccountGetOrCreateRequestBankAccount) SetBankId

SetBankId gets a reference to the given string and assigns it to the BankId field.

func (*OpenapiPaymentAccountGetOrCreateRequestBankAccount) SetBranchId

SetBranchId gets a reference to the given string and assigns it to the BranchId field.

func (*OpenapiPaymentAccountGetOrCreateRequestBankAccount) SetNumber

SetNumber gets a reference to the given string and assigns it to the Number field.

func (OpenapiPaymentAccountGetOrCreateRequestBankAccount) ToMap

type OpenapiPaymentAccountGetOrCreateRequestHolder

type OpenapiPaymentAccountGetOrCreateRequestHolder struct {
	// <span style=\"color:#e95f6a;\">required</span>  Either the INDIVIDUAL full name or the BUSINESS registered legal name
	Name *string `json:"name,omitempty"`
	// <span style=\"color:#e95f6a;\">required</span>  The holder legal entity type, whether an INDIVIDUAL person or a BUSINESS
	Type *string `json:"type,omitempty"`
}

OpenapiPaymentAccountGetOrCreateRequestHolder <span style=\"color:#e95f6a;\">required</span> The individual (or business) in whose name the bank account is registered

func NewOpenapiPaymentAccountGetOrCreateRequestHolder

func NewOpenapiPaymentAccountGetOrCreateRequestHolder() *OpenapiPaymentAccountGetOrCreateRequestHolder

NewOpenapiPaymentAccountGetOrCreateRequestHolder instantiates a new OpenapiPaymentAccountGetOrCreateRequestHolder 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 NewOpenapiPaymentAccountGetOrCreateRequestHolderWithDefaults

func NewOpenapiPaymentAccountGetOrCreateRequestHolderWithDefaults() *OpenapiPaymentAccountGetOrCreateRequestHolder

NewOpenapiPaymentAccountGetOrCreateRequestHolderWithDefaults instantiates a new OpenapiPaymentAccountGetOrCreateRequestHolder 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 (*OpenapiPaymentAccountGetOrCreateRequestHolder) GetName

GetName returns the Name field value if set, zero value otherwise.

func (*OpenapiPaymentAccountGetOrCreateRequestHolder) GetNameOk

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

func (*OpenapiPaymentAccountGetOrCreateRequestHolder) GetType

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

func (*OpenapiPaymentAccountGetOrCreateRequestHolder) GetTypeOk

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 (*OpenapiPaymentAccountGetOrCreateRequestHolder) HasName

HasName returns a boolean if a field has been set.

func (*OpenapiPaymentAccountGetOrCreateRequestHolder) HasType

HasType returns a boolean if a field has been set.

func (OpenapiPaymentAccountGetOrCreateRequestHolder) MarshalJSON

func (*OpenapiPaymentAccountGetOrCreateRequestHolder) SetName

SetName gets a reference to the given string and assigns it to the Name field.

func (*OpenapiPaymentAccountGetOrCreateRequestHolder) SetType

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

func (OpenapiPaymentAccountGetOrCreateRequestHolder) ToMap

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

type OpenapiPaymentAccountGetOrCreateRequestMobileMoney

type OpenapiPaymentAccountGetOrCreateRequestMobileMoney struct {
	// <span style=\"color:#e95f6a;\">required with type MOBILE_MONEY</span>  The actual phone number formatted as E.164
	Number *string `json:"number,omitempty"`
	// <span style=\"color:#e95f6a;\">required with type MOBILE_MONEY</span>  The telco network associated with the phone number. Each country allows only a subset of operators, this is documented [here](post_payment-accounts#mobile-money).
	Operator *string `json:"operator,omitempty"`
}

OpenapiPaymentAccountGetOrCreateRequestMobileMoney struct for OpenapiPaymentAccountGetOrCreateRequestMobileMoney

func NewOpenapiPaymentAccountGetOrCreateRequestMobileMoney

func NewOpenapiPaymentAccountGetOrCreateRequestMobileMoney() *OpenapiPaymentAccountGetOrCreateRequestMobileMoney

NewOpenapiPaymentAccountGetOrCreateRequestMobileMoney instantiates a new OpenapiPaymentAccountGetOrCreateRequestMobileMoney 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 NewOpenapiPaymentAccountGetOrCreateRequestMobileMoneyWithDefaults

func NewOpenapiPaymentAccountGetOrCreateRequestMobileMoneyWithDefaults() *OpenapiPaymentAccountGetOrCreateRequestMobileMoney

NewOpenapiPaymentAccountGetOrCreateRequestMobileMoneyWithDefaults instantiates a new OpenapiPaymentAccountGetOrCreateRequestMobileMoney 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 (*OpenapiPaymentAccountGetOrCreateRequestMobileMoney) GetNumber

GetNumber returns the Number field value if set, zero value otherwise.

func (*OpenapiPaymentAccountGetOrCreateRequestMobileMoney) GetNumberOk

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

func (*OpenapiPaymentAccountGetOrCreateRequestMobileMoney) GetOperator

GetOperator returns the Operator field value if set, zero value otherwise.

func (*OpenapiPaymentAccountGetOrCreateRequestMobileMoney) GetOperatorOk

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

func (*OpenapiPaymentAccountGetOrCreateRequestMobileMoney) HasNumber

HasNumber returns a boolean if a field has been set.

func (*OpenapiPaymentAccountGetOrCreateRequestMobileMoney) HasOperator

HasOperator returns a boolean if a field has been set.

func (OpenapiPaymentAccountGetOrCreateRequestMobileMoney) MarshalJSON

func (*OpenapiPaymentAccountGetOrCreateRequestMobileMoney) SetNumber

SetNumber gets a reference to the given string and assigns it to the Number field.

func (*OpenapiPaymentAccountGetOrCreateRequestMobileMoney) SetOperator

SetOperator gets a reference to the given string and assigns it to the Operator field.

func (OpenapiPaymentAccountGetOrCreateRequestMobileMoney) ToMap

type OpenapiPaymentAccountGetOrCreateResponse

type OpenapiPaymentAccountGetOrCreateResponse struct {
	BankAccount *OpenapiPaymentAccountGetOrCreateResponseBankAccount `json:"bank_account,omitempty"`
	Country     *string                                              `json:"country,omitempty"`
	CreatedAt   *string                                              `json:"created_at,omitempty"`
	Holder      *OpenapiPaymentAccountGetOrCreateResponseHolder      `json:"holder,omitempty"`
	// The newly created payment account unique identifier
	Id          *string                                              `json:"id,omitempty"`
	MobileMoney *OpenapiPaymentAccountGetOrCreateResponseMobileMoney `json:"mobile_money,omitempty"`
	Type        *string                                              `json:"type,omitempty"`
}

OpenapiPaymentAccountGetOrCreateResponse struct for OpenapiPaymentAccountGetOrCreateResponse

func NewOpenapiPaymentAccountGetOrCreateResponse

func NewOpenapiPaymentAccountGetOrCreateResponse() *OpenapiPaymentAccountGetOrCreateResponse

NewOpenapiPaymentAccountGetOrCreateResponse instantiates a new OpenapiPaymentAccountGetOrCreateResponse 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 NewOpenapiPaymentAccountGetOrCreateResponseWithDefaults

func NewOpenapiPaymentAccountGetOrCreateResponseWithDefaults() *OpenapiPaymentAccountGetOrCreateResponse

NewOpenapiPaymentAccountGetOrCreateResponseWithDefaults instantiates a new OpenapiPaymentAccountGetOrCreateResponse 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 (*OpenapiPaymentAccountGetOrCreateResponse) GetBankAccount

GetBankAccount returns the BankAccount field value if set, zero value otherwise.

func (*OpenapiPaymentAccountGetOrCreateResponse) GetBankAccountOk

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

func (*OpenapiPaymentAccountGetOrCreateResponse) GetCountry

GetCountry returns the Country field value if set, zero value otherwise.

func (*OpenapiPaymentAccountGetOrCreateResponse) GetCountryOk

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

func (*OpenapiPaymentAccountGetOrCreateResponse) GetCreatedAt

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*OpenapiPaymentAccountGetOrCreateResponse) GetCreatedAtOk

func (o *OpenapiPaymentAccountGetOrCreateResponse) GetCreatedAtOk() (*string, bool)

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

func (*OpenapiPaymentAccountGetOrCreateResponse) GetHolder

GetHolder returns the Holder field value if set, zero value otherwise.

func (*OpenapiPaymentAccountGetOrCreateResponse) GetHolderOk

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

func (*OpenapiPaymentAccountGetOrCreateResponse) GetId

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

func (*OpenapiPaymentAccountGetOrCreateResponse) GetIdOk

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 (*OpenapiPaymentAccountGetOrCreateResponse) GetMobileMoney

GetMobileMoney returns the MobileMoney field value if set, zero value otherwise.

func (*OpenapiPaymentAccountGetOrCreateResponse) GetMobileMoneyOk

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

func (*OpenapiPaymentAccountGetOrCreateResponse) GetType

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

func (*OpenapiPaymentAccountGetOrCreateResponse) GetTypeOk

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 (*OpenapiPaymentAccountGetOrCreateResponse) HasBankAccount

func (o *OpenapiPaymentAccountGetOrCreateResponse) HasBankAccount() bool

HasBankAccount returns a boolean if a field has been set.

func (*OpenapiPaymentAccountGetOrCreateResponse) HasCountry

HasCountry returns a boolean if a field has been set.

func (*OpenapiPaymentAccountGetOrCreateResponse) HasCreatedAt

HasCreatedAt returns a boolean if a field has been set.

func (*OpenapiPaymentAccountGetOrCreateResponse) HasHolder

HasHolder returns a boolean if a field has been set.

func (*OpenapiPaymentAccountGetOrCreateResponse) HasId

HasId returns a boolean if a field has been set.

func (*OpenapiPaymentAccountGetOrCreateResponse) HasMobileMoney

func (o *OpenapiPaymentAccountGetOrCreateResponse) HasMobileMoney() bool

HasMobileMoney returns a boolean if a field has been set.

func (*OpenapiPaymentAccountGetOrCreateResponse) HasType

HasType returns a boolean if a field has been set.

func (OpenapiPaymentAccountGetOrCreateResponse) MarshalJSON

func (*OpenapiPaymentAccountGetOrCreateResponse) SetBankAccount

SetBankAccount gets a reference to the given OpenapiPaymentAccountGetOrCreateResponseBankAccount and assigns it to the BankAccount field.

func (*OpenapiPaymentAccountGetOrCreateResponse) SetCountry

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

func (*OpenapiPaymentAccountGetOrCreateResponse) SetCreatedAt

SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.

func (*OpenapiPaymentAccountGetOrCreateResponse) SetHolder

SetHolder gets a reference to the given OpenapiPaymentAccountGetOrCreateResponseHolder and assigns it to the Holder field.

func (*OpenapiPaymentAccountGetOrCreateResponse) SetId

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

func (*OpenapiPaymentAccountGetOrCreateResponse) SetMobileMoney

SetMobileMoney gets a reference to the given OpenapiPaymentAccountGetOrCreateResponseMobileMoney and assigns it to the MobileMoney field.

func (*OpenapiPaymentAccountGetOrCreateResponse) SetType

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

func (OpenapiPaymentAccountGetOrCreateResponse) ToMap

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

type OpenapiPaymentAccountGetOrCreateResponseBankAccount

type OpenapiPaymentAccountGetOrCreateResponseBankAccount struct {
	BankId   *string `json:"bank_id,omitempty"`
	BranchId *string `json:"branch_id,omitempty"`
	Number   *string `json:"number,omitempty"`
}

OpenapiPaymentAccountGetOrCreateResponseBankAccount struct for OpenapiPaymentAccountGetOrCreateResponseBankAccount

func NewOpenapiPaymentAccountGetOrCreateResponseBankAccount

func NewOpenapiPaymentAccountGetOrCreateResponseBankAccount() *OpenapiPaymentAccountGetOrCreateResponseBankAccount

NewOpenapiPaymentAccountGetOrCreateResponseBankAccount instantiates a new OpenapiPaymentAccountGetOrCreateResponseBankAccount 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 NewOpenapiPaymentAccountGetOrCreateResponseBankAccountWithDefaults

func NewOpenapiPaymentAccountGetOrCreateResponseBankAccountWithDefaults() *OpenapiPaymentAccountGetOrCreateResponseBankAccount

NewOpenapiPaymentAccountGetOrCreateResponseBankAccountWithDefaults instantiates a new OpenapiPaymentAccountGetOrCreateResponseBankAccount 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 (*OpenapiPaymentAccountGetOrCreateResponseBankAccount) GetBankId

GetBankId returns the BankId field value if set, zero value otherwise.

func (*OpenapiPaymentAccountGetOrCreateResponseBankAccount) GetBankIdOk

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

func (*OpenapiPaymentAccountGetOrCreateResponseBankAccount) GetBranchId

GetBranchId returns the BranchId field value if set, zero value otherwise.

func (*OpenapiPaymentAccountGetOrCreateResponseBankAccount) GetBranchIdOk

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

func (*OpenapiPaymentAccountGetOrCreateResponseBankAccount) GetNumber

GetNumber returns the Number field value if set, zero value otherwise.

func (*OpenapiPaymentAccountGetOrCreateResponseBankAccount) GetNumberOk

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

func (*OpenapiPaymentAccountGetOrCreateResponseBankAccount) HasBankId

HasBankId returns a boolean if a field has been set.

func (*OpenapiPaymentAccountGetOrCreateResponseBankAccount) HasBranchId

HasBranchId returns a boolean if a field has been set.

func (*OpenapiPaymentAccountGetOrCreateResponseBankAccount) HasNumber

HasNumber returns a boolean if a field has been set.

func (OpenapiPaymentAccountGetOrCreateResponseBankAccount) MarshalJSON

func (*OpenapiPaymentAccountGetOrCreateResponseBankAccount) SetBankId

SetBankId gets a reference to the given string and assigns it to the BankId field.

func (*OpenapiPaymentAccountGetOrCreateResponseBankAccount) SetBranchId

SetBranchId gets a reference to the given string and assigns it to the BranchId field.

func (*OpenapiPaymentAccountGetOrCreateResponseBankAccount) SetNumber

SetNumber gets a reference to the given string and assigns it to the Number field.

func (OpenapiPaymentAccountGetOrCreateResponseBankAccount) ToMap

type OpenapiPaymentAccountGetOrCreateResponseHolder

type OpenapiPaymentAccountGetOrCreateResponseHolder struct {
	Name *string `json:"name,omitempty"`
	Type *string `json:"type,omitempty"`
}

OpenapiPaymentAccountGetOrCreateResponseHolder struct for OpenapiPaymentAccountGetOrCreateResponseHolder

func NewOpenapiPaymentAccountGetOrCreateResponseHolder

func NewOpenapiPaymentAccountGetOrCreateResponseHolder() *OpenapiPaymentAccountGetOrCreateResponseHolder

NewOpenapiPaymentAccountGetOrCreateResponseHolder instantiates a new OpenapiPaymentAccountGetOrCreateResponseHolder 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 NewOpenapiPaymentAccountGetOrCreateResponseHolderWithDefaults

func NewOpenapiPaymentAccountGetOrCreateResponseHolderWithDefaults() *OpenapiPaymentAccountGetOrCreateResponseHolder

NewOpenapiPaymentAccountGetOrCreateResponseHolderWithDefaults instantiates a new OpenapiPaymentAccountGetOrCreateResponseHolder 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 (*OpenapiPaymentAccountGetOrCreateResponseHolder) GetName

GetName returns the Name field value if set, zero value otherwise.

func (*OpenapiPaymentAccountGetOrCreateResponseHolder) GetNameOk

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

func (*OpenapiPaymentAccountGetOrCreateResponseHolder) GetType

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

func (*OpenapiPaymentAccountGetOrCreateResponseHolder) GetTypeOk

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 (*OpenapiPaymentAccountGetOrCreateResponseHolder) HasName

HasName returns a boolean if a field has been set.

func (*OpenapiPaymentAccountGetOrCreateResponseHolder) HasType

HasType returns a boolean if a field has been set.

func (OpenapiPaymentAccountGetOrCreateResponseHolder) MarshalJSON

func (*OpenapiPaymentAccountGetOrCreateResponseHolder) SetName

SetName gets a reference to the given string and assigns it to the Name field.

func (*OpenapiPaymentAccountGetOrCreateResponseHolder) SetType

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

func (OpenapiPaymentAccountGetOrCreateResponseHolder) ToMap

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

type OpenapiPaymentAccountGetOrCreateResponseMobileMoney

type OpenapiPaymentAccountGetOrCreateResponseMobileMoney struct {
	Number   *string `json:"number,omitempty"`
	Operator *string `json:"operator,omitempty"`
}

OpenapiPaymentAccountGetOrCreateResponseMobileMoney struct for OpenapiPaymentAccountGetOrCreateResponseMobileMoney

func NewOpenapiPaymentAccountGetOrCreateResponseMobileMoney

func NewOpenapiPaymentAccountGetOrCreateResponseMobileMoney() *OpenapiPaymentAccountGetOrCreateResponseMobileMoney

NewOpenapiPaymentAccountGetOrCreateResponseMobileMoney instantiates a new OpenapiPaymentAccountGetOrCreateResponseMobileMoney 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 NewOpenapiPaymentAccountGetOrCreateResponseMobileMoneyWithDefaults

func NewOpenapiPaymentAccountGetOrCreateResponseMobileMoneyWithDefaults() *OpenapiPaymentAccountGetOrCreateResponseMobileMoney

NewOpenapiPaymentAccountGetOrCreateResponseMobileMoneyWithDefaults instantiates a new OpenapiPaymentAccountGetOrCreateResponseMobileMoney 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 (*OpenapiPaymentAccountGetOrCreateResponseMobileMoney) GetNumber

GetNumber returns the Number field value if set, zero value otherwise.

func (*OpenapiPaymentAccountGetOrCreateResponseMobileMoney) GetNumberOk

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

func (*OpenapiPaymentAccountGetOrCreateResponseMobileMoney) GetOperator

GetOperator returns the Operator field value if set, zero value otherwise.

func (*OpenapiPaymentAccountGetOrCreateResponseMobileMoney) GetOperatorOk

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

func (*OpenapiPaymentAccountGetOrCreateResponseMobileMoney) HasNumber

HasNumber returns a boolean if a field has been set.

func (*OpenapiPaymentAccountGetOrCreateResponseMobileMoney) HasOperator

HasOperator returns a boolean if a field has been set.

func (OpenapiPaymentAccountGetOrCreateResponseMobileMoney) MarshalJSON

func (*OpenapiPaymentAccountGetOrCreateResponseMobileMoney) SetNumber

SetNumber gets a reference to the given string and assigns it to the Number field.

func (*OpenapiPaymentAccountGetOrCreateResponseMobileMoney) SetOperator

SetOperator gets a reference to the given string and assigns it to the Operator field.

func (OpenapiPaymentAccountGetOrCreateResponseMobileMoney) ToMap

type OpenapiPaymentAccountListResponseMeta

type OpenapiPaymentAccountListResponseMeta struct {
	Paging *OpenapiPaymentAccountListResponseMetaPaging `json:"paging,omitempty"`
}

OpenapiPaymentAccountListResponseMeta struct for OpenapiPaymentAccountListResponseMeta

func NewOpenapiPaymentAccountListResponseMeta

func NewOpenapiPaymentAccountListResponseMeta() *OpenapiPaymentAccountListResponseMeta

NewOpenapiPaymentAccountListResponseMeta instantiates a new OpenapiPaymentAccountListResponseMeta 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 NewOpenapiPaymentAccountListResponseMetaWithDefaults

func NewOpenapiPaymentAccountListResponseMetaWithDefaults() *OpenapiPaymentAccountListResponseMeta

NewOpenapiPaymentAccountListResponseMetaWithDefaults instantiates a new OpenapiPaymentAccountListResponseMeta 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 (*OpenapiPaymentAccountListResponseMeta) GetPaging

GetPaging returns the Paging field value if set, zero value otherwise.

func (*OpenapiPaymentAccountListResponseMeta) GetPagingOk

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

func (*OpenapiPaymentAccountListResponseMeta) HasPaging

HasPaging returns a boolean if a field has been set.

func (OpenapiPaymentAccountListResponseMeta) MarshalJSON

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

func (*OpenapiPaymentAccountListResponseMeta) SetPaging

SetPaging gets a reference to the given OpenapiPaymentAccountListResponseMetaPaging and assigns it to the Paging field.

func (OpenapiPaymentAccountListResponseMeta) ToMap

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

type OpenapiPaymentAccountListResponseMetaPaging

type OpenapiPaymentAccountListResponseMetaPaging struct {
	Cursors *OpenapiPaymentAccountListResponseMetaPagingCursors `json:"cursors,omitempty"`
	Next    *string                                             `json:"next,omitempty"`
}

OpenapiPaymentAccountListResponseMetaPaging struct for OpenapiPaymentAccountListResponseMetaPaging

func NewOpenapiPaymentAccountListResponseMetaPaging

func NewOpenapiPaymentAccountListResponseMetaPaging() *OpenapiPaymentAccountListResponseMetaPaging

NewOpenapiPaymentAccountListResponseMetaPaging instantiates a new OpenapiPaymentAccountListResponseMetaPaging 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 NewOpenapiPaymentAccountListResponseMetaPagingWithDefaults

func NewOpenapiPaymentAccountListResponseMetaPagingWithDefaults() *OpenapiPaymentAccountListResponseMetaPaging

NewOpenapiPaymentAccountListResponseMetaPagingWithDefaults instantiates a new OpenapiPaymentAccountListResponseMetaPaging 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 (*OpenapiPaymentAccountListResponseMetaPaging) GetCursors

GetCursors returns the Cursors field value if set, zero value otherwise.

func (*OpenapiPaymentAccountListResponseMetaPaging) GetCursorsOk

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

func (*OpenapiPaymentAccountListResponseMetaPaging) GetNext

GetNext returns the Next field value if set, zero value otherwise.

func (*OpenapiPaymentAccountListResponseMetaPaging) GetNextOk

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

func (*OpenapiPaymentAccountListResponseMetaPaging) HasCursors

HasCursors returns a boolean if a field has been set.

func (*OpenapiPaymentAccountListResponseMetaPaging) HasNext

HasNext returns a boolean if a field has been set.

func (OpenapiPaymentAccountListResponseMetaPaging) MarshalJSON

func (*OpenapiPaymentAccountListResponseMetaPaging) SetCursors

SetCursors gets a reference to the given OpenapiPaymentAccountListResponseMetaPagingCursors and assigns it to the Cursors field.

func (*OpenapiPaymentAccountListResponseMetaPaging) SetNext

SetNext gets a reference to the given string and assigns it to the Next field.

func (OpenapiPaymentAccountListResponseMetaPaging) ToMap

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

type OpenapiPaymentAccountListResponseMetaPagingCursors

type OpenapiPaymentAccountListResponseMetaPagingCursors struct {
	After *string `json:"after,omitempty"`
}

OpenapiPaymentAccountListResponseMetaPagingCursors struct for OpenapiPaymentAccountListResponseMetaPagingCursors

func NewOpenapiPaymentAccountListResponseMetaPagingCursors

func NewOpenapiPaymentAccountListResponseMetaPagingCursors() *OpenapiPaymentAccountListResponseMetaPagingCursors

NewOpenapiPaymentAccountListResponseMetaPagingCursors instantiates a new OpenapiPaymentAccountListResponseMetaPagingCursors 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 NewOpenapiPaymentAccountListResponseMetaPagingCursorsWithDefaults

func NewOpenapiPaymentAccountListResponseMetaPagingCursorsWithDefaults() *OpenapiPaymentAccountListResponseMetaPagingCursors

NewOpenapiPaymentAccountListResponseMetaPagingCursorsWithDefaults instantiates a new OpenapiPaymentAccountListResponseMetaPagingCursors 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 (*OpenapiPaymentAccountListResponseMetaPagingCursors) GetAfter

GetAfter returns the After field value if set, zero value otherwise.

func (*OpenapiPaymentAccountListResponseMetaPagingCursors) GetAfterOk

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

func (*OpenapiPaymentAccountListResponseMetaPagingCursors) HasAfter

HasAfter returns a boolean if a field has been set.

func (OpenapiPaymentAccountListResponseMetaPagingCursors) MarshalJSON

func (*OpenapiPaymentAccountListResponseMetaPagingCursors) SetAfter

SetAfter gets a reference to the given string and assigns it to the After field.

func (OpenapiPaymentAccountListResponseMetaPagingCursors) ToMap

type OpenapiPayoutCreateRequest

type OpenapiPayoutCreateRequest struct {
	Amount *OpenapiPayoutCreateRequestAmount `json:"amount,omitempty"`
	// An optional unique custom id that can be used to reconcile payouts with your own internal systems, this is particularly useful in the event of network failures.  The accepted format can include up to 64 characters, which may consist of both letters, digits, and the symbols \"-\" and \"_\".
	CustomId       *string                                  `json:"custom_id,omitempty"`
	PaymentAccount *OpenapiPaymentAccountGetOrCreateRequest `json:"payment_account,omitempty"`
	// <span style=\"color:#e95f6a;\">required if payment_account is empty</span>  The payment account ID represents a pre-existing payment account that acts as the recipient for the payout.
	PaymentAccountId *string                           `json:"payment_account_id,omitempty"`
	Sender           *OpenapiPayoutCreateRequestSender `json:"sender,omitempty"`
	// The wallet ID from which to disburse money, if not provided, we will attempt to use the one that matches the provided currency amount.
	WalletId *string `json:"wallet_id,omitempty"`
}

OpenapiPayoutCreateRequest struct for OpenapiPayoutCreateRequest

func NewOpenapiPayoutCreateRequest

func NewOpenapiPayoutCreateRequest() *OpenapiPayoutCreateRequest

NewOpenapiPayoutCreateRequest instantiates a new OpenapiPayoutCreateRequest 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 NewOpenapiPayoutCreateRequestWithDefaults

func NewOpenapiPayoutCreateRequestWithDefaults() *OpenapiPayoutCreateRequest

NewOpenapiPayoutCreateRequestWithDefaults instantiates a new OpenapiPayoutCreateRequest 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 (*OpenapiPayoutCreateRequest) GetAmount

GetAmount returns the Amount field value if set, zero value otherwise.

func (*OpenapiPayoutCreateRequest) GetAmountOk

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

func (*OpenapiPayoutCreateRequest) GetCustomId

func (o *OpenapiPayoutCreateRequest) GetCustomId() string

GetCustomId returns the CustomId field value if set, zero value otherwise.

func (*OpenapiPayoutCreateRequest) GetCustomIdOk

func (o *OpenapiPayoutCreateRequest) GetCustomIdOk() (*string, bool)

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

func (*OpenapiPayoutCreateRequest) GetPaymentAccount

GetPaymentAccount returns the PaymentAccount field value if set, zero value otherwise.

func (*OpenapiPayoutCreateRequest) GetPaymentAccountId

func (o *OpenapiPayoutCreateRequest) GetPaymentAccountId() string

GetPaymentAccountId returns the PaymentAccountId field value if set, zero value otherwise.

func (*OpenapiPayoutCreateRequest) GetPaymentAccountIdOk

func (o *OpenapiPayoutCreateRequest) GetPaymentAccountIdOk() (*string, bool)

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

func (*OpenapiPayoutCreateRequest) GetPaymentAccountOk

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

func (*OpenapiPayoutCreateRequest) GetSender

GetSender returns the Sender field value if set, zero value otherwise.

func (*OpenapiPayoutCreateRequest) GetSenderOk

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

func (*OpenapiPayoutCreateRequest) GetWalletId

func (o *OpenapiPayoutCreateRequest) GetWalletId() string

GetWalletId returns the WalletId field value if set, zero value otherwise.

func (*OpenapiPayoutCreateRequest) GetWalletIdOk

func (o *OpenapiPayoutCreateRequest) GetWalletIdOk() (*string, bool)

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

func (*OpenapiPayoutCreateRequest) HasAmount

func (o *OpenapiPayoutCreateRequest) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*OpenapiPayoutCreateRequest) HasCustomId

func (o *OpenapiPayoutCreateRequest) HasCustomId() bool

HasCustomId returns a boolean if a field has been set.

func (*OpenapiPayoutCreateRequest) HasPaymentAccount

func (o *OpenapiPayoutCreateRequest) HasPaymentAccount() bool

HasPaymentAccount returns a boolean if a field has been set.

func (*OpenapiPayoutCreateRequest) HasPaymentAccountId

func (o *OpenapiPayoutCreateRequest) HasPaymentAccountId() bool

HasPaymentAccountId returns a boolean if a field has been set.

func (*OpenapiPayoutCreateRequest) HasSender

func (o *OpenapiPayoutCreateRequest) HasSender() bool

HasSender returns a boolean if a field has been set.

func (*OpenapiPayoutCreateRequest) HasWalletId

func (o *OpenapiPayoutCreateRequest) HasWalletId() bool

HasWalletId returns a boolean if a field has been set.

func (OpenapiPayoutCreateRequest) MarshalJSON

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

func (*OpenapiPayoutCreateRequest) SetAmount

SetAmount gets a reference to the given OpenapiPayoutCreateRequestAmount and assigns it to the Amount field.

func (*OpenapiPayoutCreateRequest) SetCustomId

func (o *OpenapiPayoutCreateRequest) SetCustomId(v string)

SetCustomId gets a reference to the given string and assigns it to the CustomId field.

func (*OpenapiPayoutCreateRequest) SetPaymentAccount

SetPaymentAccount gets a reference to the given OpenapiPaymentAccountGetOrCreateRequest and assigns it to the PaymentAccount field.

func (*OpenapiPayoutCreateRequest) SetPaymentAccountId

func (o *OpenapiPayoutCreateRequest) SetPaymentAccountId(v string)

SetPaymentAccountId gets a reference to the given string and assigns it to the PaymentAccountId field.

func (*OpenapiPayoutCreateRequest) SetSender

SetSender gets a reference to the given OpenapiPayoutCreateRequestSender and assigns it to the Sender field.

func (*OpenapiPayoutCreateRequest) SetWalletId

func (o *OpenapiPayoutCreateRequest) SetWalletId(v string)

SetWalletId gets a reference to the given string and assigns it to the WalletId field.

func (OpenapiPayoutCreateRequest) ToMap

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

type OpenapiPayoutCreateRequestAmount

type OpenapiPayoutCreateRequestAmount struct {
	// <span style=\"color:#e95f6a;\">required</span>  The currency associated with the amount value, formatted according to ISO 4217
	Currency *string `json:"currency,omitempty"`
	// <span style=\"color:#e95f6a;\">required</span>
	Value *string `json:"value,omitempty"`
}

OpenapiPayoutCreateRequestAmount <span style=\"color:#e95f6a;\">required</span> The intended amount to send to either the payment_account_id or payment_account

func NewOpenapiPayoutCreateRequestAmount

func NewOpenapiPayoutCreateRequestAmount() *OpenapiPayoutCreateRequestAmount

NewOpenapiPayoutCreateRequestAmount instantiates a new OpenapiPayoutCreateRequestAmount 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 NewOpenapiPayoutCreateRequestAmountWithDefaults

func NewOpenapiPayoutCreateRequestAmountWithDefaults() *OpenapiPayoutCreateRequestAmount

NewOpenapiPayoutCreateRequestAmountWithDefaults instantiates a new OpenapiPayoutCreateRequestAmount 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 (*OpenapiPayoutCreateRequestAmount) GetCurrency

func (o *OpenapiPayoutCreateRequestAmount) GetCurrency() string

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

func (*OpenapiPayoutCreateRequestAmount) GetCurrencyOk

func (o *OpenapiPayoutCreateRequestAmount) 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 (*OpenapiPayoutCreateRequestAmount) GetValue

GetValue returns the Value field value if set, zero value otherwise.

func (*OpenapiPayoutCreateRequestAmount) GetValueOk

func (o *OpenapiPayoutCreateRequestAmount) GetValueOk() (*string, bool)

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

func (*OpenapiPayoutCreateRequestAmount) HasCurrency

func (o *OpenapiPayoutCreateRequestAmount) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (*OpenapiPayoutCreateRequestAmount) HasValue

func (o *OpenapiPayoutCreateRequestAmount) HasValue() bool

HasValue returns a boolean if a field has been set.

func (OpenapiPayoutCreateRequestAmount) MarshalJSON

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

func (*OpenapiPayoutCreateRequestAmount) SetCurrency

func (o *OpenapiPayoutCreateRequestAmount) SetCurrency(v string)

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

func (*OpenapiPayoutCreateRequestAmount) SetValue

SetValue gets a reference to the given string and assigns it to the Value field.

func (OpenapiPayoutCreateRequestAmount) ToMap

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

type OpenapiPayoutCreateRequestSender

type OpenapiPayoutCreateRequestSender struct {
	Address    *OpenapiPayoutCreateRequestSenderAddress    `json:"address,omitempty"`
	Individual *OpenapiPayoutCreateRequestSenderIndividual `json:"individual,omitempty"`
	// <span style=\"color:#e95f6a;\">required if sender is provided</span>  The individual full name or registered business legal name
	Name *string `json:"name,omitempty"`
	// <span style=\"color:#e95f6a;\">required if sender is provided</span>  Either `INDIVIDUAL` or `BUSINESS`
	Type *string `json:"type,omitempty"`
}

OpenapiPayoutCreateRequestSender An optional property for incorporating sender details. Please refer to the \"💡 **Compliance requirements**\" documentation above.

func NewOpenapiPayoutCreateRequestSender

func NewOpenapiPayoutCreateRequestSender() *OpenapiPayoutCreateRequestSender

NewOpenapiPayoutCreateRequestSender instantiates a new OpenapiPayoutCreateRequestSender 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 NewOpenapiPayoutCreateRequestSenderWithDefaults

func NewOpenapiPayoutCreateRequestSenderWithDefaults() *OpenapiPayoutCreateRequestSender

NewOpenapiPayoutCreateRequestSenderWithDefaults instantiates a new OpenapiPayoutCreateRequestSender 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 (*OpenapiPayoutCreateRequestSender) GetAddress

GetAddress returns the Address field value if set, zero value otherwise.

func (*OpenapiPayoutCreateRequestSender) GetAddressOk

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

func (*OpenapiPayoutCreateRequestSender) GetIndividual

GetIndividual returns the Individual field value if set, zero value otherwise.

func (*OpenapiPayoutCreateRequestSender) GetIndividualOk

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

func (*OpenapiPayoutCreateRequestSender) GetName

GetName returns the Name field value if set, zero value otherwise.

func (*OpenapiPayoutCreateRequestSender) GetNameOk

func (o *OpenapiPayoutCreateRequestSender) GetNameOk() (*string, bool)

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

func (*OpenapiPayoutCreateRequestSender) GetType

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

func (*OpenapiPayoutCreateRequestSender) GetTypeOk

func (o *OpenapiPayoutCreateRequestSender) 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 (*OpenapiPayoutCreateRequestSender) HasAddress

func (o *OpenapiPayoutCreateRequestSender) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*OpenapiPayoutCreateRequestSender) HasIndividual

func (o *OpenapiPayoutCreateRequestSender) HasIndividual() bool

HasIndividual returns a boolean if a field has been set.

func (*OpenapiPayoutCreateRequestSender) HasName

HasName returns a boolean if a field has been set.

func (*OpenapiPayoutCreateRequestSender) HasType

HasType returns a boolean if a field has been set.

func (OpenapiPayoutCreateRequestSender) MarshalJSON

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

func (*OpenapiPayoutCreateRequestSender) SetAddress

SetAddress gets a reference to the given OpenapiPayoutCreateRequestSenderAddress and assigns it to the Address field.

func (*OpenapiPayoutCreateRequestSender) SetIndividual

SetIndividual gets a reference to the given OpenapiPayoutCreateRequestSenderIndividual and assigns it to the Individual field.

func (*OpenapiPayoutCreateRequestSender) SetName

SetName gets a reference to the given string and assigns it to the Name field.

func (*OpenapiPayoutCreateRequestSender) SetType

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

func (OpenapiPayoutCreateRequestSender) ToMap

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

type OpenapiPayoutCreateRequestSenderAddress

type OpenapiPayoutCreateRequestSenderAddress struct {
	// <span style=\"color:#e95f6a;\">required if address is provided</span>
	City *string `json:"city,omitempty"`
	// <span style=\"color:#e95f6a;\">required if address is provided</span>  The ISO 3166 alpha-2 country code associated with the address.
	Country *string `json:"country,omitempty"`
	// <span style=\"color:#e95f6a;\">required if address is provided</span>
	Line1 *string `json:"line_1,omitempty"`
	Line2 *string `json:"line_2,omitempty"`
	Line3 *string `json:"line_3,omitempty"`
	// <span style=\"color:#e95f6a;\">required if address is provided</span>  ⚠️ We enforce postal code validation for these following country codes : GB, US, PT, IE, MT, NG, NL, SK
	PostalCode *string `json:"postal_code,omitempty"`
}

OpenapiPayoutCreateRequestSenderAddress struct for OpenapiPayoutCreateRequestSenderAddress

func NewOpenapiPayoutCreateRequestSenderAddress

func NewOpenapiPayoutCreateRequestSenderAddress() *OpenapiPayoutCreateRequestSenderAddress

NewOpenapiPayoutCreateRequestSenderAddress instantiates a new OpenapiPayoutCreateRequestSenderAddress 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 NewOpenapiPayoutCreateRequestSenderAddressWithDefaults

func NewOpenapiPayoutCreateRequestSenderAddressWithDefaults() *OpenapiPayoutCreateRequestSenderAddress

NewOpenapiPayoutCreateRequestSenderAddressWithDefaults instantiates a new OpenapiPayoutCreateRequestSenderAddress 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 (*OpenapiPayoutCreateRequestSenderAddress) GetCity

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

func (*OpenapiPayoutCreateRequestSenderAddress) GetCityOk

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 (*OpenapiPayoutCreateRequestSenderAddress) GetCountry

GetCountry returns the Country field value if set, zero value otherwise.

func (*OpenapiPayoutCreateRequestSenderAddress) GetCountryOk

func (o *OpenapiPayoutCreateRequestSenderAddress) 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.

func (*OpenapiPayoutCreateRequestSenderAddress) GetLine1

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

func (*OpenapiPayoutCreateRequestSenderAddress) GetLine1Ok

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 (*OpenapiPayoutCreateRequestSenderAddress) GetLine2

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

func (*OpenapiPayoutCreateRequestSenderAddress) GetLine2Ok

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 (*OpenapiPayoutCreateRequestSenderAddress) GetLine3

GetLine3 returns the Line3 field value if set, zero value otherwise.

func (*OpenapiPayoutCreateRequestSenderAddress) GetLine3Ok

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

func (*OpenapiPayoutCreateRequestSenderAddress) GetPostalCode

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

func (*OpenapiPayoutCreateRequestSenderAddress) GetPostalCodeOk

func (o *OpenapiPayoutCreateRequestSenderAddress) 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 (*OpenapiPayoutCreateRequestSenderAddress) HasCity

HasCity returns a boolean if a field has been set.

func (*OpenapiPayoutCreateRequestSenderAddress) HasCountry

HasCountry returns a boolean if a field has been set.

func (*OpenapiPayoutCreateRequestSenderAddress) HasLine1

HasLine1 returns a boolean if a field has been set.

func (*OpenapiPayoutCreateRequestSenderAddress) HasLine2

HasLine2 returns a boolean if a field has been set.

func (*OpenapiPayoutCreateRequestSenderAddress) HasLine3

HasLine3 returns a boolean if a field has been set.

func (*OpenapiPayoutCreateRequestSenderAddress) HasPostalCode

func (o *OpenapiPayoutCreateRequestSenderAddress) HasPostalCode() bool

HasPostalCode returns a boolean if a field has been set.

func (OpenapiPayoutCreateRequestSenderAddress) MarshalJSON

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

func (*OpenapiPayoutCreateRequestSenderAddress) SetCity

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

func (*OpenapiPayoutCreateRequestSenderAddress) SetCountry

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

func (*OpenapiPayoutCreateRequestSenderAddress) SetLine1

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

func (*OpenapiPayoutCreateRequestSenderAddress) SetLine2

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

func (*OpenapiPayoutCreateRequestSenderAddress) SetLine3

SetLine3 gets a reference to the given string and assigns it to the Line3 field.

func (*OpenapiPayoutCreateRequestSenderAddress) SetPostalCode

func (o *OpenapiPayoutCreateRequestSenderAddress) SetPostalCode(v string)

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

func (OpenapiPayoutCreateRequestSenderAddress) ToMap

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

type OpenapiPayoutCreateRequestSenderIndividual

type OpenapiPayoutCreateRequestSenderIndividual struct {
	// Date of birth formatted as yyyy-mm-dd
	Dob              *string                                                     `json:"dob,omitempty"`
	IdentityDocument *OpenapiPayoutCreateRequestSenderIndividualIdentityDocument `json:"identity_document,omitempty"`
}

OpenapiPayoutCreateRequestSenderIndividual struct for OpenapiPayoutCreateRequestSenderIndividual

func NewOpenapiPayoutCreateRequestSenderIndividual

func NewOpenapiPayoutCreateRequestSenderIndividual() *OpenapiPayoutCreateRequestSenderIndividual

NewOpenapiPayoutCreateRequestSenderIndividual instantiates a new OpenapiPayoutCreateRequestSenderIndividual 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 NewOpenapiPayoutCreateRequestSenderIndividualWithDefaults

func NewOpenapiPayoutCreateRequestSenderIndividualWithDefaults() *OpenapiPayoutCreateRequestSenderIndividual

NewOpenapiPayoutCreateRequestSenderIndividualWithDefaults instantiates a new OpenapiPayoutCreateRequestSenderIndividual 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 (*OpenapiPayoutCreateRequestSenderIndividual) GetDob

GetDob returns the Dob field value if set, zero value otherwise.

func (*OpenapiPayoutCreateRequestSenderIndividual) GetDobOk

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

func (*OpenapiPayoutCreateRequestSenderIndividual) GetIdentityDocument

GetIdentityDocument returns the IdentityDocument field value if set, zero value otherwise.

func (*OpenapiPayoutCreateRequestSenderIndividual) GetIdentityDocumentOk

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

func (*OpenapiPayoutCreateRequestSenderIndividual) HasDob

HasDob returns a boolean if a field has been set.

func (*OpenapiPayoutCreateRequestSenderIndividual) HasIdentityDocument

func (o *OpenapiPayoutCreateRequestSenderIndividual) HasIdentityDocument() bool

HasIdentityDocument returns a boolean if a field has been set.

func (OpenapiPayoutCreateRequestSenderIndividual) MarshalJSON

func (*OpenapiPayoutCreateRequestSenderIndividual) SetDob

SetDob gets a reference to the given string and assigns it to the Dob field.

func (*OpenapiPayoutCreateRequestSenderIndividual) SetIdentityDocument

SetIdentityDocument gets a reference to the given OpenapiPayoutCreateRequestSenderIndividualIdentityDocument and assigns it to the IdentityDocument field.

func (OpenapiPayoutCreateRequestSenderIndividual) ToMap

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

type OpenapiPayoutCreateRequestSenderIndividualIdentityDocument

type OpenapiPayoutCreateRequestSenderIndividualIdentityDocument struct {
	// <span style=\"color:#e95f6a;\">required if identity_document is provided</span>  The ISO 3166 alpha-2 country code indicating the issuing country of the document.
	Country *string `json:"country,omitempty"`
	// <span style=\"color:#e95f6a;\">required if identity_document is provided</span>  Date formatted as yyyy-mm-dd
	ExpiresOn *string `json:"expires_on,omitempty"`
	// Date formatted as yyyy-mm-dd
	IssuedOn *string `json:"issued_on,omitempty"`
	// <span style=\"color:#e95f6a;\">required if identity_document is provided</span>
	Number *string `json:"number,omitempty"`
	// <span style=\"color:#e95f6a;\">required if identity_document is provided</span>  One of `PASSPORT`, `DRIVING_LICENCE`, `NATIONAL_ID_CARD`
	Type *string `json:"type,omitempty"`
}

OpenapiPayoutCreateRequestSenderIndividualIdentityDocument struct for OpenapiPayoutCreateRequestSenderIndividualIdentityDocument

func NewOpenapiPayoutCreateRequestSenderIndividualIdentityDocument

func NewOpenapiPayoutCreateRequestSenderIndividualIdentityDocument() *OpenapiPayoutCreateRequestSenderIndividualIdentityDocument

NewOpenapiPayoutCreateRequestSenderIndividualIdentityDocument instantiates a new OpenapiPayoutCreateRequestSenderIndividualIdentityDocument 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 NewOpenapiPayoutCreateRequestSenderIndividualIdentityDocumentWithDefaults

func NewOpenapiPayoutCreateRequestSenderIndividualIdentityDocumentWithDefaults() *OpenapiPayoutCreateRequestSenderIndividualIdentityDocument

NewOpenapiPayoutCreateRequestSenderIndividualIdentityDocumentWithDefaults instantiates a new OpenapiPayoutCreateRequestSenderIndividualIdentityDocument 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 (*OpenapiPayoutCreateRequestSenderIndividualIdentityDocument) GetCountry

GetCountry returns the Country field value if set, zero value otherwise.

func (*OpenapiPayoutCreateRequestSenderIndividualIdentityDocument) GetCountryOk

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

func (*OpenapiPayoutCreateRequestSenderIndividualIdentityDocument) GetExpiresOn

GetExpiresOn returns the ExpiresOn field value if set, zero value otherwise.

func (*OpenapiPayoutCreateRequestSenderIndividualIdentityDocument) GetExpiresOnOk

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

func (*OpenapiPayoutCreateRequestSenderIndividualIdentityDocument) GetIssuedOn

GetIssuedOn returns the IssuedOn field value if set, zero value otherwise.

func (*OpenapiPayoutCreateRequestSenderIndividualIdentityDocument) GetIssuedOnOk

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

func (*OpenapiPayoutCreateRequestSenderIndividualIdentityDocument) GetNumber

GetNumber returns the Number field value if set, zero value otherwise.

func (*OpenapiPayoutCreateRequestSenderIndividualIdentityDocument) GetNumberOk

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

func (*OpenapiPayoutCreateRequestSenderIndividualIdentityDocument) GetType

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

func (*OpenapiPayoutCreateRequestSenderIndividualIdentityDocument) GetTypeOk

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 (*OpenapiPayoutCreateRequestSenderIndividualIdentityDocument) HasCountry

HasCountry returns a boolean if a field has been set.

func (*OpenapiPayoutCreateRequestSenderIndividualIdentityDocument) HasExpiresOn

HasExpiresOn returns a boolean if a field has been set.

func (*OpenapiPayoutCreateRequestSenderIndividualIdentityDocument) HasIssuedOn

HasIssuedOn returns a boolean if a field has been set.

func (*OpenapiPayoutCreateRequestSenderIndividualIdentityDocument) HasNumber

HasNumber returns a boolean if a field has been set.

func (*OpenapiPayoutCreateRequestSenderIndividualIdentityDocument) HasType

HasType returns a boolean if a field has been set.

func (OpenapiPayoutCreateRequestSenderIndividualIdentityDocument) MarshalJSON

func (*OpenapiPayoutCreateRequestSenderIndividualIdentityDocument) SetCountry

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

func (*OpenapiPayoutCreateRequestSenderIndividualIdentityDocument) SetExpiresOn

SetExpiresOn gets a reference to the given string and assigns it to the ExpiresOn field.

func (*OpenapiPayoutCreateRequestSenderIndividualIdentityDocument) SetIssuedOn

SetIssuedOn gets a reference to the given string and assigns it to the IssuedOn field.

func (*OpenapiPayoutCreateRequestSenderIndividualIdentityDocument) SetNumber

SetNumber gets a reference to the given string and assigns it to the Number field.

func (*OpenapiPayoutCreateRequestSenderIndividualIdentityDocument) SetType

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

func (OpenapiPayoutCreateRequestSenderIndividualIdentityDocument) ToMap

type OpenapiPayoutCreateResponse

type OpenapiPayoutCreateResponse struct {
	Amount    *OpenapiPayoutCreateResponseAmount `json:"amount,omitempty"`
	CreatedAt *string                            `json:"created_at,omitempty"`
	CustomId  *string                            `json:"custom_id,omitempty"`
	// The payout unique identifier
	Id *string `json:"id,omitempty"`
	// The recipient payment account receiving funds
	PaymentAccountId *string                            `json:"payment_account_id,omitempty"`
	Sender           *OpenapiPayoutCreateResponseSender `json:"sender,omitempty"`
	State            *OpenapiPayoutCreateResponseState  `json:"state,omitempty"`
	// The wallet ID from which the money will disburse
	WalletId *string `json:"wallet_id,omitempty"`
}

OpenapiPayoutCreateResponse struct for OpenapiPayoutCreateResponse

func NewOpenapiPayoutCreateResponse

func NewOpenapiPayoutCreateResponse() *OpenapiPayoutCreateResponse

NewOpenapiPayoutCreateResponse instantiates a new OpenapiPayoutCreateResponse 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 NewOpenapiPayoutCreateResponseWithDefaults

func NewOpenapiPayoutCreateResponseWithDefaults() *OpenapiPayoutCreateResponse

NewOpenapiPayoutCreateResponseWithDefaults instantiates a new OpenapiPayoutCreateResponse 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 (*OpenapiPayoutCreateResponse) GetAmount

GetAmount returns the Amount field value if set, zero value otherwise.

func (*OpenapiPayoutCreateResponse) GetAmountOk

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

func (*OpenapiPayoutCreateResponse) GetCreatedAt

func (o *OpenapiPayoutCreateResponse) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*OpenapiPayoutCreateResponse) GetCreatedAtOk

func (o *OpenapiPayoutCreateResponse) GetCreatedAtOk() (*string, bool)

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

func (*OpenapiPayoutCreateResponse) GetCustomId

func (o *OpenapiPayoutCreateResponse) GetCustomId() string

GetCustomId returns the CustomId field value if set, zero value otherwise.

func (*OpenapiPayoutCreateResponse) GetCustomIdOk

func (o *OpenapiPayoutCreateResponse) GetCustomIdOk() (*string, bool)

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

func (*OpenapiPayoutCreateResponse) GetId

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

func (*OpenapiPayoutCreateResponse) GetIdOk

func (o *OpenapiPayoutCreateResponse) 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 (*OpenapiPayoutCreateResponse) GetPaymentAccountId

func (o *OpenapiPayoutCreateResponse) GetPaymentAccountId() string

GetPaymentAccountId returns the PaymentAccountId field value if set, zero value otherwise.

func (*OpenapiPayoutCreateResponse) GetPaymentAccountIdOk

func (o *OpenapiPayoutCreateResponse) GetPaymentAccountIdOk() (*string, bool)

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

func (*OpenapiPayoutCreateResponse) GetSender

GetSender returns the Sender field value if set, zero value otherwise.

func (*OpenapiPayoutCreateResponse) GetSenderOk

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

func (*OpenapiPayoutCreateResponse) GetState

GetState returns the State field value if set, zero value otherwise.

func (*OpenapiPayoutCreateResponse) GetStateOk

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

func (*OpenapiPayoutCreateResponse) GetWalletId

func (o *OpenapiPayoutCreateResponse) GetWalletId() string

GetWalletId returns the WalletId field value if set, zero value otherwise.

func (*OpenapiPayoutCreateResponse) GetWalletIdOk

func (o *OpenapiPayoutCreateResponse) GetWalletIdOk() (*string, bool)

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

func (*OpenapiPayoutCreateResponse) HasAmount

func (o *OpenapiPayoutCreateResponse) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*OpenapiPayoutCreateResponse) HasCreatedAt

func (o *OpenapiPayoutCreateResponse) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*OpenapiPayoutCreateResponse) HasCustomId

func (o *OpenapiPayoutCreateResponse) HasCustomId() bool

HasCustomId returns a boolean if a field has been set.

func (*OpenapiPayoutCreateResponse) HasId

func (o *OpenapiPayoutCreateResponse) HasId() bool

HasId returns a boolean if a field has been set.

func (*OpenapiPayoutCreateResponse) HasPaymentAccountId

func (o *OpenapiPayoutCreateResponse) HasPaymentAccountId() bool

HasPaymentAccountId returns a boolean if a field has been set.

func (*OpenapiPayoutCreateResponse) HasSender

func (o *OpenapiPayoutCreateResponse) HasSender() bool

HasSender returns a boolean if a field has been set.

func (*OpenapiPayoutCreateResponse) HasState

func (o *OpenapiPayoutCreateResponse) HasState() bool

HasState returns a boolean if a field has been set.

func (*OpenapiPayoutCreateResponse) HasWalletId

func (o *OpenapiPayoutCreateResponse) HasWalletId() bool

HasWalletId returns a boolean if a field has been set.

func (OpenapiPayoutCreateResponse) MarshalJSON

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

func (*OpenapiPayoutCreateResponse) SetAmount

SetAmount gets a reference to the given OpenapiPayoutCreateResponseAmount and assigns it to the Amount field.

func (*OpenapiPayoutCreateResponse) SetCreatedAt

func (o *OpenapiPayoutCreateResponse) SetCreatedAt(v string)

SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.

func (*OpenapiPayoutCreateResponse) SetCustomId

func (o *OpenapiPayoutCreateResponse) SetCustomId(v string)

SetCustomId gets a reference to the given string and assigns it to the CustomId field.

func (*OpenapiPayoutCreateResponse) SetId

func (o *OpenapiPayoutCreateResponse) SetId(v string)

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

func (*OpenapiPayoutCreateResponse) SetPaymentAccountId

func (o *OpenapiPayoutCreateResponse) SetPaymentAccountId(v string)

SetPaymentAccountId gets a reference to the given string and assigns it to the PaymentAccountId field.

func (*OpenapiPayoutCreateResponse) SetSender

SetSender gets a reference to the given OpenapiPayoutCreateResponseSender and assigns it to the Sender field.

func (*OpenapiPayoutCreateResponse) SetState

SetState gets a reference to the given OpenapiPayoutCreateResponseState and assigns it to the State field.

func (*OpenapiPayoutCreateResponse) SetWalletId

func (o *OpenapiPayoutCreateResponse) SetWalletId(v string)

SetWalletId gets a reference to the given string and assigns it to the WalletId field.

func (OpenapiPayoutCreateResponse) ToMap

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

type OpenapiPayoutCreateResponseAmount

type OpenapiPayoutCreateResponseAmount struct {
	// The currency associated with the amount value, formatted according to ISO 4217
	Currency *string `json:"currency,omitempty"`
	Value    *string `json:"value,omitempty"`
}

OpenapiPayoutCreateResponseAmount struct for OpenapiPayoutCreateResponseAmount

func NewOpenapiPayoutCreateResponseAmount

func NewOpenapiPayoutCreateResponseAmount() *OpenapiPayoutCreateResponseAmount

NewOpenapiPayoutCreateResponseAmount instantiates a new OpenapiPayoutCreateResponseAmount 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 NewOpenapiPayoutCreateResponseAmountWithDefaults

func NewOpenapiPayoutCreateResponseAmountWithDefaults() *OpenapiPayoutCreateResponseAmount

NewOpenapiPayoutCreateResponseAmountWithDefaults instantiates a new OpenapiPayoutCreateResponseAmount 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 (*OpenapiPayoutCreateResponseAmount) GetCurrency

func (o *OpenapiPayoutCreateResponseAmount) GetCurrency() string

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

func (*OpenapiPayoutCreateResponseAmount) GetCurrencyOk

func (o *OpenapiPayoutCreateResponseAmount) 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 (*OpenapiPayoutCreateResponseAmount) GetValue

GetValue returns the Value field value if set, zero value otherwise.

func (*OpenapiPayoutCreateResponseAmount) GetValueOk

func (o *OpenapiPayoutCreateResponseAmount) GetValueOk() (*string, bool)

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

func (*OpenapiPayoutCreateResponseAmount) HasCurrency

func (o *OpenapiPayoutCreateResponseAmount) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (*OpenapiPayoutCreateResponseAmount) HasValue

HasValue returns a boolean if a field has been set.

func (OpenapiPayoutCreateResponseAmount) MarshalJSON

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

func (*OpenapiPayoutCreateResponseAmount) SetCurrency

func (o *OpenapiPayoutCreateResponseAmount) SetCurrency(v string)

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

func (*OpenapiPayoutCreateResponseAmount) SetValue

SetValue gets a reference to the given string and assigns it to the Value field.

func (OpenapiPayoutCreateResponseAmount) ToMap

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

type OpenapiPayoutCreateResponseSender

type OpenapiPayoutCreateResponseSender struct {
	Address    *OpenapiPayoutCreateResponseSenderAddress    `json:"address,omitempty"`
	Individual *OpenapiPayoutCreateResponseSenderIndividual `json:"individual,omitempty"`
	// The individual full name or registered business legal name
	Name *string `json:"name,omitempty"`
	Type *string `json:"type,omitempty"`
}

OpenapiPayoutCreateResponseSender struct for OpenapiPayoutCreateResponseSender

func NewOpenapiPayoutCreateResponseSender

func NewOpenapiPayoutCreateResponseSender() *OpenapiPayoutCreateResponseSender

NewOpenapiPayoutCreateResponseSender instantiates a new OpenapiPayoutCreateResponseSender 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 NewOpenapiPayoutCreateResponseSenderWithDefaults

func NewOpenapiPayoutCreateResponseSenderWithDefaults() *OpenapiPayoutCreateResponseSender

NewOpenapiPayoutCreateResponseSenderWithDefaults instantiates a new OpenapiPayoutCreateResponseSender 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 (*OpenapiPayoutCreateResponseSender) GetAddress

GetAddress returns the Address field value if set, zero value otherwise.

func (*OpenapiPayoutCreateResponseSender) GetAddressOk

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

func (*OpenapiPayoutCreateResponseSender) GetIndividual

GetIndividual returns the Individual field value if set, zero value otherwise.

func (*OpenapiPayoutCreateResponseSender) GetIndividualOk

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

func (*OpenapiPayoutCreateResponseSender) GetName

GetName returns the Name field value if set, zero value otherwise.

func (*OpenapiPayoutCreateResponseSender) GetNameOk

func (o *OpenapiPayoutCreateResponseSender) GetNameOk() (*string, bool)

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

func (*OpenapiPayoutCreateResponseSender) GetType

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

func (*OpenapiPayoutCreateResponseSender) GetTypeOk

func (o *OpenapiPayoutCreateResponseSender) 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 (*OpenapiPayoutCreateResponseSender) HasAddress

func (o *OpenapiPayoutCreateResponseSender) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*OpenapiPayoutCreateResponseSender) HasIndividual

func (o *OpenapiPayoutCreateResponseSender) HasIndividual() bool

HasIndividual returns a boolean if a field has been set.

func (*OpenapiPayoutCreateResponseSender) HasName

HasName returns a boolean if a field has been set.

func (*OpenapiPayoutCreateResponseSender) HasType

HasType returns a boolean if a field has been set.

func (OpenapiPayoutCreateResponseSender) MarshalJSON

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

func (*OpenapiPayoutCreateResponseSender) SetAddress

SetAddress gets a reference to the given OpenapiPayoutCreateResponseSenderAddress and assigns it to the Address field.

func (*OpenapiPayoutCreateResponseSender) SetIndividual

SetIndividual gets a reference to the given OpenapiPayoutCreateResponseSenderIndividual and assigns it to the Individual field.

func (*OpenapiPayoutCreateResponseSender) SetName

SetName gets a reference to the given string and assigns it to the Name field.

func (*OpenapiPayoutCreateResponseSender) SetType

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

func (OpenapiPayoutCreateResponseSender) ToMap

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

type OpenapiPayoutCreateResponseSenderAddress

type OpenapiPayoutCreateResponseSenderAddress struct {
	City *string `json:"city,omitempty"`
	// The ISO 3166 alpha-2 country code associated with the address.
	Country    *string `json:"country,omitempty"`
	Line1      *string `json:"line_1,omitempty"`
	Line2      *string `json:"line_2,omitempty"`
	Line3      *string `json:"line_3,omitempty"`
	PostalCode *string `json:"postal_code,omitempty"`
}

OpenapiPayoutCreateResponseSenderAddress struct for OpenapiPayoutCreateResponseSenderAddress

func NewOpenapiPayoutCreateResponseSenderAddress

func NewOpenapiPayoutCreateResponseSenderAddress() *OpenapiPayoutCreateResponseSenderAddress

NewOpenapiPayoutCreateResponseSenderAddress instantiates a new OpenapiPayoutCreateResponseSenderAddress 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 NewOpenapiPayoutCreateResponseSenderAddressWithDefaults

func NewOpenapiPayoutCreateResponseSenderAddressWithDefaults() *OpenapiPayoutCreateResponseSenderAddress

NewOpenapiPayoutCreateResponseSenderAddressWithDefaults instantiates a new OpenapiPayoutCreateResponseSenderAddress 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 (*OpenapiPayoutCreateResponseSenderAddress) GetCity

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

func (*OpenapiPayoutCreateResponseSenderAddress) GetCityOk

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 (*OpenapiPayoutCreateResponseSenderAddress) GetCountry

GetCountry returns the Country field value if set, zero value otherwise.

func (*OpenapiPayoutCreateResponseSenderAddress) GetCountryOk

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

func (*OpenapiPayoutCreateResponseSenderAddress) GetLine1

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

func (*OpenapiPayoutCreateResponseSenderAddress) GetLine1Ok

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 (*OpenapiPayoutCreateResponseSenderAddress) GetLine2

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

func (*OpenapiPayoutCreateResponseSenderAddress) GetLine2Ok

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 (*OpenapiPayoutCreateResponseSenderAddress) GetLine3

GetLine3 returns the Line3 field value if set, zero value otherwise.

func (*OpenapiPayoutCreateResponseSenderAddress) GetLine3Ok

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

func (*OpenapiPayoutCreateResponseSenderAddress) GetPostalCode

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

func (*OpenapiPayoutCreateResponseSenderAddress) GetPostalCodeOk

func (o *OpenapiPayoutCreateResponseSenderAddress) 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 (*OpenapiPayoutCreateResponseSenderAddress) HasCity

HasCity returns a boolean if a field has been set.

func (*OpenapiPayoutCreateResponseSenderAddress) HasCountry

HasCountry returns a boolean if a field has been set.

func (*OpenapiPayoutCreateResponseSenderAddress) HasLine1

HasLine1 returns a boolean if a field has been set.

func (*OpenapiPayoutCreateResponseSenderAddress) HasLine2

HasLine2 returns a boolean if a field has been set.

func (*OpenapiPayoutCreateResponseSenderAddress) HasLine3

HasLine3 returns a boolean if a field has been set.

func (*OpenapiPayoutCreateResponseSenderAddress) HasPostalCode

HasPostalCode returns a boolean if a field has been set.

func (OpenapiPayoutCreateResponseSenderAddress) MarshalJSON

func (*OpenapiPayoutCreateResponseSenderAddress) SetCity

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

func (*OpenapiPayoutCreateResponseSenderAddress) SetCountry

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

func (*OpenapiPayoutCreateResponseSenderAddress) SetLine1

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

func (*OpenapiPayoutCreateResponseSenderAddress) SetLine2

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

func (*OpenapiPayoutCreateResponseSenderAddress) SetLine3

SetLine3 gets a reference to the given string and assigns it to the Line3 field.

func (*OpenapiPayoutCreateResponseSenderAddress) SetPostalCode

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

func (OpenapiPayoutCreateResponseSenderAddress) ToMap

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

type OpenapiPayoutCreateResponseSenderIndividual

type OpenapiPayoutCreateResponseSenderIndividual struct {
	// Date of birth formatted as yyyy-mm-dd
	Dob              *string                                                      `json:"dob,omitempty"`
	IdentityDocument *OpenapiPayoutCreateResponseSenderIndividualIdentityDocument `json:"identity_document,omitempty"`
}

OpenapiPayoutCreateResponseSenderIndividual struct for OpenapiPayoutCreateResponseSenderIndividual

func NewOpenapiPayoutCreateResponseSenderIndividual

func NewOpenapiPayoutCreateResponseSenderIndividual() *OpenapiPayoutCreateResponseSenderIndividual

NewOpenapiPayoutCreateResponseSenderIndividual instantiates a new OpenapiPayoutCreateResponseSenderIndividual 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 NewOpenapiPayoutCreateResponseSenderIndividualWithDefaults

func NewOpenapiPayoutCreateResponseSenderIndividualWithDefaults() *OpenapiPayoutCreateResponseSenderIndividual

NewOpenapiPayoutCreateResponseSenderIndividualWithDefaults instantiates a new OpenapiPayoutCreateResponseSenderIndividual 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 (*OpenapiPayoutCreateResponseSenderIndividual) GetDob

GetDob returns the Dob field value if set, zero value otherwise.

func (*OpenapiPayoutCreateResponseSenderIndividual) GetDobOk

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

func (*OpenapiPayoutCreateResponseSenderIndividual) GetIdentityDocument

GetIdentityDocument returns the IdentityDocument field value if set, zero value otherwise.

func (*OpenapiPayoutCreateResponseSenderIndividual) GetIdentityDocumentOk

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

func (*OpenapiPayoutCreateResponseSenderIndividual) HasDob

HasDob returns a boolean if a field has been set.

func (*OpenapiPayoutCreateResponseSenderIndividual) HasIdentityDocument

func (o *OpenapiPayoutCreateResponseSenderIndividual) HasIdentityDocument() bool

HasIdentityDocument returns a boolean if a field has been set.

func (OpenapiPayoutCreateResponseSenderIndividual) MarshalJSON

func (*OpenapiPayoutCreateResponseSenderIndividual) SetDob

SetDob gets a reference to the given string and assigns it to the Dob field.

func (*OpenapiPayoutCreateResponseSenderIndividual) SetIdentityDocument

SetIdentityDocument gets a reference to the given OpenapiPayoutCreateResponseSenderIndividualIdentityDocument and assigns it to the IdentityDocument field.

func (OpenapiPayoutCreateResponseSenderIndividual) ToMap

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

type OpenapiPayoutCreateResponseSenderIndividualIdentityDocument

type OpenapiPayoutCreateResponseSenderIndividualIdentityDocument struct {
	// The ISO 3166 alpha-2 country code indicating the issuing country of the document.
	Country *string `json:"country,omitempty"`
	// Date formatted as yyyy-mm-dd
	ExpiresOn *string `json:"expires_on,omitempty"`
	// Date formatted as yyyy-mm-dd
	IssuedOn *string `json:"issued_on,omitempty"`
	Number   *string `json:"number,omitempty"`
	Type     *string `json:"type,omitempty"`
}

OpenapiPayoutCreateResponseSenderIndividualIdentityDocument struct for OpenapiPayoutCreateResponseSenderIndividualIdentityDocument

func NewOpenapiPayoutCreateResponseSenderIndividualIdentityDocument

func NewOpenapiPayoutCreateResponseSenderIndividualIdentityDocument() *OpenapiPayoutCreateResponseSenderIndividualIdentityDocument

NewOpenapiPayoutCreateResponseSenderIndividualIdentityDocument instantiates a new OpenapiPayoutCreateResponseSenderIndividualIdentityDocument 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 NewOpenapiPayoutCreateResponseSenderIndividualIdentityDocumentWithDefaults

func NewOpenapiPayoutCreateResponseSenderIndividualIdentityDocumentWithDefaults() *OpenapiPayoutCreateResponseSenderIndividualIdentityDocument

NewOpenapiPayoutCreateResponseSenderIndividualIdentityDocumentWithDefaults instantiates a new OpenapiPayoutCreateResponseSenderIndividualIdentityDocument 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 (*OpenapiPayoutCreateResponseSenderIndividualIdentityDocument) GetCountry

GetCountry returns the Country field value if set, zero value otherwise.

func (*OpenapiPayoutCreateResponseSenderIndividualIdentityDocument) GetCountryOk

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

func (*OpenapiPayoutCreateResponseSenderIndividualIdentityDocument) GetExpiresOn

GetExpiresOn returns the ExpiresOn field value if set, zero value otherwise.

func (*OpenapiPayoutCreateResponseSenderIndividualIdentityDocument) GetExpiresOnOk

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

func (*OpenapiPayoutCreateResponseSenderIndividualIdentityDocument) GetIssuedOn

GetIssuedOn returns the IssuedOn field value if set, zero value otherwise.

func (*OpenapiPayoutCreateResponseSenderIndividualIdentityDocument) GetIssuedOnOk

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

func (*OpenapiPayoutCreateResponseSenderIndividualIdentityDocument) GetNumber

GetNumber returns the Number field value if set, zero value otherwise.

func (*OpenapiPayoutCreateResponseSenderIndividualIdentityDocument) GetNumberOk

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

func (*OpenapiPayoutCreateResponseSenderIndividualIdentityDocument) GetType

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

func (*OpenapiPayoutCreateResponseSenderIndividualIdentityDocument) GetTypeOk

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 (*OpenapiPayoutCreateResponseSenderIndividualIdentityDocument) HasCountry

HasCountry returns a boolean if a field has been set.

func (*OpenapiPayoutCreateResponseSenderIndividualIdentityDocument) HasExpiresOn

HasExpiresOn returns a boolean if a field has been set.

func (*OpenapiPayoutCreateResponseSenderIndividualIdentityDocument) HasIssuedOn

HasIssuedOn returns a boolean if a field has been set.

func (*OpenapiPayoutCreateResponseSenderIndividualIdentityDocument) HasNumber

HasNumber returns a boolean if a field has been set.

func (*OpenapiPayoutCreateResponseSenderIndividualIdentityDocument) HasType

HasType returns a boolean if a field has been set.

func (OpenapiPayoutCreateResponseSenderIndividualIdentityDocument) MarshalJSON

func (*OpenapiPayoutCreateResponseSenderIndividualIdentityDocument) SetCountry

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

func (*OpenapiPayoutCreateResponseSenderIndividualIdentityDocument) SetExpiresOn

SetExpiresOn gets a reference to the given string and assigns it to the ExpiresOn field.

func (*OpenapiPayoutCreateResponseSenderIndividualIdentityDocument) SetIssuedOn

SetIssuedOn gets a reference to the given string and assigns it to the IssuedOn field.

func (*OpenapiPayoutCreateResponseSenderIndividualIdentityDocument) SetNumber

SetNumber gets a reference to the given string and assigns it to the Number field.

func (*OpenapiPayoutCreateResponseSenderIndividualIdentityDocument) SetType

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

func (OpenapiPayoutCreateResponseSenderIndividualIdentityDocument) ToMap

type OpenapiPayoutCreateResponseState

type OpenapiPayoutCreateResponseState struct {
	// The state code signifies the overall status of a payout. For detailed information about the meaning of each state, please consult the lifecycle section above.
	Code *string `json:"code,omitempty"`
	// Together with the \"code\" property, the \"context\" property offers additional context and information, whenever possible, about the specific state. For instance, if a payout fails, there are numerous reasons why this might occur. The \"context\" property will provide more detailed information in such cases.
	Context *string `json:"context,omitempty"`
}

OpenapiPayoutCreateResponseState struct for OpenapiPayoutCreateResponseState

func NewOpenapiPayoutCreateResponseState

func NewOpenapiPayoutCreateResponseState() *OpenapiPayoutCreateResponseState

NewOpenapiPayoutCreateResponseState instantiates a new OpenapiPayoutCreateResponseState 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 NewOpenapiPayoutCreateResponseStateWithDefaults

func NewOpenapiPayoutCreateResponseStateWithDefaults() *OpenapiPayoutCreateResponseState

NewOpenapiPayoutCreateResponseStateWithDefaults instantiates a new OpenapiPayoutCreateResponseState 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 (*OpenapiPayoutCreateResponseState) GetCode

GetCode returns the Code field value if set, zero value otherwise.

func (*OpenapiPayoutCreateResponseState) GetCodeOk

func (o *OpenapiPayoutCreateResponseState) 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.

func (*OpenapiPayoutCreateResponseState) GetContext

func (o *OpenapiPayoutCreateResponseState) GetContext() string

GetContext returns the Context field value if set, zero value otherwise.

func (*OpenapiPayoutCreateResponseState) GetContextOk

func (o *OpenapiPayoutCreateResponseState) GetContextOk() (*string, bool)

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

func (*OpenapiPayoutCreateResponseState) HasCode

HasCode returns a boolean if a field has been set.

func (*OpenapiPayoutCreateResponseState) HasContext

func (o *OpenapiPayoutCreateResponseState) HasContext() bool

HasContext returns a boolean if a field has been set.

func (OpenapiPayoutCreateResponseState) MarshalJSON

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

func (*OpenapiPayoutCreateResponseState) SetCode

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

func (*OpenapiPayoutCreateResponseState) SetContext

func (o *OpenapiPayoutCreateResponseState) SetContext(v string)

SetContext gets a reference to the given string and assigns it to the Context field.

func (OpenapiPayoutCreateResponseState) ToMap

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

type OpenapiPayoutGetResponse

type OpenapiPayoutGetResponse struct {
	Amount    *OpenapiPayoutCreateResponseAmount `json:"amount,omitempty"`
	CreatedAt *string                            `json:"created_at,omitempty"`
	CustomId  *string                            `json:"custom_id,omitempty"`
	// The payout unique identifier
	Id *string `json:"id,omitempty"`
	// The recipient payment account receiving funds
	PaymentAccountId *string `json:"payment_account_id,omitempty"`
	// The reference provided by the recipient account's actual bank or telco on a successful payout.  > ⚠️ > It's important to be aware that this information might not be accessible for every payout. If there's no way for us to obtain it, this property will be omitted entirely. Hence, we highly recommend implementing conditional checks to confirm the presence of this property.
	Receipt *string                            `json:"receipt,omitempty"`
	Sender  *OpenapiPayoutCreateResponseSender `json:"sender,omitempty"`
	State   *OpenapiPayoutCreateResponseState  `json:"state,omitempty"`
	// The wallet ID from which the money will disburse
	WalletId *string `json:"wallet_id,omitempty"`
}

OpenapiPayoutGetResponse struct for OpenapiPayoutGetResponse

func NewOpenapiPayoutGetResponse

func NewOpenapiPayoutGetResponse() *OpenapiPayoutGetResponse

NewOpenapiPayoutGetResponse instantiates a new OpenapiPayoutGetResponse 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 NewOpenapiPayoutGetResponseWithDefaults

func NewOpenapiPayoutGetResponseWithDefaults() *OpenapiPayoutGetResponse

NewOpenapiPayoutGetResponseWithDefaults instantiates a new OpenapiPayoutGetResponse 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 (*OpenapiPayoutGetResponse) GetAmount

GetAmount returns the Amount field value if set, zero value otherwise.

func (*OpenapiPayoutGetResponse) GetAmountOk

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

func (*OpenapiPayoutGetResponse) GetCreatedAt

func (o *OpenapiPayoutGetResponse) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*OpenapiPayoutGetResponse) GetCreatedAtOk

func (o *OpenapiPayoutGetResponse) GetCreatedAtOk() (*string, bool)

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

func (*OpenapiPayoutGetResponse) GetCustomId

func (o *OpenapiPayoutGetResponse) GetCustomId() string

GetCustomId returns the CustomId field value if set, zero value otherwise.

func (*OpenapiPayoutGetResponse) GetCustomIdOk

func (o *OpenapiPayoutGetResponse) GetCustomIdOk() (*string, bool)

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

func (*OpenapiPayoutGetResponse) GetId

func (o *OpenapiPayoutGetResponse) GetId() string

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

func (*OpenapiPayoutGetResponse) GetIdOk

func (o *OpenapiPayoutGetResponse) 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 (*OpenapiPayoutGetResponse) GetPaymentAccountId

func (o *OpenapiPayoutGetResponse) GetPaymentAccountId() string

GetPaymentAccountId returns the PaymentAccountId field value if set, zero value otherwise.

func (*OpenapiPayoutGetResponse) GetPaymentAccountIdOk

func (o *OpenapiPayoutGetResponse) GetPaymentAccountIdOk() (*string, bool)

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

func (*OpenapiPayoutGetResponse) GetReceipt

func (o *OpenapiPayoutGetResponse) GetReceipt() string

GetReceipt returns the Receipt field value if set, zero value otherwise.

func (*OpenapiPayoutGetResponse) GetReceiptOk

func (o *OpenapiPayoutGetResponse) GetReceiptOk() (*string, bool)

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

func (*OpenapiPayoutGetResponse) GetSender

GetSender returns the Sender field value if set, zero value otherwise.

func (*OpenapiPayoutGetResponse) GetSenderOk

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

func (*OpenapiPayoutGetResponse) GetState

GetState returns the State field value if set, zero value otherwise.

func (*OpenapiPayoutGetResponse) GetStateOk

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

func (*OpenapiPayoutGetResponse) GetWalletId

func (o *OpenapiPayoutGetResponse) GetWalletId() string

GetWalletId returns the WalletId field value if set, zero value otherwise.

func (*OpenapiPayoutGetResponse) GetWalletIdOk

func (o *OpenapiPayoutGetResponse) GetWalletIdOk() (*string, bool)

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

func (*OpenapiPayoutGetResponse) HasAmount

func (o *OpenapiPayoutGetResponse) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*OpenapiPayoutGetResponse) HasCreatedAt

func (o *OpenapiPayoutGetResponse) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*OpenapiPayoutGetResponse) HasCustomId

func (o *OpenapiPayoutGetResponse) HasCustomId() bool

HasCustomId returns a boolean if a field has been set.

func (*OpenapiPayoutGetResponse) HasId

func (o *OpenapiPayoutGetResponse) HasId() bool

HasId returns a boolean if a field has been set.

func (*OpenapiPayoutGetResponse) HasPaymentAccountId

func (o *OpenapiPayoutGetResponse) HasPaymentAccountId() bool

HasPaymentAccountId returns a boolean if a field has been set.

func (*OpenapiPayoutGetResponse) HasReceipt

func (o *OpenapiPayoutGetResponse) HasReceipt() bool

HasReceipt returns a boolean if a field has been set.

func (*OpenapiPayoutGetResponse) HasSender

func (o *OpenapiPayoutGetResponse) HasSender() bool

HasSender returns a boolean if a field has been set.

func (*OpenapiPayoutGetResponse) HasState

func (o *OpenapiPayoutGetResponse) HasState() bool

HasState returns a boolean if a field has been set.

func (*OpenapiPayoutGetResponse) HasWalletId

func (o *OpenapiPayoutGetResponse) HasWalletId() bool

HasWalletId returns a boolean if a field has been set.

func (OpenapiPayoutGetResponse) MarshalJSON

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

func (*OpenapiPayoutGetResponse) SetAmount

SetAmount gets a reference to the given OpenapiPayoutCreateResponseAmount and assigns it to the Amount field.

func (*OpenapiPayoutGetResponse) SetCreatedAt

func (o *OpenapiPayoutGetResponse) SetCreatedAt(v string)

SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.

func (*OpenapiPayoutGetResponse) SetCustomId

func (o *OpenapiPayoutGetResponse) SetCustomId(v string)

SetCustomId gets a reference to the given string and assigns it to the CustomId field.

func (*OpenapiPayoutGetResponse) SetId

func (o *OpenapiPayoutGetResponse) SetId(v string)

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

func (*OpenapiPayoutGetResponse) SetPaymentAccountId

func (o *OpenapiPayoutGetResponse) SetPaymentAccountId(v string)

SetPaymentAccountId gets a reference to the given string and assigns it to the PaymentAccountId field.

func (*OpenapiPayoutGetResponse) SetReceipt

func (o *OpenapiPayoutGetResponse) SetReceipt(v string)

SetReceipt gets a reference to the given string and assigns it to the Receipt field.

func (*OpenapiPayoutGetResponse) SetSender

SetSender gets a reference to the given OpenapiPayoutCreateResponseSender and assigns it to the Sender field.

func (*OpenapiPayoutGetResponse) SetState

SetState gets a reference to the given OpenapiPayoutCreateResponseState and assigns it to the State field.

func (*OpenapiPayoutGetResponse) SetWalletId

func (o *OpenapiPayoutGetResponse) SetWalletId(v string)

SetWalletId gets a reference to the given string and assigns it to the WalletId field.

func (OpenapiPayoutGetResponse) ToMap

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

type OpenapiPayoutListResponseMeta

type OpenapiPayoutListResponseMeta struct {
	Paging *OpenapiPayoutListResponseMetaPaging `json:"paging,omitempty"`
}

OpenapiPayoutListResponseMeta struct for OpenapiPayoutListResponseMeta

func NewOpenapiPayoutListResponseMeta

func NewOpenapiPayoutListResponseMeta() *OpenapiPayoutListResponseMeta

NewOpenapiPayoutListResponseMeta instantiates a new OpenapiPayoutListResponseMeta 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 NewOpenapiPayoutListResponseMetaWithDefaults

func NewOpenapiPayoutListResponseMetaWithDefaults() *OpenapiPayoutListResponseMeta

NewOpenapiPayoutListResponseMetaWithDefaults instantiates a new OpenapiPayoutListResponseMeta 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 (*OpenapiPayoutListResponseMeta) GetPaging

GetPaging returns the Paging field value if set, zero value otherwise.

func (*OpenapiPayoutListResponseMeta) GetPagingOk

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

func (*OpenapiPayoutListResponseMeta) HasPaging

func (o *OpenapiPayoutListResponseMeta) HasPaging() bool

HasPaging returns a boolean if a field has been set.

func (OpenapiPayoutListResponseMeta) MarshalJSON

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

func (*OpenapiPayoutListResponseMeta) SetPaging

SetPaging gets a reference to the given OpenapiPayoutListResponseMetaPaging and assigns it to the Paging field.

func (OpenapiPayoutListResponseMeta) ToMap

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

type OpenapiPayoutListResponseMetaPaging

type OpenapiPayoutListResponseMetaPaging struct {
	Cursors *OpenapiPayoutListResponseMetaPagingCursors `json:"cursors,omitempty"`
	Next    *string                                     `json:"next,omitempty"`
}

OpenapiPayoutListResponseMetaPaging struct for OpenapiPayoutListResponseMetaPaging

func NewOpenapiPayoutListResponseMetaPaging

func NewOpenapiPayoutListResponseMetaPaging() *OpenapiPayoutListResponseMetaPaging

NewOpenapiPayoutListResponseMetaPaging instantiates a new OpenapiPayoutListResponseMetaPaging 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 NewOpenapiPayoutListResponseMetaPagingWithDefaults

func NewOpenapiPayoutListResponseMetaPagingWithDefaults() *OpenapiPayoutListResponseMetaPaging

NewOpenapiPayoutListResponseMetaPagingWithDefaults instantiates a new OpenapiPayoutListResponseMetaPaging 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 (*OpenapiPayoutListResponseMetaPaging) GetCursors

GetCursors returns the Cursors field value if set, zero value otherwise.

func (*OpenapiPayoutListResponseMetaPaging) GetCursorsOk

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

func (*OpenapiPayoutListResponseMetaPaging) GetNext

GetNext returns the Next field value if set, zero value otherwise.

func (*OpenapiPayoutListResponseMetaPaging) GetNextOk

func (o *OpenapiPayoutListResponseMetaPaging) GetNextOk() (*string, bool)

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

func (*OpenapiPayoutListResponseMetaPaging) HasCursors

func (o *OpenapiPayoutListResponseMetaPaging) HasCursors() bool

HasCursors returns a boolean if a field has been set.

func (*OpenapiPayoutListResponseMetaPaging) HasNext

HasNext returns a boolean if a field has been set.

func (OpenapiPayoutListResponseMetaPaging) MarshalJSON

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

func (*OpenapiPayoutListResponseMetaPaging) SetCursors

SetCursors gets a reference to the given OpenapiPayoutListResponseMetaPagingCursors and assigns it to the Cursors field.

func (*OpenapiPayoutListResponseMetaPaging) SetNext

SetNext gets a reference to the given string and assigns it to the Next field.

func (OpenapiPayoutListResponseMetaPaging) ToMap

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

type OpenapiPayoutListResponseMetaPagingCursors

type OpenapiPayoutListResponseMetaPagingCursors struct {
	After *string `json:"after,omitempty"`
}

OpenapiPayoutListResponseMetaPagingCursors struct for OpenapiPayoutListResponseMetaPagingCursors

func NewOpenapiPayoutListResponseMetaPagingCursors

func NewOpenapiPayoutListResponseMetaPagingCursors() *OpenapiPayoutListResponseMetaPagingCursors

NewOpenapiPayoutListResponseMetaPagingCursors instantiates a new OpenapiPayoutListResponseMetaPagingCursors 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 NewOpenapiPayoutListResponseMetaPagingCursorsWithDefaults

func NewOpenapiPayoutListResponseMetaPagingCursorsWithDefaults() *OpenapiPayoutListResponseMetaPagingCursors

NewOpenapiPayoutListResponseMetaPagingCursorsWithDefaults instantiates a new OpenapiPayoutListResponseMetaPagingCursors 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 (*OpenapiPayoutListResponseMetaPagingCursors) GetAfter

GetAfter returns the After field value if set, zero value otherwise.

func (*OpenapiPayoutListResponseMetaPagingCursors) GetAfterOk

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

func (*OpenapiPayoutListResponseMetaPagingCursors) HasAfter

HasAfter returns a boolean if a field has been set.

func (OpenapiPayoutListResponseMetaPagingCursors) MarshalJSON

func (*OpenapiPayoutListResponseMetaPagingCursors) SetAfter

SetAfter gets a reference to the given string and assigns it to the After field.

func (OpenapiPayoutListResponseMetaPagingCursors) ToMap

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

type OpenapiResponseBodyIdempotencyConflict

type OpenapiResponseBodyIdempotencyConflict struct {
	// Can be either `IDEMPOTENCY_RACE` or `IDEMPOTENCY_KEY_ALREADY_USED`
	Code *string `json:"code,omitempty"`
	// E.g. \"Idempotency key already in use\"
	Message *string `json:"message,omitempty"`
}

OpenapiResponseBodyIdempotencyConflict struct for OpenapiResponseBodyIdempotencyConflict

func NewOpenapiResponseBodyIdempotencyConflict

func NewOpenapiResponseBodyIdempotencyConflict() *OpenapiResponseBodyIdempotencyConflict

NewOpenapiResponseBodyIdempotencyConflict instantiates a new OpenapiResponseBodyIdempotencyConflict 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 NewOpenapiResponseBodyIdempotencyConflictWithDefaults

func NewOpenapiResponseBodyIdempotencyConflictWithDefaults() *OpenapiResponseBodyIdempotencyConflict

NewOpenapiResponseBodyIdempotencyConflictWithDefaults instantiates a new OpenapiResponseBodyIdempotencyConflict 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 (*OpenapiResponseBodyIdempotencyConflict) GetCode

GetCode returns the Code field value if set, zero value otherwise.

func (*OpenapiResponseBodyIdempotencyConflict) GetCodeOk

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

func (*OpenapiResponseBodyIdempotencyConflict) GetMessage

GetMessage returns the Message field value if set, zero value otherwise.

func (*OpenapiResponseBodyIdempotencyConflict) GetMessageOk

func (o *OpenapiResponseBodyIdempotencyConflict) GetMessageOk() (*string, 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.

func (*OpenapiResponseBodyIdempotencyConflict) HasCode

HasCode returns a boolean if a field has been set.

func (*OpenapiResponseBodyIdempotencyConflict) HasMessage

HasMessage returns a boolean if a field has been set.

func (OpenapiResponseBodyIdempotencyConflict) MarshalJSON

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

func (*OpenapiResponseBodyIdempotencyConflict) SetCode

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

func (*OpenapiResponseBodyIdempotencyConflict) SetMessage

SetMessage gets a reference to the given string and assigns it to the Message field.

func (OpenapiResponseBodyIdempotencyConflict) ToMap

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

type OpenapiResponseBodyInternalServerError

type OpenapiResponseBodyInternalServerError struct {
	// `INTERNAL_SERVER_ERROR`
	Code *string `json:"code,omitempty"`
	// E.g. \"An internal error has occurred.\"
	Message *string `json:"message,omitempty"`
}

OpenapiResponseBodyInternalServerError struct for OpenapiResponseBodyInternalServerError

func NewOpenapiResponseBodyInternalServerError

func NewOpenapiResponseBodyInternalServerError() *OpenapiResponseBodyInternalServerError

NewOpenapiResponseBodyInternalServerError instantiates a new OpenapiResponseBodyInternalServerError 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 NewOpenapiResponseBodyInternalServerErrorWithDefaults

func NewOpenapiResponseBodyInternalServerErrorWithDefaults() *OpenapiResponseBodyInternalServerError

NewOpenapiResponseBodyInternalServerErrorWithDefaults instantiates a new OpenapiResponseBodyInternalServerError 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 (*OpenapiResponseBodyInternalServerError) GetCode

GetCode returns the Code field value if set, zero value otherwise.

func (*OpenapiResponseBodyInternalServerError) GetCodeOk

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

func (*OpenapiResponseBodyInternalServerError) GetMessage

GetMessage returns the Message field value if set, zero value otherwise.

func (*OpenapiResponseBodyInternalServerError) GetMessageOk

func (o *OpenapiResponseBodyInternalServerError) GetMessageOk() (*string, 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.

func (*OpenapiResponseBodyInternalServerError) HasCode

HasCode returns a boolean if a field has been set.

func (*OpenapiResponseBodyInternalServerError) HasMessage

HasMessage returns a boolean if a field has been set.

func (OpenapiResponseBodyInternalServerError) MarshalJSON

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

func (*OpenapiResponseBodyInternalServerError) SetCode

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

func (*OpenapiResponseBodyInternalServerError) SetMessage

SetMessage gets a reference to the given string and assigns it to the Message field.

func (OpenapiResponseBodyInternalServerError) ToMap

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

type OpenapiResponseBodyNotFound

type OpenapiResponseBodyNotFound struct {
	// `NOT_FOUND`
	Code *string `json:"code,omitempty"`
	// E.g. \"The resource you are looking for cannot be found.\"
	Message *string `json:"message,omitempty"`
}

OpenapiResponseBodyNotFound struct for OpenapiResponseBodyNotFound

func NewOpenapiResponseBodyNotFound

func NewOpenapiResponseBodyNotFound() *OpenapiResponseBodyNotFound

NewOpenapiResponseBodyNotFound instantiates a new OpenapiResponseBodyNotFound 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 NewOpenapiResponseBodyNotFoundWithDefaults

func NewOpenapiResponseBodyNotFoundWithDefaults() *OpenapiResponseBodyNotFound

NewOpenapiResponseBodyNotFoundWithDefaults instantiates a new OpenapiResponseBodyNotFound 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 (*OpenapiResponseBodyNotFound) GetCode

func (o *OpenapiResponseBodyNotFound) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*OpenapiResponseBodyNotFound) GetCodeOk

func (o *OpenapiResponseBodyNotFound) 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.

func (*OpenapiResponseBodyNotFound) GetMessage

func (o *OpenapiResponseBodyNotFound) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*OpenapiResponseBodyNotFound) GetMessageOk

func (o *OpenapiResponseBodyNotFound) GetMessageOk() (*string, 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.

func (*OpenapiResponseBodyNotFound) HasCode

func (o *OpenapiResponseBodyNotFound) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*OpenapiResponseBodyNotFound) HasMessage

func (o *OpenapiResponseBodyNotFound) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (OpenapiResponseBodyNotFound) MarshalJSON

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

func (*OpenapiResponseBodyNotFound) SetCode

func (o *OpenapiResponseBodyNotFound) SetCode(v string)

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

func (*OpenapiResponseBodyNotFound) SetMessage

func (o *OpenapiResponseBodyNotFound) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (OpenapiResponseBodyNotFound) ToMap

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

type OpenapiResponseBodySuccessCollection

type OpenapiResponseBodySuccessCollection struct {
	Data []interface{} `json:"data,omitempty"`
	Meta interface{}   `json:"meta,omitempty"`
}

OpenapiResponseBodySuccessCollection struct for OpenapiResponseBodySuccessCollection

func NewOpenapiResponseBodySuccessCollection

func NewOpenapiResponseBodySuccessCollection() *OpenapiResponseBodySuccessCollection

NewOpenapiResponseBodySuccessCollection instantiates a new OpenapiResponseBodySuccessCollection 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 NewOpenapiResponseBodySuccessCollectionWithDefaults

func NewOpenapiResponseBodySuccessCollectionWithDefaults() *OpenapiResponseBodySuccessCollection

NewOpenapiResponseBodySuccessCollectionWithDefaults instantiates a new OpenapiResponseBodySuccessCollection 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 (*OpenapiResponseBodySuccessCollection) GetData

func (o *OpenapiResponseBodySuccessCollection) GetData() []interface{}

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

func (*OpenapiResponseBodySuccessCollection) GetDataOk

func (o *OpenapiResponseBodySuccessCollection) GetDataOk() ([]interface{}, bool)

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 (*OpenapiResponseBodySuccessCollection) GetMeta

func (o *OpenapiResponseBodySuccessCollection) GetMeta() interface{}

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

func (*OpenapiResponseBodySuccessCollection) GetMetaOk

func (o *OpenapiResponseBodySuccessCollection) GetMetaOk() (*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 (*OpenapiResponseBodySuccessCollection) HasData

HasData returns a boolean if a field has been set.

func (*OpenapiResponseBodySuccessCollection) HasMeta

HasMeta returns a boolean if a field has been set.

func (OpenapiResponseBodySuccessCollection) MarshalJSON

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

func (*OpenapiResponseBodySuccessCollection) SetData

func (o *OpenapiResponseBodySuccessCollection) SetData(v []interface{})

SetData gets a reference to the given []interface{} and assigns it to the Data field.

func (*OpenapiResponseBodySuccessCollection) SetMeta

func (o *OpenapiResponseBodySuccessCollection) SetMeta(v interface{})

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

func (OpenapiResponseBodySuccessCollection) ToMap

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

type OpenapiResponseBodySuccessCollectionNoMeta

type OpenapiResponseBodySuccessCollectionNoMeta struct {
	Data []interface{} `json:"data,omitempty"`
}

OpenapiResponseBodySuccessCollectionNoMeta struct for OpenapiResponseBodySuccessCollectionNoMeta

func NewOpenapiResponseBodySuccessCollectionNoMeta

func NewOpenapiResponseBodySuccessCollectionNoMeta() *OpenapiResponseBodySuccessCollectionNoMeta

NewOpenapiResponseBodySuccessCollectionNoMeta instantiates a new OpenapiResponseBodySuccessCollectionNoMeta 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 NewOpenapiResponseBodySuccessCollectionNoMetaWithDefaults

func NewOpenapiResponseBodySuccessCollectionNoMetaWithDefaults() *OpenapiResponseBodySuccessCollectionNoMeta

NewOpenapiResponseBodySuccessCollectionNoMetaWithDefaults instantiates a new OpenapiResponseBodySuccessCollectionNoMeta 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 (*OpenapiResponseBodySuccessCollectionNoMeta) GetData

func (o *OpenapiResponseBodySuccessCollectionNoMeta) GetData() []interface{}

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

func (*OpenapiResponseBodySuccessCollectionNoMeta) GetDataOk

func (o *OpenapiResponseBodySuccessCollectionNoMeta) GetDataOk() ([]interface{}, bool)

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 (*OpenapiResponseBodySuccessCollectionNoMeta) HasData

HasData returns a boolean if a field has been set.

func (OpenapiResponseBodySuccessCollectionNoMeta) MarshalJSON

func (*OpenapiResponseBodySuccessCollectionNoMeta) SetData

func (o *OpenapiResponseBodySuccessCollectionNoMeta) SetData(v []interface{})

SetData gets a reference to the given []interface{} and assigns it to the Data field.

func (OpenapiResponseBodySuccessCollectionNoMeta) ToMap

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

type OpenapiResponseBodySuccessCursorPaginated

type OpenapiResponseBodySuccessCursorPaginated struct {
	Data []interface{}                                  `json:"data,omitempty"`
	Meta *OpenapiResponseBodySuccessCursorPaginatedMeta `json:"meta,omitempty"`
}

OpenapiResponseBodySuccessCursorPaginated struct for OpenapiResponseBodySuccessCursorPaginated

func NewOpenapiResponseBodySuccessCursorPaginated

func NewOpenapiResponseBodySuccessCursorPaginated() *OpenapiResponseBodySuccessCursorPaginated

NewOpenapiResponseBodySuccessCursorPaginated instantiates a new OpenapiResponseBodySuccessCursorPaginated 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 NewOpenapiResponseBodySuccessCursorPaginatedWithDefaults

func NewOpenapiResponseBodySuccessCursorPaginatedWithDefaults() *OpenapiResponseBodySuccessCursorPaginated

NewOpenapiResponseBodySuccessCursorPaginatedWithDefaults instantiates a new OpenapiResponseBodySuccessCursorPaginated 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 (*OpenapiResponseBodySuccessCursorPaginated) GetData

func (o *OpenapiResponseBodySuccessCursorPaginated) GetData() []interface{}

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

func (*OpenapiResponseBodySuccessCursorPaginated) GetDataOk

func (o *OpenapiResponseBodySuccessCursorPaginated) GetDataOk() ([]interface{}, bool)

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 (*OpenapiResponseBodySuccessCursorPaginated) GetMeta

GetMeta returns the Meta field value if set, zero value otherwise.

func (*OpenapiResponseBodySuccessCursorPaginated) GetMetaOk

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

func (*OpenapiResponseBodySuccessCursorPaginated) HasData

HasData returns a boolean if a field has been set.

func (*OpenapiResponseBodySuccessCursorPaginated) HasMeta

HasMeta returns a boolean if a field has been set.

func (OpenapiResponseBodySuccessCursorPaginated) MarshalJSON

func (*OpenapiResponseBodySuccessCursorPaginated) SetData

func (o *OpenapiResponseBodySuccessCursorPaginated) SetData(v []interface{})

SetData gets a reference to the given []interface{} and assigns it to the Data field.

func (*OpenapiResponseBodySuccessCursorPaginated) SetMeta

SetMeta gets a reference to the given OpenapiResponseBodySuccessCursorPaginatedMeta and assigns it to the Meta field.

func (OpenapiResponseBodySuccessCursorPaginated) ToMap

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

type OpenapiResponseBodySuccessCursorPaginatedMeta

type OpenapiResponseBodySuccessCursorPaginatedMeta struct {
	Paging *OpenapiResponseBodySuccessCursorPaginatedMetaPaging `json:"paging,omitempty"`
}

OpenapiResponseBodySuccessCursorPaginatedMeta struct for OpenapiResponseBodySuccessCursorPaginatedMeta

func NewOpenapiResponseBodySuccessCursorPaginatedMeta

func NewOpenapiResponseBodySuccessCursorPaginatedMeta() *OpenapiResponseBodySuccessCursorPaginatedMeta

NewOpenapiResponseBodySuccessCursorPaginatedMeta instantiates a new OpenapiResponseBodySuccessCursorPaginatedMeta 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 NewOpenapiResponseBodySuccessCursorPaginatedMetaWithDefaults

func NewOpenapiResponseBodySuccessCursorPaginatedMetaWithDefaults() *OpenapiResponseBodySuccessCursorPaginatedMeta

NewOpenapiResponseBodySuccessCursorPaginatedMetaWithDefaults instantiates a new OpenapiResponseBodySuccessCursorPaginatedMeta 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 (*OpenapiResponseBodySuccessCursorPaginatedMeta) GetPaging

GetPaging returns the Paging field value if set, zero value otherwise.

func (*OpenapiResponseBodySuccessCursorPaginatedMeta) GetPagingOk

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

func (*OpenapiResponseBodySuccessCursorPaginatedMeta) HasPaging

HasPaging returns a boolean if a field has been set.

func (OpenapiResponseBodySuccessCursorPaginatedMeta) MarshalJSON

func (*OpenapiResponseBodySuccessCursorPaginatedMeta) SetPaging

SetPaging gets a reference to the given OpenapiResponseBodySuccessCursorPaginatedMetaPaging and assigns it to the Paging field.

func (OpenapiResponseBodySuccessCursorPaginatedMeta) ToMap

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

type OpenapiResponseBodySuccessCursorPaginatedMetaPaging

type OpenapiResponseBodySuccessCursorPaginatedMetaPaging struct {
	Cursors *OpenapiResponseBodySuccessCursorPaginatedMetaPagingCursors `json:"cursors,omitempty"`
	Next    *string                                                     `json:"next,omitempty"`
}

OpenapiResponseBodySuccessCursorPaginatedMetaPaging struct for OpenapiResponseBodySuccessCursorPaginatedMetaPaging

func NewOpenapiResponseBodySuccessCursorPaginatedMetaPaging

func NewOpenapiResponseBodySuccessCursorPaginatedMetaPaging() *OpenapiResponseBodySuccessCursorPaginatedMetaPaging

NewOpenapiResponseBodySuccessCursorPaginatedMetaPaging instantiates a new OpenapiResponseBodySuccessCursorPaginatedMetaPaging 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 NewOpenapiResponseBodySuccessCursorPaginatedMetaPagingWithDefaults

func NewOpenapiResponseBodySuccessCursorPaginatedMetaPagingWithDefaults() *OpenapiResponseBodySuccessCursorPaginatedMetaPaging

NewOpenapiResponseBodySuccessCursorPaginatedMetaPagingWithDefaults instantiates a new OpenapiResponseBodySuccessCursorPaginatedMetaPaging 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 (*OpenapiResponseBodySuccessCursorPaginatedMetaPaging) GetCursors

GetCursors returns the Cursors field value if set, zero value otherwise.

func (*OpenapiResponseBodySuccessCursorPaginatedMetaPaging) GetCursorsOk

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

func (*OpenapiResponseBodySuccessCursorPaginatedMetaPaging) GetNext

GetNext returns the Next field value if set, zero value otherwise.

func (*OpenapiResponseBodySuccessCursorPaginatedMetaPaging) GetNextOk

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

func (*OpenapiResponseBodySuccessCursorPaginatedMetaPaging) HasCursors

HasCursors returns a boolean if a field has been set.

func (*OpenapiResponseBodySuccessCursorPaginatedMetaPaging) HasNext

HasNext returns a boolean if a field has been set.

func (OpenapiResponseBodySuccessCursorPaginatedMetaPaging) MarshalJSON

func (*OpenapiResponseBodySuccessCursorPaginatedMetaPaging) SetCursors

SetCursors gets a reference to the given OpenapiResponseBodySuccessCursorPaginatedMetaPagingCursors and assigns it to the Cursors field.

func (*OpenapiResponseBodySuccessCursorPaginatedMetaPaging) SetNext

SetNext gets a reference to the given string and assigns it to the Next field.

func (OpenapiResponseBodySuccessCursorPaginatedMetaPaging) ToMap

type OpenapiResponseBodySuccessCursorPaginatedMetaPagingCursors

type OpenapiResponseBodySuccessCursorPaginatedMetaPagingCursors struct {
	After *string `json:"after,omitempty"`
}

OpenapiResponseBodySuccessCursorPaginatedMetaPagingCursors struct for OpenapiResponseBodySuccessCursorPaginatedMetaPagingCursors

func NewOpenapiResponseBodySuccessCursorPaginatedMetaPagingCursors

func NewOpenapiResponseBodySuccessCursorPaginatedMetaPagingCursors() *OpenapiResponseBodySuccessCursorPaginatedMetaPagingCursors

NewOpenapiResponseBodySuccessCursorPaginatedMetaPagingCursors instantiates a new OpenapiResponseBodySuccessCursorPaginatedMetaPagingCursors 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 NewOpenapiResponseBodySuccessCursorPaginatedMetaPagingCursorsWithDefaults

func NewOpenapiResponseBodySuccessCursorPaginatedMetaPagingCursorsWithDefaults() *OpenapiResponseBodySuccessCursorPaginatedMetaPagingCursors

NewOpenapiResponseBodySuccessCursorPaginatedMetaPagingCursorsWithDefaults instantiates a new OpenapiResponseBodySuccessCursorPaginatedMetaPagingCursors 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 (*OpenapiResponseBodySuccessCursorPaginatedMetaPagingCursors) GetAfter

GetAfter returns the After field value if set, zero value otherwise.

func (*OpenapiResponseBodySuccessCursorPaginatedMetaPagingCursors) GetAfterOk

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

func (*OpenapiResponseBodySuccessCursorPaginatedMetaPagingCursors) HasAfter

HasAfter returns a boolean if a field has been set.

func (OpenapiResponseBodySuccessCursorPaginatedMetaPagingCursors) MarshalJSON

func (*OpenapiResponseBodySuccessCursorPaginatedMetaPagingCursors) SetAfter

SetAfter gets a reference to the given string and assigns it to the After field.

func (OpenapiResponseBodySuccessCursorPaginatedMetaPagingCursors) ToMap

type OpenapiResponseBodySuccessNoMeta

type OpenapiResponseBodySuccessNoMeta struct {
	Data interface{} `json:"data,omitempty"`
}

OpenapiResponseBodySuccessNoMeta struct for OpenapiResponseBodySuccessNoMeta

func NewOpenapiResponseBodySuccessNoMeta

func NewOpenapiResponseBodySuccessNoMeta() *OpenapiResponseBodySuccessNoMeta

NewOpenapiResponseBodySuccessNoMeta instantiates a new OpenapiResponseBodySuccessNoMeta 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 NewOpenapiResponseBodySuccessNoMetaWithDefaults

func NewOpenapiResponseBodySuccessNoMetaWithDefaults() *OpenapiResponseBodySuccessNoMeta

NewOpenapiResponseBodySuccessNoMetaWithDefaults instantiates a new OpenapiResponseBodySuccessNoMeta 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 (*OpenapiResponseBodySuccessNoMeta) GetData

func (o *OpenapiResponseBodySuccessNoMeta) GetData() interface{}

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

func (*OpenapiResponseBodySuccessNoMeta) GetDataOk

func (o *OpenapiResponseBodySuccessNoMeta) GetDataOk() (*interface{}, bool)

GetDataOk returns a tuple with the Data 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 (*OpenapiResponseBodySuccessNoMeta) HasData

HasData returns a boolean if a field has been set.

func (OpenapiResponseBodySuccessNoMeta) MarshalJSON

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

func (*OpenapiResponseBodySuccessNoMeta) SetData

func (o *OpenapiResponseBodySuccessNoMeta) SetData(v interface{})

SetData gets a reference to the given interface{} and assigns it to the Data field.

func (OpenapiResponseBodySuccessNoMeta) ToMap

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

type OpenapiResponseBodyValidationFailed

type OpenapiResponseBodyValidationFailed struct {
	// `VALIDATION_FAILED`
	Code   *string                                    `json:"code,omitempty"`
	Errors *OpenapiResponseBodyValidationFailedErrors `json:"errors,omitempty"`
	// E.g. \"Validation failed.\"
	Message *string `json:"message,omitempty"`
}

OpenapiResponseBodyValidationFailed struct for OpenapiResponseBodyValidationFailed

func NewOpenapiResponseBodyValidationFailed

func NewOpenapiResponseBodyValidationFailed() *OpenapiResponseBodyValidationFailed

NewOpenapiResponseBodyValidationFailed instantiates a new OpenapiResponseBodyValidationFailed 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 NewOpenapiResponseBodyValidationFailedWithDefaults

func NewOpenapiResponseBodyValidationFailedWithDefaults() *OpenapiResponseBodyValidationFailed

NewOpenapiResponseBodyValidationFailedWithDefaults instantiates a new OpenapiResponseBodyValidationFailed 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 (*OpenapiResponseBodyValidationFailed) GetCode

GetCode returns the Code field value if set, zero value otherwise.

func (*OpenapiResponseBodyValidationFailed) GetCodeOk

func (o *OpenapiResponseBodyValidationFailed) 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.

func (*OpenapiResponseBodyValidationFailed) GetErrors

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

func (*OpenapiResponseBodyValidationFailed) GetErrorsOk

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 (*OpenapiResponseBodyValidationFailed) GetMessage

GetMessage returns the Message field value if set, zero value otherwise.

func (*OpenapiResponseBodyValidationFailed) GetMessageOk

func (o *OpenapiResponseBodyValidationFailed) GetMessageOk() (*string, 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.

func (*OpenapiResponseBodyValidationFailed) HasCode

HasCode returns a boolean if a field has been set.

func (*OpenapiResponseBodyValidationFailed) HasErrors

HasErrors returns a boolean if a field has been set.

func (*OpenapiResponseBodyValidationFailed) HasMessage

func (o *OpenapiResponseBodyValidationFailed) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (OpenapiResponseBodyValidationFailed) MarshalJSON

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

func (*OpenapiResponseBodyValidationFailed) SetCode

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

func (*OpenapiResponseBodyValidationFailed) SetErrors

SetErrors gets a reference to the given OpenapiResponseBodyValidationFailedErrors and assigns it to the Errors field.

func (*OpenapiResponseBodyValidationFailed) SetMessage

SetMessage gets a reference to the given string and assigns it to the Message field.

func (OpenapiResponseBodyValidationFailed) ToMap

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

type OpenapiResponseBodyValidationFailedErrors

type OpenapiResponseBodyValidationFailedErrors struct {
	// Every key corresponds to the name of a property that has not passed validation. The value associated with each key is an array of strings that serves to provide a descriptive explanation of the requirements for that particular property and the reasons for its failure.
	Fields *map[string][]string `json:"fields,omitempty"`
}

OpenapiResponseBodyValidationFailedErrors struct for OpenapiResponseBodyValidationFailedErrors

func NewOpenapiResponseBodyValidationFailedErrors

func NewOpenapiResponseBodyValidationFailedErrors() *OpenapiResponseBodyValidationFailedErrors

NewOpenapiResponseBodyValidationFailedErrors instantiates a new OpenapiResponseBodyValidationFailedErrors 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 NewOpenapiResponseBodyValidationFailedErrorsWithDefaults

func NewOpenapiResponseBodyValidationFailedErrorsWithDefaults() *OpenapiResponseBodyValidationFailedErrors

NewOpenapiResponseBodyValidationFailedErrorsWithDefaults instantiates a new OpenapiResponseBodyValidationFailedErrors 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 (*OpenapiResponseBodyValidationFailedErrors) GetFields

GetFields returns the Fields field value if set, zero value otherwise.

func (*OpenapiResponseBodyValidationFailedErrors) GetFieldsOk

func (o *OpenapiResponseBodyValidationFailedErrors) GetFieldsOk() (*map[string][]string, bool)

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

func (*OpenapiResponseBodyValidationFailedErrors) HasFields

HasFields returns a boolean if a field has been set.

func (OpenapiResponseBodyValidationFailedErrors) MarshalJSON

func (*OpenapiResponseBodyValidationFailedErrors) SetFields

SetFields gets a reference to the given map[string][]string and assigns it to the Fields field.

func (OpenapiResponseBodyValidationFailedErrors) ToMap

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

type OpenapiResponseBodyWalletInsufficientBalance

type OpenapiResponseBodyWalletInsufficientBalance struct {
	// `WALLET_INSUFFICIENT_BALANCE`
	Code *string `json:"code,omitempty"`
	// E.g. \"Wallet '{wlt-xxx}' doesn't have enough balance\"
	Message *string `json:"message,omitempty"`
}

OpenapiResponseBodyWalletInsufficientBalance struct for OpenapiResponseBodyWalletInsufficientBalance

func NewOpenapiResponseBodyWalletInsufficientBalance

func NewOpenapiResponseBodyWalletInsufficientBalance() *OpenapiResponseBodyWalletInsufficientBalance

NewOpenapiResponseBodyWalletInsufficientBalance instantiates a new OpenapiResponseBodyWalletInsufficientBalance 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 NewOpenapiResponseBodyWalletInsufficientBalanceWithDefaults

func NewOpenapiResponseBodyWalletInsufficientBalanceWithDefaults() *OpenapiResponseBodyWalletInsufficientBalance

NewOpenapiResponseBodyWalletInsufficientBalanceWithDefaults instantiates a new OpenapiResponseBodyWalletInsufficientBalance 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 (*OpenapiResponseBodyWalletInsufficientBalance) GetCode

GetCode returns the Code field value if set, zero value otherwise.

func (*OpenapiResponseBodyWalletInsufficientBalance) GetCodeOk

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

func (*OpenapiResponseBodyWalletInsufficientBalance) GetMessage

GetMessage returns the Message field value if set, zero value otherwise.

func (*OpenapiResponseBodyWalletInsufficientBalance) GetMessageOk

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

func (*OpenapiResponseBodyWalletInsufficientBalance) HasCode

HasCode returns a boolean if a field has been set.

func (*OpenapiResponseBodyWalletInsufficientBalance) HasMessage

HasMessage returns a boolean if a field has been set.

func (OpenapiResponseBodyWalletInsufficientBalance) MarshalJSON

func (*OpenapiResponseBodyWalletInsufficientBalance) SetCode

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

func (*OpenapiResponseBodyWalletInsufficientBalance) SetMessage

SetMessage gets a reference to the given string and assigns it to the Message field.

func (OpenapiResponseBodyWalletInsufficientBalance) ToMap

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

type PaymentAccountAPIService

type PaymentAccountAPIService service

PaymentAccountAPIService PaymentAccountAPI service

func (*PaymentAccountAPIService) PaymentAccountsGet

PaymentAccountsGet List

Using this endpoint, you can list all your payment accounts ordered by their creation date in descending order. Considering that the returned data may contain thousands of records, the results will be paginated with a cursor [(see pagination docs)](pagination), allowing you to scroll through the data using multiple requests as necessary.

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

func (*PaymentAccountAPIService) PaymentAccountsGetExecute

Execute executes the request

@return PaymentAccountsGet200Response

func (*PaymentAccountAPIService) PaymentAccountsPost

PaymentAccountsPost Get or create

A payment account is a uniquely identifiable entity that serves the purpose of a recipient to send money to (e.g. a remittance recipient).

This endpoint allows you to create payment accounts of both **Mobile Money** and **Bank Account** types, which can subsequently serve as recipient accounts for making [payouts](post_payouts).

> 💁 > > Although HTTP POST is not inherently idempotent, with this endpoint, you can confidently retry the same request without inadvertently creating duplicate records. Our process involves checking the existence of the payment account first. If it exists, we promptly respond with a `200 OK` status. Otherwise, we proceed to create a new one and respond with a `201 Created` status. In both scenarios, the structure of the response body will remain identical.

### Mobile Money

The "mobile money" type refers to accounts registered with telecom companies (a.k.a operators) like SAFARICOM in Kenya, and it necessitates a valid mobile number for identification of the payment account within that telecom provider.

The following table outlines the operators supported by our API for each specific country.

| Country | Operators | |---------|-------------------| | KE | SAFARICOM, AIRTEL |

### Bank account

The "bank account" type is designated for conventional accounts registered with bank institutions, such as "Equity Bank." It comprises an account number and the associated bank ID, where accounts are registered. Additionally, for banks with multiple branches in a country, a branch ID may be required to accurately identify and route payments.

We provide support for numerous banks and branches in each country. Documenting each of them here would be impractical. Therefore, we recommend utilizing the dedicated [/v1/banks](get_banks) endpoint to access the most current and accurate list of banks along with their branches.

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

func (*PaymentAccountAPIService) PaymentAccountsPostExecute

Execute executes the request

@return PaymentAccountsPost200Response

type PaymentAccountsGet200Response

type PaymentAccountsGet200Response struct {
	Data []OpenapiPaymentAccountGetOrCreateResponse `json:"data,omitempty"`
	Meta *OpenapiPaymentAccountListResponseMeta     `json:"meta,omitempty"`
}

PaymentAccountsGet200Response struct for PaymentAccountsGet200Response

func NewPaymentAccountsGet200Response

func NewPaymentAccountsGet200Response() *PaymentAccountsGet200Response

NewPaymentAccountsGet200Response instantiates a new PaymentAccountsGet200Response 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 NewPaymentAccountsGet200ResponseWithDefaults

func NewPaymentAccountsGet200ResponseWithDefaults() *PaymentAccountsGet200Response

NewPaymentAccountsGet200ResponseWithDefaults instantiates a new PaymentAccountsGet200Response 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 (*PaymentAccountsGet200Response) GetData

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

func (*PaymentAccountsGet200Response) 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 (*PaymentAccountsGet200Response) GetMeta

GetMeta returns the Meta field value if set, zero value otherwise.

func (*PaymentAccountsGet200Response) GetMetaOk

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

func (*PaymentAccountsGet200Response) HasData

func (o *PaymentAccountsGet200Response) HasData() bool

HasData returns a boolean if a field has been set.

func (*PaymentAccountsGet200Response) HasMeta

func (o *PaymentAccountsGet200Response) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (PaymentAccountsGet200Response) MarshalJSON

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

func (*PaymentAccountsGet200Response) SetData

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

func (*PaymentAccountsGet200Response) SetMeta

SetMeta gets a reference to the given OpenapiPaymentAccountListResponseMeta and assigns it to the Meta field.

func (PaymentAccountsGet200Response) ToMap

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

type PaymentAccountsPost200Response

type PaymentAccountsPost200Response struct {
	Data *OpenapiPaymentAccountGetOrCreateResponse `json:"data,omitempty"`
}

PaymentAccountsPost200Response struct for PaymentAccountsPost200Response

func NewPaymentAccountsPost200Response

func NewPaymentAccountsPost200Response() *PaymentAccountsPost200Response

NewPaymentAccountsPost200Response instantiates a new PaymentAccountsPost200Response 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 NewPaymentAccountsPost200ResponseWithDefaults

func NewPaymentAccountsPost200ResponseWithDefaults() *PaymentAccountsPost200Response

NewPaymentAccountsPost200ResponseWithDefaults instantiates a new PaymentAccountsPost200Response 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 (*PaymentAccountsPost200Response) GetData

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

func (*PaymentAccountsPost200Response) 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 (*PaymentAccountsPost200Response) HasData

func (o *PaymentAccountsPost200Response) HasData() bool

HasData returns a boolean if a field has been set.

func (PaymentAccountsPost200Response) MarshalJSON

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

func (*PaymentAccountsPost200Response) SetData

SetData gets a reference to the given OpenapiPaymentAccountGetOrCreateResponse and assigns it to the Data field.

func (PaymentAccountsPost200Response) ToMap

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

type PaymentAccountsPost201Response

type PaymentAccountsPost201Response struct {
	Data *OpenapiPaymentAccountGetOrCreateResponse `json:"data,omitempty"`
}

PaymentAccountsPost201Response struct for PaymentAccountsPost201Response

func NewPaymentAccountsPost201Response

func NewPaymentAccountsPost201Response() *PaymentAccountsPost201Response

NewPaymentAccountsPost201Response instantiates a new PaymentAccountsPost201Response 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 NewPaymentAccountsPost201ResponseWithDefaults

func NewPaymentAccountsPost201ResponseWithDefaults() *PaymentAccountsPost201Response

NewPaymentAccountsPost201ResponseWithDefaults instantiates a new PaymentAccountsPost201Response 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 (*PaymentAccountsPost201Response) GetData

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

func (*PaymentAccountsPost201Response) 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 (*PaymentAccountsPost201Response) HasData

func (o *PaymentAccountsPost201Response) HasData() bool

HasData returns a boolean if a field has been set.

func (PaymentAccountsPost201Response) MarshalJSON

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

func (*PaymentAccountsPost201Response) SetData

SetData gets a reference to the given OpenapiPaymentAccountGetOrCreateResponse and assigns it to the Data field.

func (PaymentAccountsPost201Response) ToMap

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

type PayoutAPIService

type PayoutAPIService service

PayoutAPIService PayoutAPI service

func (*PayoutAPIService) PayoutsGet

PayoutsGet List

Using this endpoint, you can list all your historical payouts with an optional dates filter. Considering that the returned data may contain thousands of records, the results will be paginated with a cursor [(see pagination docs)](pagination), allowing you to scroll through the data using multiple requests as necessary.

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

func (*PayoutAPIService) PayoutsGetExecute

Execute executes the request

@return PayoutsGet200Response

func (*PayoutAPIService) PayoutsIdGet

PayoutsIdGet Get

This endpoint enables the retrieval of a previously accepted payout using its unique ID (`pyt-xxx`) or the `custom_id` submitted when creating it. Its primary purpose is to periodically check for changes in the payout status. Currently, we do not provide webhooks, so this method serves as the only available option in such cases.

To learn more about the lifecycle of payouts, please refer to the dedicated section under the [Send Money](post_payouts) endpoint.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The Payout ID (pyt-xxx) or the custom_id provided at the time of payout creation
@return ApiPayoutsIdGetRequest

func (*PayoutAPIService) PayoutsIdGetExecute

Execute executes the request

@return PayoutsIdGet200Response

func (*PayoutAPIService) PayoutsPost

PayoutsPost Create

The payout resource finds its application in various scenarios where funds need to be disbursed electronically; For example, but not limited to, money remittance services or businesses that need to disburse salaries to their employees.

Regardless of your specific use case, this endpoint has you covered, offering a versatile API to facilitate money disbursement from your [local wallets](get_wallets) to designated recipients (a.k.a [payment accounts](post_payment-accounts)).

> ℹ️ Lifecycle > > If the request you submit meets our minimum validation standards for processing the payout, our server will accept the request. It will defer the execution to a background asynchronous process, and in response, send you an HTTP 202 status code, along with the payout unique identifier. > <br> > Upon acceptance, the payout is marked as pending. Your client program will need to poll at intervals to [query the payout state](get_payouts-id) and determine whether it has succeeded or not. > <br> > <details> > <summary>Payout States</summary> > <br> > <table> > <thead> > <tr> > <th>State</th> > <th>Description</th> > </tr> > </thead> > <tbody> > <tr> > <th>⏳<br>PENDING</th> > <th>Your payout has been accepted, and it is currently awaiting processing.</th> > </tr> > <tr> > <th>🎉<br>SENT</th> > <th>The payout has been successfully processed, and the intended recipient should have received the funds.</th> > </tr> > <tr> > <th>🔙<br>REVERSED</th> > <th>Upon reaching the "SENT" state, you can request a manual reversal (for instance, if funds were sent to the wrong recipient) by contacting our support team. Please be aware that there is no programmatic API available for this process yet. This state indicates a successful reversal.</th> > </tr> > <tr> > <th>🙅<br>CANCELLED</th> > <th>If the payout has not yet reached the intended recipient, you have the option to request manual cancellation by reaching out to our support team (please note that there is no programmatic API for this yet). This state signifies that the payout has been successfully canceled.</th> > </tr> > <tr> > <th>💔<br>FAILED</th> > <th> > The funds did not reach the intended recipient due to a failure. If the "context" property does not provide specific information about the reason for the failure, please contact our customer support for assistance. > </th> > </tr> > </tbody> > </table> > </details>

> ⚠️ Compliance requirements > > Depending on the country and/or bank you plan to disburse money to, there are specific compliance and regulatory requirements that must be adhered to. For example, some countries might necessitate more comprehensive sender details or impose limits on minimum/maximum payout amounts. > <br> > We understand that navigating these varying rules for different countries can be complex, considering the multitude of combinations possible. To simplify this process for you, the table below outlines the specific requirements for each country we offer payout support, streamlining the compliance process. > <br> > <details> <summary>Requirements</summary> <table>

<thead>
    <tr>
        <th>Field</th>
        <th>KE 🇰🇪</th>
    </tr>
</thead>
<tbody>
    <tr>
        <td>amount.value</td>
        <td>
            <table>
                <thead>
                     <tr>
                        <th>Min</th>
                        <th>Max</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td>140 KES</td>
                        <td>500,000 KES</td> <!-- Kenya -->
                    </tr>
                </tbody>
            </table>
        </td> <!-- Kenya -->
    </tr>
    <tr>
        <td>sender.type</td>
        <td>Required</td> <!-- Kenya -->
    </tr>
    <tr>
        <td>sender.name</td>
        <td>Required</td> <!-- Kenya -->
    </tr>
    <tr>
        <td>sender.address.line1</td>
        <td>Required</td> <!-- Kenya -->
    </tr>
    <tr>
        <td>sender.address.line2</td>
        <td>-</td> <!-- Kenya -->
    </tr>
    <tr>
        <td>sender.address.line3</td>
        <td>-</td> <!-- Kenya -->
    </tr>
    <tr>
        <td>sender.address.city</td>
        <td>Required</td> <!-- Kenya -->
    </tr>
    <tr>
        <td>sender.address.postal_code</td>
        <td>Required</td> <!-- Kenya -->
    </tr>
    <tr>
        <td>sender.address.country</td>
        <td>Required</td> <!-- Kenya -->
    </tr>
    <tr>
        <td>sender.individual.dob</td>
        <td>Required</td> <!-- Kenya -->
    </tr>
    <tr>
        <td>sender.individual.dob</td>
        <td>Required with INDIVIDUAL sender's type</td> <!-- Kenya -->
    </tr>
    <tr>
        <td>sender.individual.identity_document.type</td>
        <td>-</td> <!-- Kenya -->
    </tr>
    <tr>
        <td>sender.individual.identity_document.country</td>
        <td>-</td> <!-- Kenya -->
    </tr>
    <tr>
        <td>sender.individual.identity_document.number</td>
        <td>-</td> <!-- Kenya -->
    </tr>
    <tr>
        <td>sender.individual.identity_document.issued_on</td>
        <td>-</td> <!-- Kenya -->
    </tr>
    <tr>
        <td>sender.individual.identity_document.expires_on</td>
        <td>-</td> <!-- Kenya -->
    </tr>
</tbody>

</table> </details>

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

func (*PayoutAPIService) PayoutsPostExecute

Execute executes the request

@return PayoutsPost202Response

type PayoutsGet200Response

type PayoutsGet200Response struct {
	Data []OpenapiPayoutGetResponse     `json:"data,omitempty"`
	Meta *OpenapiPayoutListResponseMeta `json:"meta,omitempty"`
}

PayoutsGet200Response struct for PayoutsGet200Response

func NewPayoutsGet200Response

func NewPayoutsGet200Response() *PayoutsGet200Response

NewPayoutsGet200Response instantiates a new PayoutsGet200Response 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 NewPayoutsGet200ResponseWithDefaults

func NewPayoutsGet200ResponseWithDefaults() *PayoutsGet200Response

NewPayoutsGet200ResponseWithDefaults instantiates a new PayoutsGet200Response 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 (*PayoutsGet200Response) GetData

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

func (*PayoutsGet200Response) 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 (*PayoutsGet200Response) GetMeta

GetMeta returns the Meta field value if set, zero value otherwise.

func (*PayoutsGet200Response) GetMetaOk

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

func (*PayoutsGet200Response) HasData

func (o *PayoutsGet200Response) HasData() bool

HasData returns a boolean if a field has been set.

func (*PayoutsGet200Response) HasMeta

func (o *PayoutsGet200Response) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (PayoutsGet200Response) MarshalJSON

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

func (*PayoutsGet200Response) SetData

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

func (*PayoutsGet200Response) SetMeta

SetMeta gets a reference to the given OpenapiPayoutListResponseMeta and assigns it to the Meta field.

func (PayoutsGet200Response) ToMap

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

type PayoutsIdGet200Response

type PayoutsIdGet200Response struct {
	Data *OpenapiPayoutGetResponse `json:"data,omitempty"`
}

PayoutsIdGet200Response struct for PayoutsIdGet200Response

func NewPayoutsIdGet200Response

func NewPayoutsIdGet200Response() *PayoutsIdGet200Response

NewPayoutsIdGet200Response instantiates a new PayoutsIdGet200Response 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 NewPayoutsIdGet200ResponseWithDefaults

func NewPayoutsIdGet200ResponseWithDefaults() *PayoutsIdGet200Response

NewPayoutsIdGet200ResponseWithDefaults instantiates a new PayoutsIdGet200Response 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 (*PayoutsIdGet200Response) GetData

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

func (*PayoutsIdGet200Response) 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 (*PayoutsIdGet200Response) HasData

func (o *PayoutsIdGet200Response) HasData() bool

HasData returns a boolean if a field has been set.

func (PayoutsIdGet200Response) MarshalJSON

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

func (*PayoutsIdGet200Response) SetData

SetData gets a reference to the given OpenapiPayoutGetResponse and assigns it to the Data field.

func (PayoutsIdGet200Response) ToMap

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

type PayoutsPost202Response

type PayoutsPost202Response struct {
	Data *OpenapiPayoutCreateResponse `json:"data,omitempty"`
}

PayoutsPost202Response struct for PayoutsPost202Response

func NewPayoutsPost202Response

func NewPayoutsPost202Response() *PayoutsPost202Response

NewPayoutsPost202Response instantiates a new PayoutsPost202Response 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 NewPayoutsPost202ResponseWithDefaults

func NewPayoutsPost202ResponseWithDefaults() *PayoutsPost202Response

NewPayoutsPost202ResponseWithDefaults instantiates a new PayoutsPost202Response 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 (*PayoutsPost202Response) GetData

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

func (*PayoutsPost202Response) 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 (*PayoutsPost202Response) HasData

func (o *PayoutsPost202Response) HasData() bool

HasData returns a boolean if a field has been set.

func (PayoutsPost202Response) MarshalJSON

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

func (*PayoutsPost202Response) SetData

SetData gets a reference to the given OpenapiPayoutCreateResponse and assigns it to the Data field.

func (PayoutsPost202Response) ToMap

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

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type WalletAPIService

type WalletAPIService service

WalletAPIService WalletAPI service

func (*WalletAPIService) WalletsGet

WalletsGet List

Wallets serve as repositories for your funds in a specific currency and are employed in tandem with payouts as the origin from which funds will be disbursed.

This particular endpoint will return a comprehensive list of your active wallets, showcasing their associated currencies and the most recent updates on available balances.

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

func (*WalletAPIService) WalletsGetExecute

Execute executes the request

@return WalletsGet200Response

type WalletsGet200Response

type WalletsGet200Response struct {
	Data []WalletsGet200ResponseAllOfDataInner `json:"data,omitempty"`
}

WalletsGet200Response struct for WalletsGet200Response

func NewWalletsGet200Response

func NewWalletsGet200Response() *WalletsGet200Response

NewWalletsGet200Response instantiates a new WalletsGet200Response 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 NewWalletsGet200ResponseWithDefaults

func NewWalletsGet200ResponseWithDefaults() *WalletsGet200Response

NewWalletsGet200ResponseWithDefaults instantiates a new WalletsGet200Response 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 (*WalletsGet200Response) GetData

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

func (*WalletsGet200Response) 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 (*WalletsGet200Response) HasData

func (o *WalletsGet200Response) HasData() bool

HasData returns a boolean if a field has been set.

func (WalletsGet200Response) MarshalJSON

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

func (*WalletsGet200Response) SetData

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

func (WalletsGet200Response) ToMap

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

type WalletsGet200ResponseAllOfDataInner

type WalletsGet200ResponseAllOfDataInner struct {
	// The actual available balance
	Available *string `json:"available,omitempty"`
	// The total balance yet to settle
	Balance *string `json:"balance,omitempty"`
	// The ISO 4217 currency code associated with the wallet
	Currency *string `json:"currency,omitempty"`
	Id       *string `json:"id,omitempty"`
}

WalletsGet200ResponseAllOfDataInner struct for WalletsGet200ResponseAllOfDataInner

func NewWalletsGet200ResponseAllOfDataInner

func NewWalletsGet200ResponseAllOfDataInner() *WalletsGet200ResponseAllOfDataInner

NewWalletsGet200ResponseAllOfDataInner instantiates a new WalletsGet200ResponseAllOfDataInner 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 NewWalletsGet200ResponseAllOfDataInnerWithDefaults

func NewWalletsGet200ResponseAllOfDataInnerWithDefaults() *WalletsGet200ResponseAllOfDataInner

NewWalletsGet200ResponseAllOfDataInnerWithDefaults instantiates a new WalletsGet200ResponseAllOfDataInner 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 (*WalletsGet200ResponseAllOfDataInner) GetAvailable

func (o *WalletsGet200ResponseAllOfDataInner) GetAvailable() string

GetAvailable returns the Available field value if set, zero value otherwise.

func (*WalletsGet200ResponseAllOfDataInner) GetAvailableOk

func (o *WalletsGet200ResponseAllOfDataInner) GetAvailableOk() (*string, bool)

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

func (*WalletsGet200ResponseAllOfDataInner) GetBalance

GetBalance returns the Balance field value if set, zero value otherwise.

func (*WalletsGet200ResponseAllOfDataInner) GetBalanceOk

func (o *WalletsGet200ResponseAllOfDataInner) GetBalanceOk() (*string, bool)

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

func (*WalletsGet200ResponseAllOfDataInner) GetCurrency

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

func (*WalletsGet200ResponseAllOfDataInner) GetCurrencyOk

func (o *WalletsGet200ResponseAllOfDataInner) 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 (*WalletsGet200ResponseAllOfDataInner) GetId

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

func (*WalletsGet200ResponseAllOfDataInner) GetIdOk

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 (*WalletsGet200ResponseAllOfDataInner) HasAvailable

func (o *WalletsGet200ResponseAllOfDataInner) HasAvailable() bool

HasAvailable returns a boolean if a field has been set.

func (*WalletsGet200ResponseAllOfDataInner) HasBalance

func (o *WalletsGet200ResponseAllOfDataInner) HasBalance() bool

HasBalance returns a boolean if a field has been set.

func (*WalletsGet200ResponseAllOfDataInner) HasCurrency

func (o *WalletsGet200ResponseAllOfDataInner) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (*WalletsGet200ResponseAllOfDataInner) HasId

HasId returns a boolean if a field has been set.

func (WalletsGet200ResponseAllOfDataInner) MarshalJSON

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

func (*WalletsGet200ResponseAllOfDataInner) SetAvailable

func (o *WalletsGet200ResponseAllOfDataInner) SetAvailable(v string)

SetAvailable gets a reference to the given string and assigns it to the Available field.

func (*WalletsGet200ResponseAllOfDataInner) SetBalance

SetBalance gets a reference to the given string and assigns it to the Balance field.

func (*WalletsGet200ResponseAllOfDataInner) SetCurrency

func (o *WalletsGet200ResponseAllOfDataInner) SetCurrency(v string)

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

func (*WalletsGet200ResponseAllOfDataInner) SetId

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

func (WalletsGet200ResponseAllOfDataInner) ToMap

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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL