Name | Type | Description | Notes |
---|---|---|---|
AllowedPayoutMethods | []string | The payout methods that are allowed for the payout order. | |
Amount | int32 | The amount of the payout order. | |
Currency | string | The currency in which the payout order is made. | [default to "MXN"] |
CustomerInfo | CustomerInfoJustCustomerId | ||
Metadata | Pointer to map[string]interface{} | The metadata of the payout order. | [optional] |
Payout | Payout | ||
Reason | string | The reason for the payout order. |
func NewPayoutOrder(allowedPayoutMethods []string, amount int32, currency string, customerInfo CustomerInfoJustCustomerId, payout Payout, reason string, ) *PayoutOrder
NewPayoutOrder instantiates a new PayoutOrder 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 NewPayoutOrderWithDefaults() *PayoutOrder
NewPayoutOrderWithDefaults instantiates a new PayoutOrder object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *PayoutOrder) GetAllowedPayoutMethods() []string
GetAllowedPayoutMethods returns the AllowedPayoutMethods field if non-nil, zero value otherwise.
func (o *PayoutOrder) GetAllowedPayoutMethodsOk() (*[]string, bool)
GetAllowedPayoutMethodsOk returns a tuple with the AllowedPayoutMethods field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PayoutOrder) SetAllowedPayoutMethods(v []string)
SetAllowedPayoutMethods sets AllowedPayoutMethods field to given value.
func (o *PayoutOrder) GetAmount() int32
GetAmount returns the Amount field if non-nil, zero value otherwise.
func (o *PayoutOrder) GetAmountOk() (*int32, bool)
GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PayoutOrder) SetAmount(v int32)
SetAmount sets Amount field to given value.
func (o *PayoutOrder) GetCurrency() string
GetCurrency returns the Currency field if non-nil, zero value otherwise.
func (o *PayoutOrder) GetCurrencyOk() (*string, bool)
GetCurrencyOk returns a tuple with the Currency field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PayoutOrder) SetCurrency(v string)
SetCurrency sets Currency field to given value.
func (o *PayoutOrder) GetCustomerInfo() CustomerInfoJustCustomerId
GetCustomerInfo returns the CustomerInfo field if non-nil, zero value otherwise.
func (o *PayoutOrder) GetCustomerInfoOk() (*CustomerInfoJustCustomerId, bool)
GetCustomerInfoOk returns a tuple with the CustomerInfo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PayoutOrder) SetCustomerInfo(v CustomerInfoJustCustomerId)
SetCustomerInfo sets CustomerInfo field to given value.
func (o *PayoutOrder) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
func (o *PayoutOrder) GetMetadataOk() (*map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PayoutOrder) SetMetadata(v map[string]interface{})
SetMetadata sets Metadata field to given value.
func (o *PayoutOrder) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (o *PayoutOrder) GetPayout() Payout
GetPayout returns the Payout field if non-nil, zero value otherwise.
func (o *PayoutOrder) GetPayoutOk() (*Payout, bool)
GetPayoutOk returns a tuple with the Payout field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PayoutOrder) SetPayout(v Payout)
SetPayout sets Payout field to given value.
func (o *PayoutOrder) GetReason() string
GetReason returns the Reason field if non-nil, zero value otherwise.
func (o *PayoutOrder) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PayoutOrder) SetReason(v string)
SetReason sets Reason field to given value.