InAppPayments class

Constructors

InAppPayments()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

canUseApplePay Future<bool>
no setter
canUseGooglePay Future<bool>
no setter

Static Methods

completeApplePayAuthorization({required bool isSuccess, String errorMessage = ''}) Future
completeCardEntry({required CardEntryCompleteCallback onCardEntryComplete}) Future
initializeApplePay(String applePayMerchantId) Future
initializeGooglePay(String squareLocationId, int environment) Future
requestApplePayNonce({required String price, required String summaryLabel, required String countryCode, required String currencyCode, required ApplePayPaymentType paymentType, required ApplePayNonceRequestSuccessCallback onApplePayNonceRequestSuccess, required ApplePayNonceRequestFailureCallback onApplePayNonceRequestFailure, required ApplePayCompleteCallback onApplePayComplete}) Future
requestGooglePayNonce({required String price, required String currencyCode, required int priceStatus, required GooglePayNonceRequestSuccessCallback onGooglePayNonceRequestSuccess, required GooglePayNonceRequestFailureCallback onGooglePayNonceRequestFailure, required GooglePayCancelCallback onGooglePayCanceled}) Future
setIOSCardEntryTheme(IOSTheme theme) Future
setSquareApplicationId(String applicationId) Future
showCardNonceProcessingError(String errorMessage) Future
startBuyerVerificationFlow({required BuyerVerificationSuccessCallback onBuyerVerificationSuccess, required BuyerVerificationErrorCallback onBuyerVerificationFailure, required String buyerAction, required Money money, required String squareLocationId, required Contact contact, required String paymentSourceId}) Future
startCardEntryFlow({required CardEntryCardNonceRequestSuccessCallback onCardNonceRequestSuccess, required CardEntryCancelCallback onCardEntryCancel, bool collectPostalCode = true}) Future
startCardEntryFlowWithBuyerVerification({required BuyerVerificationSuccessCallback onBuyerVerificationSuccess, required BuyerVerificationErrorCallback onBuyerVerificationFailure, required CardEntryCancelCallback onCardEntryCancel, required String buyerAction, required Money money, required String squareLocationId, required Contact contact, bool collectPostalCode = true}) Future
startGiftCardEntryFlow({required CardEntryCardNonceRequestSuccessCallback onCardNonceRequestSuccess, required CardEntryCancelCallback onCardEntryCancel}) Future
startSecureRemoteCommerce({required int amount, required MasterCardNonceRequestSuccessCallback onMaterCardNonceRequestSuccess, required MasterCardNonceRequestFailureCallback onMasterCardNonceRequestFailure}) Future