CloudPaymentsApi class abstract
Dart REST API for CloudPayments
- Annotations
-
- @RestApi(baseUrl: CloudpaymentsApiUrls.base)
Constructors
- CloudPaymentsApi(Dio dio, {required CpAuthCredentials cpAuthCredentials, String? baseUrl})
-
Dart REST API for CloudPayments
factory
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
-
cancelSubscription(
String id) → Future< SubscriptionCanceledResponse> - Отмена подписки на рекуррентные платежи
-
chargeCryptogramPayment(
CardPaymentRequest cardPaymentRequest) → Future< PaymentTransaction> - Одностадийная оплата по криптограмме
-
confirm3DSPayment(
Three3DSecureRequest three3DSecureRequest) → Future< PaymentTransaction> - Подтверждение 3-D Secure
-
createSubscription(
RecurrentRequest recurrentRequest) → Future< RecurrentPayment> - Создание подписки на рекуррентные платежи
-
findSubscriptions(
String accountId) → Future< RecurrentsResponse> - Получение списка подписок для определенного аккаунта.
-
getPayment(
String transactionId) → Future< PaymentTransaction> - Метод получения детализации по транзакции.
-
getSbpStatus(
int transactionId) → Future< CloudPaymentsResponse< SbpStatus> > - Получение статуса по Qr транзакции
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sbpLinkCreate(
SbpRequest sbpRequest) → Future< CloudPaymentsResponse< SbpResponse> > - Генерация платежной ссылки СБП
-
sbpQrImageCreate(
SbpRequest sbpRequest) → Future< CloudPaymentsResponse< SbpResponse> > - Генерация QR-кода СБП
-
tokenCharge(
TokenPaymenRequest tokenPaymenRequest) → Future< PaymentTransaction> - Оплата по токену (рекарринг)
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited