Class PaymentMethodDomain
- All Implemented Interfaces:
HasId,StripeActiveObject,StripeObjectInterface
Related guide: Payment method domains.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classIndicates the status of a specific payment method on a payment method domain.static classIndicates the status of a specific payment method on a payment method domain.static classIndicates the status of a specific payment method on a payment method domain.static classIndicates the status of a specific payment method on a payment method domain.static classIndicates the status of a specific payment method on a payment method domain.static classIndicates the status of a specific payment method on a payment method domain.Nested classes/interfaces inherited from class com.stripe.net.ApiResource
ApiResource.RequestMethod -
Field Summary
Fields inherited from class com.stripe.net.ApiResource
CHARSET, GSON, INTERNAL_GSONFields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanstatic PaymentMethodDomainCreates a payment method domain.static PaymentMethodDomaincreate(PaymentMethodDomainCreateParams params, RequestOptions options) Creates a payment method domain.static PaymentMethodDomainCreates a payment method domain.static PaymentMethodDomaincreate(Map<String, Object> params, RequestOptions options) Creates a payment method domain.booleanIndicates the status of a specific payment method on a payment method domain.Indicates the status of a specific payment method on a payment method domain.Time at which the object was created.The domain name that this payment method domain object represents.Whether this payment method domain is enabled.Indicates the status of a specific payment method on a payment method domain.getId()Unique identifier for the object.Indicates the status of a specific payment method on a payment method domain.getLink()Indicates the status of a specific payment method on a payment method domain.Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.String representing the object's type.Indicates the status of a specific payment method on a payment method domain.inthashCode()list(PaymentMethodDomainListParams params) Lists the details of existing payment method domains.list(PaymentMethodDomainListParams params, RequestOptions options) Lists the details of existing payment method domains.Lists the details of existing payment method domains.list(Map<String, Object> params, RequestOptions options) Lists the details of existing payment method domains.static PaymentMethodDomainRetrieves the details of an existing payment method domain.static PaymentMethodDomainretrieve(String paymentMethodDomain, RequestOptions options) Retrieves the details of an existing payment method domain.static PaymentMethodDomainretrieve(String paymentMethodDomain, PaymentMethodDomainRetrieveParams params, RequestOptions options) Retrieves the details of an existing payment method domain.static PaymentMethodDomainRetrieves the details of an existing payment method domain.voidsetAmazonPay(PaymentMethodDomain.AmazonPay amazonPay) Indicates the status of a specific payment method on a payment method domain.voidsetApplePay(PaymentMethodDomain.ApplePay applePay) Indicates the status of a specific payment method on a payment method domain.voidsetCreated(Long created) Time at which the object was created.voidsetDomainName(String domainName) The domain name that this payment method domain object represents.voidsetEnabled(Boolean enabled) Whether this payment method domain is enabled.voidsetGooglePay(PaymentMethodDomain.GooglePay googlePay) Indicates the status of a specific payment method on a payment method domain.voidUnique identifier for the object.voidsetKlarna(PaymentMethodDomain.Klarna klarna) Indicates the status of a specific payment method on a payment method domain.voidIndicates the status of a specific payment method on a payment method domain.voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidString representing the object's type.voidsetPaypal(PaymentMethodDomain.Paypal paypal) Indicates the status of a specific payment method on a payment method domain.voidsetResponseGetter(StripeResponseGetter responseGetter) The error message associated with the status of the payment method on the domain.Updates an existing payment method domain.update(PaymentMethodDomainUpdateParams params, RequestOptions options) Updates an existing payment method domain.Updates an existing payment method domain.update(Map<String, Object> params, RequestOptions options) Updates an existing payment method domain.validate()Some payment methods might require additional steps to register a domain.validate(RequestOptions options) Some payment methods might require additional steps to register a domain.Some payment methods might require additional steps to register a domain.validate(PaymentMethodDomainValidateParams params, RequestOptions options) Some payment methods might require additional steps to register a domain.Some payment methods might require additional steps to register a domain.validate(Map<String, Object> params, RequestOptions options) Some payment methods might require additional steps to register a domain.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, getGlobalResponseGetter, getResponseGetter, setExpandableFieldId, setGlobalResponseGetter, urlEncode, urlEncodeIdMethods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stripe.model.StripeActiveObject
trySetResponseGetter
-
Constructor Details
-
PaymentMethodDomain
public PaymentMethodDomain()
-
-
Method Details
-
create
Creates a payment method domain.- Throws:
StripeException
-
create
public static PaymentMethodDomain create(Map<String, Object> params, RequestOptions options) throws StripeExceptionCreates a payment method domain.- Throws:
StripeException
-
create
public static PaymentMethodDomain create(PaymentMethodDomainCreateParams params) throws StripeException Creates a payment method domain.- Throws:
StripeException
-
create
public static PaymentMethodDomain create(PaymentMethodDomainCreateParams params, RequestOptions options) throws StripeException Creates a payment method domain.- Throws:
StripeException
-
list
Lists the details of existing payment method domains.- Throws:
StripeException
-
list
public static PaymentMethodDomainCollection list(Map<String, Object> params, RequestOptions options) throws StripeExceptionLists the details of existing payment method domains.- Throws:
StripeException
-
list
public static PaymentMethodDomainCollection list(PaymentMethodDomainListParams params) throws StripeException Lists the details of existing payment method domains.- Throws:
StripeException
-
list
public static PaymentMethodDomainCollection list(PaymentMethodDomainListParams params, RequestOptions options) throws StripeException Lists the details of existing payment method domains.- Throws:
StripeException
-
retrieve
Retrieves the details of an existing payment method domain.- Throws:
StripeException
-
retrieve
public static PaymentMethodDomain retrieve(String paymentMethodDomain, RequestOptions options) throws StripeException Retrieves the details of an existing payment method domain.- Throws:
StripeException
-
retrieve
public static PaymentMethodDomain retrieve(String paymentMethodDomain, Map<String, Object> params, RequestOptions options) throws StripeExceptionRetrieves the details of an existing payment method domain.- Throws:
StripeException
-
retrieve
public static PaymentMethodDomain retrieve(String paymentMethodDomain, PaymentMethodDomainRetrieveParams params, RequestOptions options) throws StripeException Retrieves the details of an existing payment method domain.- Throws:
StripeException
-
update
Updates an existing payment method domain.- Throws:
StripeException
-
update
public PaymentMethodDomain update(Map<String, Object> params, RequestOptions options) throws StripeExceptionUpdates an existing payment method domain.- Throws:
StripeException
-
update
Updates an existing payment method domain.- Throws:
StripeException
-
update
public PaymentMethodDomain update(PaymentMethodDomainUpdateParams params, RequestOptions options) throws StripeException Updates an existing payment method domain.- Throws:
StripeException
-
validate
Some payment methods might require additional steps to register 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 or Embedded Checkout for this domain until it is active.To activate a payment method on an existing payment method domain, complete the required registration 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 might require additional steps to register 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 or Embedded Checkout for this domain until it is active.To activate a payment method on an existing payment method domain, complete the required registration 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 might require additional steps to register 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 or Embedded Checkout for this domain until it is active.To activate a payment method on an existing payment method domain, complete the required registration 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(Map<String, Object> params, RequestOptions options) throws StripeExceptionSome payment methods might require additional steps to register 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 or Embedded Checkout for this domain until it is active.To activate a payment method on an existing payment method domain, complete the required registration 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(PaymentMethodDomainValidateParams params) throws StripeException Some payment methods might require additional steps to register 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 or Embedded Checkout for this domain until it is active.To activate a payment method on an existing payment method domain, complete the required registration 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(PaymentMethodDomainValidateParams params, RequestOptions options) throws StripeException Some payment methods might require additional steps to register 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 or Embedded Checkout for this domain until it is active.To activate a payment method on an existing payment method domain, complete the required registration steps specific to the payment method, and then validate the payment method domain with this endpoint.
Related guides: Payment method domains.
- Throws:
StripeException
-
setResponseGetter
The error message associated with the status of the payment method on the domain.- Specified by:
setResponseGetterin interfaceStripeActiveObject- Overrides:
setResponseGetterin classApiResource- Parameters:
responseGetter- theStripeResponseGetterinstance to use for making further requests.
-
getAmazonPay
Indicates the status of a specific payment method on a payment method domain. -
getApplePay
Indicates the status of a specific payment method on a payment method domain. -
getCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
getDomainName
The domain name that this payment method domain object represents. -
getEnabled
Whether this payment method domain is enabled. If the domain is not enabled, payment methods that require a payment method domain will not appear in Elements. -
getGooglePay
Indicates the status of a specific payment method on a payment method domain. -
getKlarna
Indicates the status of a specific payment method on a payment method domain. -
getLink
Indicates the status of a specific payment method on a payment method domain. -
getLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode. -
getObject
String representing the object's type. Objects of the same type share the same value.Equal to
payment_method_domain. -
getPaypal
Indicates the status of a specific payment method on a payment method domain. -
setAmazonPay
Indicates the status of a specific payment method on a payment method domain. -
setApplePay
Indicates the status of a specific payment method on a payment method domain. -
setCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
setDomainName
The domain name that this payment method domain object represents. -
setEnabled
Whether this payment method domain is enabled. If the domain is not enabled, payment methods that require a payment method domain will not appear in Elements. -
setGooglePay
Indicates the status of a specific payment method on a payment method domain. -
setId
Unique identifier for the object. -
setKlarna
Indicates the status of a specific payment method on a payment method domain. -
setLink
Indicates the status of a specific payment method on a payment method domain. -
setLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode. -
setObject
String representing the object's type. Objects of the same type share the same value.Equal to
payment_method_domain. -
setPaypal
Indicates the status of a specific payment method on a payment method domain. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-