public class SubscriptionScheduleRevision extends StripeObject implements HasId
PRETTY_PRINT_GSON
Constructor and Description |
---|
SubscriptionScheduleRevision() |
Modifier and Type | Method and 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.
|
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
public java.lang.Long getCreated()
public SubscriptionSchedule.InvoiceSettings getInvoiceSettings()
public java.lang.Boolean getLivemode()
public java.util.Map<java.lang.String,java.lang.String> getMetadata()
public java.lang.String getObject()
public java.util.List<SubscriptionSchedule.Phase> getPhases()
public java.lang.String getPreviousRevision()
public java.lang.String getRenewalBehavior()
public SubscriptionSchedule.RenewalInterval getRenewalInterval()
public java.lang.String getSchedule()
public void setCreated(java.lang.Long created)
public void setId(java.lang.String id)
public void setInvoiceSettings(SubscriptionSchedule.InvoiceSettings invoiceSettings)
public void setLivemode(java.lang.Boolean livemode)
public void setMetadata(java.util.Map<java.lang.String,java.lang.String> metadata)
public void setObject(java.lang.String object)
public void setPhases(java.util.List<SubscriptionSchedule.Phase> phases)
public void setPreviousRevision(java.lang.String previousRevision)
public void setRenewalBehavior(java.lang.String renewalBehavior)
public void setRenewalInterval(SubscriptionSchedule.RenewalInterval renewalInterval)
public void setSchedule(java.lang.String schedule)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
protected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode
in class java.lang.Object