Package com.stripe.model
Class SubscriptionScheduleRevision
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.SubscriptionScheduleRevision
-
- All Implemented Interfaces:
HasId
public class SubscriptionScheduleRevision extends StripeObject implements HasId
-
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description SubscriptionScheduleRevision()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.Long
getCreated()
Time at which the object was created.java.lang.String
getId()
Unique identifier for the object.SubscriptionSchedule.InvoiceSettings
getInvoiceSettings()
java.lang.Boolean
getLivemode()
Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.java.util.Map<java.lang.String,java.lang.String>
getMetadata()
Set of key-value pairs that you can attach to an object.java.lang.String
getObject()
String representing the object's type.java.util.List<SubscriptionSchedule.Phase>
getPhases()
Configuration for the subscription schedule's phases.java.lang.String
getPreviousRevision()
java.lang.String
getRenewalBehavior()
Behavior of the subscription schedule and underlying subscription when it ends.SubscriptionSchedule.RenewalInterval
getRenewalInterval()
Interval and duration at which the subscription schedule renews for when it ends if `renewal_behavior` is `renew`.java.lang.String
getSchedule()
ID of the subscription schedule the revision points to.int
hashCode()
void
setCreated(java.lang.Long created)
Time at which the object was created.void
setId(java.lang.String id)
Unique identifier for the object.void
setInvoiceSettings(SubscriptionSchedule.InvoiceSettings invoiceSettings)
void
setLivemode(java.lang.Boolean livemode)
Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.void
setMetadata(java.util.Map<java.lang.String,java.lang.String> metadata)
Set of key-value pairs that you can attach to an object.void
setObject(java.lang.String object)
String representing the object's type.void
setPhases(java.util.List<SubscriptionSchedule.Phase> phases)
Configuration for the subscription schedule's phases.void
setPreviousRevision(java.lang.String previousRevision)
void
setRenewalBehavior(java.lang.String renewalBehavior)
Behavior of the subscription schedule and underlying subscription when it ends.void
setRenewalInterval(SubscriptionSchedule.RenewalInterval renewalInterval)
Interval and duration at which the subscription schedule renews for when it ends if `renewal_behavior` is `renew`.void
setSchedule(java.lang.String schedule)
ID of the subscription schedule the revision points to.-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getCreated
public java.lang.Long getCreated()
Time at which the object was created. Measured in seconds since the Unix epoch.
-
getInvoiceSettings
public SubscriptionSchedule.InvoiceSettings getInvoiceSettings()
-
getLivemode
public java.lang.Boolean getLivemode()
Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
-
getMetadata
public java.util.Map<java.lang.String,java.lang.String> getMetadata()
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
-
getObject
public java.lang.String getObject()
String representing the object's type. Objects of the same type share the same value.
-
getPhases
public java.util.List<SubscriptionSchedule.Phase> getPhases()
Configuration for the subscription schedule's phases.
-
getPreviousRevision
public java.lang.String getPreviousRevision()
-
getRenewalBehavior
public java.lang.String getRenewalBehavior()
Behavior of the subscription schedule and underlying subscription when it ends.
-
getRenewalInterval
public SubscriptionSchedule.RenewalInterval getRenewalInterval()
Interval and duration at which the subscription schedule renews for when it ends if `renewal_behavior` is `renew`.
-
getSchedule
public java.lang.String getSchedule()
ID of the subscription schedule the revision points to.
-
setCreated
public void setCreated(java.lang.Long created)
Time at which the object was created. Measured in seconds since the Unix epoch.
-
setId
public void setId(java.lang.String id)
Unique identifier for the object.
-
setInvoiceSettings
public void setInvoiceSettings(SubscriptionSchedule.InvoiceSettings invoiceSettings)
-
setLivemode
public void setLivemode(java.lang.Boolean livemode)
Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
-
setMetadata
public void setMetadata(java.util.Map<java.lang.String,java.lang.String> metadata)
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
-
setObject
public void setObject(java.lang.String object)
String representing the object's type. Objects of the same type share the same value.
-
setPhases
public void setPhases(java.util.List<SubscriptionSchedule.Phase> phases)
Configuration for the subscription schedule's phases.
-
setPreviousRevision
public void setPreviousRevision(java.lang.String previousRevision)
-
setRenewalBehavior
public void setRenewalBehavior(java.lang.String renewalBehavior)
Behavior of the subscription schedule and underlying subscription when it ends.
-
setRenewalInterval
public void setRenewalInterval(SubscriptionSchedule.RenewalInterval renewalInterval)
Interval and duration at which the subscription schedule renews for when it ends if `renewal_behavior` is `renew`.
-
setSchedule
public void setSchedule(java.lang.String schedule)
ID of the subscription schedule the revision points to.
-
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
-
-