InaiCheckout class

Constructors

InaiCheckout.new(InaiConfig config)

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

addPaymentMethod({required String type, required BuildContext context}) Future<InaiResult>
getCardInfo({required String cardNumber, required BuildContext context}) Future<InaiResult>
getGooglePayRequestData(Map<String, dynamic> paymentData) Map<String, dynamic>
getPaymentMethodString(String paymentMethodType) String
initGooglePlay(Map<String, dynamic> paymentMethodMap, GooglePayEnvironment environment) Future<InaiGooglePayRequestData>
makePayment({required String paymentMethodOption, required BuildContext context, required Map<String, dynamic> paymentDetails}) Future<InaiResult>
makePaymentApplePay(InaiApplePayRequest inaiApplePayRequest, BuildContext context) Future<InaiResult>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
presentCheckout({required BuildContext context}) Future<InaiResult>
presentPayWithPaymentMethod({required String paymentMethodId, required BuildContext context}) Future<InaiResult>
toString() String
A string representation of this object.
inherited
validateFields({required String paymentMethodOption, required BuildContext context, required Map<String, dynamic> paymentDetails}) Future<InaiResult>

Operators

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

Static Methods

initApplePayRequest(List paymentMethods) Future<InaiApplePayRequest>

Constants

applePayProviderKey → const String
googlePay → const String