TestModeSettings class

Настройки тестового режима.

Annotations

Constructors

TestModeSettings({required bool paymentAuthorizationPassed, required int cardsCount, required Amount charge, required bool enablePaymentError, bool googlePayTestEnvironment = false})
Настройки тестового режима.
const

Properties

cardsCount int
Количество привязанные карт к кошельку в ЮMoney.
final
charge Amount
Объект, содержащий сумму заказа и валюту
final
enablePaymentError bool
Определяет, будет ли платеж завершен с ошибкой.
final
googlePayTestEnvironment bool
Использовать тестовую среду Google Pay - все транзакции, проведенные через Google Pay, будут использовать WalletConstants.ENVIRONMENT_TEST. Имейте ввиду, что при попытке оплаты с параметром googlePayTestEnvironment=true произойдет ошибка токенизации. Подробнее см. на https://developers.google.com/pay/api/android/guides/test-and-deploy/integration-checklist#about-the-test-environment.
final
hashCode int
The hash code for this object.
no setterinherited
paymentAuthorizationPassed bool
Определяет, пройдена ли платежная авторизация при оплате ЮMoney.
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
toString() String
A string representation of this object.

Operators

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