Name | Type | Description | Notes |
---|---|---|---|
units | String | The number of units consumed by the customer for a specific charge item. | |
events_count | Integer | The quantity of usage events that have been recorded for a particular charge during the specified time period. These events may also be referred to as the number of transactions in some contexts. | |
amount_cents | Integer | The amount in cents, tax excluded, consumed by the customer for a specific charge item. | |
amount_currency | Currency | ||
charge | CustomerChargeUsageObjectCharge | ||
billable_metric | CustomerChargeUsageObjectBillableMetric | ||
groups | Array<CustomerChargeUsageObjectGroupsInner> | Array of group object, representing multiple dimensions for a charge item. |
require 'lago_ruby'
instance = LagoAPI::CustomerChargeUsageObject.new(
units: 1.0,
events_count: 10,
amount_cents: 123,
amount_currency: null,
charge: null,
billable_metric: null,
groups: null
)