Package com.stripe.model.v2.core
Class ClaimableSandbox
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.core.ClaimableSandbox
- All Implemented Interfaces:
HasId,StripeObjectInterface
A claimable sandbox represents a Stripe sandbox that is anonymous. When it is created, it can be
prefilled with specific metadata, such as email, name, or country. Claimable sandboxes can be
claimed through a URL. When a user claims a sandbox through this URL, it will prompt them to
create a new Stripe account. Or, it will allow them to claim this sandbox in their existing
Stripe account. Claimable sandboxes have 60 days to be claimed. After this expiration time has
passed, if the sandbox is not claimed, it will be deleted.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classValues prefilled during the creation of the sandbox.static classData about the Stripe sandbox object. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe timestamp the sandbox was claimed.URL for user to claim sandbox into their existing Stripe account.When the sandbox is created.The timestamp the sandbox will expire.getId()Unique identifier for the Claimable sandbox.Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.String representing the object's type.Values prefilled during the creation of the sandbox.Data about the Stripe sandbox object.Status of the sandbox.inthashCode()voidsetClaimedAt(Instant claimedAt) The timestamp the sandbox was claimed.voidsetClaimUrl(String claimUrl) URL for user to claim sandbox into their existing Stripe account.voidsetCreated(Instant created) When the sandbox is created.voidsetExpiresAt(Instant expiresAt) The timestamp the sandbox will expire.voidUnique identifier for the Claimable sandbox.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.voidsetPrefill(ClaimableSandbox.Prefill prefill) Values prefilled during the creation of the sandbox.voidsetSandboxDetails(ClaimableSandbox.SandboxDetails sandboxDetails) Data about the Stripe sandbox object.voidStatus of the sandbox.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
ClaimableSandbox
public ClaimableSandbox()
-
-
Method Details
-
getClaimUrl
URL for user to claim sandbox into their existing Stripe account. The value will be null if the sandbox status isclaimedorexpired. -
getClaimedAt
The timestamp the sandbox was claimed. The value will be null if the sandbox status is notclaimed. -
getCreated
When the sandbox is created. -
getExpiresAt
The timestamp the sandbox will expire. The value will be null if the sandbox isclaimed. -
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 of the object field.Equal to
v2.core.claimable_sandbox. -
getPrefill
Values prefilled during the creation of the sandbox. When a user claims the sandbox, they will be able to update these values. -
getSandboxDetails
Data about the Stripe sandbox object. -
getStatus
Status of the sandbox. One ofunclaimed,expired,claimed. -
setClaimUrl
URL for user to claim sandbox into their existing Stripe account. The value will be null if the sandbox status isclaimedorexpired. -
setClaimedAt
The timestamp the sandbox was claimed. The value will be null if the sandbox status is notclaimed. -
setCreated
When the sandbox is created. -
setExpiresAt
The timestamp the sandbox will expire. The value will be null if the sandbox isclaimed. -
setId
Unique identifier for the Claimable sandbox. -
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 of the object field.Equal to
v2.core.claimable_sandbox. -
setPrefill
Values prefilled during the creation of the sandbox. When a user claims the sandbox, they will be able to update these values. -
setSandboxDetails
Data about the Stripe sandbox object. -
setStatus
Status of the sandbox. One ofunclaimed,expired,claimed. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the Claimable sandbox.
-