Package-level declarations

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

Types

Link copied to clipboard
data class Address(val postalCode: String, val countryCode: String, val address1: String = "", val address2: String = "", val address3: String = "", val locality: String = "", val administrativeArea: String = "", val sortingCode: String = "") : Parcelable

Class to represent an address.

Link copied to clipboard

An enum representing card brands supported by Olo Pay

Link copied to clipboard

An enum representing different types of card errors

Link copied to clipboard

An enum representing the fields of a credit/debit card

Link copied to clipboard

Enum representing supported currency codes

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

Link copied to clipboard
interface ICvvTokenParams

Class used to create an ICvvUpdateToken instance from user input. Instances of this class can be retrieved from PaymentCardCvvView

Link copied to clipboard
interface ICvvUpdateToken

Represents a CVV update token needed to revalidate previously used credit/debit cards on file.

Link copied to clipboard

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

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

Link copied to clipboard

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