Package com.adyen.model.binlookup
Class CostEstimateAssumptions
- java.lang.Object
-
- com.adyen.model.binlookup.CostEstimateAssumptions
-
public class CostEstimateAssumptions extends Object
CostEstimateAssumptions
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCostEstimateAssumptions.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ASSUME_LEVEL3_DATAstatic StringSERIALIZED_NAME_ASSUME3_D_SECURE_AUTHENTICATEDstatic StringSERIALIZED_NAME_INSTALLMENTS
-
Constructor Summary
Constructors Constructor Description CostEstimateAssumptions()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CostEstimateAssumptionsassume3DSecureAuthenticated(Boolean assume3DSecureAuthenticated)CostEstimateAssumptionsassumeLevel3Data(Boolean assumeLevel3Data)booleanequals(Object o)static CostEstimateAssumptionsfromJson(String jsonString)Create an instance of CostEstimateAssumptions given an JSON stringBooleangetAssume3DSecureAuthenticated()If true, the cardholder is expected to successfully authorise via 3D Secure.BooleangetAssumeLevel3Data()If true, the transaction is expected to have valid Level 3 data.IntegergetInstallments()If not zero, the number of installments.inthashCode()CostEstimateAssumptionsinstallments(Integer installments)voidsetAssume3DSecureAuthenticated(Boolean assume3DSecureAuthenticated)voidsetAssumeLevel3Data(Boolean assumeLevel3Data)voidsetInstallments(Integer installments)StringtoJson()Convert an instance of CostEstimateAssumptions 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_ASSUME3_D_SECURE_AUTHENTICATED
public static final String SERIALIZED_NAME_ASSUME3_D_SECURE_AUTHENTICATED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ASSUME_LEVEL3_DATA
public static final String SERIALIZED_NAME_ASSUME_LEVEL3_DATA
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_INSTALLMENTS
public static final String SERIALIZED_NAME_INSTALLMENTS
- See Also:
- Constant Field Values
-
-
Method Detail
-
assume3DSecureAuthenticated
public CostEstimateAssumptions assume3DSecureAuthenticated(Boolean assume3DSecureAuthenticated)
-
getAssume3DSecureAuthenticated
public Boolean getAssume3DSecureAuthenticated()
If true, the cardholder is expected to successfully authorise via 3D Secure.- Returns:
- assume3DSecureAuthenticated
-
setAssume3DSecureAuthenticated
public void setAssume3DSecureAuthenticated(Boolean assume3DSecureAuthenticated)
-
assumeLevel3Data
public CostEstimateAssumptions assumeLevel3Data(Boolean assumeLevel3Data)
-
getAssumeLevel3Data
public Boolean getAssumeLevel3Data()
If true, the transaction is expected to have valid Level 3 data.- Returns:
- assumeLevel3Data
-
setAssumeLevel3Data
public void setAssumeLevel3Data(Boolean assumeLevel3Data)
-
installments
public CostEstimateAssumptions installments(Integer installments)
-
getInstallments
public Integer getInstallments()
If not zero, the number of installments.- Returns:
- installments
-
setInstallments
public void setInstallments(Integer installments)
-
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 CostEstimateAssumptions
-
fromJson
public static CostEstimateAssumptions fromJson(String jsonString) throws IOException
Create an instance of CostEstimateAssumptions given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CostEstimateAssumptions
- Throws:
IOException- if the JSON string is invalid with respect to CostEstimateAssumptions
-
toJson
public String toJson()
Convert an instance of CostEstimateAssumptions to an JSON string- Returns:
- JSON string
-
-