pub struct QuotesResourceSubscriptionDataSubscriptionData {
pub description: Option<String>,
pub effective_date: Option<Timestamp>,
pub metadata: Option<Metadata>,
pub trial_period_days: Option<u32>,
}
Fields§
§description: Option<String>
The subscription’s description, meant to be displayable to the customer.
Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
effective_date: Option<Timestamp>
When creating a new subscription, the date of which the subscription schedule will start after the quote is accepted.
This date is ignored if it is in the past when the quote is accepted. Measured in seconds since the Unix epoch.
metadata: Option<Metadata>
Set of key-value pairs that will set metadata on the subscription or subscription schedule when the quote is accepted.
If a recurring price is included in line_items
, this field will be passed to the resulting subscription’s metadata
field.
If subscription_data.effective_date
is used, this field will be passed to the resulting subscription schedule’s phases.metadata
field.
Unlike object-level metadata, this field is declarative.
Updates will clear prior values.
trial_period_days: Option<u32>
Integer representing the number of trial period days before the customer is charged for the first time.
Trait Implementations§
source§impl Clone for QuotesResourceSubscriptionDataSubscriptionData
impl Clone for QuotesResourceSubscriptionDataSubscriptionData
source§fn clone(&self) -> QuotesResourceSubscriptionDataSubscriptionData
fn clone(&self) -> QuotesResourceSubscriptionDataSubscriptionData
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more