Skip to main content

PaymentMethod

Represents one payment method used in a transaction. Returned by ScanResults.paymentMethods().

Package: com.microblink.core

Declaration

class PaymentMethod(
paymentMethod: StringType?,
cardType: StringType?,
cardIssuer: StringType?,
amount: FloatType?
) : Parcelable

Quick Reference​

Properties​

PropertyDescription
paymentMethod()Payment method type
cardType()Card type
cardIssuer()Card issuer name
amount()Amount charged to this payment method

Properties​

paymentMethod()​

fun paymentMethod(): StringType?

Payment method type (e.g., "credit", "cash", "EBT"). See StringType.


cardType()​

fun cardType(): StringType?

Card type (e.g., "Visa", "Mastercard").


cardIssuer()​

fun cardIssuer(): StringType?

Card issuer name.


amount()​

fun amount(): FloatType?

Amount charged to this payment method. See FloatType.