pub struct CreatePaymentLinkLineItems {
pub adjustable_quantity: Option<AdjustableQuantityParams>,
pub price: Option<String>,
pub price_data: Option<CreatePaymentLinkLineItemsPriceData>,
pub quantity: u64,
}Expand description
The line items representing what is being sold. Each line item represents an item being sold. Up to 20 line items are supported.
Fields§
§adjustable_quantity: Option<AdjustableQuantityParams>When set, provides configuration for this item’s quantity to be adjusted by the customer during checkout.
price: Option<String>§price_data: Option<CreatePaymentLinkLineItemsPriceData>Data used to generate a new Price object inline.
One of price or price_data is required.
quantity: u64The quantity of the line item being purchased.
Implementations§
Trait Implementations§
Source§impl Clone for CreatePaymentLinkLineItems
impl Clone for CreatePaymentLinkLineItems
Source§fn clone(&self) -> CreatePaymentLinkLineItems
fn clone(&self) -> CreatePaymentLinkLineItems
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 CreatePaymentLinkLineItems
impl Debug for CreatePaymentLinkLineItems
Auto Trait Implementations§
impl Freeze for CreatePaymentLinkLineItems
impl RefUnwindSafe for CreatePaymentLinkLineItems
impl Send for CreatePaymentLinkLineItems
impl Sync for CreatePaymentLinkLineItems
impl Unpin for CreatePaymentLinkLineItems
impl UnsafeUnpin for CreatePaymentLinkLineItems
impl UnwindSafe for CreatePaymentLinkLineItems
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