jp.gopay.sdk.models.response.store.CardConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gopay-java-sdk Show documentation
Show all versions of gopay-java-sdk Show documentation
Official Gyro-n Payments Java SDK
package jp.gopay.sdk.models.response.store;
import com.google.gson.annotations.SerializedName;
import jp.gopay.sdk.models.response.CardLimit;
import jp.gopay.sdk.types.CardBrand;
import jp.gopay.sdk.types.Country;
import javax.annotation.Nullable;
import java.util.List;
public class CardConfiguration{
@SerializedName("enabled")
private Boolean enabled;
@SerializedName("debit_enabled")
private Boolean debitEnabled;
@SerializedName("prepaid_enabled")
private Boolean prepaidEnabled;
@SerializedName("forbidden_card_brands")
private List forbiddenCardBrands;
@SerializedName("allowed_countries_by_ip")
private List allowedCountriesByIp;
@SerializedName("foreign_cards_allowed")
private Boolean foreignCardsAllowed;
@SerializedName("fail_on_new_email")
private Boolean failOnNewEmail;
@SerializedName("allow_empty_cvv")
private Boolean allowEmptyCvv;
@SerializedName("card_limit")
private CardLimit cardLimit;
public Boolean getEnabled() {
return enabled;
}
public Boolean getDebitEnabled() {
return debitEnabled;
}
public Boolean getPrepaidEnabled() {
return prepaidEnabled;
}
public List getForbiddenCardBrands() {
return forbiddenCardBrands;
}
public List getAllowedCountriesByIp() {
return allowedCountriesByIp;
}
public Boolean getForeignCardsAllowed() {
return foreignCardsAllowed;
}
public Boolean getFailOnNewEmail() {
return failOnNewEmail;
}
public Boolean getAllowEmptyCvv() {
return allowEmptyCvv;
}
public CardLimit getCardLimit() {
return cardLimit;
}
public CardConfiguration(@Nullable Boolean enabled,
@Nullable Boolean debitEnabled,
@Nullable Boolean prepaidEnabled,
@Nullable List forbiddenCardBrands,
@Nullable List allowedCountriesByIp,
@Nullable Boolean foreignCardsAllowed,
@Nullable Boolean failOnNewEmail,
@Nullable Boolean allowEmptyCvv,
@Nullable CardLimit cardLimit) {
this.enabled = enabled;
this.debitEnabled = debitEnabled;
this.prepaidEnabled = prepaidEnabled;
this.forbiddenCardBrands = forbiddenCardBrands;
this.allowedCountriesByIp = allowedCountriesByIp;
this.foreignCardsAllowed = foreignCardsAllowed;
this.failOnNewEmail = failOnNewEmail;
this.allowEmptyCvv = allowEmptyCvv;
this.cardLimit = cardLimit;
}
}