pay_digitalwallets_sdk_data_classes library
This library contains links to all data classes and enums in the Olo Digital Wallets SDK.
For most use cases you will want to import the pay_digitalwallets_sdk library instead of this one since it contains all classes defined by the SDK, but it can be imported as follows:
import 'package:pay_digitalwallets_sdk/pay_digitalwallets_sdk_data_classes.dart';
Classes
- Address
- Represents an address
- ApplePayButtonConfiguration
- Parameters for configuring a DigitalWalletButton for use with Apple Pay
- ApplePayConfiguration
- Parameters for initializing Apple Pay
- Configuration
- Configuration parameters for digital wallets.
- ErrorCodes
- A list of all possible error codes that can be used in conjunction with PlatformException
- GooglePayButtonConfiguration
- Parameters for configuring a DigitalWalletButton for use with Google Pay
- GooglePayConfiguration
- Configuration parameters for Google Pay transactions
- LineItem
- Represents a line item in a transaction
- PaymentData
- Payment data for the digital wallet card (from Apple Pay or Google Pay) selected by the user when presenting the payment sheet
- PaymentParameters
- Parameters used to get payment data from a digital wallet
Enums
- ApplePayButtonStyle
- Enum representing different visual styles available for an Apple Pay button
- ApplePayButtonType
- Enum representing different types of Apple Pay buttons that can be used
- CardType
- Enum representing credit card types
- GooglePayButtonTheme
- Enum representing different visual styles available for a Google Pay button
- GooglePayButtonType
- Enum representing different types of Google Pay buttons that can be used
- GooglePayCheckoutStatus
- Enum representing valid checkout option and price status combinations, as defined by Google.
- LineItemStatus
- Enum representing the status of a line item
- LineItemType
- Enum representing the type of a line item in a digital wallet transaction