com.ingenico.connect.gateway.sdk.java.domain.services.GetIINDetailsResponse Maven / Gradle / Ivy
/*
* This class was auto-generated from the API references found at
* https://epayments-api.developer-ingenico.com/s2sapi/v1/
*/
package com.ingenico.connect.gateway.sdk.java.domain.services;
import java.util.List;
import com.ingenico.connect.gateway.sdk.java.domain.services.definitions.IINDetail;
/**
* Output of the retrieval of the IIN details request
*/
public class GetIINDetailsResponse {
private List coBrands = null;
private String countryCode = null;
private Boolean isAllowedInContext = null;
private Integer paymentProductId = null;
/**
* Populated only if the card has multiple brands.
* A list with for every brand of the card, the payment product identifier associated with that brand, and if you submitted a payment context, whether that payment product is allowed in the context.
*/
public List getCoBrands() {
return coBrands;
}
/**
* Populated only if the card has multiple brands.
* A list with for every brand of the card, the payment product identifier associated with that brand, and if you submitted a payment context, whether that payment product is allowed in the context.
*/
public void setCoBrands(List value) {
this.coBrands = value;
}
/**
* The ISO 3166-1 alpha-2 country code of the country where the card was issued. If we don't know where the card was issued, then the countryCode will return the value '99'.
*/
public String getCountryCode() {
return countryCode;
}
/**
* The ISO 3166-1 alpha-2 country code of the country where the card was issued. If we don't know where the card was issued, then the countryCode will return the value '99'.
*/
public void setCountryCode(String value) {
this.countryCode = value;
}
/**
* Populated only if you submitted a payment context.
* - true - The payment product is allowed in the submitted context.
*
- false - The payment product is not allowed in the submitted context. Note that in this case, none of the brands of the card will be allowed in the submitted context.
*/
public Boolean getIsAllowedInContext() {
return isAllowedInContext;
}
/**
* Populated only if you submitted a payment context.
* - true - The payment product is allowed in the submitted context.
*
- false - The payment product is not allowed in the submitted context. Note that in this case, none of the brands of the card will be allowed in the submitted context.
*/
public void setIsAllowedInContext(Boolean value) {
this.isAllowedInContext = value;
}
/**
* The payment product identifier associated with the card. If the card has multiple brands, then we select the most appropriate payment product based on your configuration and the payment context, if you submitted one.
* Please see payment products for a full overview of possible values
*/
public Integer getPaymentProductId() {
return paymentProductId;
}
/**
* The payment product identifier associated with the card. If the card has multiple brands, then we select the most appropriate payment product based on your configuration and the payment context, if you submitted one.
* Please see payment products for a full overview of possible values
*/
public void setPaymentProductId(Integer value) {
this.paymentProductId = value;
}
}