Class GiropayDetails


  • public class GiropayDetails
    extends Object
    GiropayDetails
    • Constructor Detail

      • GiropayDetails

        public GiropayDetails()
    • Method Detail

      • getCheckoutAttemptId

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

        public void setCheckoutAttemptId​(String checkoutAttemptId)
      • recurringDetailReference

        public GiropayDetails 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 GiropayDetails 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 GiropayDetails
      • fromJson

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

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