Class CostEstimateAssumptions


  • public class CostEstimateAssumptions
    extends Object
    CostEstimateAssumptions
    • Constructor Detail

      • CostEstimateAssumptions

        public CostEstimateAssumptions()
    • 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 CostEstimateAssumptions instance, 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 CostEstimateAssumptions instance, 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 CostEstimateAssumptions instance, 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.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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