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 classBreakdown of the amount for this Billing Intent.static classTimestamps for status transitions of the Billing Intent. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanBreakdown 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 valuetrueif the object exists in live mode or the valuefalseif 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.inthashCode()voidsetAmountDetails(Intent.AmountDetails amountDetails) Breakdown of the amount for this Billing Intent.voidsetCadence(String cadence) ID of an existing Cadence to use.voidsetCreated(Instant created) Time at which the object was created.voidsetCurrency(String currency) Three-letter ISO currency code, in lowercase.voidUnique identifier for the object.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.voidCurrent status of the Billing Intent.voidsetStatusTransitions(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 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.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 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.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.
-