olo_pay_sdk_data_classes library
This library contains links to all data classes and enums in the Olo Pay SDK.
For most use cases you will want to import the olo_pay_sdk library instead of this one since it contains all classes defined by the SDK, but it can be imported as follows:
import 'package:olo_pay_sdk/olo_pay_sdk_data_classes.dart';
Classes
- ApplePaySetupParameters
- Parameters for initializing Apple Pay
- BackgroundStyles
- Defines background and border styles for widgets in the SDK
- CardFieldState
- Class representing the state of a CardField
- CustomErrorMessages
- Defines custom error messages for the widget
- CustomFieldErrors
- Defines custom error messages for different field error types
- CvvUpdateToken
- Represents a CVV update token containing all the information needed to submit a baske via Olo's Ordering API
- DigitalWalletPaymentParameters
- Parameters used to create a digital wallet payment method
- ErrorCodes
- A list of all possible error codes that can be used in conjunction with PlatformException
- GooglePaySetupParameters
- Parameters for initializing Google Pay
- GooglePayVendorParameters
- Parameters for specificying a new vendor for Google Pay
- Hints
- Defines the hint text for card input widget fields
- OloPaySetupParameters
- Parameters for initializing Olo Pay
- PaddingStyles
- Defines padding that is applied to a widget
- PaymentMethod
- Represents a payment method containing all information needed to submit a basket via Olo's Ordering API
- TextStyles
- Defines text styles for widgets in the SDK
Enums
- CardField
- Enum representing the different fields of a credit card
- CardType
- Enum representing credit card types
- TextFieldAlignment