Package com.stripe.model
Class ApplePayDomain
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.net.ApiResource
-
- com.stripe.model.ApplePayDomain
-
- All Implemented Interfaces:
HasId,StripeObjectInterface
public class ApplePayDomain extends ApiResource implements HasId
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.stripe.net.ApiResource
ApiResource.RequestMethod
-
-
Field Summary
-
Fields inherited from class com.stripe.net.ApiResource
CHARSET, GSON
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description ApplePayDomain()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)static ApplePayDomaincreate(ApplePayDomainCreateParams params)Create an apple pay domain.static ApplePayDomaincreate(ApplePayDomainCreateParams params, RequestOptions options)Create an apple pay domain.static ApplePayDomaincreate(java.util.Map<java.lang.String,java.lang.Object> params)Create an apple pay domain.static ApplePayDomaincreate(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options)Create an apple pay domain.ApplePayDomaindelete()Delete an apple pay domain.ApplePayDomaindelete(RequestOptions options)Delete an apple pay domain.ApplePayDomaindelete(java.util.Map<java.lang.String,java.lang.Object> params)Delete an apple pay domain.ApplePayDomaindelete(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options)Delete an apple pay domain.booleanequals(java.lang.Object o)java.lang.LonggetCreated()Time at which the object was created.java.lang.BooleangetDeleted()Always true for a deleted object.java.lang.StringgetDomainName()java.lang.StringgetId()Unique identifier for the object.java.lang.BooleangetLivemode()Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.java.lang.StringgetObject()String representing the object's type.inthashCode()static ApplePayDomainCollectionlist(ApplePayDomainListParams params)List apple pay domains.static ApplePayDomainCollectionlist(ApplePayDomainListParams params, RequestOptions options)List apple pay domains.static ApplePayDomainCollectionlist(java.util.Map<java.lang.String,java.lang.Object> params)List apple pay domains.static ApplePayDomainCollectionlist(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options)List apple pay domains.static ApplePayDomainretrieve(java.lang.String domain)Retrieve an apple pay domain.static ApplePayDomainretrieve(java.lang.String domain, RequestOptions options)Retrieve an apple pay domain.static ApplePayDomainretrieve(java.lang.String domain, ApplePayDomainRetrieveParams params, RequestOptions options)Retrieve an apple pay domain.static ApplePayDomainretrieve(java.lang.String domain, java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options)Retrieve an apple pay domain.voidsetCreated(java.lang.Long created)Time at which the object was created.voidsetDeleted(java.lang.Boolean deleted)Always true for a deleted object.voidsetDomainName(java.lang.String domainName)voidsetId(java.lang.String id)Unique identifier for the object.voidsetLivemode(java.lang.Boolean livemode)Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidsetObject(java.lang.String object)String representing the object's type.-
Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, classUrl, classUrl, instanceUrl, instanceUrl, request, request, requestCollection, requestCollection, setExpandableFieldId, setStripeResponseGetter, singleClassUrl, singleClassUrl, subresourceUrl, urlEncode, urlEncodeId
-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
list
public static ApplePayDomainCollection list(java.util.Map<java.lang.String,java.lang.Object> params) throws StripeException
List apple pay domains.- Throws:
StripeException
-
list
public static ApplePayDomainCollection list(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
List apple pay domains.- Throws:
StripeException
-
list
public static ApplePayDomainCollection list(ApplePayDomainListParams params) throws StripeException
List apple pay domains.- Throws:
StripeException
-
list
public static ApplePayDomainCollection list(ApplePayDomainListParams params, RequestOptions options) throws StripeException
List apple pay domains.- Throws:
StripeException
-
create
public static ApplePayDomain create(java.util.Map<java.lang.String,java.lang.Object> params) throws StripeException
Create an apple pay domain.- Throws:
StripeException
-
create
public static ApplePayDomain create(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
Create an apple pay domain.- Throws:
StripeException
-
create
public static ApplePayDomain create(ApplePayDomainCreateParams params) throws StripeException
Create an apple pay domain.- Throws:
StripeException
-
create
public static ApplePayDomain create(ApplePayDomainCreateParams params, RequestOptions options) throws StripeException
Create an apple pay domain.- Throws:
StripeException
-
retrieve
public static ApplePayDomain retrieve(java.lang.String domain) throws StripeException
Retrieve an apple pay domain.- Throws:
StripeException
-
retrieve
public static ApplePayDomain retrieve(java.lang.String domain, RequestOptions options) throws StripeException
Retrieve an apple pay domain.- Throws:
StripeException
-
retrieve
public static ApplePayDomain retrieve(java.lang.String domain, java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
Retrieve an apple pay domain.- Throws:
StripeException
-
retrieve
public static ApplePayDomain retrieve(java.lang.String domain, ApplePayDomainRetrieveParams params, RequestOptions options) throws StripeException
Retrieve an apple pay domain.- Throws:
StripeException
-
delete
public ApplePayDomain delete() throws StripeException
Delete an apple pay domain.- Throws:
StripeException
-
delete
public ApplePayDomain delete(RequestOptions options) throws StripeException
Delete an apple pay domain.- Throws:
StripeException
-
delete
public ApplePayDomain delete(java.util.Map<java.lang.String,java.lang.Object> params) throws StripeException
Delete an apple pay domain.- Throws:
StripeException
-
delete
public ApplePayDomain delete(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
Delete an apple pay domain.- Throws:
StripeException
-
getCreated
public java.lang.Long getCreated()
Time at which the object was created. Measured in seconds since the Unix epoch.
-
getDeleted
public java.lang.Boolean getDeleted()
Always true for a deleted object.
-
getDomainName
public java.lang.String getDomainName()
-
getLivemode
public java.lang.Boolean getLivemode()
Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.
-
getObject
public java.lang.String getObject()
String representing the object's type. Objects of the same type share the same value.Equal to
apple_pay_domain.
-
setCreated
public void setCreated(java.lang.Long created)
Time at which the object was created. Measured in seconds since the Unix epoch.
-
setDeleted
public void setDeleted(java.lang.Boolean deleted)
Always true for a deleted object.
-
setDomainName
public void setDomainName(java.lang.String domainName)
-
setId
public void setId(java.lang.String id)
Unique identifier for the object.
-
setLivemode
public void setLivemode(java.lang.Boolean livemode)
Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.
-
setObject
public void setObject(java.lang.String object)
String representing the object's type. Objects of the same type share the same value.Equal to
apple_pay_domain.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-