com.stripe.model
Class StripeColllectionAPIResource<T>

java.lang.Object
  extended by com.stripe.model.StripeObject
      extended by com.stripe.net.APIResource
          extended by com.stripe.model.StripeColllectionAPIResource<T>
Direct Known Subclasses:
ChargeRefundCollection, CustomerCardCollection, CustomerSubscriptionCollection, FeeRefundCollection, InvoiceLineItemCollection, RecipientCardCollection

public abstract class StripeColllectionAPIResource<T>
extends APIResource


Nested Class Summary
 
Nested classes/interfaces inherited from class com.stripe.net.APIResource
APIResource.RequestMethod
 
Field Summary
 
Fields inherited from class com.stripe.net.APIResource
CHARSET, GSON
 
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
 
Constructor Summary
StripeColllectionAPIResource()
           
 
Method Summary
 Integer getCount()
          3/2014: Legacy (from before newstyle pagination API)
 List<T> getData()
           
 Boolean getHasMore()
           
 Integer getTotalCount()
           
 String getURL()
           
 void setCount(Integer count)
          3/2014: Legacy (from before newstyle pagination API)
 void setData(List<T> data)
           
 void setHasMore(Boolean hasMore)
           
 void setTotalCount(Integer totalCount)
           
 void setURL(String url)
           
 
Methods inherited from class com.stripe.net.APIResource
_request, classURL, instanceURL, request, singleClassURL
 
Methods inherited from class com.stripe.model.StripeObject
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StripeColllectionAPIResource

public StripeColllectionAPIResource()
Method Detail

getData

public List<T> getData()

setData

public void setData(List<T> data)

getTotalCount

public Integer getTotalCount()

setTotalCount

public void setTotalCount(Integer totalCount)

getHasMore

public Boolean getHasMore()

setHasMore

public void setHasMore(Boolean hasMore)

getURL

public String getURL()

setURL

public void setURL(String url)

getCount

public Integer getCount()
3/2014: Legacy (from before newstyle pagination API)


setCount

public void setCount(Integer count)
3/2014: Legacy (from before newstyle pagination API)



Copyright © 2014 Stripe. All rights reserved.