Package com.stripe.model
Class QuotePreviewInvoice.SubscriptionDetails
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.QuotePreviewInvoice.SubscriptionDetails
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- QuotePreviewInvoice
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
The Pause Collection settings determine how we will pause collection for this subscription and for how long the subscription should be paused. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Set of key-value pairs defined as subscription metadata when an invoice is created.If specified, payment collection for this subscription will be paused.int
hashCode()
void
setMetadata
(Map<String, String> metadata) Set of key-value pairs defined as subscription metadata when an invoice is created.void
If specified, payment collection for this subscription will be paused.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
SubscriptionDetails
public SubscriptionDetails()
-
-
Method Details
-
getMetadata
Set of key-value pairs defined as subscription metadata when an invoice is created. Becomes an immutable snapshot of the subscription metadata at the time of invoice finalization. Note: This attribute is populated only for invoices created on or after June 29, 2023. -
getPauseCollection
If specified, payment collection for this subscription will be paused. Note that the subscription status will be unchanged and will not be updated topaused
. Learn more about pausing collection. -
setMetadata
Set of key-value pairs defined as subscription metadata when an invoice is created. Becomes an immutable snapshot of the subscription metadata at the time of invoice finalization. Note: This attribute is populated only for invoices created on or after June 29, 2023. -
setPauseCollection
public void setPauseCollection(QuotePreviewInvoice.SubscriptionDetails.PauseCollection pauseCollection) If specified, payment collection for this subscription will be paused. Note that the subscription status will be unchanged and will not be updated topaused
. Learn more about pausing collection. -
equals
-
canEqual
-
hashCode
public int hashCode()
-