OnRampPaymentQuote class
Describes a quote for an on-ramp purchase
- Inheritance
- Available extensions
- Annotations
-
- @immutable
Constructors
- OnRampPaymentQuote({required String paymentMethod, required int expirationDate, required String baseCurrencyAmount, required String cryptocurrencyAmount, required String cryptocurrencyPrice, required String feeAmount, required String extraFeeAmount, required String networkFeeAmount, required String totalAmount})
-
const
Properties
- baseCurrencyAmount → String
-
baseCurrencyAmount Paid amount of the base currency
final
- cryptocurrencyAmount → String
-
cryptocurrencyAmount Purchased amount of the cryptocurrency
final
- cryptocurrencyPrice → String
-
cryptocurrencyPrice The price of the cryptocurrency
final
- expirationDate → int
-
expirationDate Point in time (Unix timestamp) when the quote will expire
final
- extraFeeAmount → String
-
extraFeeAmount Extra fee amount
final
- feeAmount → String
-
feeAmount Fee amount
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- networkFeeAmount → String
-
networkFeeAmount Network fee amount
final
- paymentMethod → String
-
paymentMethod The payment method to be used
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalAmount → String
-
totalAmount Total paid amount
final
Methods
-
copyWith(
{String? paymentMethod, int? expirationDate, String? baseCurrencyAmount, String? cryptocurrencyAmount, String? cryptocurrencyPrice, String? feeAmount, String? extraFeeAmount, String? networkFeeAmount, String? totalAmount}) → OnRampPaymentQuote -
Available on OnRampPaymentQuote, provided by the OnRampPaymentQuoteExtensions extension
-
getConstructor(
) → String -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
Map< String, dynamic> ? json) → OnRampPaymentQuote?
Constants
- constructor → const String