[][src]Struct stripe::SourceOrder

pub struct SourceOrder {
    pub amount: i64,
    pub currency: Currency,
    pub email: Option<String>,
    pub items: Option<Vec<SourceOrderItem>>,
    pub shipping: Option<Shipping>,
}

Fields

amount: i64

A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the total amount for the order.

currency: Currency

Three-letter ISO currency code, in lowercase.

Must be a supported currency.

email: Option<String>

The email address of the customer placing the order.

items: Option<Vec<SourceOrderItem>>

List of items constituting the order.

shipping: Option<Shipping>

Trait Implementations

impl Clone for SourceOrder[src]

impl Debug for SourceOrder[src]

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

impl Serialize for SourceOrder[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.