com.stripe.model
Class StripeCollection<T>

java.lang.Object
  extended by com.stripe.model.StripeObject
      extended by com.stripe.model.StripeCollection<T>
Direct Known Subclasses:
ApplicationFeeCollection, BalanceTransactionCollection, ChargeCollection, CouponCollection, CustomerCollection, EventCollection, InvoiceCollection, InvoiceItemCollection, PlanCollection, RecipientCollection, TransferCollection, TransferTransactionCollection

public abstract class StripeCollection<T>
extends StripeObject


Field Summary
 
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
 
Constructor Summary
StripeCollection()
           
 
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.model.StripeObject
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StripeCollection

public StripeCollection()
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.