Class StripeCollection<T extends HasId>

    • Constructor Detail

      • StripeCollection

        public StripeCollection()
    • Method Detail

      • autoPagingIterable

        public java.lang.Iterable<T> autoPagingIterable()
      • autoPagingIterable

        public java.lang.Iterable<T> autoPagingIterable​(java.util.Map<java.lang.String,​java.lang.Object> params)
      • autoPagingIterable

        public java.lang.Iterable<T> autoPagingIterable​(java.util.Map<java.lang.String,​java.lang.Object> params,
                                                        RequestOptions options)
        Constructs an iterable that can be used to iterate across all objects across all pages. As page boundaries are encountered, the next page will be fetched automatically for continued iteration.
        params - request parameters (will override the parameters from the initial list request)
        options - request options (will override the options from the initial list request)
      • getObject

        public java.lang.String getObject()
      • setObject

        public void setObject​(java.lang.String object)
      • setData

        public void setData​(java.util.List<T> data)
      • setHasMore

        public void setHasMore​(java.lang.Boolean hasMore)
      • setUrl

        public void setUrl​(java.lang.String url)
      • equals

        public boolean equals​(java.lang.Object o)
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        hashCode in class java.lang.Object
      • setRequestParams

        public void setRequestParams​(java.util.Map<java.lang.String,​java.lang.Object> requestParams)
        Description copied from interface: StripeCollectionInterface
        Set request parameters that were used to fetch the collection. This is required for purposes of pagination.
        Specified by:
        setRequestParams in interface StripeCollectionInterface<T extends HasId>