Skip to content

Latest commit

 

History

History
187 lines (100 loc) · 6.25 KB

TransactionDepositToAddressDestination.md

File metadata and controls

187 lines (100 loc) · 6.25 KB

TransactionDepositToAddressDestination

Properties

Name Type Description Notes
DestinationType TransactionDestinationType
WalletId string The wallet ID.
WalletType WalletType
WalletSubtype Pointer to WalletSubtype [optional]
Address string The destination address.
Memo Pointer to string The memo that identifies a transaction in order to credit the correct account. For transfers out of Cobo Portal, it is highly recommended to include a memo for the chains such as XRP, EOS, XLM, IOST, BNB_BNB, ATOM, LUNA, and TON. [optional]
Amount string The transfer amount. For example, if you trade 1.5 BTC, then the value is `1.5`.

Methods

NewTransactionDepositToAddressDestination

func NewTransactionDepositToAddressDestination(destinationType TransactionDestinationType, walletId string, walletType WalletType, address string, amount string, ) *TransactionDepositToAddressDestination

NewTransactionDepositToAddressDestination instantiates a new TransactionDepositToAddressDestination 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

NewTransactionDepositToAddressDestinationWithDefaults

func NewTransactionDepositToAddressDestinationWithDefaults() *TransactionDepositToAddressDestination

NewTransactionDepositToAddressDestinationWithDefaults instantiates a new TransactionDepositToAddressDestination 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

GetDestinationType

func (o *TransactionDepositToAddressDestination) GetDestinationType() TransactionDestinationType

GetDestinationType returns the DestinationType field if non-nil, zero value otherwise.

GetDestinationTypeOk

func (o *TransactionDepositToAddressDestination) GetDestinationTypeOk() (*TransactionDestinationType, 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.

SetDestinationType

func (o *TransactionDepositToAddressDestination) SetDestinationType(v TransactionDestinationType)

SetDestinationType sets DestinationType field to given value.

GetWalletId

func (o *TransactionDepositToAddressDestination) GetWalletId() string

GetWalletId returns the WalletId field if non-nil, zero value otherwise.

GetWalletIdOk

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

SetWalletId

func (o *TransactionDepositToAddressDestination) SetWalletId(v string)

SetWalletId sets WalletId field to given value.

GetWalletType

func (o *TransactionDepositToAddressDestination) GetWalletType() WalletType

GetWalletType returns the WalletType field if non-nil, zero value otherwise.

GetWalletTypeOk

func (o *TransactionDepositToAddressDestination) GetWalletTypeOk() (*WalletType, bool)

GetWalletTypeOk returns a tuple with the WalletType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetWalletType

func (o *TransactionDepositToAddressDestination) SetWalletType(v WalletType)

SetWalletType sets WalletType field to given value.

GetWalletSubtype

func (o *TransactionDepositToAddressDestination) GetWalletSubtype() WalletSubtype

GetWalletSubtype returns the WalletSubtype field if non-nil, zero value otherwise.

GetWalletSubtypeOk

func (o *TransactionDepositToAddressDestination) GetWalletSubtypeOk() (*WalletSubtype, bool)

GetWalletSubtypeOk returns a tuple with the WalletSubtype field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetWalletSubtype

func (o *TransactionDepositToAddressDestination) SetWalletSubtype(v WalletSubtype)

SetWalletSubtype sets WalletSubtype field to given value.

HasWalletSubtype

func (o *TransactionDepositToAddressDestination) HasWalletSubtype() bool

HasWalletSubtype returns a boolean if a field has been set.

GetAddress

func (o *TransactionDepositToAddressDestination) GetAddress() string

GetAddress returns the Address field if non-nil, zero value otherwise.

GetAddressOk

func (o *TransactionDepositToAddressDestination) GetAddressOk() (*string, bool)

GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAddress

func (o *TransactionDepositToAddressDestination) SetAddress(v string)

SetAddress sets Address field to given value.

GetMemo

func (o *TransactionDepositToAddressDestination) GetMemo() string

GetMemo returns the Memo field if non-nil, zero value otherwise.

GetMemoOk

func (o *TransactionDepositToAddressDestination) GetMemoOk() (*string, bool)

GetMemoOk returns a tuple with the Memo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMemo

func (o *TransactionDepositToAddressDestination) SetMemo(v string)

SetMemo sets Memo field to given value.

HasMemo

func (o *TransactionDepositToAddressDestination) HasMemo() bool

HasMemo returns a boolean if a field has been set.

GetAmount

func (o *TransactionDepositToAddressDestination) GetAmount() string

GetAmount returns the Amount field if non-nil, zero value otherwise.

GetAmountOk

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

SetAmount

func (o *TransactionDepositToAddressDestination) SetAmount(v string)

SetAmount sets Amount field to given value.

[Back to Model list] [Back to API list] [Back to README]