pub struct UpdateBillingPortalConfigurationFeaturesSubscriptionUpdate {
pub default_allowed_updates: Option<Vec<UpdateBillingPortalConfigurationFeaturesSubscriptionUpdateDefaultAllowedUpdates>>,
pub enabled: Option<bool>,
pub products: Option<Vec<SubscriptionUpdateProductParam>>,
pub proration_behavior: Option<UpdateBillingPortalConfigurationFeaturesSubscriptionUpdateProrationBehavior>,
pub schedule_at_period_end: Option<UpdateBillingPortalConfigurationFeaturesSubscriptionUpdateScheduleAtPeriodEnd>,
pub trial_update_behavior: Option<UpdateBillingPortalConfigurationFeaturesSubscriptionUpdateTrialUpdateBehavior>,
}
Expand description
Information about updating subscriptions in the portal.
Fields§
§default_allowed_updates: Option<Vec<UpdateBillingPortalConfigurationFeaturesSubscriptionUpdateDefaultAllowedUpdates>>
The types of subscription updates that are supported. When empty, subscriptions are not updateable.
enabled: Option<bool>
Whether the feature is enabled.
products: Option<Vec<SubscriptionUpdateProductParam>>
The list of up to 10 products that support subscription updates.
proration_behavior: Option<UpdateBillingPortalConfigurationFeaturesSubscriptionUpdateProrationBehavior>
Determines how to handle prorations resulting from subscription updates.
Valid values are none
, create_prorations
, and always_invoice
.
schedule_at_period_end: Option<UpdateBillingPortalConfigurationFeaturesSubscriptionUpdateScheduleAtPeriodEnd>
Setting to control when an update should be scheduled at the end of the period instead of applying immediately.
trial_update_behavior: Option<UpdateBillingPortalConfigurationFeaturesSubscriptionUpdateTrialUpdateBehavior>
The behavior when updating a subscription that is trialing.
Implementations§
Trait Implementations§
Source§impl Clone for UpdateBillingPortalConfigurationFeaturesSubscriptionUpdate
impl Clone for UpdateBillingPortalConfigurationFeaturesSubscriptionUpdate
Source§fn clone(&self) -> UpdateBillingPortalConfigurationFeaturesSubscriptionUpdate
fn clone(&self) -> UpdateBillingPortalConfigurationFeaturesSubscriptionUpdate
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for UpdateBillingPortalConfigurationFeaturesSubscriptionUpdate
impl RefUnwindSafe for UpdateBillingPortalConfigurationFeaturesSubscriptionUpdate
impl Send for UpdateBillingPortalConfigurationFeaturesSubscriptionUpdate
impl Sync for UpdateBillingPortalConfigurationFeaturesSubscriptionUpdate
impl Unpin for UpdateBillingPortalConfigurationFeaturesSubscriptionUpdate
impl UnwindSafe for UpdateBillingPortalConfigurationFeaturesSubscriptionUpdate
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more