Card

open class Card

Created by jeremylejoux on 17/01/2018.

Constructors

Link copied to clipboard
constructor(id: String, cvc: String)
constructor(tokenType: Card.TokenType, paymentToken: String, cardHolderName: String, contact: Contact)
constructor(cardNumbers: String, expMonth: Int, expYear: Int, cvc: String)
constructor(cardHolderName: String, cardNumbers: String, expMonth: Int, expYear: Int, cvc: String)
constructor(cardHolderName: String, cardNumbers: String, expMonth: Int, expYear: Int, cvc: String, contact: Contact)
constructor(cardHolderName: String, cardNumbers: String, expMonth: Int, expYear: Int, contact: Contact)

Types

Link copied to clipboard

Properties

Link copied to clipboard
@SerializedName(value = "name")
open var cardHolderName: String
Link copied to clipboard
@SerializedName(value = "number")
open var cardNumbers: String
Link copied to clipboard
@SerializedName(value = "contact")
open var contact: Contact
Link copied to clipboard
@SerializedName(value = "cvc")
open var cvc: String
Link copied to clipboard
@SerializedName(value = "exp_month")
open var expMonth: Int
Link copied to clipboard
@SerializedName(value = "exp_year")
open var expYear: Int
Link copied to clipboard
@SerializedName(value = "("id")")
open var id: String
Link copied to clipboard
@SerializedName(value = "payment_token")
open var paymentToken: String
Link copied to clipboard
@SerializedName(value = "token_type")
open var tokenType: Card.TokenType