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

Address
Represents an address
ApplePayButtonConfiguration
Parameters for configuring a DigitalWalletButton for use with Apple Pay
ApplePayConfiguration
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
DigitalWalletConfiguration
Configuration parameters for digital wallets.
DigitalWalletLineItem
Represents a line item in a digital wallet transaction
DigitalWalletPaymentParameters
Parameters used to create a digital wallet payment method
ErrorBackgroundStyles
Defines background and border styles for the CardDetailsFormTextField widget
ErrorCodes
A list of all possible error codes that can be used in conjunction with PlatformException
FieldDividerStyles
Defines form inner divider styles for the CardDetailsFormTextField widget
GooglePayButtonConfiguration
Parameters for configuring a DigitalWalletButton for use with Google Pay
GooglePayConfiguration
Configuration parameters for Google Pay transactions
Hints
Defines the hint text for card input widget fields
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

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
CardField
Enum representing the different fields of a credit card
CardType
Enum representing credit card types
CurrencyCode
Enum representation of supported currency codes
DigitalWalletLineItemStatus
Enum representing the status of a line item
DigitalWalletLineItemType
Enum representing the type of a line item in a digital wallet transaction
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.
TextFieldAlignment