Class BlikDetails


  • public class BlikDetails
    extends Object
    BlikDetails
    • Constructor Detail

      • BlikDetails

        public BlikDetails()
    • Method Detail

      • getBlikCode

        public String getBlikCode()
        BLIK code consisting of 6 digits.
        Returns:
        blikCode
      • setBlikCode

        public void setBlikCode​(String blikCode)
      • checkoutAttemptId

        public BlikDetails checkoutAttemptId​(String checkoutAttemptId)
      • getCheckoutAttemptId

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

        public void setCheckoutAttemptId​(String checkoutAttemptId)
      • recurringDetailReference

        public BlikDetails recurringDetailReference​(String recurringDetailReference)
      • getRecurringDetailReference

        @Deprecated
        public String getRecurringDetailReference()
        Deprecated.
        This is the `recurringDetailReference` returned in the response when you created the token.
        Returns:
        recurringDetailReference
      • setRecurringDetailReference

        public void setRecurringDetailReference​(String recurringDetailReference)
      • storedPaymentMethodId

        public BlikDetails storedPaymentMethodId​(String storedPaymentMethodId)
      • getStoredPaymentMethodId

        public String getStoredPaymentMethodId()
        This is the `recurringDetailReference` returned in the response when you created the token.
        Returns:
        storedPaymentMethodId
      • setStoredPaymentMethodId

        public void setStoredPaymentMethodId​(String storedPaymentMethodId)
      • 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 BlikDetails
      • fromJson

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

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