public final class Source
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private SourceChannel |
channel |
private java.lang.String |
id |
private SourceObject |
object |
private company.tap.tapcardvalidator_android.CardBrand |
paymentMethod |
private SourcePaymentType |
paymentType |
private SourceType |
sourceType |
Constructor and Description |
---|
Source(java.lang.String id)
Constructor with id field only (token id, card id etc.)
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getId()
Gets id.
|
java.lang.String |
toString() |
@SerializedName(value="id") @Expose private java.lang.String id
@SerializedName(value="object") @Expose @Nullable private SourceObject object
@SerializedName(value="type") @Expose @Nullable private SourceType sourceType
@SerializedName(value="payment_type") @Expose @Nullable private SourcePaymentType paymentType
@SerializedName(value="payment_method") @Expose @Nullable private company.tap.tapcardvalidator_android.CardBrand paymentMethod
@SerializedName(value="channel") @Expose @Nullable private SourceChannel channel