YooKassaApi class

Constructors

YooKassaApi.new({required Dio dio, required String username, required String password})

Properties

dio ↔ Dio
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createPayment({required YookassaPaymentModel paymentModel, required String username, required String password, required String idempotenceKey}) Future<Map<String, dynamic>>
getHostPayment({required String username, required String password}) Future<Map<String, dynamic>>
infoPaymentAfterCapture({required String paymentId, required String username, required String password}) Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
refundCheckPayment({required String refundId, required String username, required String password}) Future<bool>
refundPayment({required YookassaRefundPostModel refundModel, required String username, required String password, required String idempotenceKey}) Future<YookassaRefundGetModel>
toString() String
A string representation of this object.
inherited

Operators

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