public class UsageRecordSummary extends StripeObject implements HasId
| Modifier and Type | Class and Description |
|---|---|
static class |
UsageRecordSummary.Period |
PRETTY_PRINT_GSON| Constructor and Description |
|---|
UsageRecordSummary() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getId()
Unique identifier for the object.
|
java.lang.String |
getInvoice()
The invoice in which this usage period has been billed for.
|
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.lang.String |
getObject()
String representing the object's type.
|
UsageRecordSummary.Period |
getPeriod() |
java.lang.String |
getSubscriptionItem()
The ID of the subscription item this summary is describing.
|
java.lang.Long |
getTotalUsage()
The total usage within this usage period.
|
int |
hashCode() |
void |
setId(java.lang.String id)
Unique identifier for the object.
|
void |
setInvoice(java.lang.String invoice)
The invoice in which this usage period has been billed for.
|
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 |
setObject(java.lang.String object)
String representing the object's type.
|
void |
setPeriod(UsageRecordSummary.Period period) |
void |
setSubscriptionItem(java.lang.String subscriptionItem)
The ID of the subscription item this summary is describing.
|
void |
setTotalUsage(java.lang.Long totalUsage)
The total usage within this usage period.
|
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringpublic java.lang.String getInvoice()
public java.lang.Boolean getLivemode()
true if the object exists in live mode or the value false if the
object exists in test mode.public java.lang.String getObject()
Equal to usage_record_summary.
public UsageRecordSummary.Period getPeriod()
public java.lang.String getSubscriptionItem()
public java.lang.Long getTotalUsage()
public void setId(java.lang.String id)
public void setInvoice(java.lang.String invoice)
public void setLivemode(java.lang.Boolean livemode)
true if the object exists in live mode or the value false if the
object exists in test mode.public void setObject(java.lang.String object)
Equal to usage_record_summary.
public void setPeriod(UsageRecordSummary.Period period)
public void setSubscriptionItem(java.lang.String subscriptionItem)
public void setTotalUsage(java.lang.Long totalUsage)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectprotected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode in class java.lang.Object