Class PaymentMethodsResponse


  • public class PaymentMethodsResponse
    extends Object
    PaymentMethodsResponse
    • Constructor Detail

      • PaymentMethodsResponse

        public PaymentMethodsResponse()
    • Method Detail

      • getPaymentMethods

        public List<PaymentMethod> getPaymentMethods()
        Detailed list of payment methods required to generate payment forms.
        Returns:
        paymentMethods
      • setPaymentMethods

        public void setPaymentMethods​(List<PaymentMethod> paymentMethods)
        Detailed list of payment methods required to generate payment forms.
        Parameters:
        paymentMethods -
      • getStoredPaymentMethods

        public List<StoredPaymentMethod> getStoredPaymentMethods()
        List of all stored payment methods.
        Returns:
        storedPaymentMethods
      • setStoredPaymentMethods

        public void setStoredPaymentMethods​(List<StoredPaymentMethod> storedPaymentMethods)
        List of all stored payment methods.
        Parameters:
        storedPaymentMethods -
      • equals

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

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

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

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