Package com.stripe.service
Class CustomerPaymentMethodService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.CustomerPaymentMethodService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns a list of PaymentMethods for a given Customer.list
(String customer, RequestOptions options) Returns a list of PaymentMethods for a given Customer.list
(String customer, CustomerPaymentMethodListParams params) Returns a list of PaymentMethods for a given Customer.list
(String customer, CustomerPaymentMethodListParams params, RequestOptions options) Returns a list of PaymentMethods for a given Customer.Retrieves a PaymentMethod object for a given Customer.retrieve
(String customer, String paymentMethod, RequestOptions options) Retrieves a PaymentMethod object for a given Customer.retrieve
(String customer, String paymentMethod, CustomerPaymentMethodRetrieveParams params) Retrieves a PaymentMethod object for a given Customer.retrieve
(String customer, String paymentMethod, CustomerPaymentMethodRetrieveParams params, RequestOptions options) Retrieves a PaymentMethod object for a given Customer.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
CustomerPaymentMethodService
-
-
Method Details
-
list
public StripeCollection<PaymentMethod> list(String customer, CustomerPaymentMethodListParams params) throws StripeException Returns a list of PaymentMethods for a given Customer.- Throws:
StripeException
-
list
public StripeCollection<PaymentMethod> list(String customer, RequestOptions options) throws StripeException Returns a list of PaymentMethods for a given Customer.- Throws:
StripeException
-
list
Returns a list of PaymentMethods for a given Customer.- Throws:
StripeException
-
list
public StripeCollection<PaymentMethod> list(String customer, CustomerPaymentMethodListParams params, RequestOptions options) throws StripeException Returns a list of PaymentMethods for a given Customer.- Throws:
StripeException
-
retrieve
public PaymentMethod retrieve(String customer, String paymentMethod, CustomerPaymentMethodRetrieveParams params) throws StripeException Retrieves a PaymentMethod object for a given Customer.- Throws:
StripeException
-
retrieve
public PaymentMethod retrieve(String customer, String paymentMethod, RequestOptions options) throws StripeException Retrieves a PaymentMethod object for a given Customer.- Throws:
StripeException
-
retrieve
Retrieves a PaymentMethod object for a given Customer.- Throws:
StripeException
-
retrieve
public PaymentMethod retrieve(String customer, String paymentMethod, CustomerPaymentMethodRetrieveParams params, RequestOptions options) throws StripeException Retrieves a PaymentMethod object for a given Customer.- Throws:
StripeException
-