VillageOptions

Options to configure the SDK

open class VillageOptions(apiKey: String, baseUrl: String, wallet: Wallet?)

Constructors

VillageOptions
Link copied to clipboard
fun VillageOptions(apiKey: String, baseUrl: String, wallet: Wallet?)

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

apiKey
Link copied to clipboard

The API key to identify the SDK to the API.

val apiKey: String
baseUrl
Link copied to clipboard

An initial base URL for the API host to use. Is comprised of the the scheme, host, and any context root for the API paths to use eg: https://myawesomeapp.com/api

val baseUrl: String
wallet
Link copied to clipboard

Which wallet to interact with for everything related to payment instruments, preferences, etc. Applies across the SDK. If a different Wallet is needed, instantiate the SDK again.

If not specified, will default to Wallet.MERCHANT.

val wallet: Wallet?

Inheritors

VillageCustomerOptions
Link copied to clipboard
VillageMerchantOptions
Link copied to clipboard