com.mangopay.core.CardInfo Maven / Gradle / Ivy
The newest version!
package com.mangopay.core;
import com.google.gson.annotations.SerializedName;
import com.mangopay.core.enumerations.CardInfoType;
import com.mangopay.core.enumerations.CountryIso;
public class CardInfo extends Dto {
/**
* The 6-digit bank identification number (BIN) of the card issuer.
*/
@SerializedName("BIN")
private String bin;
/**
* The name of the card issuer.
*/
@SerializedName("IssuingBank")
private String issuingBank;
/**
* The country where the card was issued.
*/
@SerializedName("IssuerCountryCode")
private CountryIso issuerCountryCode;
/**
* The type of card product: DEBIT, CREDIT, CHARGE CARD.
*/
@SerializedName("Type")
private CardInfoType type;
/**
* The card brand. Examples include: AMERICAN EXPRESS, DISCOVER, JCB, MASTERCARD, VISA, etc.
*/
@SerializedName("Brand")
private String brand;
/**
* The subtype of the card product. Examples include: CLASSIC, GOLD, PLATINUM, PREPAID, etc.
*/
@SerializedName("SubType")
private String subType;
public String getBin() {
return bin;
}
public void setBin(String bin) {
this.bin = bin;
}
public String getIssuingBank() {
return issuingBank;
}
public void setIssuingBank(String issuingBank) {
this.issuingBank = issuingBank;
}
public CountryIso getIssuerCountryCode() {
return issuerCountryCode;
}
public void setIssuerCountryCode(CountryIso issuerCountryCode) {
this.issuerCountryCode = issuerCountryCode;
}
public CardInfoType getType() {
return type;
}
public void setType(CardInfoType type) {
this.type = type;
}
public String getBrand() {
return brand;
}
public void setBrand(String brand) {
this.brand = brand;
}
public String getSubType() {
return subType;
}
public void setSubType(String subType) {
this.subType = subType;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy