Struct stripe::generated::billing::billing_portal_session::CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirmItems
source · pub struct CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirmItems {
pub id: String,
pub price: Option<String>,
pub quantity: Option<u64>,
}
Fields§
§id: String
The ID of the subscription item to be updated.
price: Option<String>
The price the customer should subscribe to through this flow.
The price must also be included in the configuration’s features.subscription_update.products
.
quantity: Option<u64>
Quantity for this item that the customer should subscribe to through this flow.
Trait Implementations§
source§impl Clone for CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirmItems
impl Clone for CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirmItems
source§fn clone(
&self
) -> CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirmItems
fn clone( &self ) -> CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirmItems
Returns a copy 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 Default for CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirmItems
impl Default for CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirmItems
source§fn default() -> CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirmItems
fn default() -> CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirmItems
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirmItems
impl<'de> Deserialize<'de> for CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirmItems
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
Auto Trait Implementations§
impl RefUnwindSafe for CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirmItems
impl Send for CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirmItems
impl Sync for CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirmItems
impl Unpin for CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirmItems
impl UnwindSafe for CreateBillingPortalSessionFlowDataSubscriptionUpdateConfirmItems
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