Package com.stripe.model
Class UsageRecordSummary
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.UsageRecordSummary
- All Implemented Interfaces:
HasId,StripeObjectInterface
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetId()Unique identifier for the object.The invoice in which this usage period has been billed for.Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.String representing the object's type.The ID of the subscription item this summary is describing.The total usage within this usage period.inthashCode()voidUnique identifier for the object.voidsetInvoice(String invoice) The invoice in which this usage period has been billed for.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.voidsetPeriod(UsageRecordSummary.Period period) voidsetSubscriptionItem(String subscriptionItem) The ID of the subscription item this summary is describing.voidsetTotalUsage(Long totalUsage) The total usage within this usage period.Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
UsageRecordSummary
public UsageRecordSummary()
-
-
Method Details
-
getInvoice
The invoice in which this usage period has been billed for. -
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.Equal to
usage_record_summary. -
getPeriod
-
getSubscriptionItem
The ID of the subscription item this summary is describing. -
getTotalUsage
The total usage within this usage period. -
setId
Unique identifier for the object. -
setInvoice
The invoice in which this usage period has been billed for. -
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.Equal to
usage_record_summary. -
setPeriod
-
setSubscriptionItem
The ID of the subscription item this summary is describing. -
setTotalUsage
The total usage within this usage period. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-