pay library

Classes

ApplePayButton
A widget to show the Apple Pay button according to the rules and constraints specified in PayButton.
ButtonPlaceholder
Shows the appropriate widget based on the API requests above, respecting the margin if the child is set.
GooglePayButton
A widget to show the Google Pay button according to the rules and constraints specified in PayButton.
Pay
High level layer to easily manage cross-platform integrations.
PayButton
A widget that handles the API logic to facilitate the integration.
PaymentConfiguration
An object that holds information about a payment transaction.
PaymentItem
A simple object that holds information about individual entries in the payment summary shown before completing a payment.
RawApplePayButton
A button widget that follows the Apple Pay button styles and design guidelines.
RawGooglePayButton
A button widget that follows the Google Pay button themes and design guidelines.

Enums

ApplePayButtonStyle
The button styles supported on Apple Pay.
ApplePayButtonType
The types of button supported on Apple Pay.
GooglePayButtonTheme
The button themes supported on Google Pay.
GooglePayButtonType
The types of button supported on Google Pay.
PaymentItemStatus
The payment price statuses supported in the payment selector.
PaymentItemType
The payment types supported when showing the payment selector.
PayProvider
The payment providers supported by this package.

Constants

supportedProviders → const Map<TargetPlatform, List<PayProvider>>
List of supported payment providers and platform pairs.

Exceptions / Errors

ProviderNotConfiguredException
Thrown to indicate that the configuration for a request provider has not been provided.