pub struct AutoRenewingPlan {
pub auto_renew_enabled: Option<bool>,
pub installment_details: Option<InstallmentPlan>,
pub price_change_details: Option<SubscriptionItemPriceChangeDetails>,
pub price_step_up_consent_details: Option<PriceStepUpConsentDetails>,
pub recurring_price: Option<Money>,
}Expand description
Information related to an auto renewing plan.
This type is not used in any activity, and only used as part of another schema.
Fields§
§auto_renew_enabled: Option<bool>If the subscription is currently set to auto-renew, e.g. the user has not canceled the subscription
installment_details: Option<InstallmentPlan>The installment plan commitment and state related info for the auto renewing plan.
price_change_details: Option<SubscriptionItemPriceChangeDetails>The information of the last price change for the item since subscription signup.
price_step_up_consent_details: Option<PriceStepUpConsentDetails>The information of the latest price step-up consent.
recurring_price: Option<Money>The current recurring price of the auto renewing plan. Note that the price does not take into account discounts and does not include taxes for tax-exclusive pricing, please call orders.get API instead if transaction details are needed.
Trait Implementations§
Source§impl Clone for AutoRenewingPlan
impl Clone for AutoRenewingPlan
Source§fn clone(&self) -> AutoRenewingPlan
fn clone(&self) -> AutoRenewingPlan
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 moreSource§impl Debug for AutoRenewingPlan
impl Debug for AutoRenewingPlan
Source§impl Default for AutoRenewingPlan
impl Default for AutoRenewingPlan
Source§fn default() -> AutoRenewingPlan
fn default() -> AutoRenewingPlan
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AutoRenewingPlan
impl<'de> Deserialize<'de> for AutoRenewingPlan
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for AutoRenewingPlan
impl Serialize for AutoRenewingPlan
impl Part for AutoRenewingPlan
Auto Trait Implementations§
impl Freeze for AutoRenewingPlan
impl RefUnwindSafe for AutoRenewingPlan
impl Send for AutoRenewingPlan
impl Sync for AutoRenewingPlan
impl Unpin for AutoRenewingPlan
impl UnwindSafe for AutoRenewingPlan
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