Skip to content

Latest commit

 

History

History
166 lines (89 loc) · 5.12 KB

CreateInternalTransferRequest.md

File metadata and controls

166 lines (89 loc) · 5.12 KB

CreateInternalTransferRequest

Properties

Name Type Description Notes
RefId Pointer to string Client-specified ID for replay protection and lookup. [optional]
FromProfileId string The profile from which to send funds.
ToProfileId string The destination profile.
Amount string The amount to transfer.
Asset string The asset to transfer, e.g. "USD", "BTC", "ETH".
Metadata Pointer to map[string]string Optional client-specified metadata. Up to 6 key/value pairs may be provided. Each key and value must be less than or equal to 100 characters. [optional]

Methods

NewCreateInternalTransferRequest

func NewCreateInternalTransferRequest(fromProfileId string, toProfileId string, amount string, asset string, ) *CreateInternalTransferRequest

NewCreateInternalTransferRequest instantiates a new CreateInternalTransferRequest 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

NewCreateInternalTransferRequestWithDefaults

func NewCreateInternalTransferRequestWithDefaults() *CreateInternalTransferRequest

NewCreateInternalTransferRequestWithDefaults instantiates a new CreateInternalTransferRequest 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

GetRefId

func (o *CreateInternalTransferRequest) GetRefId() string

GetRefId returns the RefId field if non-nil, zero value otherwise.

GetRefIdOk

func (o *CreateInternalTransferRequest) GetRefIdOk() (*string, bool)

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

SetRefId

func (o *CreateInternalTransferRequest) SetRefId(v string)

SetRefId sets RefId field to given value.

HasRefId

func (o *CreateInternalTransferRequest) HasRefId() bool

HasRefId returns a boolean if a field has been set.

GetFromProfileId

func (o *CreateInternalTransferRequest) GetFromProfileId() string

GetFromProfileId returns the FromProfileId field if non-nil, zero value otherwise.

GetFromProfileIdOk

func (o *CreateInternalTransferRequest) GetFromProfileIdOk() (*string, bool)

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

SetFromProfileId

func (o *CreateInternalTransferRequest) SetFromProfileId(v string)

SetFromProfileId sets FromProfileId field to given value.

GetToProfileId

func (o *CreateInternalTransferRequest) GetToProfileId() string

GetToProfileId returns the ToProfileId field if non-nil, zero value otherwise.

GetToProfileIdOk

func (o *CreateInternalTransferRequest) GetToProfileIdOk() (*string, bool)

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

SetToProfileId

func (o *CreateInternalTransferRequest) SetToProfileId(v string)

SetToProfileId sets ToProfileId field to given value.

GetAmount

func (o *CreateInternalTransferRequest) GetAmount() string

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

GetAmountOk

func (o *CreateInternalTransferRequest) 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 *CreateInternalTransferRequest) SetAmount(v string)

SetAmount sets Amount field to given value.

GetAsset

func (o *CreateInternalTransferRequest) GetAsset() string

GetAsset returns the Asset field if non-nil, zero value otherwise.

GetAssetOk

func (o *CreateInternalTransferRequest) GetAssetOk() (*string, bool)

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

SetAsset

func (o *CreateInternalTransferRequest) SetAsset(v string)

SetAsset sets Asset field to given value.

GetMetadata

func (o *CreateInternalTransferRequest) GetMetadata() map[string]string

GetMetadata returns the Metadata field if non-nil, zero value otherwise.

GetMetadataOk

func (o *CreateInternalTransferRequest) GetMetadataOk() (*map[string]string, 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.

SetMetadata

func (o *CreateInternalTransferRequest) SetMetadata(v map[string]string)

SetMetadata sets Metadata field to given value.

HasMetadata

func (o *CreateInternalTransferRequest) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

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