payout

package
v3.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Code generated by OpenAPI Generator; DO NOT EDIT.

Code generated by Xendit OpenAPI Generator; DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var AllowedPayoutChannelV2AccountTypeEnumValues = []PayoutChannelV2AccountType{
	"NATIONAL_ID",
	"MOBILE_NO",
	"PASSPORT",
	"BUSINESS_REGISTRATION",
}

All allowed values of PayoutChannelV2AccountType enum

View Source
var AllowedPayoutChannelV2CategoryRequestEnumValues = []PayoutChannelV2CategoryRequest{
	"BANK",
	"EWALLET",
	"OTC",
}

All allowed values of PayoutChannelV2CategoryRequest enum

Functions

This section is empty.

Types

type ApiCancelPayoutRequest

type ApiCancelPayoutRequest struct {
	ApiService PayoutApi
	// contains filtered or unexported fields
}

func (ApiCancelPayoutRequest) Execute

type ApiCreatePayoutRequest

type ApiCreatePayoutRequest struct {
	ApiService PayoutApi
	// contains filtered or unexported fields
}

func (ApiCreatePayoutRequest) Execute

func (ApiCreatePayoutRequest) ForUserId

func (r ApiCreatePayoutRequest) ForUserId(forUserId string) ApiCreatePayoutRequest

The sub-account user-id that you want to make this transaction for. This header is only used if you have access to xenPlatform. See xenPlatform for more information.

func (ApiCreatePayoutRequest) IdempotencyKey

func (r ApiCreatePayoutRequest) IdempotencyKey(idempotencyKey string) ApiCreatePayoutRequest

A unique key to prevent duplicate requests from pushing through our system. No expiration.

func (ApiCreatePayoutRequest) PayoutV2Request

func (r ApiCreatePayoutRequest) PayoutV2Request(payoutV2Request PayoutV2Request) ApiCreatePayoutRequest

type ApiGetPayoutByIdRequest

type ApiGetPayoutByIdRequest struct {
	ApiService PayoutApi
	// contains filtered or unexported fields
}

func (ApiGetPayoutByIdRequest) Execute

type ApiGetPayoutChannelsRequest

type ApiGetPayoutChannelsRequest struct {
	ApiService PayoutApi
	// contains filtered or unexported fields
}

func (ApiGetPayoutChannelsRequest) ChannelCategory

func (ApiGetPayoutChannelsRequest) ChannelCode

func (ApiGetPayoutChannelsRequest) Currency

func (ApiGetPayoutChannelsRequest) Execute

type ApiGetPayoutsRequest

type ApiGetPayoutsRequest struct {
	ApiService PayoutApi
	// contains filtered or unexported fields
}

func (ApiGetPayoutsRequest) AfterId

used to fetch record after this payout unique id

func (ApiGetPayoutsRequest) BeforeId

func (r ApiGetPayoutsRequest) BeforeId(beforeId string) ApiGetPayoutsRequest

used to fetch record before this payout unique id

func (ApiGetPayoutsRequest) Execute

func (ApiGetPayoutsRequest) Limit

func (ApiGetPayoutsRequest) ReferenceId

func (r ApiGetPayoutsRequest) ReferenceId(referenceId string) ApiGetPayoutsRequest

type ChannelPropertiesRequest

type ChannelPropertiesRequest struct {
	DigitalPayoutChannelProperties    *DigitalPayoutChannelProperties
	OTCPayoutChannelPropertiesRequest *OTCPayoutChannelPropertiesRequest
}

ChannelPropertiesRequest struct for ChannelPropertiesRequest

func (*ChannelPropertiesRequest) MarshalJSON

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

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

func (*ChannelPropertiesRequest) UnmarshalJSON

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

Unmarshal JSON data into any of the pointers in the struct

type DigitalPayoutChannelProperties

type DigitalPayoutChannelProperties struct {
	AccountHolderName NullableString              `json:"account_holder_name,omitempty"`
	AccountNumber     string                      `json:"account_number"`
	AccountType       *PayoutChannelV2AccountType `json:"account_type,omitempty"`
}

DigitalPayoutChannelProperties struct for DigitalPayoutChannelProperties

func NewDigitalPayoutChannelProperties

func NewDigitalPayoutChannelProperties(accountNumber string) *DigitalPayoutChannelProperties

NewDigitalPayoutChannelProperties instantiates a new DigitalPayoutChannelProperties 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 NewDigitalPayoutChannelPropertiesWithDefaults

func NewDigitalPayoutChannelPropertiesWithDefaults() *DigitalPayoutChannelProperties

NewDigitalPayoutChannelPropertiesWithDefaults instantiates a new DigitalPayoutChannelProperties 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 (*DigitalPayoutChannelProperties) GetAccountHolderName

func (o *DigitalPayoutChannelProperties) GetAccountHolderName() string

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

func (*DigitalPayoutChannelProperties) GetAccountHolderNameOk

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

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

func (*DigitalPayoutChannelProperties) GetAccountNumber

func (o *DigitalPayoutChannelProperties) GetAccountNumber() string

GetAccountNumber returns the AccountNumber field value

func (*DigitalPayoutChannelProperties) GetAccountNumberOk

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

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

func (*DigitalPayoutChannelProperties) GetAccountType

GetAccountType returns the AccountType field value if set, zero value otherwise.

func (*DigitalPayoutChannelProperties) GetAccountTypeOk

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

func (*DigitalPayoutChannelProperties) HasAccountHolderName

func (o *DigitalPayoutChannelProperties) HasAccountHolderName() bool

HasAccountHolderName returns a boolean if a field has been set.

func (*DigitalPayoutChannelProperties) HasAccountType

func (o *DigitalPayoutChannelProperties) HasAccountType() bool

HasAccountType returns a boolean if a field has been set.

func (DigitalPayoutChannelProperties) MarshalJSON

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

func (*DigitalPayoutChannelProperties) SetAccountHolderName

func (o *DigitalPayoutChannelProperties) SetAccountHolderName(v string)

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

func (*DigitalPayoutChannelProperties) SetAccountHolderNameNil

func (o *DigitalPayoutChannelProperties) SetAccountHolderNameNil()

SetAccountHolderNameNil sets the value for AccountHolderName to be an explicit nil

func (*DigitalPayoutChannelProperties) SetAccountNumber

func (o *DigitalPayoutChannelProperties) SetAccountNumber(v string)

SetAccountNumber sets field value

func (*DigitalPayoutChannelProperties) SetAccountType

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

func (DigitalPayoutChannelProperties) ToMap

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

func (*DigitalPayoutChannelProperties) UnsetAccountHolderName

func (o *DigitalPayoutChannelProperties) UnsetAccountHolderName()

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

type ErrorResponse

type ErrorResponse struct {
	ErrorCode string `json:"error_code"`
	Message   string `json:"message"`
}

ErrorResponse struct for ErrorResponse

func NewErrorResponse

func NewErrorResponse(errorCode string, message string) *ErrorResponse

NewErrorResponse instantiates a new ErrorResponse 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 NewErrorResponseWithDefaults

func NewErrorResponseWithDefaults() *ErrorResponse

NewErrorResponseWithDefaults instantiates a new ErrorResponse 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 (*ErrorResponse) GetErrorCode

func (o *ErrorResponse) GetErrorCode() string

GetErrorCode returns the ErrorCode field value

func (*ErrorResponse) GetErrorCodeOk

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

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

func (*ErrorResponse) GetMessage

func (o *ErrorResponse) GetMessage() string

GetMessage returns the Message field value

func (*ErrorResponse) GetMessageOk

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

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

func (ErrorResponse) MarshalJSON

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

func (*ErrorResponse) SetErrorCode

func (o *ErrorResponse) SetErrorCode(v string)

SetErrorCode sets field value

func (*ErrorResponse) SetMessage

func (o *ErrorResponse) SetMessage(v string)

SetMessage sets field value

func (ErrorResponse) ToMap

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

