VillageMerchantOptions
Options unique to using the Merchant API operations.
class VillageMerchantOptions(apiKey: String, baseUrl: String, wallet: Wallet?, merchantId: String?) : VillageOptions
Content copied to clipboard
Constructors
VillageMerchantOptions
Link copied to clipboard
fun VillageMerchantOptions(apiKey: String, baseUrl: String, wallet: Wallet?, merchantId: String?)
Content copied to clipboard
Functions
Properties
apiKey
Link copied to clipboard
baseUrl
Link copied to clipboard
merchantId
Link copied to clipboard
If given, the merchant ID will be added to the headers.
Since the merchant ID identifies the merchant it can be overridden with another value by the API gateway which uses the authentication token to identify the merchant.
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.