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 boolean
canEqual(java.lang.Object other)
static ApplePayDomain
create(ApplePayDomainCreateParams params)
Create an apple pay domain.static ApplePayDomain
create(ApplePayDomainCreateParams params, RequestOptions options)
Create an apple pay domain.static ApplePayDomain
create(java.util.Map<java.lang.String,java.lang.Object> params)
Create an apple pay domain.static ApplePayDomain
create(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options)
Create an apple pay domain.ApplePayDomain
delete()
Delete an apple pay domain.ApplePayDomain
delete(RequestOptions options)
Delete an apple pay domain.ApplePayDomain
delete(java.util.Map<java.lang.String,java.lang.Object> params)
Delete an apple pay domain.ApplePayDomain
delete(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options)
Delete an apple pay domain.boolean
equals(java.lang.Object o)
java.lang.Long
getCreated()
Time at which the object was created.java.lang.Boolean
getDeleted()
Always true for a deleted object.java.lang.String
getDomainName()
java.lang.String
getId()
Unique identifier for the object.java.lang.Boolean
getLivemode()
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.java.lang.String
getObject()
String representing the object's type.int
hashCode()
static ApplePayDomainCollection
list(ApplePayDomainListParams params)
List apple pay domains.static ApplePayDomainCollection
list(ApplePayDomainListParams params, RequestOptions options)
List apple pay domains.static ApplePayDomainCollection
list(java.util.Map<java.lang.String,java.lang.Object> params)
List apple pay domains.static ApplePayDomainCollection
list(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options)
List apple pay domains.static ApplePayDomain
retrieve(java.lang.String domain)
Retrieve an apple pay domain.static ApplePayDomain
retrieve(java.lang.String domain, RequestOptions options)
Retrieve an apple pay domain.static ApplePayDomain
retrieve(java.lang.String domain, ApplePayDomainRetrieveParams params, RequestOptions options)
Retrieve an apple pay domain.static ApplePayDomain
retrieve(java.lang.String domain, java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options)
Retrieve an apple pay domain.void
setCreated(java.lang.Long created)
Time at which the object was created.void
setDeleted(java.lang.Boolean deleted)
Always true for a deleted object.void
setDomainName(java.lang.String domainName)
void
setId(java.lang.String id)
Unique identifier for the object.void
setLivemode(java.lang.Boolean livemode)
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.void
setObject(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, requestSearchResult, requestSearchResult, requestStream, requestStream, 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 valuetrue
if the object exists in live mode or the valuefalse
if 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 valuetrue
if the object exists in live mode or the valuefalse
if 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:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-