Coupon.php 715 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. namespace Stripe;
  3. /**
  4. * Class Coupon
  5. *
  6. * @property string $id
  7. * @property string $object
  8. * @property int $amount_off
  9. * @property int $created
  10. * @property string $currency
  11. * @property string $duration
  12. * @property int $duration_in_months
  13. * @property bool $livemode
  14. * @property int $max_redemptions
  15. * @property StripeObject $metadata
  16. * @property int $percent_off
  17. * @property int $redeem_by
  18. * @property int $times_redeemed
  19. * @property bool $valid
  20. *
  21. * @package Stripe
  22. */
  23. class Coupon extends ApiResource
  24. {
  25. const OBJECT_NAME = "coupon";
  26. use ApiOperations\All;
  27. use ApiOperations\Create;
  28. use ApiOperations\Delete;
  29. use ApiOperations\Retrieve;
  30. use ApiOperations\Update;
  31. }