com.stripe.model
Class CustomerSubscriptionCollection

java.lang.Object
  extended by com.stripe.model.StripeObject
      extended by com.stripe.net.APIResource
          extended by com.stripe.model.StripeColllectionAPIResource<Subscription>
              extended by com.stripe.model.CustomerSubscriptionCollection

public class CustomerSubscriptionCollection
extends StripeColllectionAPIResource<Subscription>


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
CustomerSubscriptionCollection()
           
 
Method Summary
 CustomerSubscriptionCollection all(Map<String,Object> params)
           
 CustomerSubscriptionCollection all(Map<String,Object> params, String apiKey)
           
 Subscription create(Map<String,Object> params)
           
 Subscription create(Map<String,Object> params, String apiKey)
           
 Subscription retrieve(String id)
           
 Subscription retrieve(String id, String apiKey)
           
 
Methods inherited from class com.stripe.model.StripeColllectionAPIResource
getCount, getData, getHasMore, getTotalCount, getURL, setCount, setData, setHasMore, setTotalCount, setURL
 
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

CustomerSubscriptionCollection

public CustomerSubscriptionCollection()
Method Detail

all

public CustomerSubscriptionCollection all(Map<String,Object> params)
                                   throws AuthenticationException,
                                          InvalidRequestException,
                                          APIConnectionException,
                                          CardException,
                                          APIException
Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException

all

public CustomerSubscriptionCollection all(Map<String,Object> params,
                                          String apiKey)
                                   throws AuthenticationException,
                                          InvalidRequestException,
                                          APIConnectionException,
                                          CardException,
                                          APIException
Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException

retrieve

public Subscription retrieve(String id)
                      throws AuthenticationException,
                             InvalidRequestException,
                             APIConnectionException,
                             CardException,
                             APIException
Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException

retrieve

public Subscription retrieve(String id,
                             String apiKey)
                      throws AuthenticationException,
                             InvalidRequestException,
                             APIConnectionException,
                             CardException,
                             APIException
Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException

create

public Subscription create(Map<String,Object> params)
                    throws AuthenticationException,
                           InvalidRequestException,
                           APIConnectionException,
                           CardException,
                           APIException
Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException

create

public Subscription create(Map<String,Object> params,
                           String apiKey)
                    throws AuthenticationException,
                           InvalidRequestException,
                           APIConnectionException,
                           CardException,
                           APIException
Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException


Copyright © 2014 Stripe. All rights reserved.