Class PaymentSetupResponse


  • public class PaymentSetupResponse
    extends Object
    PaymentSetupResponse
    • Constructor Detail

      • PaymentSetupResponse

        public PaymentSetupResponse()
    • Method Detail

      • getPaymentSession

        public String getPaymentSession()
        The encoded payment session that you need to pass to the SDK.
        Returns:
        paymentSession
      • setPaymentSession

        public void setPaymentSession​(String paymentSession)
        The encoded payment session that you need to pass to the SDK.
        Parameters:
        paymentSession -
      • getRecurringDetails

        @Deprecated
        public List<RecurringDetail> getRecurringDetails()
        Deprecated.
        The detailed list of stored payment details required to generate payment forms. Will be empty if oneClick is set to false in the request.
        Returns:
        recurringDetails
      • setRecurringDetails

        @Deprecated
        public void setRecurringDetails​(List<RecurringDetail> recurringDetails)
        Deprecated.
        The detailed list of stored payment details required to generate payment forms. Will be empty if oneClick is set to false in the request.
        Parameters:
        recurringDetails -
      • equals

        public boolean equals​(Object o)
        Return true if this PaymentSetupResponse object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

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

        public static PaymentSetupResponse fromJson​(String jsonString)
                                             throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of PaymentSetupResponse given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of PaymentSetupResponse
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to PaymentSetupResponse
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of PaymentSetupResponse to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException