Class MobilePayDetails


  • public class MobilePayDetails
    extends Object
    MobilePayDetails
    • Constructor Detail

      • MobilePayDetails

        public MobilePayDetails()
    • Method Detail

      • getCheckoutAttemptId

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

        public void setCheckoutAttemptId​(String checkoutAttemptId)
      • 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 MobilePayDetails
      • fromJson

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

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