Package com.adyen.model.binlookup
Class ThreeDS2CardRangeDetail
- java.lang.Object
-
- com.adyen.model.binlookup.ThreeDS2CardRangeDetail
-
public class ThreeDS2CardRangeDetail extends Object
ThreeDS2CardRangeDetail
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classThreeDS2CardRangeDetail.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ACS_INFO_INDstatic StringSERIALIZED_NAME_BRAND_CODEstatic StringSERIALIZED_NAME_END_RANGEstatic StringSERIALIZED_NAME_START_RANGEstatic StringSERIALIZED_NAME_THREE_D_S_METHOD_U_R_Lstatic StringSERIALIZED_NAME_THREE_D_S2_VERSION
-
Constructor Summary
Constructors Constructor Description ThreeDS2CardRangeDetail()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ThreeDS2CardRangeDetailacsInfoInd(List<String> acsInfoInd)ThreeDS2CardRangeDetailaddAcsInfoIndItem(String acsInfoIndItem)ThreeDS2CardRangeDetailbrandCode(String brandCode)ThreeDS2CardRangeDetailendRange(String endRange)booleanequals(Object o)static ThreeDS2CardRangeDetailfromJson(String jsonString)Create an instance of ThreeDS2CardRangeDetail given an JSON stringList<String>getAcsInfoInd()Provides additional information to the 3DS Server.StringgetBrandCode()Card brand.StringgetEndRange()BIN end range.StringgetStartRange()BIN start range.StringgetThreeDS2Version()3D Secure protocol version.StringgetThreeDSMethodURL()In a 3D Secure 2 browser-based flow, this is the URL where you should send the device fingerprint to.inthashCode()voidsetAcsInfoInd(List<String> acsInfoInd)voidsetBrandCode(String brandCode)voidsetEndRange(String endRange)voidsetStartRange(String startRange)voidsetThreeDS2Version(String threeDS2Version)voidsetThreeDSMethodURL(String threeDSMethodURL)ThreeDS2CardRangeDetailstartRange(String startRange)ThreeDS2CardRangeDetailthreeDS2Version(String threeDS2Version)ThreeDS2CardRangeDetailthreeDSMethodURL(String threeDSMethodURL)StringtoJson()Convert an instance of ThreeDS2CardRangeDetail to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_ACS_INFO_IND
public static final String SERIALIZED_NAME_ACS_INFO_IND
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BRAND_CODE
public static final String SERIALIZED_NAME_BRAND_CODE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_END_RANGE
public static final String SERIALIZED_NAME_END_RANGE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_START_RANGE
public static final String SERIALIZED_NAME_START_RANGE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_THREE_D_S2_VERSION
public static final String SERIALIZED_NAME_THREE_D_S2_VERSION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_THREE_D_S_METHOD_U_R_L
public static final String SERIALIZED_NAME_THREE_D_S_METHOD_U_R_L
- See Also:
- Constant Field Values
-
-
Method Detail
-
acsInfoInd
public ThreeDS2CardRangeDetail acsInfoInd(List<String> acsInfoInd)
-
addAcsInfoIndItem
public ThreeDS2CardRangeDetail addAcsInfoIndItem(String acsInfoIndItem)
-
getAcsInfoInd
public List<String> getAcsInfoInd()
Provides additional information to the 3DS Server. Possible values: - 01 (Authentication is available at ACS) - 02 (Attempts supported by ACS or DS) - 03 (Decoupled authentication supported) - 04 (Whitelisting supported)- Returns:
- acsInfoInd
-
brandCode
public ThreeDS2CardRangeDetail brandCode(String brandCode)
-
getBrandCode
public String getBrandCode()
Card brand.- Returns:
- brandCode
-
setBrandCode
public void setBrandCode(String brandCode)
-
endRange
public ThreeDS2CardRangeDetail endRange(String endRange)
-
getEndRange
public String getEndRange()
BIN end range.- Returns:
- endRange
-
setEndRange
public void setEndRange(String endRange)
-
startRange
public ThreeDS2CardRangeDetail startRange(String startRange)
-
getStartRange
public String getStartRange()
BIN start range.- Returns:
- startRange
-
setStartRange
public void setStartRange(String startRange)
-
threeDS2Version
public ThreeDS2CardRangeDetail threeDS2Version(String threeDS2Version)
-
getThreeDS2Version
public String getThreeDS2Version()
3D Secure protocol version.- Returns:
- threeDS2Version
-
setThreeDS2Version
public void setThreeDS2Version(String threeDS2Version)
-
threeDSMethodURL
public ThreeDS2CardRangeDetail threeDSMethodURL(String threeDSMethodURL)
-
getThreeDSMethodURL
public String getThreeDSMethodURL()
In a 3D Secure 2 browser-based flow, this is the URL where you should send the device fingerprint to.- Returns:
- threeDSMethodURL
-
setThreeDSMethodURL
public void setThreeDSMethodURL(String threeDSMethodURL)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to ThreeDS2CardRangeDetail
-
fromJson
public static ThreeDS2CardRangeDetail fromJson(String jsonString) throws IOException
Create an instance of ThreeDS2CardRangeDetail given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ThreeDS2CardRangeDetail
- Throws:
IOException- if the JSON string is invalid with respect to ThreeDS2CardRangeDetail
-
toJson
public String toJson()
Convert an instance of ThreeDS2CardRangeDetail to an JSON string- Returns:
- JSON string
-
-