Struct stripe::Discount[][src]

pub struct Discount {
    pub coupon: Coupon,
    pub customer: String,
    pub subscription: Option<String>,
    pub start: Timestamp,
    pub end: Option<Timestamp>,
}

The resource representing a Stripe discount.

For more details see https://stripe.com/docs/api#discounts.

Fields

Trait Implementations

impl Debug for Discount
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Discount

impl Sync for Discount