Package com.olo.olopay.data

An assortment of data and enum classes used throughout the Olo Pay SDK

Types

CardBrand
Link copied to clipboard
enum CardBrand : Enum<CardBrand>

An enum representing card brands supported by Olo Pay

CardErrorType
Link copied to clipboard
enum CardErrorType : Enum<CardErrorType>

An enum representing different types of card errors

CardField
Link copied to clipboard
enum CardField : Enum<CardField>

An enum representing the fields of a credit/debit card

ICardFieldState
Link copied to clipboard
interface ICardFieldState

Interface representing the current state of a CardField. This is useful if you want to provide a custom error messages UI

IPaymentMethod
Link copied to clipboard
interface IPaymentMethod : Parcelable

Represents a payment method containing all information needed to submit a basket via Olo's Ordering API

IPaymentMethodParams
Link copied to clipboard
interface IPaymentMethodParams

Class used to create an IPaymentMethod instance from user input. Instances of this class can be retrieved from PaymentCardDetailsSingleLineView, PaymentCardDetailsMultiLineView, and PaymentCardDetailsForm

OloPayEnvironment
Link copied to clipboard
enum OloPayEnvironment : Enum<OloPayEnvironment>

Enum indicating the environment that should be used by the Olo Pay SDK

SetupParameters
Link copied to clipboard
data class SetupParameters @JvmOverloads constructor(environment: OloPayEnvironment, freshSetup: Boolean, googlePayConfig: Config?)

Parameters for setting up the Olo Pay API