PaymentMethodDescriptor

data class PaymentMethodDescriptor(val id: String, val links: Map<String, Link>?, val providerName: String, val acceptedOriginTypes: List<String>?)

A class describing a payment method

Constructors

Link copied to clipboard
constructor(id: String, links: Map<String, Link>?, providerName: String, acceptedOriginTypes: List<String>?)

Properties

Link copied to clipboard

List of origin types that are accepted for this payment method (to match with locally saved payment credentials)

Link copied to clipboard
val id: String

Unique identifier of the payment method

Link copied to clipboard

Various links for getting web forms or approval links

Link copied to clipboard

Convert this descriptor to the SDK PaymentMethod Returns a list of PaymentMethods

Link copied to clipboard

The name of the underlying payment provider (e.g. telecash, payOne, googlePay)