OnramperApi class

Constructors

OnramperApi(Dio _dio, Serializers _serializers)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onRamperCheckout({required String authorization, required String accountName, required TransactionInput transactionInput, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) Future<Response<JsonObject>>
onRamperCheckout
onRamperGetQuotesBuy({required String authorization, required String fiat, required String crypto, required double amount, String? paymentMethod = 'creditcard', String? uuid = '', String? clientName = '', String? country = '', CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) Future<Response<BuiltList<Quote>>>
onRamperGetQuotesBuy
onRamperGetQuotesSell({required String authorization, required String fiat, required String crypto, required double amount, String? paymentMethod = 'creditcard', String? uuid = '', String? clientName = '', String? country = '', CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) Future<Response<BuiltList<SellQuote>>>
onRamperGetQuotesSell
onRamperGetSupportedAssets({required String authorization, required String source_, required String country, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) Future<Response<SupportedAssetResponse>>
onRamperGetSupportedAssets
onRamperGetSupportedCurrencies({required String authorization, required String type, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) Future<Response<SupportedCurrenciesResponse>>
onRamperGetSupportedCurrencies
onRamperGetSupportedDefaultsAll({required String authorization, required String country, required String type, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) Future<Response<SupportedDefaultResponse>>
onRamperGetSupportedDefaultsAll
onRamperGetSupportedOnRampsAll({required String authorization, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) Future<Response<GetSupportedOnRampsResponse>>
onRamperGetSupportedOnRampsAll
onRamperGetSupportedPaymentTypes({required String authorization, required String fiat, required String country, required String type, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) Future<Response<SupportedPaymentTypesCurrencyResponse>>
onRamperGetSupportedPaymentTypes
onRamperGetSupportedPaymentTypesFiat({required String authorization, required String fiat, required String country, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) Future<Response<SupportedPaymentTypesCurrencyResponse>>
onRamperGetSupportedPaymentTypesFiat
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited