Struct stripe::UpdatePaymentLinkLineItems
source · pub struct UpdatePaymentLinkLineItems {
pub adjustable_quantity: Option<UpdatePaymentLinkLineItemsAdjustableQuantity>,
pub id: String,
pub quantity: Option<u64>,
}
Fields§
§adjustable_quantity: Option<UpdatePaymentLinkLineItemsAdjustableQuantity>
When set, provides configuration for this item’s quantity to be adjusted by the customer during checkout.
id: String
The ID of an existing line item on the payment link.
quantity: Option<u64>
The quantity of the line item being purchased.
Trait Implementations§
source§impl Clone for UpdatePaymentLinkLineItems
impl Clone for UpdatePaymentLinkLineItems
source§fn clone(&self) -> UpdatePaymentLinkLineItems
fn clone(&self) -> UpdatePaymentLinkLineItems
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 Debug for UpdatePaymentLinkLineItems
impl Debug for UpdatePaymentLinkLineItems
source§impl Default for UpdatePaymentLinkLineItems
impl Default for UpdatePaymentLinkLineItems
source§fn default() -> UpdatePaymentLinkLineItems
fn default() -> UpdatePaymentLinkLineItems
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UpdatePaymentLinkLineItems
impl<'de> Deserialize<'de> for UpdatePaymentLinkLineItems
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