Class MolPayDetails


  • public class MolPayDetails
    extends Object
    MolPayDetails
    • Constructor Detail

      • MolPayDetails

        public MolPayDetails()
    • Method Detail

      • getCheckoutAttemptId

        public String getCheckoutAttemptId()
        The checkout attempt identifier.
        Returns:
        checkoutAttemptId
      • setCheckoutAttemptId

        public void setCheckoutAttemptId​(String checkoutAttemptId)
      • getIssuer

        public String getIssuer()
        The shopper's bank. Specify this with the issuer value that corresponds to this bank.
        Returns:
        issuer
      • setIssuer

        public void setIssuer​(String issuer)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonObject

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        Validates 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 MolPayDetails
      • fromJson

        public static MolPayDetails fromJson​(String jsonString)
                                      throws IOException
        Create an instance of MolPayDetails given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of MolPayDetails
        Throws:
        IOException - if the JSON string is invalid with respect to MolPayDetails
      • toJson

        public String toJson()
        Convert an instance of MolPayDetails to an JSON string
        Returns:
        JSON string