Package-level declarations

Types

Link copied to clipboard
data class AppReloadConfiguration(val allowCustomAmount: Boolean, val presetAmounts: List<PresetReloadAmounts>)

Configuration containing details about the merchant reload options.

Link copied to clipboard
data class Merchant(val id: String, val name: String, val metadata: MerchantMetadata)

A Merchant object represents your business and it's configurations in Ansa.

Link copied to clipboard
data class MerchantAutoReloadConfiguration(val maximumAutoReloadAmount: Int, val minimumAutoReloadAmount: Int, val minimumAutoReloadThreshold: Int)

Configuration containing details about the merchant's auto reload settings

Link copied to clipboard
data class MerchantBasisTheoryInfo(val apiKey: String)
Link copied to clipboard
data class MerchantCartArtInfo(val cartArtUrls: List<String>)
Link copied to clipboard
data class MerchantMetadata(val appReloadConfiguration: AppReloadConfiguration, val autoReloadConfiguration: MerchantAutoReloadConfiguration, val omsProvider: String?, val paymentProcessor: String?, val promotions: Promotions, val userReferralConfiguration: UserReferralConfiguration, val isTapToPayEnabled: Boolean)

The Merchant object has an associated metadata object that will also be returned when you request the Merchant.

Link copied to clipboard
data class PresetReloadAmounts(val amount: Int, val id: String, val isMostPopular: Boolean)

Preset reload amount to show to the client

Link copied to clipboard
data class Promotions(val tiers: List<RewardTier>, val type: String)

Promotional opportunities to show the client

Link copied to clipboard
data class RewardTier(val minTransactionRequirement: Int, val promotionAmount: Int)

Specifics around a specific reward tier.

Link copied to clipboard
data class UserReferralConfiguration(val enabled: Boolean, val recipientCreditAmount: Int, val redemptionEvent: String, val redemptionThresholdAmount: Int, val senderCreditAmount: Int)

Details about the user referral configurations