dolibarr/htdocs/includes/stripe/stripe-php/lib/UsageRecord.php

26 lines
980 B
PHP
Raw Permalink Normal View History

2019-05-03 00:22:27 +00:00
<?php
2021-01-03 22:37:44 +00:00
// File generated from our OpenAPI spec
2019-05-03 00:22:27 +00:00
namespace Stripe;
/**
2021-01-03 22:37:44 +00:00
* Usage records allow you to report customer usage and metrics to Stripe for
* metered billing of subscription prices.
2019-05-03 00:22:27 +00:00
*
2021-01-03 22:37:44 +00:00
* Related guide: <a
* href="https://stripe.com/docs/billing/subscriptions/metered-billing">Metered
* Billing</a>.
2019-05-03 00:22:27 +00:00
*
2021-01-03 22:37:44 +00:00
* @property string $id Unique identifier for the object.
* @property string $object String representing the object's type. Objects of the same type share the same value.
* @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode.
* @property int $quantity The usage quantity for the specified date.
* @property string $subscription_item The ID of the subscription item this usage record contains data for.
* @property int $timestamp The timestamp when this usage occurred.
2019-05-03 00:22:27 +00:00
*/
class UsageRecord extends ApiResource
{
2021-01-03 22:37:44 +00:00
const OBJECT_NAME = 'usage_record';
2019-05-03 00:22:27 +00:00
}