type ErrorV2Response

type ErrorV2Response struct {
	// Return a group of codes to let application to parse the error code accordingly
	ErrorCode string `json:"error_code"`
	// Return human readable error message to let user to understand and troubleshoot error easily
	Message string                       `json:"message"`
	Errors  []ErrorV2ResponseErrorsInner `json:"errors,omitempty"`
}

ErrorV2Response struct for ErrorV2Response

func NewErrorV2Response

func NewErrorV2Response(errorCode string, message string) *ErrorV2Response

NewErrorV2Response instantiates a new ErrorV2Response 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 NewErrorV2ResponseWithDefaults

func NewErrorV2ResponseWithDefaults() *ErrorV2Response

NewErrorV2ResponseWithDefaults instantiates a new ErrorV2Response 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 (*ErrorV2Response) GetErrorCode

func (o *ErrorV2Response) GetErrorCode() string

GetErrorCode returns the ErrorCode field value

func (*ErrorV2Response) GetErrorCodeOk

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

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

func (*ErrorV2Response) GetErrors

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

func (*ErrorV2Response) GetErrorsOk

func (o *ErrorV2Response) GetErrorsOk() ([]ErrorV2ResponseErrorsInner, bool)

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

func (*ErrorV2Response) GetMessage

func (o *ErrorV2Response) GetMessage() string

GetMessage returns the Message field value

func (*ErrorV2Response) GetMessageOk

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

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

func (*ErrorV2Response) HasErrors

func (o *ErrorV2Response) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (ErrorV2Response) MarshalJSON

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

func (*ErrorV2Response) SetErrorCode

func (o *ErrorV2Response) SetErrorCode(v string)

SetErrorCode sets field value

func (*ErrorV2Response) SetErrors

func (o *ErrorV2Response) SetErrors(v []ErrorV2ResponseErrorsInner)

SetErrors gets a reference to the given []ErrorV2ResponseErrorsInner and assigns it to the Errors field.

func (*ErrorV2Response) SetMessage

func (o *ErrorV2Response) SetMessage(v string)

SetMessage sets field value

func (ErrorV2Response) ToMap

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

type ErrorV2ResponseErrorsInner

type ErrorV2ResponseErrorsInner struct {
	// Precise location of the error
	Path string `json:"path"`
	// Specific description of the error
	Message string `json:"message"`
	// Link to doc url so user can troubleshoot error easily
	DocUrl *string `json:"doc_url,omitempty"`
}

ErrorV2ResponseErrorsInner struct for ErrorV2ResponseErrorsInner

func NewErrorV2ResponseErrorsInner

func NewErrorV2ResponseErrorsInner(path string, message string) *ErrorV2ResponseErrorsInner

NewErrorV2ResponseErrorsInner instantiates a new ErrorV2ResponseErrorsInner 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 NewErrorV2ResponseErrorsInnerWithDefaults

func NewErrorV2ResponseErrorsInnerWithDefaults() *ErrorV2ResponseErrorsInner

NewErrorV2ResponseErrorsInnerWithDefaults instantiates a new ErrorV2ResponseErrorsInner 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 (*ErrorV2ResponseErrorsInner) GetDocUrl

func (o *ErrorV2ResponseErrorsInner) GetDocUrl() string

GetDocUrl returns the DocUrl field value if set, zero value otherwise.

func (*ErrorV2ResponseErrorsInner) GetDocUrlOk

func (o *ErrorV2ResponseErrorsInner) GetDocUrlOk() (*string, bool)

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

func (*ErrorV2ResponseErrorsInner) GetMessage

func (o *ErrorV2ResponseErrorsInner) GetMessage() string

GetMessage returns the Message field value

func (*ErrorV2ResponseErrorsInner) GetMessageOk

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

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

func (*ErrorV2ResponseErrorsInner) GetPath

func (o *ErrorV2ResponseErrorsInner) GetPath() string

GetPath returns the Path field value

func (*ErrorV2ResponseErrorsInner) GetPathOk

func (o *ErrorV2ResponseErrorsInner) GetPathOk() (*string, bool)

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

func (*ErrorV2ResponseErrorsInner) HasDocUrl

func (o *ErrorV2ResponseErrorsInner) HasDocUrl() bool

HasDocUrl returns a boolean if a field has been set.

func (ErrorV2ResponseErrorsInner) MarshalJSON

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

func (*ErrorV2ResponseErrorsInner) SetDocUrl

func (o *ErrorV2ResponseErrorsInner) SetDocUrl(v string)

SetDocUrl gets a reference to the given string and assigns it to the DocUrl field.

func (*ErrorV2ResponseErrorsInner) SetMessage

func (o *ErrorV2ResponseErrorsInner) SetMessage(v string)

SetMessage sets field value

func (*ErrorV2ResponseErrorsInner) SetPath

func (o *ErrorV2ResponseErrorsInner) SetPath(v string)

SetPath sets field value

func (ErrorV2ResponseErrorsInner) ToMap

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

type GetPayouts200Response

type GetPayouts200Response struct {
	Data    []GetPayouts200ResponseDataInner `json:"data,omitempty"`
	HasMore *bool                            `json:"has_more,omitempty"`
	Links   *GetPayouts200ResponseLinks      `json:"links,omitempty"`
}

GetPayouts200Response struct for GetPayouts200Response

func NewGetPayouts200Response

func NewGetPayouts200Response() *GetPayouts200Response

NewGetPayouts200Response instantiates a new GetPayouts200Response 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 NewGetPayouts200ResponseWithDefaults

func NewGetPayouts200ResponseWithDefaults() *GetPayouts200Response

NewGetPayouts200ResponseWithDefaults instantiates a new GetPayouts200Response 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 (*GetPayouts200Response) GetData

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

func (*GetPayouts200Response) 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 (*GetPayouts200Response) GetHasMore

func (o *GetPayouts200Response) GetHasMore() bool

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

func (*GetPayouts200Response) GetHasMoreOk

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

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

GetLinks returns the Links field value if set, zero value otherwise.

func (*GetPayouts200Response) GetLinksOk

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

func (*GetPayouts200Response) HasData

func (o *GetPayouts200Response) HasData() bool

HasData returns a boolean if a field has been set.

func (*GetPayouts200Response) HasHasMore

func (o *GetPayouts200Response) HasHasMore() bool

HasHasMore returns a boolean if a field has been set.

func (o *GetPayouts200Response) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (GetPayouts200Response) MarshalJSON

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

func (*GetPayouts200Response) SetData

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

func (*GetPayouts200Response) SetHasMore

func (o *GetPayouts200Response) SetHasMore(v bool)

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

SetLinks gets a reference to the given GetPayouts200ResponseLinks and assigns it to the Links field.

func (GetPayouts200Response) ToMap

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

type GetPayouts200ResponseDataInner

type GetPayouts200ResponseDataInner struct {
	PayoutV2Response *PayoutV2Response
}

GetPayouts200ResponseDataInner struct for GetPayouts200ResponseDataInner

func (*GetPayouts200ResponseDataInner) MarshalJSON

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

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

func (*GetPayouts200ResponseDataInner) UnmarshalJSON

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

Unmarshal JSON data into any of the pointers in the struct

type GetPayouts200ResponseLinks struct {
	Href   *string `json:"href,omitempty"`
	Rel    *string `json:"rel,omitempty"`
	Method *string `json:"method,omitempty"`
}

GetPayouts200ResponseLinks struct for GetPayouts200ResponseLinks

func NewGetPayouts200ResponseLinks() *GetPayouts200ResponseLinks

NewGetPayouts200ResponseLinks instantiates a new GetPayouts200ResponseLinks 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 NewGetPayouts200ResponseLinksWithDefaults

func NewGetPayouts200ResponseLinksWithDefaults() *GetPayouts200ResponseLinks

NewGetPayouts200ResponseLinksWithDefaults instantiates a new GetPayouts200ResponseLinks 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 (*GetPayouts200ResponseLinks) GetHref

