[][src]Struct libstripe::resources::billing::subscription_schedules::SubscriptionSchedules

pub struct SubscriptionSchedules {
    pub id: String,
    pub object: Object,
    pub billing: InvoiceBilling,
    pub billing_thresholds: Option<BillingThresholds>,
    pub canceled_at: Option<i64>,
    pub completed_at: Option<i64>,
    pub created: i64,
    pub current_phase: Option<CurrentPhase>,
    pub customer: Expandable<Customer>,
    pub invoice_settings: Option<InvoiceSettings>,
    pub livemode: bool,
    pub metadata: HashMap<String, String>,
    pub phases: Vec<Phase>,
    pub released_at: Option<i64>,
    pub released_subscription: Option<String>,
    pub renewal_behavior: String,
    pub renewal_interval: Option<RenewalInterval>,
    pub revision: String,
    pub status: SubscriptionSchedulesStatus,
    pub subscription: Option<String>,
}

Fields

id: Stringobject: Objectbilling: InvoiceBillingbilling_thresholds: Option<BillingThresholds>canceled_at: Option<i64>completed_at: Option<i64>created: i64current_phase: Option<CurrentPhase>customer: Expandable<Customer>invoice_settings: Option<InvoiceSettings>livemode: boolmetadata: HashMap<String, String>phases: Vec<Phase>released_at: Option<i64>released_subscription: Option<String>renewal_behavior: Stringrenewal_interval: Option<RenewalInterval>revision: Stringstatus: SubscriptionSchedulesStatussubscription: Option<String>

Methods

impl SubscriptionSchedules[src]

pub fn create<B: Serialize>(client: &Client, param: B) -> Result<Self>[src]

pub fn retrieve(client: &Client, id: &str) -> Result<Self>[src]

pub fn update<B: Serialize>(client: &Client, id: &str, param: B) -> Result<Self>[src]

pub fn cancel<B: Serialize>(client: &Client, id: &str, param: B) -> Result<Self>[src]

pub fn release<B: Serialize>(
    client: &Client,
    id: &str,
    param: B
) -> Result<Self>
[src]

pub fn list<B: Serialize>(client: &Client, param: B) -> Result<List<Self>>[src]

Trait Implementations

impl PartialEq<SubscriptionSchedules> for SubscriptionSchedules[src]

impl Debug for SubscriptionSchedules[src]

impl Serialize for SubscriptionSchedules[src]

impl<'de> Deserialize<'de> for SubscriptionSchedules[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err