PaymentMethod

A PaymentMethod represents the funding source that is used by your customer when making a payment. You may create and add multiple payment methods to a customer as saved payment methods to help streamline your customers' checkout experience.

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
val billing: Billing? = null

Billing information for the payment method

Link copied to clipboard

Card information for the payment method

Link copied to clipboard
val createdAt: Date? = null

Time at which the payment method was created

Link copied to clipboard
val customerId: String? = null

Customer id for the payment method

Link copied to clipboard

Google Pay information for the payment method

Link copied to clipboard
val id: String? = null

Unique identifier for the payment method

Link copied to clipboard
val metadata: Map<String, Any?>? = null

A set of key-value pairs that you can attach to the payment method

Link copied to clipboard
val requestId: String? = null

Request id for the payment method

Link copied to clipboard

Status of the payment method, can be one of CREATED, VERIFIED, EXPIRED, INVALID

Link copied to clipboard
val type: String? = null

Type of the payment method.

Link copied to clipboard
val updatedAt: Date? = null

Last time at which the payment method was updated

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)