Class BillDeskDetails


  • public class BillDeskDetails
    extends Object
    BillDeskDetails
    • Constructor Detail

      • BillDeskDetails

        public BillDeskDetails()
    • Method Detail

      • getCheckoutAttemptId

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

        public void setCheckoutAttemptId​(String checkoutAttemptId)
      • getIssuer

        public String getIssuer()
        The issuer id of the shopper's selected 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 BillDeskDetails
      • fromJson

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

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