Name | Type | Description | Notes |
---|---|---|---|
DestinationType | TransferDestinationType | ||
AccountOutput | Pointer to AddressTransferDestinationAccountOutput | [optional] | |
UtxoOutputs | Pointer to []AddressTransferDestinationUtxoOutputsInner | [optional] | |
ChangeAddress | Pointer to string | The address used to receive the remaining funds or change from the transaction. | [optional] |
ForceInternal | Pointer to bool | Whether the transaction request must be executed as a Cobo Loop transfer. - `true`: The transaction request must be executed as a Cobo Loop transfer. - `false`: The transaction request may not be executed as a Cobo Loop transfer. Please do not set both `force_internal` and `force_external` as `true`. | [optional] |
ForceExternal | Pointer to bool | Whether the transaction request must not be executed as a Cobo Loop transfer. - `true`: The transaction request must not be executed as a Cobo Loop transfer. - `false`: The transaction request can be executed as a Cobo Loop transfer. Please do not set both `force_internal` and `force_external` as `true`. | [optional] |
WalletId | string | The wallet ID. | |
TradingAccountType | string | The trading account type. | |
Amount | string | The transfer amount. For example, if you trade 1.5 BTC, then the value is `1.5`. |
func NewTransferDestination(destinationType TransferDestinationType, walletId string, tradingAccountType string, amount string, ) *TransferDestination
NewTransferDestination instantiates a new TransferDestination 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 NewTransferDestinationWithDefaults() *TransferDestination
NewTransferDestinationWithDefaults instantiates a new TransferDestination 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 *TransferDestination) GetDestinationType() TransferDestinationType
GetDestinationType returns the DestinationType field if non-nil, zero value otherwise.
func (o *TransferDestination) GetDestinationTypeOk() (*TransferDestinationType, bool)
GetDestinationTypeOk returns a tuple with the DestinationType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransferDestination) SetDestinationType(v TransferDestinationType)
SetDestinationType sets DestinationType field to given value.
func (o *TransferDestination) GetAccountOutput() AddressTransferDestinationAccountOutput
GetAccountOutput returns the AccountOutput field if non-nil, zero value otherwise.
func (o *TransferDestination) GetAccountOutputOk() (*AddressTransferDestinationAccountOutput, bool)
GetAccountOutputOk returns a tuple with the AccountOutput field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransferDestination) SetAccountOutput(v AddressTransferDestinationAccountOutput)
SetAccountOutput sets AccountOutput field to given value.
func (o *TransferDestination) HasAccountOutput() bool
HasAccountOutput returns a boolean if a field has been set.
func (o *TransferDestination) GetUtxoOutputs() []AddressTransferDestinationUtxoOutputsInner
GetUtxoOutputs returns the UtxoOutputs field if non-nil, zero value otherwise.
func (o *TransferDestination) GetUtxoOutputsOk() (*[]AddressTransferDestinationUtxoOutputsInner, bool)
GetUtxoOutputsOk returns a tuple with the UtxoOutputs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransferDestination) SetUtxoOutputs(v []AddressTransferDestinationUtxoOutputsInner)
SetUtxoOutputs sets UtxoOutputs field to given value.
func (o *TransferDestination) HasUtxoOutputs() bool
HasUtxoOutputs returns a boolean if a field has been set.
func (o *TransferDestination) GetChangeAddress() string
GetChangeAddress returns the ChangeAddress field if non-nil, zero value otherwise.
func (o *TransferDestination) GetChangeAddressOk() (*string, bool)
GetChangeAddressOk returns a tuple with the ChangeAddress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransferDestination) SetChangeAddress(v string)
SetChangeAddress sets ChangeAddress field to given value.
func (o *TransferDestination) HasChangeAddress() bool
HasChangeAddress returns a boolean if a field has been set.
func (o *TransferDestination) GetForceInternal() bool
GetForceInternal returns the ForceInternal field if non-nil, zero value otherwise.
func (o *TransferDestination) GetForceInternalOk() (*bool, bool)
GetForceInternalOk returns a tuple with the ForceInternal field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransferDestination) SetForceInternal(v bool)
SetForceInternal sets ForceInternal field to given value.
func (o *TransferDestination) HasForceInternal() bool
HasForceInternal returns a boolean if a field has been set.
func (o *TransferDestination) GetForceExternal() bool
GetForceExternal returns the ForceExternal field if non-nil, zero value otherwise.
func (o *TransferDestination) GetForceExternalOk() (*bool, bool)
GetForceExternalOk returns a tuple with the ForceExternal field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransferDestination) SetForceExternal(v bool)
SetForceExternal sets ForceExternal field to given value.
func (o *TransferDestination) HasForceExternal() bool
HasForceExternal returns a boolean if a field has been set.
func (o *TransferDestination) GetWalletId() string
GetWalletId returns the WalletId field if non-nil, zero value otherwise.
func (o *TransferDestination) GetWalletIdOk() (*string, bool)
GetWalletIdOk returns a tuple with the WalletId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransferDestination) SetWalletId(v string)
SetWalletId sets WalletId field to given value.
func (o *TransferDestination) GetTradingAccountType() string
GetTradingAccountType returns the TradingAccountType field if non-nil, zero value otherwise.
func (o *TransferDestination) GetTradingAccountTypeOk() (*string, bool)
GetTradingAccountTypeOk returns a tuple with the TradingAccountType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransferDestination) SetTradingAccountType(v string)
SetTradingAccountType sets TradingAccountType field to given value.
func (o *TransferDestination) GetAmount() string
GetAmount returns the Amount field if non-nil, zero value otherwise.
func (o *TransferDestination) GetAmountOk() (*string, 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 *TransferDestination) SetAmount(v string)
SetAmount sets Amount field to given value.