Class PaginatedPaymentInstrumentsResponse


  • public class PaginatedPaymentInstrumentsResponse
    extends Object
    PaginatedPaymentInstrumentsResponse
    • Constructor Detail

      • PaginatedPaymentInstrumentsResponse

        public PaginatedPaymentInstrumentsResponse()
    • Method Detail

      • hasNext

        public PaginatedPaymentInstrumentsResponse hasNext​(Boolean hasNext)
        Indicates whether there are more items on the next page.
        Parameters:
        hasNext -
        Returns:
        the current PaginatedPaymentInstrumentsResponse instance, allowing for method chaining
      • getHasNext

        public Boolean getHasNext()
        Indicates whether there are more items on the next page.
        Returns:
        hasNext
      • setHasNext

        public void setHasNext​(Boolean hasNext)
        Indicates whether there are more items on the next page.
        Parameters:
        hasNext -
      • hasPrevious

        public PaginatedPaymentInstrumentsResponse hasPrevious​(Boolean hasPrevious)
        Indicates whether there are more items on the previous page.
        Parameters:
        hasPrevious -
        Returns:
        the current PaginatedPaymentInstrumentsResponse instance, allowing for method chaining
      • getHasPrevious

        public Boolean getHasPrevious()
        Indicates whether there are more items on the previous page.
        Returns:
        hasPrevious
      • setHasPrevious

        public void setHasPrevious​(Boolean hasPrevious)
        Indicates whether there are more items on the previous page.
        Parameters:
        hasPrevious -
      • paymentInstruments

        public PaginatedPaymentInstrumentsResponse paymentInstruments​(List<PaymentInstrument> paymentInstruments)
        List of payment instruments associated with the balance account.
        Parameters:
        paymentInstruments -
        Returns:
        the current PaginatedPaymentInstrumentsResponse instance, allowing for method chaining
      • getPaymentInstruments

        public List<PaymentInstrument> getPaymentInstruments()
        List of payment instruments associated with the balance account.
        Returns:
        paymentInstruments
      • setPaymentInstruments

        public void setPaymentInstruments​(List<PaymentInstrument> paymentInstruments)
        List of payment instruments associated with the balance account.
        Parameters:
        paymentInstruments -
      • equals

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

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

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

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