PaymentParameters class

Implemented types

Constructors

PaymentParameters({@required Amount amount, @required String purchaseName, @required String purchaseDescription, @required String clientApplicationKey, SavePaymentMethodMode savePaymentMethodMode = SavePaymentMethodMode.userSelects, List<PaymentMethod> paymentMethods = const [PaymentMethod.bankCard], String gatewayId, String returnUrl, String userPhoneNumber, IosTestModeSettings iosTestModeSettings, bool isLoggingEnabled, IosColorScheme iosColorScheme, String applePayMerchantIdentifier, AndroidTestModeSettings androidTestModeSettings, AndroidColorScheme androidColorScheme, String shopId, List<GooglePayCardNetwork> googlePayParameters})

Properties

amount Amount
Total cost of the payment
final
androidColorScheme AndroidColorScheme
Color scheme for essential elements, such as buttons, switches, etc. Should not be very light
final
androidTestModeSettings AndroidTestModeSettings
Android test mode settings
final
applePayMerchantIdentifier String
ApplePay merchant id. Obligatory for PaymentMethod.applePay
final
clientApplicationKey String
Merchant token from Yandex.Checkout (https://kassa.yandex.ru/my/api-keys-settings)
final
gatewayId String
Gateway id for the shop from Yandex.Money
final
googlePayParameters List<GooglePayCardNetwork>
GooglePay card settings
final
hashCode int
The hash code for this object. [...]
read-only, inherited
iosColorScheme IosColorScheme
Color scheme for essential elements, such as buttons, switches, etc. IosColorScheme.blueRibbon by default
final
iosTestModeSettings IosTestModeSettings
IOS test mode settings
final
isLoggingEnabled bool
Enables logging of network requests
final
json Map<String, dynamic>
JSON-encodable representation of object which can be encoded with json.encode() [...]
read-only, override
paymentMethods List<PaymentMethod>
Allowed payment methods
final
purchaseDescription String
Description of the purchase (subtitle)
final
purchaseName String
The name of the purchase/shop (title)
final
returnUrl String
Return url of the page after 3ds secure payment. Supported only https. Should be used only for you custom Activity for 3ds url
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
savePaymentMethodMode SavePaymentMethodMode
Mode of saving payment method. Can be used for recurrent payments
final
shopId String
Shop id from Yandex.Checkout
final
Shows Yandex.Checkout logo. Is true by default
final
userPhoneNumber String
Phone number of the user. Is used for PaymentMethod.sberbank payment method. Should be in "+7XXXXXXXXXX" format
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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