Package com.stripe.service.billing
Class CreditGrantService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.billing.CreditGrantService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(CreditGrantCreateParams params) Creates a credit grant.create
(CreditGrantCreateParams params, RequestOptions options) Creates a credit grant.Expires a credit grant.expire
(String id, RequestOptions options) Expires a credit grant.expire
(String id, CreditGrantExpireParams params) Expires a credit grant.expire
(String id, CreditGrantExpireParams params, RequestOptions options) Expires a credit grant.list()
Retrieve a list of credit grants.list
(RequestOptions options) Retrieve a list of credit grants.list
(CreditGrantListParams params) Retrieve a list of credit grants.list
(CreditGrantListParams params, RequestOptions options) Retrieve a list of credit grants.Retrieves a credit grant.retrieve
(String id, RequestOptions options) Retrieves a credit grant.retrieve
(String id, CreditGrantRetrieveParams params) Retrieves a credit grant.retrieve
(String id, CreditGrantRetrieveParams params, RequestOptions options) Retrieves a credit grant.Updates a credit grant.update
(String id, RequestOptions options) Updates a credit grant.update
(String id, CreditGrantUpdateParams params) Updates a credit grant.update
(String id, CreditGrantUpdateParams params, RequestOptions options) Updates a credit grant.Voids a credit grant.voidGrant
(String id, RequestOptions options) Voids a credit grant.voidGrant
(String id, CreditGrantVoidGrantParams params) Voids a credit grant.voidGrant
(String id, CreditGrantVoidGrantParams params, RequestOptions options) Voids a credit grant.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
CreditGrantService
-
-
Method Details
-
list
Retrieve a list of credit grants.- Throws:
StripeException
-
list
Retrieve a list of credit grants.- Throws:
StripeException
-
list
Retrieve a list of credit grants.- Throws:
StripeException
-
list
public StripeCollection<CreditGrant> list(CreditGrantListParams params, RequestOptions options) throws StripeException Retrieve a list of credit grants.- Throws:
StripeException
-
create
Creates a credit grant.- Throws:
StripeException
-
create
public CreditGrant create(CreditGrantCreateParams params, RequestOptions options) throws StripeException Creates a credit grant.- Throws:
StripeException
-
retrieve
Retrieves a credit grant.- Throws:
StripeException
-
retrieve
Retrieves a credit grant.- Throws:
StripeException
-
retrieve
Retrieves a credit grant.- Throws:
StripeException
-
retrieve
public CreditGrant retrieve(String id, CreditGrantRetrieveParams params, RequestOptions options) throws StripeException Retrieves a credit grant.- Throws:
StripeException
-
update
Updates a credit grant.- Throws:
StripeException
-
update
Updates a credit grant.- Throws:
StripeException
-
update
Updates a credit grant.- Throws:
StripeException
-
update
public CreditGrant update(String id, CreditGrantUpdateParams params, RequestOptions options) throws StripeException Updates a credit grant.- Throws:
StripeException
-
expire
Expires a credit grant.- Throws:
StripeException
-
expire
Expires a credit grant.- Throws:
StripeException
-
expire
Expires a credit grant.- Throws:
StripeException
-
expire
public CreditGrant expire(String id, CreditGrantExpireParams params, RequestOptions options) throws StripeException Expires a credit grant.- Throws:
StripeException
-
voidGrant
Voids a credit grant.- Throws:
StripeException
-
voidGrant
Voids a credit grant.- Throws:
StripeException
-
voidGrant
Voids a credit grant.- Throws:
StripeException
-
voidGrant
public CreditGrant voidGrant(String id, CreditGrantVoidGrantParams params, RequestOptions options) throws StripeException Voids a credit grant.- Throws:
StripeException
-