Channel information where you can send the money to
Name | Type | Required | Description | Examples |
---|---|---|---|---|
ChannelCode | string | ☑️ | Destination channel to send the money to, prefixed by ISO-3166 country code | |
ChannelCategory | ChannelCategory | ☑️ | ||
Currency | string | ☑️ | Currency of the destination channel using ISO-4217 currency code | |
ChannelName | string | ☑️ | Name of the destination channel | |
AmountLimits | ChannelAmountLimits | ☑️ |
func NewChannel(channelCode string, channelCategory ChannelCategory, currency string, channelName string, amountLimits ChannelAmountLimits, ) *Channel
NewChannel instantiates a new Channel 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 NewChannelWithDefaults() *Channel
NewChannelWithDefaults instantiates a new Channel 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 *Channel) GetChannelCode() string
GetChannelCode returns the ChannelCode field if non-nil, zero value otherwise.
func (o *Channel) GetChannelCodeOk() (*string, bool)
GetChannelCodeOk returns a tuple with the ChannelCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Channel) SetChannelCode(v string)
SetChannelCode sets ChannelCode field to given value.
func (o *Channel) GetChannelCategory() ChannelCategory
GetChannelCategory returns the ChannelCategory field if non-nil, zero value otherwise.
func (o *Channel) GetChannelCategoryOk() (*ChannelCategory, bool)
GetChannelCategoryOk returns a tuple with the ChannelCategory field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Channel) SetChannelCategory(v ChannelCategory)
SetChannelCategory sets ChannelCategory field to given value.
func (o *Channel) GetCurrency() string
GetCurrency returns the Currency field if non-nil, zero value otherwise.
func (o *Channel) 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 *Channel) SetCurrency(v string)
SetCurrency sets Currency field to given value.
func (o *Channel) GetChannelName() string
GetChannelName returns the ChannelName field if non-nil, zero value otherwise.
func (o *Channel) GetChannelNameOk() (*string, bool)
GetChannelNameOk returns a tuple with the ChannelName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Channel) SetChannelName(v string)
SetChannelName sets ChannelName field to given value.
func (o *Channel) GetAmountLimits() ChannelAmountLimits
GetAmountLimits returns the AmountLimits field if non-nil, zero value otherwise.
func (o *Channel) GetAmountLimitsOk() (*ChannelAmountLimits, bool)
GetAmountLimitsOk returns a tuple with the AmountLimits field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Channel) SetAmountLimits(v ChannelAmountLimits)
SetAmountLimits sets AmountLimits field to given value.