Class PaymentMethodDomainService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates a payment method domain.create
(PaymentMethodDomainCreateParams params, RequestOptions options) Creates a payment method domain.list()
Lists the details of existing payment method domains.list
(RequestOptions options) Lists the details of existing payment method domains.list
(PaymentMethodDomainListParams params) Lists the details of existing payment method domains.list
(PaymentMethodDomainListParams params, RequestOptions options) Lists the details of existing payment method domains.Retrieves the details of an existing payment method domain.retrieve
(String paymentMethodDomain, RequestOptions options) Retrieves the details of an existing payment method domain.retrieve
(String paymentMethodDomain, PaymentMethodDomainRetrieveParams params) Retrieves the details of an existing payment method domain.retrieve
(String paymentMethodDomain, PaymentMethodDomainRetrieveParams params, RequestOptions options) Retrieves the details of an existing payment method domain.Updates an existing payment method domain.update
(String paymentMethodDomain, RequestOptions options) Updates an existing payment method domain.update
(String paymentMethodDomain, PaymentMethodDomainUpdateParams params) Updates an existing payment method domain.update
(String paymentMethodDomain, PaymentMethodDomainUpdateParams params, RequestOptions options) Updates an existing payment method domain.Some payment methods such as Apple Pay require additional steps to verify a domain.validate
(String paymentMethodDomain, RequestOptions options) Some payment methods such as Apple Pay require additional steps to verify a domain.validate
(String paymentMethodDomain, PaymentMethodDomainValidateParams params) Some payment methods such as Apple Pay require additional steps to verify a domain.validate
(String paymentMethodDomain, PaymentMethodDomainValidateParams params, RequestOptions options) Some payment methods such as Apple Pay require additional steps to verify a domain.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
PaymentMethodDomainService
-
-
Method Details
-
list
public StripeCollection<PaymentMethodDomain> list(PaymentMethodDomainListParams params) throws StripeException Lists the details of existing payment method domains.- Throws:
StripeException
-
list
Lists the details of existing payment method domains.- Throws:
StripeException
-
list
Lists the details of existing payment method domains.- Throws:
StripeException
-
list
public StripeCollection<PaymentMethodDomain> list(PaymentMethodDomainListParams params, RequestOptions options) throws StripeException Lists the details of existing payment method domains.- Throws:
StripeException
-
create
Creates a payment method domain.- Throws:
StripeException
-
create
public PaymentMethodDomain create(PaymentMethodDomainCreateParams params, RequestOptions options) throws StripeException Creates a payment method domain.- Throws:
StripeException
-
retrieve
public PaymentMethodDomain retrieve(String paymentMethodDomain, PaymentMethodDomainRetrieveParams params) throws StripeException Retrieves the details of an existing payment method domain.- Throws:
StripeException
-
retrieve
public PaymentMethodDomain retrieve(String paymentMethodDomain, RequestOptions options) throws StripeException Retrieves the details of an existing payment method domain.- Throws:
StripeException
-
retrieve
Retrieves the details of an existing payment method domain.- Throws:
StripeException
-
retrieve
public PaymentMethodDomain retrieve(String paymentMethodDomain, PaymentMethodDomainRetrieveParams params, RequestOptions options) throws StripeException Retrieves the details of an existing payment method domain.- Throws:
StripeException
-
update
public PaymentMethodDomain update(String paymentMethodDomain, PaymentMethodDomainUpdateParams params) throws StripeException Updates an existing payment method domain.- Throws:
StripeException
-
update
public PaymentMethodDomain update(String paymentMethodDomain, RequestOptions options) throws StripeException Updates an existing payment method domain.- Throws:
StripeException
-
update
Updates an existing payment method domain.- Throws:
StripeException
-
update
public PaymentMethodDomain update(String paymentMethodDomain, PaymentMethodDomainUpdateParams params, RequestOptions options) throws StripeException Updates an existing payment method domain.- Throws:
StripeException
-
validate
public PaymentMethodDomain validate(String paymentMethodDomain, PaymentMethodDomainValidateParams params) throws StripeException Some payment methods such as Apple Pay require additional steps to verify a domain. If the requirements weren’t satisfied when the domain was created, the payment method will be inactive on the domain. The payment method doesn’t appear in Elements for this domain until it is active.To activate a payment method on an existing payment method domain, complete the required validation steps specific to the payment method, and then validate the payment method domain with this endpoint.
Related guides: Payment method domains.
- Throws:
StripeException
-
validate
public PaymentMethodDomain validate(String paymentMethodDomain, RequestOptions options) throws StripeException Some payment methods such as Apple Pay require additional steps to verify a domain. If the requirements weren’t satisfied when the domain was created, the payment method will be inactive on the domain. The payment method doesn’t appear in Elements for this domain until it is active.To activate a payment method on an existing payment method domain, complete the required validation steps specific to the payment method, and then validate the payment method domain with this endpoint.
Related guides: Payment method domains.
- Throws:
StripeException
-
validate
Some payment methods such as Apple Pay require additional steps to verify a domain. If the requirements weren’t satisfied when the domain was created, the payment method will be inactive on the domain. The payment method doesn’t appear in Elements for this domain until it is active.To activate a payment method on an existing payment method domain, complete the required validation steps specific to the payment method, and then validate the payment method domain with this endpoint.
Related guides: Payment method domains.
- Throws:
StripeException
-
validate
public PaymentMethodDomain validate(String paymentMethodDomain, PaymentMethodDomainValidateParams params, RequestOptions options) throws StripeException Some payment methods such as Apple Pay require additional steps to verify a domain. If the requirements weren’t satisfied when the domain was created, the payment method will be inactive on the domain. The payment method doesn’t appear in Elements for this domain until it is active.To activate a payment method on an existing payment method domain, complete the required validation steps specific to the payment method, and then validate the payment method domain with this endpoint.
Related guides: Payment method domains.
- Throws:
StripeException
-