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

47 lines
1.1 KiB
PHP
Raw Normal View History

2017-04-18 05:44:08 +02:00
<?php
namespace Stripe;
/**
* Class Product
*
2018-03-06 13:52:56 +01:00
* @property string $id
* @property string $object
* @property bool $active
* @property string[] $attributes
* @property string $caption
* @property int $created
* @property string[] $deactivate_on
* @property string $description
2019-05-03 02:22:27 +02:00
* @property string[] $images
2018-03-06 13:52:56 +01:00
* @property bool $livemode
* @property StripeObject $metadata
* @property string $name
* @property mixed $package_dimensions
* @property bool $shippable
* @property string $statement_descriptor
* @property string $type
2019-05-03 02:22:27 +02:00
* @property string $unit_label
2018-03-06 13:52:56 +01:00
* @property int $updated
* @property string $url
*
2017-04-18 05:44:08 +02:00
* @package Stripe
*/
class Product extends ApiResource
{
2019-05-03 02:22:27 +02:00
const OBJECT_NAME = "product";
2018-03-06 13:52:56 +01:00
use ApiOperations\All;
use ApiOperations\Create;
use ApiOperations\Delete;
use ApiOperations\Retrieve;
use ApiOperations\Update;
2019-05-03 02:22:27 +02:00
/**
* Possible string representations of the type of product.
* @link https://stripe.com/docs/api/service_products/object#service_product_object-type
*/
const TYPE_GOOD = 'good';
const TYPE_SERVICE = 'service';
2017-04-18 05:44:08 +02:00
}