Enums & Constants
PaymentMethodType
Enum class that defines the types of payments accepted:
enum class PaymentMethodType {
CARD, // Credit/Debit card payments
BANK, // ACH/Bank account payments
CASH // Cash/Barcode payments
}
TokenizationType
Enum class that defines the types of payment methods that can be tokenized:
enum class TokenizationType {
CARD, // Credit/Debit card tokenization
BANK // ACH/Bank account tokenization
}
FeeMode
Object containing fee mode constants:
object FeeMode {
const val MERCHANT_FEE = "merchant_fee" // Merchant pays the processing fee
const val SERVICE_FEE = "service_fee" // Customer pays the processing fee
}