Skip to content

Latest commit

 

History

History
219 lines (116 loc) · 5.72 KB

Quote.md

File metadata and controls

219 lines (116 loc) · 5.72 KB

Quote

Properties

Name Type Description Notes
Recommendations []string
PaymentMethod string
QuoteId string
Ramp string
AvailablePaymentMethods []AvailablePaymentMethod
Payout float64
TransactionFee float64
NetworkFee float64
Rate float64

Methods

NewQuote

func NewQuote(recommendations []string, paymentMethod string, quoteId string, ramp string, availablePaymentMethods []AvailablePaymentMethod, payout float64, transactionFee float64, networkFee float64, rate float64, ) *Quote

NewQuote instantiates a new Quote 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

NewQuoteWithDefaults

func NewQuoteWithDefaults() *Quote

NewQuoteWithDefaults instantiates a new Quote 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

GetRecommendations

func (o *Quote) GetRecommendations() []string

GetRecommendations returns the Recommendations field if non-nil, zero value otherwise.

GetRecommendationsOk

func (o *Quote) GetRecommendationsOk() (*[]string, bool)

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

SetRecommendations

func (o *Quote) SetRecommendations(v []string)

SetRecommendations sets Recommendations field to given value.

GetPaymentMethod

func (o *Quote) GetPaymentMethod() string

GetPaymentMethod returns the PaymentMethod field if non-nil, zero value otherwise.

GetPaymentMethodOk

func (o *Quote) GetPaymentMethodOk() (*string, bool)

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

SetPaymentMethod

func (o *Quote) SetPaymentMethod(v string)

SetPaymentMethod sets PaymentMethod field to given value.

GetQuoteId

func (o *Quote) GetQuoteId() string

GetQuoteId returns the QuoteId field if non-nil, zero value otherwise.

GetQuoteIdOk

func (o *Quote) GetQuoteIdOk() (*string, bool)

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

SetQuoteId

func (o *Quote) SetQuoteId(v string)

SetQuoteId sets QuoteId field to given value.

GetRamp

func (o *Quote) GetRamp() string

GetRamp returns the Ramp field if non-nil, zero value otherwise.

GetRampOk

func (o *Quote) GetRampOk() (*string, bool)

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

SetRamp

func (o *Quote) SetRamp(v string)

SetRamp sets Ramp field to given value.

GetAvailablePaymentMethods

func (o *Quote) GetAvailablePaymentMethods() []AvailablePaymentMethod

GetAvailablePaymentMethods returns the AvailablePaymentMethods field if non-nil, zero value otherwise.

GetAvailablePaymentMethodsOk

func (o *Quote) GetAvailablePaymentMethodsOk() (*[]AvailablePaymentMethod, bool)

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

SetAvailablePaymentMethods

func (o *Quote) SetAvailablePaymentMethods(v []AvailablePaymentMethod)

SetAvailablePaymentMethods sets AvailablePaymentMethods field to given value.

GetPayout

func (o *Quote) GetPayout() float64

GetPayout returns the Payout field if non-nil, zero value otherwise.

GetPayoutOk

func (o *Quote) GetPayoutOk() (*float64, bool)

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

SetPayout

func (o *Quote) SetPayout(v float64)

SetPayout sets Payout field to given value.

GetTransactionFee

func (o *Quote) GetTransactionFee() float64

GetTransactionFee returns the TransactionFee field if non-nil, zero value otherwise.

GetTransactionFeeOk

func (o *Quote) GetTransactionFeeOk() (*float64, bool)

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

SetTransactionFee

func (o *Quote) SetTransactionFee(v float64)

SetTransactionFee sets TransactionFee field to given value.

GetNetworkFee

func (o *Quote) GetNetworkFee() float64

GetNetworkFee returns the NetworkFee field if non-nil, zero value otherwise.

GetNetworkFeeOk

func (o *Quote) GetNetworkFeeOk() (*float64, bool)

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

SetNetworkFee

func (o *Quote) SetNetworkFee(v float64)

SetNetworkFee sets NetworkFee field to given value.

GetRate

func (o *Quote) GetRate() float64

GetRate returns the Rate field if non-nil, zero value otherwise.

GetRateOk

func (o *Quote) GetRateOk() (*float64, bool)

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

SetRate

func (o *Quote) SetRate(v float64)

SetRate sets Rate field to given value.

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