public class PaymentSourceCollection extends StripeCollection<PaymentSource>
PRETTY_PRINT_GSON| Constructor and Description |
|---|
PaymentSourceCollection() |
| Modifier and Type | Method and Description |
|---|---|
PaymentSource |
create(java.util.Map<java.lang.String,java.lang.Object> params)
When you create a new credit card, you must specify a customer or recipient on which to create
it.
|
PaymentSource |
create(java.util.Map<java.lang.String,java.lang.Object> params,
RequestOptions options)
When you create a new credit card, you must specify a customer or recipient on which to create
it.
|
PaymentSource |
create(PaymentSourceCollectionCreateParams params)
When you create a new credit card, you must specify a customer or recipient on which to create
it.
|
PaymentSource |
create(PaymentSourceCollectionCreateParams params,
RequestOptions options)
When you create a new credit card, you must specify a customer or recipient on which to create
it.
|
PaymentSourceCollection |
list(java.util.Map<java.lang.String,java.lang.Object> params)
List sources for a specified customer.
|
PaymentSourceCollection |
list(java.util.Map<java.lang.String,java.lang.Object> params,
RequestOptions options)
List sources for a specified customer.
|
PaymentSourceCollection |
list(PaymentSourceCollectionListParams params)
List sources for a specified customer.
|
PaymentSourceCollection |
list(PaymentSourceCollectionListParams params,
RequestOptions options)
List sources for a specified customer.
|
PaymentSource |
retrieve(java.lang.String id)
Retrieve a specified source for a given customer.
|
PaymentSource |
retrieve(java.lang.String id,
java.util.Map<java.lang.String,java.lang.Object> params,
RequestOptions options)
Retrieve a specified source for a given customer.
|
PaymentSource |
retrieve(java.lang.String id,
PaymentSourceCollectionRetrieveParams params,
RequestOptions options)
Retrieve a specified source for a given customer.
|
PaymentSource |
retrieve(java.lang.String id,
RequestOptions options)
Retrieve a specified source for a given customer.
|
autoPagingIterable, autoPagingIterable, autoPagingIterable, canEqual, equals, getData, getHasMore, getObject, getRequestOptions, getRequestParams, getUrl, hashCode, setData, setHasMore, setObject, setRequestOptions, setRequestParams, setUrlequals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetLastResponse, setLastResponsepublic PaymentSourceCollection list(java.util.Map<java.lang.String,java.lang.Object> params) throws StripeException
StripeExceptionpublic PaymentSourceCollection list(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
StripeExceptionpublic PaymentSourceCollection list(PaymentSourceCollectionListParams params) throws StripeException
StripeExceptionpublic PaymentSourceCollection list(PaymentSourceCollectionListParams params, RequestOptions options) throws StripeException
StripeExceptionpublic PaymentSource retrieve(java.lang.String id) throws StripeException
StripeExceptionpublic PaymentSource retrieve(java.lang.String id, RequestOptions options) throws StripeException
StripeExceptionpublic PaymentSource retrieve(java.lang.String id, java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
StripeExceptionpublic PaymentSource retrieve(java.lang.String id, PaymentSourceCollectionRetrieveParams params, RequestOptions options) throws StripeException
StripeExceptionpublic PaymentSource create(java.util.Map<java.lang.String,java.lang.Object> params) throws StripeException
If the card’s owner has no default card, then the new card will become the default. However,
if the owner already has a default, then it will not change. To change the default, you should
update the customer to have a new
default_source.
StripeExceptionpublic PaymentSource create(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
If the card’s owner has no default card, then the new card will become the default. However,
if the owner already has a default, then it will not change. To change the default, you should
update the customer to have a new
default_source.
StripeExceptionpublic PaymentSource create(PaymentSourceCollectionCreateParams params) throws StripeException
If the card’s owner has no default card, then the new card will become the default. However,
if the owner already has a default, then it will not change. To change the default, you should
update the customer to have a new
default_source.
StripeExceptionpublic PaymentSource create(PaymentSourceCollectionCreateParams params, RequestOptions options) throws StripeException
If the card’s owner has no default card, then the new card will become the default. However,
if the owner already has a default, then it will not change. To change the default, you should
update the customer to have a new
default_source.
StripeException