Name | Type | Description | Notes |
---|---|---|---|
RequestId | Pointer to string | The request ID that is used to track a transaction request. The request ID is provided by you and must be unique within your organization. It is recommended to use the same request ID as the transaction for which you want to estimate the transaction fee. | [optional] |
RequestType | EstimateFeeRequestType | ||
Source | TransferSource | ||
TokenId | string | The token ID of the transferred token. You can retrieve the IDs of all the tokens you can use by calling List enabled tokens. | |
Destination | Pointer to TransferDestination | [optional] | |
FeeType | Pointer to FeeType | [optional] [default to FEETYPE_EVM_EIP_1559] |
func NewEstimateTransferFeeParams(requestType EstimateFeeRequestType, source TransferSource, tokenId string, ) *EstimateTransferFeeParams
NewEstimateTransferFeeParams instantiates a new EstimateTransferFeeParams 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 NewEstimateTransferFeeParamsWithDefaults() *EstimateTransferFeeParams
NewEstimateTransferFeeParamsWithDefaults instantiates a new EstimateTransferFeeParams 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 *EstimateTransferFeeParams) GetRequestId() string
GetRequestId returns the RequestId field if non-nil, zero value otherwise.
func (o *EstimateTransferFeeParams) GetRequestIdOk() (*string, bool)
GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EstimateTransferFeeParams) SetRequestId(v string)
SetRequestId sets RequestId field to given value.
func (o *EstimateTransferFeeParams) HasRequestId() bool
HasRequestId returns a boolean if a field has been set.
func (o *EstimateTransferFeeParams) GetRequestType() EstimateFeeRequestType
GetRequestType returns the RequestType field if non-nil, zero value otherwise.
func (o *EstimateTransferFeeParams) GetRequestTypeOk() (*EstimateFeeRequestType, bool)
GetRequestTypeOk returns a tuple with the RequestType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EstimateTransferFeeParams) SetRequestType(v EstimateFeeRequestType)
SetRequestType sets RequestType field to given value.
func (o *EstimateTransferFeeParams) GetSource() TransferSource
GetSource returns the Source field if non-nil, zero value otherwise.
func (o *EstimateTransferFeeParams) GetSourceOk() (*TransferSource, bool)
GetSourceOk returns a tuple with the Source field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EstimateTransferFeeParams) SetSource(v TransferSource)
SetSource sets Source field to given value.
func (o *EstimateTransferFeeParams) GetTokenId() string
GetTokenId returns the TokenId field if non-nil, zero value otherwise.
func (o *EstimateTransferFeeParams) GetTokenIdOk() (*string, bool)
GetTokenIdOk returns a tuple with the TokenId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EstimateTransferFeeParams) SetTokenId(v string)
SetTokenId sets TokenId field to given value.
func (o *EstimateTransferFeeParams) GetDestination() TransferDestination
GetDestination returns the Destination field if non-nil, zero value otherwise.
func (o *EstimateTransferFeeParams) GetDestinationOk() (*TransferDestination, bool)
GetDestinationOk returns a tuple with the Destination field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EstimateTransferFeeParams) SetDestination(v TransferDestination)
SetDestination sets Destination field to given value.
func (o *EstimateTransferFeeParams) HasDestination() bool
HasDestination returns a boolean if a field has been set.
func (o *EstimateTransferFeeParams) GetFeeType() FeeType
GetFeeType returns the FeeType field if non-nil, zero value otherwise.
func (o *EstimateTransferFeeParams) GetFeeTypeOk() (*FeeType, bool)
GetFeeTypeOk returns a tuple with the FeeType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EstimateTransferFeeParams) SetFeeType(v FeeType)
SetFeeType sets FeeType field to given value.
func (o *EstimateTransferFeeParams) HasFeeType() bool
HasFeeType returns a boolean if a field has been set.