func (o *GetPayouts200ResponseLinks) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*GetPayouts200ResponseLinks) GetHrefOk

func (o *GetPayouts200ResponseLinks) GetHrefOk() (*string, bool)

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

func (*GetPayouts200ResponseLinks) GetMethod

func (o *GetPayouts200ResponseLinks) GetMethod() string

GetMethod returns the Method field value if set, zero value otherwise.

func (*GetPayouts200ResponseLinks) GetMethodOk

func (o *GetPayouts200ResponseLinks) GetMethodOk() (*string, bool)

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

func (*GetPayouts200ResponseLinks) GetRel

func (o *GetPayouts200ResponseLinks) GetRel() string

GetRel returns the Rel field value if set, zero value otherwise.

func (*GetPayouts200ResponseLinks) GetRelOk

func (o *GetPayouts200ResponseLinks) GetRelOk() (*string, bool)

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

func (*GetPayouts200ResponseLinks) HasHref

func (o *GetPayouts200ResponseLinks) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*GetPayouts200ResponseLinks) HasMethod

func (o *GetPayouts200ResponseLinks) HasMethod() bool

HasMethod returns a boolean if a field has been set.

func (*GetPayouts200ResponseLinks) HasRel

func (o *GetPayouts200ResponseLinks) HasRel() bool

HasRel returns a boolean if a field has been set.

func (GetPayouts200ResponseLinks) MarshalJSON

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

func (*GetPayouts200ResponseLinks) SetHref

func (o *GetPayouts200ResponseLinks) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*GetPayouts200ResponseLinks) SetMethod

func (o *GetPayouts200ResponseLinks) SetMethod(v string)

SetMethod gets a reference to the given string and assigns it to the Method field.

func (*GetPayouts200ResponseLinks) SetRel

func (o *GetPayouts200ResponseLinks) SetRel(v string)

SetRel gets a reference to the given string and assigns it to the Rel field.

func (GetPayouts200ResponseLinks) ToMap

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

type MappedNullable

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

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 NullableChannelPropertiesRequest

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

func (NullableChannelPropertiesRequest) Get

func (NullableChannelPropertiesRequest) IsSet

func (NullableChannelPropertiesRequest) MarshalJSON

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

func (*NullableChannelPropertiesRequest) Set

func (*NullableChannelPropertiesRequest) UnmarshalJSON

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

func (*NullableChannelPropertiesRequest) Unset

type NullableDigitalPayoutChannelProperties

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

func (NullableDigitalPayoutChannelProperties) Get

func (NullableDigitalPayoutChannelProperties) IsSet

func (NullableDigitalPayoutChannelProperties) MarshalJSON

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

func (*NullableDigitalPayoutChannelProperties) Set

func (*NullableDigitalPayoutChannelProperties) UnmarshalJSON

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

func (*NullableDigitalPayoutChannelProperties) Unset

type NullableErrorResponse

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

func NewNullableErrorResponse

func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse

func (NullableErrorResponse) Get

func (NullableErrorResponse) IsSet

func (v NullableErrorResponse) IsSet() bool

func (NullableErrorResponse) MarshalJSON

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

func (*NullableErrorResponse) Set

func (v *NullableErrorResponse) Set(val *ErrorResponse)

func (*NullableErrorResponse) UnmarshalJSON

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

func (*NullableErrorResponse) Unset

func (v *NullableErrorResponse) Unset()

type NullableErrorV2Response

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

func NewNullableErrorV2Response

func NewNullableErrorV2Response(val *ErrorV2Response) *NullableErrorV2Response

func (NullableErrorV2Response) Get

func (NullableErrorV2Response) IsSet

func (v NullableErrorV2Response) IsSet() bool

func (NullableErrorV2Response) MarshalJSON

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

func (*NullableErrorV2Response) Set

func (*NullableErrorV2Response) UnmarshalJSON

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

func (*NullableErrorV2Response) Unset

func (v *NullableErrorV2Response) Unset()

type NullableErrorV2ResponseErrorsInner

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

func (NullableErrorV2ResponseErrorsInner) Get

func (NullableErrorV2ResponseErrorsInner) IsSet

func (NullableErrorV2ResponseErrorsInner) MarshalJSON

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

func (*NullableErrorV2ResponseErrorsInner) Set

func (*NullableErrorV2ResponseErrorsInner) UnmarshalJSON

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

func (*NullableErrorV2ResponseErrorsInner) 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 NullableGetPayouts200Response

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

func (NullableGetPayouts200Response) Get

func (NullableGetPayouts200Response) IsSet

func (NullableGetPayouts200Response) MarshalJSON

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

func (*NullableGetPayouts200Response) Set

func (*NullableGetPayouts200Response) UnmarshalJSON

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

func (*NullableGetPayouts200Response) Unset

func (v *NullableGetPayouts200Response) Unset()

type NullableGetPayouts200ResponseDataInner

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

func (NullableGetPayouts200ResponseDataInner) Get

func (NullableGetPayouts200ResponseDataInner) IsSet

func (NullableGetPayouts200ResponseDataInner) MarshalJSON

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

func (*NullableGetPayouts200ResponseDataInner) Set

func (*NullableGetPayouts200ResponseDataInner) UnmarshalJSON

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

func (*NullableGetPayouts200ResponseDataInner) Unset

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

func (NullableGetPayouts200ResponseLinks) Get

func (NullableGetPayouts200ResponseLinks) IsSet

func (NullableGetPayouts200ResponseLinks) MarshalJSON

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

func (*NullableGetPayouts200ResponseLinks) Set

func (*NullableGetPayouts200ResponseLinks) UnmarshalJSON

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

func (*NullableGetPayouts200ResponseLinks) 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 NullableOTCPayoutChannelPropertiesRequest

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

func (NullableOTCPayoutChannelPropertiesRequest) Get

func (NullableOTCPayoutChannelPropertiesRequest) IsSet

func (NullableOTCPayoutChannelPropertiesRequest) MarshalJSON

func (*NullableOTCPayoutChannelPropertiesRequest) Set

func (*NullableOTCPayoutChannelPropertiesRequest) UnmarshalJSON

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

func (*NullableOTCPayoutChannelPropertiesRequest) Unset

type NullablePayoutChannelV2

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

func NewNullablePayoutChannelV2

func NewNullablePayoutChannelV2(val *PayoutChannelV2) *NullablePayoutChannelV2

func (NullablePayoutChannelV2) Get

func (NullablePayoutChannelV2) IsSet

func (v NullablePayoutChannelV2) IsSet() bool

func (NullablePayoutChannelV2) MarshalJSON

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

func (*NullablePayoutChannelV2) Set

func (*NullablePayoutChannelV2) UnmarshalJSON

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

func (*NullablePayoutChannelV2) Unset

func (v *NullablePayoutChannelV2) Unset()

type NullablePayoutChannelV2AccountType

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

func (NullablePayoutChannelV2AccountType) Get

func (NullablePayoutChannelV2AccountType) IsSet

func (NullablePayoutChannelV2AccountType) MarshalJSON

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

func (*NullablePayoutChannelV2AccountType) Set

func (*NullablePayoutChannelV2AccountType) UnmarshalJSON

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

func (*NullablePayoutChannelV2AccountType) Unset

type NullablePayoutChannelV2AmountLimits

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

func (NullablePayoutChannelV2AmountLimits) Get

func (NullablePayoutChannelV2AmountLimits) IsSet

func (NullablePayoutChannelV2AmountLimits) MarshalJSON

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

func (*NullablePayoutChannelV2AmountLimits) Set

func (*NullablePayoutChannelV2AmountLimits) UnmarshalJSON

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

func (*NullablePayoutChannelV2AmountLimits) Unset

type NullablePayoutChannelV2CategoryRequest

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

func (NullablePayoutChannelV2CategoryRequest) Get

func (NullablePayoutChannelV2CategoryRequest) IsSet

