[][src]Struct stripe::Order

pub struct Order {
    pub id: String,
    pub object: String,
    pub amount: u64,
    pub amount_returned: u64,
    pub application: String,
    pub application_fee: u64,
    pub charge: Option<String>,
    pub created: Timestamp,
    pub currency: Currency,
    pub customer: String,
    pub email: String,
    pub external_coupon_code: String,
    pub items: List<OrderItem>,
    pub livemode: bool,
    pub metadata: Metadata,
    pub returns: List<Value>,
    pub selected_shipping_method: Option<String>,
    pub shipping: Option<ShippingDetails>,
    pub shipping_methods: List<Value>,
    pub status: String,
    pub status_transitions: StatusTransitions,
    pub udpated: Timestamp,
    pub upstream_id: Option<String>,
}

The resource representing a Stripe order.

For more details see https://stripe.com/docs/api#order_object.

Fields

Trait Implementations

impl Clone for Order
[src]

Performs copy-assignment from source. Read more

impl Debug for Order
[src]

impl Serialize for Order
[src]

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

Auto Trait Implementations

impl Send for Order

impl Sync for Order

Blanket Implementations

impl<T> From for T
[src]

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

impl<T> Same for T

Should always be Self

impl<T> Erased for T