Package com.adyen.model.binlookup
Class ThreeDSAvailabilityResponse
- java.lang.Object
-
- com.adyen.model.binlookup.ThreeDSAvailabilityResponse
-
public class ThreeDSAvailabilityResponse extends Object
ThreeDSAvailabilityResponse
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_BIN_DETAILSstatic StringJSON_PROPERTY_DS_PUBLIC_KEYSstatic StringJSON_PROPERTY_THREE_D_S1_SUPPORTEDstatic StringJSON_PROPERTY_THREE_D_S2_CARD_RANGE_DETAILSstatic StringJSON_PROPERTY_THREE_D_S2SUPPORTED
-
Constructor Summary
Constructors Constructor Description ThreeDSAvailabilityResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ThreeDSAvailabilityResponseaddDsPublicKeysItem(DSPublicKeyDetail dsPublicKeysItem)ThreeDSAvailabilityResponseaddThreeDS2CardRangeDetailsItem(ThreeDS2CardRangeDetail threeDS2CardRangeDetailsItem)ThreeDSAvailabilityResponsebinDetails(BinDetail binDetails)ThreeDSAvailabilityResponsedsPublicKeys(List<DSPublicKeyDetail> dsPublicKeys)booleanequals(Object o)Return true if this ThreeDSAvailabilityResponse object is equal to o.static ThreeDSAvailabilityResponsefromJson(String jsonString)Create an instance of ThreeDSAvailabilityResponse given an JSON stringBinDetailgetBinDetails()Get binDetailsList<DSPublicKeyDetail>getDsPublicKeys()List of Directory Server (DS) public keys.BooleangetThreeDS1Supported()Indicator if 3D Secure 1 is supported.List<ThreeDS2CardRangeDetail>getThreeDS2CardRangeDetails()List of brand and card range pairs.BooleangetThreeDS2supported()Indicator if 3D Secure 2 is supported.inthashCode()voidsetBinDetails(BinDetail binDetails)binDetailsvoidsetDsPublicKeys(List<DSPublicKeyDetail> dsPublicKeys)List of Directory Server (DS) public keys.voidsetThreeDS1Supported(Boolean threeDS1Supported)Indicator if 3D Secure 1 is supported.voidsetThreeDS2CardRangeDetails(List<ThreeDS2CardRangeDetail> threeDS2CardRangeDetails)List of brand and card range pairs.voidsetThreeDS2supported(Boolean threeDS2supported)Indicator if 3D Secure 2 is supported.ThreeDSAvailabilityResponsethreeDS1Supported(Boolean threeDS1Supported)ThreeDSAvailabilityResponsethreeDS2CardRangeDetails(List<ThreeDS2CardRangeDetail> threeDS2CardRangeDetails)ThreeDSAvailabilityResponsethreeDS2supported(Boolean threeDS2supported)StringtoJson()Convert an instance of ThreeDSAvailabilityResponse to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_BIN_DETAILS
public static final String JSON_PROPERTY_BIN_DETAILS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DS_PUBLIC_KEYS
public static final String JSON_PROPERTY_DS_PUBLIC_KEYS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_THREE_D_S1_SUPPORTED
public static final String JSON_PROPERTY_THREE_D_S1_SUPPORTED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_THREE_D_S2_CARD_RANGE_DETAILS
public static final String JSON_PROPERTY_THREE_D_S2_CARD_RANGE_DETAILS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_THREE_D_S2SUPPORTED
public static final String JSON_PROPERTY_THREE_D_S2SUPPORTED
- See Also:
- Constant Field Values
-
-
Method Detail
-
binDetails
public ThreeDSAvailabilityResponse binDetails(BinDetail binDetails)
-
getBinDetails
public BinDetail getBinDetails()
Get binDetails- Returns:
- binDetails
-
setBinDetails
public void setBinDetails(BinDetail binDetails)
binDetails- Parameters:
binDetails-
-
dsPublicKeys
public ThreeDSAvailabilityResponse dsPublicKeys(List<DSPublicKeyDetail> dsPublicKeys)
-
addDsPublicKeysItem
public ThreeDSAvailabilityResponse addDsPublicKeysItem(DSPublicKeyDetail dsPublicKeysItem)
-
getDsPublicKeys
public List<DSPublicKeyDetail> getDsPublicKeys()
List of Directory Server (DS) public keys.- Returns:
- dsPublicKeys
-
setDsPublicKeys
public void setDsPublicKeys(List<DSPublicKeyDetail> dsPublicKeys)
List of Directory Server (DS) public keys.- Parameters:
dsPublicKeys-
-
threeDS1Supported
public ThreeDSAvailabilityResponse threeDS1Supported(Boolean threeDS1Supported)
-
getThreeDS1Supported
public Boolean getThreeDS1Supported()
Indicator if 3D Secure 1 is supported.- Returns:
- threeDS1Supported
-
setThreeDS1Supported
public void setThreeDS1Supported(Boolean threeDS1Supported)
Indicator if 3D Secure 1 is supported.- Parameters:
threeDS1Supported-
-
threeDS2CardRangeDetails
public ThreeDSAvailabilityResponse threeDS2CardRangeDetails(List<ThreeDS2CardRangeDetail> threeDS2CardRangeDetails)
-
addThreeDS2CardRangeDetailsItem
public ThreeDSAvailabilityResponse addThreeDS2CardRangeDetailsItem(ThreeDS2CardRangeDetail threeDS2CardRangeDetailsItem)
-
getThreeDS2CardRangeDetails
public List<ThreeDS2CardRangeDetail> getThreeDS2CardRangeDetails()
List of brand and card range pairs.- Returns:
- threeDS2CardRangeDetails
-
setThreeDS2CardRangeDetails
public void setThreeDS2CardRangeDetails(List<ThreeDS2CardRangeDetail> threeDS2CardRangeDetails)
List of brand and card range pairs.- Parameters:
threeDS2CardRangeDetails-
-
threeDS2supported
public ThreeDSAvailabilityResponse threeDS2supported(Boolean threeDS2supported)
-
getThreeDS2supported
public Boolean getThreeDS2supported()
Indicator if 3D Secure 2 is supported.- Returns:
- threeDS2supported
-
setThreeDS2supported
public void setThreeDS2supported(Boolean threeDS2supported)
Indicator if 3D Secure 2 is supported.- Parameters:
threeDS2supported-
-
equals
public boolean equals(Object o)
Return true if this ThreeDSAvailabilityResponse object is equal to o.
-
fromJson
public static ThreeDSAvailabilityResponse fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of ThreeDSAvailabilityResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ThreeDSAvailabilityResponse
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to ThreeDSAvailabilityResponse
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of ThreeDSAvailabilityResponse to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-