func (NullablePayoutChannelV2CategoryRequest) MarshalJSON

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

func (*NullablePayoutChannelV2CategoryRequest) Set

func (*NullablePayoutChannelV2CategoryRequest) UnmarshalJSON

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

func (*NullablePayoutChannelV2CategoryRequest) Unset

type NullablePayoutV2Request

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

func NewNullablePayoutV2Request

func NewNullablePayoutV2Request(val *PayoutV2Request) *NullablePayoutV2Request

func (NullablePayoutV2Request) Get

func (NullablePayoutV2Request) IsSet

func (v NullablePayoutV2Request) IsSet() bool

func (NullablePayoutV2Request) MarshalJSON

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

func (*NullablePayoutV2Request) Set

func (*NullablePayoutV2Request) UnmarshalJSON

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

func (*NullablePayoutV2Request) Unset

func (v *NullablePayoutV2Request) Unset()

type NullablePayoutV2Response

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

func NewNullablePayoutV2Response

func NewNullablePayoutV2Response(val *PayoutV2Response) *NullablePayoutV2Response

func (NullablePayoutV2Response) Get

func (NullablePayoutV2Response) IsSet

func (v NullablePayoutV2Response) IsSet() bool

func (NullablePayoutV2Response) MarshalJSON

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

func (*NullablePayoutV2Response) Set

func (*NullablePayoutV2Response) UnmarshalJSON

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

func (*NullablePayoutV2Response) Unset

func (v *NullablePayoutV2Response) Unset()

type NullablePayoutV2ResponseAllOf

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

func (NullablePayoutV2ResponseAllOf) Get

func (NullablePayoutV2ResponseAllOf) IsSet

func (NullablePayoutV2ResponseAllOf) MarshalJSON

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

func (*NullablePayoutV2ResponseAllOf) Set

func (*NullablePayoutV2ResponseAllOf) UnmarshalJSON

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

func (*NullablePayoutV2ResponseAllOf) Unset

func (v *NullablePayoutV2ResponseAllOf) Unset()

type NullableReceiptNotification

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

func NewNullableReceiptNotification

func NewNullableReceiptNotification(val *ReceiptNotification) *NullableReceiptNotification

func (NullableReceiptNotification) Get

func (NullableReceiptNotification) IsSet

func (NullableReceiptNotification) MarshalJSON

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

func (*NullableReceiptNotification) Set

func (*NullableReceiptNotification) UnmarshalJSON

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

func (*NullableReceiptNotification) Unset

func (v *NullableReceiptNotification) 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 OTCPayoutChannelPropertiesRequest

type OTCPayoutChannelPropertiesRequest struct {
	RecipientGivenNames string     `json:"recipient_given_names"`
	RecipientSurname    *string    `json:"recipient_surname,omitempty"`
	ExpiresAt           *time.Time `json:"expires_at,omitempty"`
}

OTCPayoutChannelPropertiesRequest struct for OTCPayoutChannelPropertiesRequest

func NewOTCPayoutChannelPropertiesRequest

func NewOTCPayoutChannelPropertiesRequest(recipientGivenNames string) *OTCPayoutChannelPropertiesRequest

NewOTCPayoutChannelPropertiesRequest instantiates a new OTCPayoutChannelPropertiesRequest 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 NewOTCPayoutChannelPropertiesRequestWithDefaults

func NewOTCPayoutChannelPropertiesRequestWithDefaults() *OTCPayoutChannelPropertiesRequest

NewOTCPayoutChannelPropertiesRequestWithDefaults instantiates a new OTCPayoutChannelPropertiesRequest 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 (*OTCPayoutChannelPropertiesRequest) GetExpiresAt

func (o *OTCPayoutChannelPropertiesRequest) GetExpiresAt() time.Time

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

func (*OTCPayoutChannelPropertiesRequest) GetExpiresAtOk

func (o *OTCPayoutChannelPropertiesRequest) GetExpiresAtOk() (*time.Time, bool)

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

func (*OTCPayoutChannelPropertiesRequest) GetRecipientGivenNames

func (o *OTCPayoutChannelPropertiesRequest) GetRecipientGivenNames() string

GetRecipientGivenNames returns the RecipientGivenNames field value

func (*OTCPayoutChannelPropertiesRequest) GetRecipientGivenNamesOk

func (o *OTCPayoutChannelPropertiesRequest) GetRecipientGivenNamesOk() (*string, bool)

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

func (*OTCPayoutChannelPropertiesRequest) GetRecipientSurname

func (o *OTCPayoutChannelPropertiesRequest) GetRecipientSurname() string

GetRecipientSurname returns the RecipientSurname field value if set, zero value otherwise.

func (*OTCPayoutChannelPropertiesRequest) GetRecipientSurnameOk

func (o *OTCPayoutChannelPropertiesRequest) GetRecipientSurnameOk() (*string, bool)

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

func (*OTCPayoutChannelPropertiesRequest) HasExpiresAt

func (o *OTCPayoutChannelPropertiesRequest) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (*OTCPayoutChannelPropertiesRequest) HasRecipientSurname

func (o *OTCPayoutChannelPropertiesRequest) HasRecipientSurname() bool

HasRecipientSurname returns a boolean if a field has been set.

func (OTCPayoutChannelPropertiesRequest) MarshalJSON

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

func (*OTCPayoutChannelPropertiesRequest) SetExpiresAt

func (o *OTCPayoutChannelPropertiesRequest) SetExpiresAt(v time.Time)

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

func (*OTCPayoutChannelPropertiesRequest) SetRecipientGivenNames

func (o *OTCPayoutChannelPropertiesRequest) SetRecipientGivenNames(v string)

SetRecipientGivenNames sets field value

func (*OTCPayoutChannelPropertiesRequest) SetRecipientSurname

func (o *OTCPayoutChannelPropertiesRequest) SetRecipientSurname(v string)

SetRecipientSurname gets a reference to the given string and assigns it to the RecipientSurname field.

func (OTCPayoutChannelPropertiesRequest) ToMap

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

type PayoutApi

