Struct stripe::PlanParams[][src]

pub struct PlanParams<'a> {
    pub id: Option<&'a str>,
    pub amount: Option<u64>,
    pub currency: Option<Currency>,
    pub interval: Option<&'a str>,
    pub name: Option<&'a str>,
    pub interval_count: Option<u64>,
    pub metadata: Option<Metadata>,
    pub statement_descriptor: Option<&'a str>,
    pub trial_period_days: Option<u64>,
}

The set of parameters that can be used when creating or updating a plan.

For more details see https://stripe.com/docs/api#create_plan and https://stripe.com/docs/api#update_plan.

Fields

Trait Implementations

impl<'a> Debug for PlanParams<'a>
[src]

Formats the value using the given formatter. Read more

impl<'a> Default for PlanParams<'a>
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl<'a> Send for PlanParams<'a>

impl<'a> Sync for PlanParams<'a>