Package com.adyen.model.binlookup
Class CostEstimateAssumptions
- java.lang.Object
-
- com.adyen.model.binlookup.CostEstimateAssumptions
-
public class CostEstimateAssumptions extends Object
CostEstimateAssumptions
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ASSUME_LEVEL3_DATAstatic StringJSON_PROPERTY_ASSUME3_D_SECURE_AUTHENTICATEDstatic StringJSON_PROPERTY_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)If true, the cardholder is expected to successfully authorise via 3D Secure.CostEstimateAssumptionsassumeLevel3Data(Boolean assumeLevel3Data)If true, the transaction is expected to have valid Level 3 data.booleanequals(Object o)Return true if this CostEstimateAssumptions object is equal to 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)If not zero, the number of installments.voidsetAssume3DSecureAuthenticated(Boolean assume3DSecureAuthenticated)If true, the cardholder is expected to successfully authorise via 3D Secure.voidsetAssumeLevel3Data(Boolean assumeLevel3Data)If true, the transaction is expected to have valid Level 3 data.voidsetInstallments(Integer installments)If not zero, the number of installments.StringtoJson()Convert an instance of CostEstimateAssumptions to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ASSUME3_D_SECURE_AUTHENTICATED
public static final String JSON_PROPERTY_ASSUME3_D_SECURE_AUTHENTICATED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ASSUME_LEVEL3_DATA
public static final String JSON_PROPERTY_ASSUME_LEVEL3_DATA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INSTALLMENTS
public static final String JSON_PROPERTY_INSTALLMENTS
- See Also:
- Constant Field Values
-
-
Method Detail
-
assume3DSecureAuthenticated
public CostEstimateAssumptions assume3DSecureAuthenticated(Boolean assume3DSecureAuthenticated)
If true, the cardholder is expected to successfully authorise via 3D Secure.- Parameters:
assume3DSecureAuthenticated-- Returns:
- the current
CostEstimateAssumptionsinstance, allowing for method chaining
-
getAssume3DSecureAuthenticated
public Boolean getAssume3DSecureAuthenticated()
If true, the cardholder is expected to successfully authorise via 3D Secure.- Returns:
- assume3DSecureAuthenticated
-
setAssume3DSecureAuthenticated
public void setAssume3DSecureAuthenticated(Boolean assume3DSecureAuthenticated)
If true, the cardholder is expected to successfully authorise via 3D Secure.- Parameters:
assume3DSecureAuthenticated-
-
assumeLevel3Data
public CostEstimateAssumptions assumeLevel3Data(Boolean assumeLevel3Data)
If true, the transaction is expected to have valid Level 3 data.- Parameters:
assumeLevel3Data-- Returns:
- the current
CostEstimateAssumptionsinstance, allowing for method chaining
-
getAssumeLevel3Data
public Boolean getAssumeLevel3Data()
If true, the transaction is expected to have valid Level 3 data.- Returns:
- assumeLevel3Data
-
setAssumeLevel3Data
public void setAssumeLevel3Data(Boolean assumeLevel3Data)
If true, the transaction is expected to have valid Level 3 data.- Parameters:
assumeLevel3Data-
-
installments
public CostEstimateAssumptions installments(Integer installments)
If not zero, the number of installments.- Parameters:
installments-- Returns:
- the current
CostEstimateAssumptionsinstance, allowing for method chaining
-
getInstallments
public Integer getInstallments()
If not zero, the number of installments.- Returns:
- installments
-
setInstallments
public void setInstallments(Integer installments)
If not zero, the number of installments.- Parameters:
installments-
-
equals
public boolean equals(Object o)
Return true if this CostEstimateAssumptions object is equal to o.
-
fromJson
public static CostEstimateAssumptions fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of CostEstimateAssumptions given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CostEstimateAssumptions
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to CostEstimateAssumptions
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of CostEstimateAssumptions to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-