SnapCar.PaymentMethod
A user payment method.
Constructor
SnapCar.PaymentMethod
()
Properties
brand
String
const
Credit card brand.
Example:
"VISA"
id
String
const
Payment method unique identifier.
name
String
const
The payment method's name, as set by the user.
number
String
const
Credit card's masked number.
Example:
"XXXXXXXXXXXX4987"
type
String
const
The payment method's type. At that time, 'credit_card' is the only possible value.