[][src]Struct stripe::SourceOrderItem

pub struct SourceOrderItem {
    pub amount: Option<i64>,
    pub currency: Option<Currency>,
    pub description: Option<String>,
    pub quantity: Option<u64>,
    pub type_: Option<String>,
}

Fields

amount: Option<i64>

The amount (price) for this order item.

currency: Option<Currency>

This currency of this order item.

Required when amount is present.

description: Option<String>

Human-readable description for this order item.

quantity: Option<u64>

The quantity of this order item.

When type is sku, this is the number of instances of the SKU to be ordered.

type_: Option<String>

The type of this order item.

Must be sku, tax, or shipping.

Trait Implementations

impl Clone for SourceOrderItem[src]

impl Debug for SourceOrderItem[src]

impl<'de> Deserialize<'de> for SourceOrderItem[src]

impl Serialize for SourceOrderItem[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.