Package com. olo. olopay. data
An assortment of data and enum classes used throughout the Olo Pay SDK
Types
Card Error Type
Link copied to clipboard
An enum representing different types of card errors
ICard Field State
Link copied to clipboard
Interface representing the current state of a CardField. This is useful if you want to provide a custom error messages UI
IPayment Method
Link copied to clipboard
Represents a payment method containing all information needed to submit a basket via Olo's Ordering API
IPayment Method Params
Link copied to clipboard
Class used to create an IPaymentMethod instance from user input. Instances of this class can be retrieved from PaymentCardDetailsSingleLineView, PaymentCardDetailsMultiLineView, and PaymentCardDetailsForm
Olo Pay Environment
Link copied to clipboard
Enum indicating the environment that should be used by the Olo Pay SDK
Setup Parameters
Link copied to clipboard
data class SetupParameters @JvmOverloads constructor(environment: OloPayEnvironment, freshSetup: Boolean, googlePayConfig: Config?)
Content copied to clipboard
Parameters for setting up the Olo Pay API