OnRampPaymentLimits class

Describes limits for an on-ramp purchase

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

OnRampPaymentLimits({required String paymentMethod, required String baseCurrencyMinAmount, required String baseCurrencyMaxAmount, required String cryptocurrencyMinAmount, required String cryptocurrencyMaxAmount})
const

Properties

baseCurrencyMaxAmount → String
baseCurrencyMaxAmount The maximum allowed amount of the base currency
final
baseCurrencyMinAmount → String
baseCurrencyMinAmount The minimum allowed amount of the base currency
final
cryptocurrencyMaxAmount → String
cryptocurrencyMaxAmount The maximum allowed amount of the bought cryptocurrency
final
cryptocurrencyMinAmount → String
cryptocurrencyMinAmount The minimum allowed amount of the bought cryptocurrency
final
hashCode → int
The hash code for this object.
no setteroverride
paymentMethod → String
paymentMethod The payment method to be used
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? paymentMethod, String? baseCurrencyMinAmount, String? baseCurrencyMaxAmount, String? cryptocurrencyMinAmount, String? cryptocurrencyMaxAmount}) → OnRampPaymentLimits

Available on OnRampPaymentLimits, provided by the OnRampPaymentLimitsExtensions 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) → OnRampPaymentLimits?

Constants

constructor → const String