type PayoutApi interface {

	/*
		CancelPayout Method for CancelPayout

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param id Payout Id
		@return ApiCancelPayoutRequest
	*/
	CancelPayout(ctx context.Context, id string) ApiCancelPayoutRequest

	// CancelPayoutExecute executes the request
	//  @return GetPayouts200ResponseDataInner
	CancelPayoutExecute(r ApiCancelPayoutRequest) (*GetPayouts200ResponseDataInner, *http.Response, error)

	/*
		CreatePayout Method for CreatePayout

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

	// CreatePayoutExecute executes the request
	//  @return GetPayouts200ResponseDataInner
	CreatePayoutExecute(r ApiCreatePayoutRequest) (*GetPayouts200ResponseDataInner, *http.Response, error)

	/*
		GetPayoutById Method for GetPayoutById

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param id Payout Id
		@return ApiGetPayoutByIdRequest
	*/
	GetPayoutById(ctx context.Context, id string) ApiGetPayoutByIdRequest

	// GetPayoutByIdExecute executes the request
	//  @return GetPayouts200ResponseDataInner
	GetPayoutByIdExecute(r ApiGetPayoutByIdRequest) (*GetPayouts200ResponseDataInner, *http.Response, error)

	/*
		GetPayoutChannels Method for GetPayoutChannels

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

	// GetPayoutChannelsExecute executes the request
	//  @return []PayoutChannelV2
	GetPayoutChannelsExecute(r ApiGetPayoutChannelsRequest) ([]PayoutChannelV2, *http.Response, error)

	/*
		GetPayouts Method for GetPayouts

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

	// GetPayoutsExecute executes the request
	//  @return GetPayouts200Response
	GetPayoutsExecute(r ApiGetPayoutsRequest) (*GetPayouts200Response, *http.Response, error)
}

func NewPayoutApi

func NewPayoutApi(client common.IClient) PayoutApi

NewPayoutApi Create a new PayoutApi service

type PayoutApiService

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

PayoutApiService PayoutApi service

func (*PayoutApiService) CancelPayout

CancelPayout Method for CancelPayout

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

func (*PayoutApiService) CancelPayoutExecute

Execute executes the request

@return GetPayouts200ResponseDataInner

func (*PayoutApiService) CreatePayout

CreatePayout Method for CreatePayout

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

func (*PayoutApiService) CreatePayoutExecute

Execute executes the request

@return GetPayouts200ResponseDataInner

func (*PayoutApiService) GetPayoutById

GetPayoutById Method for GetPayoutById

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

func (*PayoutApiService) GetPayoutByIdExecute

Execute executes the request

@return GetPayouts200ResponseDataInner

func (*PayoutApiService) GetPayoutChannels

func (a *PayoutApiService) GetPayoutChannels(ctx context.Context) ApiGetPayoutChannelsRequest

GetPayoutChannels Method for GetPayoutChannels

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

func (*PayoutApiService) GetPayoutChannelsExecute

func (a *PayoutApiService) GetPayoutChannelsExecute(r ApiGetPayoutChannelsRequest) ([]PayoutChannelV2, *http.Response, error)

Execute executes the request

@return []PayoutChannelV2

func (*PayoutApiService) GetPayouts

GetPayouts Method for GetPayouts

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

func (*PayoutApiService) GetPayoutsExecute

Execute executes the request

@return GetPayouts200Response

type PayoutChannelV2

type PayoutChannelV2 struct {
	ChannelCode     string                         `json:"channel_code"`
	ChannelCategory PayoutChannelV2CategoryRequest `json:"channel_category"`
	Currency        string                         `json:"currency"`
	ChannelName     string                         `json:"channel_name"`
	AmountLimits    PayoutChannelV2AmountLimits    `json:"amount_limits"`
}

PayoutChannelV2 struct for PayoutChannelV2

func NewPayoutChannelV2

func NewPayoutChannelV2(channelCode string, channelCategory PayoutChannelV2CategoryRequest, currency string, channelName string, amountLimits PayoutChannelV2AmountLimits) *PayoutChannelV2

NewPayoutChannelV2 instantiates a new PayoutChannelV2 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 NewPayoutChannelV2WithDefaults

func NewPayoutChannelV2WithDefaults() *PayoutChannelV2

NewPayoutChannelV2WithDefaults instantiates a new PayoutChannelV2 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 (*PayoutChannelV2) GetAmountLimits

func (o *PayoutChannelV2) GetAmountLimits() PayoutChannelV2AmountLimits

GetAmountLimits returns the AmountLimits field value

func (*PayoutChannelV2) GetAmountLimitsOk

func (o *PayoutChannelV2) GetAmountLimitsOk() (*PayoutChannelV2AmountLimits, bool)

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

func (*PayoutChannelV2) GetChannelCategory

func (o *PayoutChannelV2) GetChannelCategory() PayoutChannelV2CategoryRequest

GetChannelCategory returns the ChannelCategory field value

func (*PayoutChannelV2) GetChannelCategoryOk

func (o *PayoutChannelV2) GetChannelCategoryOk() (*PayoutChannelV2CategoryRequest, bool)

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

func (*PayoutChannelV2) GetChannelCode

func (o *PayoutChannelV2) GetChannelCode() string

GetChannelCode returns the ChannelCode field value

func (*PayoutChannelV2) GetChannelCodeOk

func (o *PayoutChannelV2) GetChannelCodeOk() (*string, bool)

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

func (*PayoutChannelV2) GetChannelName

func (o *PayoutChannelV2) GetChannelName() string

GetChannelName returns the ChannelName field value

func (*PayoutChannelV2) GetChannelNameOk

func (o *PayoutChannelV2) GetChannelNameOk() (*string, bool)

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

func (*PayoutChannelV2) GetCurrency

func (o *PayoutChannelV2) GetCurrency() string

GetCurrency returns the Currency field value

func (*PayoutChannelV2) GetCurrencyOk

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

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

func (PayoutChannelV2) MarshalJSON

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

func (*PayoutChannelV2) SetAmountLimits

func (o *PayoutChannelV2) SetAmountLimits(v PayoutChannelV2AmountLimits)

SetAmountLimits sets field value

func (*PayoutChannelV2) SetChannelCategory

func (o *PayoutChannelV2) SetChannelCategory(v PayoutChannelV2CategoryRequest)

SetChannelCategory sets field value

func (*PayoutChannelV2) SetChannelCode

func (o *PayoutChannelV2) SetChannelCode(v string)

SetChannelCode sets field value

func (*PayoutChannelV2) SetChannelName

func (o *PayoutChannelV2) SetChannelName(v string)

SetChannelName sets field value

func (*PayoutChannelV2) SetCurrency

func (o *PayoutChannelV2) SetCurrency(v string)

SetCurrency sets field value

func (PayoutChannelV2) ToMap

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

type PayoutChannelV2AccountType

type PayoutChannelV2AccountType string

PayoutChannelV2AccountType Available account types (applicable for MY_DUITNOW)

const (
	PAYOUTCHANNELV2ACCOUNTTYPE_NATIONAL_ID           PayoutChannelV2AccountType = "NATIONAL_ID"
	PAYOUTCHANNELV2ACCOUNTTYPE_MOBILE_NO             PayoutChannelV2AccountType = "MOBILE_NO"
	PAYOUTCHANNELV2ACCOUNTTYPE_PASSPORT              PayoutChannelV2AccountType = "PASSPORT"
	PAYOUTCHANNELV2ACCOUNTTYPE_BUSINESS_REGISTRATION PayoutChannelV2AccountType = "BUSINESS_REGISTRATION"
)

List of PayoutChannelV2AccountType

func NewPayoutChannelV2AccountTypeFromValue

func NewPayoutChannelV2AccountTypeFromValue(v string) (*PayoutChannelV2AccountType, error)

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

func (PayoutChannelV2AccountType) IsValid

func (v PayoutChannelV2AccountType) IsValid() bool

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

func (PayoutChannelV2AccountType) Ptr

Ptr returns reference to PayoutChannelV2AccountType value

func (PayoutChannelV2AccountType) String

func (*PayoutChannelV2AccountType) UnmarshalJSON

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

type PayoutChannelV2AmountLimits

type PayoutChannelV2AmountLimits struct {
	Minimum          float32 `json:"minimum"`
	Maximum          float32 `json:"maximum"`
	MinimumIncrement float32 `json:"minimum_increment"`
}

PayoutChannelV2AmountLimits struct for PayoutChannelV2AmountLimits

func NewPayoutChannelV2AmountLimits

func NewPayoutChannelV2AmountLimits(minimum float32, maximum float32, minimumIncrement float32) *PayoutChannelV2AmountLimits

NewPayoutChannelV2AmountLimits instantiates a new PayoutChannelV2AmountLimits 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 NewPayoutChannelV2AmountLimitsWithDefaults

func NewPayoutChannelV2AmountLimitsWithDefaults() *PayoutChannelV2AmountLimits

NewPayoutChannelV2AmountLimitsWithDefaults instantiates a new PayoutChannelV2AmountLimits 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 (*PayoutChannelV2AmountLimits) GetMaximum

func (o *PayoutChannelV2AmountLimits) GetMaximum() float32

GetMaximum returns the Maximum field value

func (*PayoutChannelV2AmountLimits) GetMaximumOk

func (o *PayoutChannelV2AmountLimits) GetMaximumOk() (*float32, bool)

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

func (*PayoutChannelV2AmountLimits) GetMinimum

func (o *PayoutChannelV2AmountLimits) GetMinimum() float32

GetMinimum returns the Minimum field value

func (*PayoutChannelV2AmountLimits) GetMinimumIncrement

func (o *PayoutChannelV2AmountLimits) GetMinimumIncrement() float32

GetMinimumIncrement returns the MinimumIncrement field value

func (*PayoutChannelV2AmountLimits) GetMinimumIncrementOk

func (o *PayoutChannelV2AmountLimits) GetMinimumIncrementOk() (*float32, bool)

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

func (*PayoutChannelV2AmountLimits) GetMinimumOk

func (o *PayoutChannelV2AmountLimits) GetMinimumOk() (*float32, bool)

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

func (PayoutChannelV2AmountLimits) MarshalJSON

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

func (*PayoutChannelV2AmountLimits) SetMaximum

func (o *PayoutChannelV2AmountLimits) SetMaximum(v float32)

SetMaximum sets field value

func (*PayoutChannelV2AmountLimits) SetMinimum

func (o *PayoutChannelV2AmountLimits) SetMinimum(v float32)

SetMinimum sets field value

func (*PayoutChannelV2AmountLimits) SetMinimumIncrement

func (o *PayoutChannelV2AmountLimits) SetMinimumIncrement(v float32)

SetMinimumIncrement sets field value

func (PayoutChannelV2AmountLimits) ToMap

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

type PayoutChannelV2CategoryRequest

type PayoutChannelV2CategoryRequest string

PayoutChannelV2CategoryRequest the model 'PayoutChannelV2CategoryRequest'

const (
	PAYOUTCHANNELV2CATEGORYREQUEST_BANK    PayoutChannelV2CategoryRequest = "BANK"
	PAYOUTCHANNELV2CATEGORYREQUEST_EWALLET PayoutChannelV2CategoryRequest = "EWALLET"
	PAYOUTCHANNELV2CATEGORYREQUEST_OTC     PayoutChannelV2CategoryRequest = "OTC"
)

List of PayoutChannelV2CategoryRequest

func NewPayoutChannelV2CategoryRequestFromValue

func NewPayoutChannelV2CategoryRequestFromValue(v string) (*PayoutChannelV2CategoryRequest, error)

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

func (PayoutChannelV2CategoryRequest) IsValid

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

func (PayoutChannelV2CategoryRequest) Ptr

Ptr returns reference to PayoutChannelV2CategoryRequest value

func (PayoutChannelV2CategoryRequest) String

func (*PayoutChannelV2CategoryRequest) UnmarshalJSON

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

type PayoutV2Request

type PayoutV2Request struct {
	// A client defined payout identifier
	ReferenceId string `json:"reference_id"`
	// Channel code of selected destination bank, e-wallet or OTC pick-up channel
	ChannelCode       string                   `json:"channel_code"`
	ChannelProperties ChannelPropertiesRequest `json:"channel_properties"`
	// Amount to be sent to the destination account. Should be a multiple of the minimum increment for the selected channel.
	Amount float32 `json:"amount"`
	// Description to send with the payout. The recipient may see this e.g., in their bank statement (if supported) or in email receipts we send on your behalf.
	Description *string `json:"description,omitempty"`
	// ISO 4217 Currency Code
	Currency            string               `json:"currency"`
	ReceiptNotification *ReceiptNotification `json:"receipt_notification,omitempty"`
	// Object of additional information you may use.
	Metadata map[string]interface{} `json:"metadata,omitempty"`
}

PayoutV2Request struct for PayoutV2Request

func NewPayoutV2Request

func NewPayoutV2Request(referenceId string, channelCode string, channelProperties ChannelPropertiesRequest, amount float32, currency string) *PayoutV2Request

NewPayoutV2Request instantiates a new PayoutV2Request 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 NewPayoutV2RequestWithDefaults

func NewPayoutV2RequestWithDefaults() *PayoutV2Request

NewPayoutV2RequestWithDefaults instantiates a new PayoutV2Request 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 (*PayoutV2Request) GetAmount

func (o *PayoutV2Request) GetAmount() float32

GetAmount returns the Amount field value

func (*PayoutV2Request) GetAmountOk

func (o *PayoutV2Request) GetAmountOk() (*float32, bool)

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

func (*PayoutV2Request) GetChannelCode

func (o *PayoutV2Request) GetChannelCode() string

GetChannelCode returns the ChannelCode field value

func (*PayoutV2Request) GetChannelCodeOk

func (o *PayoutV2Request) GetChannelCodeOk() (*string, bool)

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

func (*PayoutV2Request) GetChannelProperties

func (o *PayoutV2Request) GetChannelProperties() ChannelPropertiesRequest

GetChannelProperties returns the ChannelProperties field value

func (*PayoutV2Request) GetChannelPropertiesOk

func (o *PayoutV2Request) GetChannelPropertiesOk() (*ChannelPropertiesRequest, bool)

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

func (*PayoutV2Request) GetCurrency

func (o *PayoutV2Request) GetCurrency() string

GetCurrency returns the Currency field value

func (*PayoutV2Request) GetCurrencyOk

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

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

func (*PayoutV2Request) GetDescription

func (o *PayoutV2Request) GetDescription() string

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

func (*PayoutV2Request) GetDescriptionOk

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

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

func (*PayoutV2Request) GetMetadata

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

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

func (*PayoutV2Request) GetMetadataOk

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

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

func (*PayoutV2Request) GetReceiptNotification

func (o *PayoutV2Request) GetReceiptNotification() ReceiptNotification

GetReceiptNotification returns the ReceiptNotification field value if set, zero value otherwise.

func (*PayoutV2Request) GetReceiptNotificationOk

func (o *PayoutV2Request) GetReceiptNotificationOk() (*ReceiptNotification, bool)

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

func (*PayoutV2Request) GetReferenceId

func (o *PayoutV2Request) GetReferenceId() string

GetReferenceId returns the ReferenceId field value

func (*PayoutV2Request) GetReferenceIdOk

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

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

func (*PayoutV2Request) HasDescription

func (o *PayoutV2Request) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*PayoutV2Request) HasMetadata

func (o *PayoutV2Request) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*PayoutV2Request) HasReceiptNotification

func (o *PayoutV2Request) HasReceiptNotification() bool

HasReceiptNotification returns a boolean if a field has been set.

func (PayoutV2Request) MarshalJSON

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

func (*PayoutV2Request) SetAmount

func (o *PayoutV2Request) SetAmount(v float32)

SetAmount sets field value

func (*PayoutV2Request) SetChannelCode

func (o *PayoutV2Request) SetChannelCode(v string)

SetChannelCode sets field value

func (*PayoutV2Request) SetChannelProperties

func (o *PayoutV2Request) SetChannelProperties(v ChannelPropertiesRequest)

SetChannelProperties sets field value

func (*PayoutV2Request) SetCurrency

func (o *PayoutV2Request) SetCurrency(v string)

SetCurrency sets field value

func (*PayoutV2Request) SetDescription

func (o *PayoutV2Request) SetDescription(v string)

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

func (*PayoutV2Request) SetMetadata

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

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

func (*PayoutV2Request) SetReceiptNotification

func (o *PayoutV2Request) SetReceiptNotification(v ReceiptNotification)

SetReceiptNotification gets a reference to the given ReceiptNotification and assigns it to the ReceiptNotification field.

func (*PayoutV2Request) SetReferenceId

func (o *PayoutV2Request) SetReferenceId(v string)

SetReferenceId sets field value

func (PayoutV2Request) ToMap

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

type PayoutV2Response

type PayoutV2Response struct {
	// A client defined payout identifier
	ReferenceId string `json:"reference_id"`
	// Channel code of selected destination bank, e-wallet or OTC pick-up channel
	ChannelCode       string                   `json:"channel_code"`
	ChannelProperties ChannelPropertiesRequest `json:"channel_properties"`
	// Amount to be sent to the destination account. Should be a multiple of the minimum increment for the selected channel.
	Amount float32 `json:"amount"`
	// Description to send with the payout. The recipient may see this e.g., in their bank statement (if supported) or in email receipts we send on your behalf.
	Description *string `json:"description,omitempty"`
	// ISO 4217 Currency Code
	Currency            string               `json:"currency"`
	ReceiptNotification *ReceiptNotification `json:"receipt_notification,omitempty"`
	// Object of additional information you may use.
	Metadata map[string]interface{} `json:"metadata,omitempty"`
	// Xendit-generated unique identifier for each payout
	Id string `json:"id"`
	// ISO 8601
	Created time.Time `json:"created"`
	// ISO 8601
	Updated time.Time `json:"updated"`
	// Xendit Business ID
	BusinessId string `json:"business_id"`
	// Status of payout
	Status string `json:"status"`
	// If the Payout failed, we include a failure code for more details on the failure.
	FailureCode          *string    `json:"failure_code,omitempty"`
	EstimatedArrivalTime *time.Time `json:"estimated_arrival_time,omitempty"`
}

PayoutV2Response struct for PayoutV2Response

func NewPayoutV2Response

func NewPayoutV2Response(referenceId string, channelCode string, channelProperties ChannelPropertiesRequest, amount float32, currency string, id string, created time.Time, updated time.Time, businessId string, status string) *PayoutV2Response

NewPayoutV2Response instantiates a new PayoutV2Response 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 NewPayoutV2ResponseWithDefaults

func NewPayoutV2ResponseWithDefaults() *PayoutV2Response

NewPayoutV2ResponseWithDefaults instantiates a new PayoutV2Response 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 (*PayoutV2Response) GetAmount

func (o *PayoutV2Response) GetAmount() float32

GetAmount returns the Amount field value

func (*PayoutV2Response) GetAmountOk

func (o *PayoutV2Response) GetAmountOk() (*float32, bool)

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

func (*PayoutV2Response) GetBusinessId

func (o *PayoutV2Response) GetBusinessId() string

GetBusinessId returns the BusinessId field value

func (*PayoutV2Response) GetBusinessIdOk

func (o *PayoutV2Response) GetBusinessIdOk() (*string, bool)

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

func (*PayoutV2Response) GetChannelCode

func (o *PayoutV2Response) GetChannelCode() string

GetChannelCode returns the ChannelCode field value

func (*PayoutV2Response) GetChannelCodeOk

func (o *PayoutV2Response) GetChannelCodeOk() (*string, bool)

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

func (*PayoutV2Response) GetChannelProperties

func (o *PayoutV2Response) GetChannelProperties() ChannelPropertiesRequest

GetChannelProperties returns the ChannelProperties field value

func (*PayoutV2Response) GetChannelPropertiesOk

func (o *PayoutV2Response) GetChannelPropertiesOk() (*ChannelPropertiesRequest, bool)

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

func (*PayoutV2Response) GetCreated

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

GetCreated returns the Created field value

func (*PayoutV2Response) GetCreatedOk

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

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

func (*PayoutV2Response) GetCurrency

func (o *PayoutV2Response) GetCurrency() string

GetCurrency returns the Currency field value

func (*PayoutV2Response) GetCurrencyOk

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

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

func (*PayoutV2Response) GetDescription

func (o *PayoutV2Response) GetDescription() string

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

func (*PayoutV2Response) GetDescriptionOk

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

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

func (*PayoutV2Response) GetEstimatedArrivalTime

func (o *PayoutV2Response) GetEstimatedArrivalTime() time.Time

GetEstimatedArrivalTime returns the EstimatedArrivalTime field value if set, zero value otherwise.

func (*PayoutV2Response) GetEstimatedArrivalTimeOk

func (o *PayoutV2Response) GetEstimatedArrivalTimeOk() (*time.Time, bool)

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

func (*PayoutV2Response) GetFailureCode

func (o *PayoutV2Response) GetFailureCode() string

GetFailureCode returns the FailureCode field value if set, zero value otherwise.

func (*PayoutV2Response) GetFailureCodeOk

func (o *PayoutV2Response) GetFailureCodeOk() (*string, bool)

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

func (*PayoutV2Response) GetId

func (o *PayoutV2Response) GetId() string

GetId returns the Id field value

func (*PayoutV2Response) GetIdOk

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

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

func (*PayoutV2Response) GetMetadata

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

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

func (*PayoutV2Response) GetMetadataOk

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

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

func (*PayoutV2Response) GetReceiptNotification

func (o *PayoutV2Response) GetReceiptNotification() ReceiptNotification

GetReceiptNotification returns the ReceiptNotification field value if set, zero value otherwise.

func (*PayoutV2Response) GetReceiptNotificationOk

func (o *PayoutV2Response) GetReceiptNotificationOk() (*ReceiptNotification, bool)

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

func (*PayoutV2Response) GetReferenceId

func (o *PayoutV2Response) GetReferenceId() string

GetReferenceId returns the ReferenceId field value

func (*PayoutV2Response) GetReferenceIdOk

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

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

func (*PayoutV2Response) GetStatus

func (o *PayoutV2Response) GetStatus() string

GetStatus returns the Status field value

func (*PayoutV2Response) GetStatusOk

func (o *PayoutV2Response) GetStatusOk() (*string, bool)

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

func (*PayoutV2Response) GetUpdated

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

GetUpdated returns the Updated field value

func (*PayoutV2Response) GetUpdatedOk

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

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

func (*PayoutV2Response) HasDescription

func (o *PayoutV2Response) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*PayoutV2Response) HasEstimatedArrivalTime

func (o *PayoutV2Response) HasEstimatedArrivalTime() bool

HasEstimatedArrivalTime returns a boolean if a field has been set.

func (*PayoutV2Response) HasFailureCode

func (o *PayoutV2Response) HasFailureCode() bool

HasFailureCode returns a boolean if a field has been set.

func (*PayoutV2Response) HasMetadata

func (o *PayoutV2Response) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*PayoutV2Response) HasReceiptNotification

func (o *PayoutV2Response) HasReceiptNotification() bool

HasReceiptNotification returns a boolean if a field has been set.

func (PayoutV2Response) MarshalJSON

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

func (*PayoutV2Response) SetAmount

func (o *PayoutV2Response) SetAmount(v float32)

SetAmount sets field value

func (*PayoutV2Response) SetBusinessId

func (o *PayoutV2Response) SetBusinessId(v string)

SetBusinessId sets field value

func (*PayoutV2Response) SetChannelCode

func (o *PayoutV2Response) SetChannelCode(v string)

SetChannelCode sets field value

func (*PayoutV2Response) SetChannelProperties

func (o *PayoutV2Response) SetChannelProperties(v ChannelPropertiesRequest)

SetChannelProperties sets field value

func (*PayoutV2Response) SetCreated

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

SetCreated sets field value

func (*PayoutV2Response) SetCurrency

func (o *PayoutV2Response) SetCurrency(v string)

SetCurrency sets field value

func (*PayoutV2Response) SetDescription

func (o *PayoutV2Response) SetDescription(v string)

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

func (*PayoutV2Response) SetEstimatedArrivalTime

func (o *PayoutV2Response) SetEstimatedArrivalTime(v time.Time)

SetEstimatedArrivalTime gets a reference to the given time.Time and assigns it to the EstimatedArrivalTime field.

func (*PayoutV2Response) SetFailureCode

func (o *PayoutV2Response) SetFailureCode(v string)

SetFailureCode gets a reference to the given string and assigns it to the FailureCode field.

func (*PayoutV2Response) SetId

func (o *PayoutV2Response) SetId(v string)

SetId sets field value

func (*PayoutV2Response) SetMetadata

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

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

func (*PayoutV2Response) SetReceiptNotification

func (o *PayoutV2Response) SetReceiptNotification(v ReceiptNotification)

SetReceiptNotification gets a reference to the given ReceiptNotification and assigns it to the ReceiptNotification field.

func (*PayoutV2Response) SetReferenceId

func (o *PayoutV2Response) SetReferenceId(v string)

SetReferenceId sets field value

func (*PayoutV2Response) SetStatus

func (o *PayoutV2Response) SetStatus(v string)

SetStatus sets field value

func (*PayoutV2Response) SetUpdated

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

SetUpdated sets field value

func (PayoutV2Response) ToMap

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

type PayoutV2ResponseAllOf

type PayoutV2ResponseAllOf struct {
	// Xendit-generated unique identifier for each payout
	Id string `json:"id"`
	// ISO 8601
	Created time.Time `json:"created"`
	// ISO 8601
	Updated time.Time `json:"updated"`
	// Xendit Business ID
	BusinessId string `json:"business_id"`
	// Status of payout
	Status string `json:"status"`
	// If the Payout failed, we include a failure code for more details on the failure.
	FailureCode          *string    `json:"failure_code,omitempty"`
	EstimatedArrivalTime *time.Time `json:"estimated_arrival_time,omitempty"`
}

PayoutV2ResponseAllOf struct for PayoutV2ResponseAllOf

func NewPayoutV2ResponseAllOf

func NewPayoutV2ResponseAllOf(id string, created time.Time, updated time.Time, businessId string, status string) *PayoutV2ResponseAllOf

NewPayoutV2ResponseAllOf instantiates a new PayoutV2ResponseAllOf 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 NewPayoutV2ResponseAllOfWithDefaults

func NewPayoutV2ResponseAllOfWithDefaults() *PayoutV2ResponseAllOf

NewPayoutV2ResponseAllOfWithDefaults instantiates a new PayoutV2ResponseAllOf 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 (*PayoutV2ResponseAllOf) GetBusinessId

func (o *PayoutV2ResponseAllOf) GetBusinessId() string

GetBusinessId returns the BusinessId field value

func (*PayoutV2ResponseAllOf) GetBusinessIdOk

func (o *PayoutV2ResponseAllOf) GetBusinessIdOk() (*string, bool)

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

func (*PayoutV2ResponseAllOf) GetCreated

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

GetCreated returns the Created field value

func (*PayoutV2ResponseAllOf) GetCreatedOk

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

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

func (*PayoutV2ResponseAllOf) GetEstimatedArrivalTime

func (o *PayoutV2ResponseAllOf) GetEstimatedArrivalTime() time.Time

GetEstimatedArrivalTime returns the EstimatedArrivalTime field value if set, zero value otherwise.

func (*PayoutV2ResponseAllOf) GetEstimatedArrivalTimeOk

func (o *PayoutV2ResponseAllOf) GetEstimatedArrivalTimeOk() (*time.Time, bool)

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

func (*PayoutV2ResponseAllOf) GetFailureCode

func (o *PayoutV2ResponseAllOf) GetFailureCode() string

GetFailureCode returns the FailureCode field value if set, zero value otherwise.

func (*PayoutV2ResponseAllOf) GetFailureCodeOk

func (o *PayoutV2ResponseAllOf) GetFailureCodeOk() (*string, bool)

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

func (*PayoutV2ResponseAllOf) GetId

func (o *PayoutV2ResponseAllOf) GetId() string

GetId returns the Id field value

func (*PayoutV2ResponseAllOf) GetIdOk

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

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

func (*PayoutV2ResponseAllOf) GetStatus

func (o *PayoutV2ResponseAllOf) GetStatus() string

GetStatus returns the Status field value

func (*PayoutV2ResponseAllOf) GetStatusOk

func (o *PayoutV2ResponseAllOf) GetStatusOk() (*string, bool)

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

func (*PayoutV2ResponseAllOf) GetUpdated

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

GetUpdated returns the Updated field value

func (*PayoutV2ResponseAllOf) GetUpdatedOk

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

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

func (*PayoutV2ResponseAllOf) HasEstimatedArrivalTime

func (o *PayoutV2ResponseAllOf) HasEstimatedArrivalTime() bool

HasEstimatedArrivalTime returns a boolean if a field has been set.

func (*PayoutV2ResponseAllOf) HasFailureCode

func (o *PayoutV2ResponseAllOf) HasFailureCode() bool

HasFailureCode returns a boolean if a field has been set.

func (PayoutV2ResponseAllOf) MarshalJSON

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

func (*PayoutV2ResponseAllOf) SetBusinessId

func (o *PayoutV2ResponseAllOf) SetBusinessId(v string)

SetBusinessId sets field value

func (*PayoutV2ResponseAllOf) SetCreated

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

SetCreated sets field value

func (*PayoutV2ResponseAllOf) SetEstimatedArrivalTime

func (o *PayoutV2ResponseAllOf) SetEstimatedArrivalTime(v time.Time)

SetEstimatedArrivalTime gets a reference to the given time.Time and assigns it to the EstimatedArrivalTime field.

func (*PayoutV2ResponseAllOf) SetFailureCode

func (o *PayoutV2ResponseAllOf) SetFailureCode(v string)

SetFailureCode gets a reference to the given string and assigns it to the FailureCode field.

func (*PayoutV2ResponseAllOf) SetId

func (o *PayoutV2ResponseAllOf) SetId(v string)

SetId sets field value

func (*PayoutV2ResponseAllOf) SetStatus

func (o *PayoutV2ResponseAllOf) SetStatus(v string)

SetStatus sets field value

func (*PayoutV2ResponseAllOf) SetUpdated

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

SetUpdated sets field value

func (PayoutV2ResponseAllOf) ToMap

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

type ReceiptNotification

type ReceiptNotification struct {
	EmailTo  []string `json:"email_to,omitempty"`
	EmailCc  []string `json:"email_cc,omitempty"`
	EmailBcc []string `json:"email_bcc,omitempty"`
}

ReceiptNotification Additional notification for completed payout

func NewReceiptNotification

func NewReceiptNotification() *ReceiptNotification

NewReceiptNotification instantiates a new ReceiptNotification 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 NewReceiptNotificationWithDefaults

func NewReceiptNotificationWithDefaults() *ReceiptNotification

NewReceiptNotificationWithDefaults instantiates a new ReceiptNotification 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 (*ReceiptNotification) GetEmailBcc

func (o *ReceiptNotification) GetEmailBcc() []string

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

func (*ReceiptNotification) GetEmailBccOk

func (o *ReceiptNotification) GetEmailBccOk() ([]string, bool)

GetEmailBccOk returns a tuple with the EmailBcc 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 (*ReceiptNotification) GetEmailCc

func (o *ReceiptNotification) GetEmailCc() []string

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

func (*ReceiptNotification) GetEmailCcOk

func (o *ReceiptNotification) GetEmailCcOk() ([]string, bool)

GetEmailCcOk returns a tuple with the EmailCc 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 (*ReceiptNotification) GetEmailTo

func (o *ReceiptNotification) GetEmailTo() []string

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

func (*ReceiptNotification) GetEmailToOk

func (o *ReceiptNotification) GetEmailToOk() ([]string, bool)

GetEmailToOk returns a tuple with the EmailTo 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 (*ReceiptNotification) HasEmailBcc

func (o *ReceiptNotification) HasEmailBcc() bool

HasEmailBcc returns a boolean if a field has been set.

func (*ReceiptNotification) HasEmailCc

func (o *ReceiptNotification) HasEmailCc() bool

HasEmailCc returns a boolean if a field has been set.

func (*ReceiptNotification) HasEmailTo

func (o *ReceiptNotification) HasEmailTo() bool

HasEmailTo returns a boolean if a field has been set.

func (ReceiptNotification) MarshalJSON

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

func (*ReceiptNotification) SetEmailBcc

func (o *ReceiptNotification) SetEmailBcc(v []string)

SetEmailBcc gets a reference to the given []string and assigns it to the EmailBcc field.

func (*ReceiptNotification) SetEmailCc

func (o *ReceiptNotification) SetEmailCc(v []string)

SetEmailCc gets a reference to the given []string and assigns it to the EmailCc field.

func (*ReceiptNotification) SetEmailTo

func (o *ReceiptNotification) SetEmailTo(v []string)

SetEmailTo gets a reference to the given []string and assigns it to the EmailTo field.

func (ReceiptNotification) ToMap

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL