Package com.stripe.model.v2.billing
Class Intent
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.billing.Intent
- All Implemented Interfaces:
HasId
,StripeObjectInterface
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
For more details about AmountDetails, please refer to the API Reference.static class
For more details about StatusTransitions, please refer to the API Reference. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Breakdown of the amount for this Billing Intent.ID of an existing Cadence to use.Time at which the object was created.Three-letter ISO currency code, in lowercase.getId()
Unique identifier for the object.Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.String representing the object's type.Current status of the Billing Intent.Timestamps for status transitions of the Billing Intent.int
hashCode()
void
setAmountDetails
(Intent.AmountDetails amountDetails) Breakdown of the amount for this Billing Intent.void
setCadence
(String cadence) ID of an existing Cadence to use.void
setCreated
(Instant created) Time at which the object was created.void
setCurrency
(String currency) Three-letter ISO currency code, in lowercase.void
Unique identifier for the object.void
setLivemode
(Boolean livemode) Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.void
String representing the object's type.void
Current status of the Billing Intent.void
setStatusTransitions
(Intent.StatusTransitions statusTransitions) Timestamps for status transitions of the Billing Intent.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Intent
public Intent()
-
-
Method Details
-
getAmountDetails
Breakdown of the amount for this Billing Intent. -
getCadence
ID of an existing Cadence to use. -
getCreated
Time at which the object was created. -
getCurrency
Three-letter ISO currency code, in lowercase. Must be a supported currency. -
getLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if 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.billing.intent
. -
getStatus
Current status of the Billing Intent.One of
canceled
,committed
,draft
, orreserved
. -
getStatusTransitions
Timestamps for status transitions of the Billing Intent. -
setAmountDetails
Breakdown of the amount for this Billing Intent. -
setCadence
ID of an existing Cadence to use. -
setCreated
Time at which the object was created. -
setCurrency
Three-letter ISO currency code, in lowercase. Must be a supported currency. -
setId
Unique identifier for the object. -
setLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if 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.billing.intent
. -
setStatus
Current status of the Billing Intent.One of
canceled
,committed
,draft
, orreserved
. -
setStatusTransitions
Timestamps for status transitions of the Billing Intent. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-