One of Duration.Forever, Duration.Once, and Duration.Repeating. Describes how long a customer who applies this coupon will get the discount.
Number of times this coupon has been applied to a customer.
Taking account of the above properties, whether this coupon can still be applied to a customer
Amount (in the currency specified) that will be taken off the subtotal of any invoices for this customer.
If amountOff has been set, the currency of the amount to take off.
If duration is repeating, the number of months the coupon applies. scala.None if coupon duration is forever or once.
Maximum number of times this coupon can be redeemed, in total, before it is no longer valid.
A set of key/value pairs that you can attach to a coupon object. It can be useful for storing additional information about the coupon in a structured format.
Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon. For example, a coupon with percentOff of 50 will make a $100 invoice $50 instead.
Date after which the coupon can no longer be redeemed
https://stripe.com/docs/api#coupons
Specifies how long the discount will be in effect. Can be Duration.Forever, Duration.Once, or Duration.Repeating.
Unique string of your choice that will be used to identify this coupon when applying it to a customer. This is often a specific code you’ll give to your customer to use when signing up (e.g. FALL25OFF). If you don’t want to specify a particular code, you can leave the ID blank and we’ll generate a random code for you.
A positive integer representing the amount to subtract from an invoice total (required if percentOff is not passed)
Currency of the amountOff parameter (required if amountOff is passed)
Required only if duration is Duration.Repeating, in which case it must be a positive integer that specifies the number of months the discount will be in effect.
A positive integer specifying the number of times the coupon can be redeemed before it’s no longer valid. For example, you might have a 50% off coupon that the first 20 readers of your blog can use.
A set of key/value pairs that you can attach to a coupon object. It can be useful for storing additional information about the coupon in a structured format. This will be unset if you POST an empty value.
A positive integer between 1 and 100 that represents the discount the coupon will apply (required if amountOff is not passed)
Unix timestamp specifying the last time at which the coupon can be redeemed. After the redeemBy date, the coupon can no longer be applied to new customers.
https://stripe.com/docs/api#create_coupon
A filter on the list based on the object created field. The value can be a string with an integer Unix timestamp, or it can be a dictionary with the following options:
A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list.
A limit on the number of objects to be returned. Limit can range between 1 and 100 items.
A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next page of the list.
https://stripe.com/docs/api#list_coupons