[][src]Struct shopify::order::Order

pub struct Order {
    pub id: i64,
    pub email: Option<String>,
    pub closed_at: Option<DateTime<Utc>>,
    pub created_at: DateTime<Utc>,
    pub updated_at: DateTime<Utc>,
    pub number: i64,
    pub note: Option<String>,
    pub token: String,
    pub gateway: Option<String>,
    pub test: bool,
    pub total_price: String,
    pub subtotal_price: String,
    pub total_weight: Option<i64>,
    pub total_tax: String,
    pub taxes_included: bool,
    pub currency: String,
    pub financial_status: FinancialStatus,
    pub confirmed: bool,
    pub total_discounts: String,
    pub total_line_items_price: String,
    pub cart_token: Option<String>,
    pub buyer_accepts_marketing: bool,
    pub name: String,
    pub referring_site: Value,
    pub landing_site: Value,
    pub cancelled_at: Option<DateTime<Utc>>,
    pub cancel_reason: Option<String>,
    pub total_price_usd: String,
    pub checkout_token: Value,
    pub reference: Value,
    pub user_id: Option<i64>,
    pub location_id: Option<i64>,
    pub source_identifier: Value,
    pub source_url: Option<String>,
    pub processed_at: String,
    pub device_id: Value,
    pub phone: Option<String>,
    pub customer_locale: Option<String>,
    pub app_id: i64,
    pub browser_ip: Option<String>,
    pub landing_site_ref: Value,
    pub order_number: i64,
    pub discount_codes: Vec<DiscountCode>,
    pub note_attributes: Vec<Property>,
    pub payment_gateway_names: Vec<String>,
    pub processing_method: String,
    pub checkout_id: Value,
    pub source_name: String,
    pub fulfillment_status: Option<FulfillmentStatus>,
    pub tax_lines: Vec<TaxLines>,
    pub tags: String,
    pub contact_email: Option<String>,
    pub order_status_url: String,
    pub line_items: Vec<LineItems>,
    pub shipping_lines: Vec<ShippingLines>,
    pub billing_address: Option<Address>,
    pub shipping_address: Option<Address>,
    pub fulfillments: Vec<Fulfillment>,
    pub client_details: Option<ClientDetails>,
    pub refunds: Vec<Value>,
    pub customer: Option<Customer>,
}

Fields

Trait Implementations

impl Debug for Order
[src]

Formats the value using the given formatter. Read more

impl Serialize for Order
[src]

Serialize this value into the given Serde serializer. Read more

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

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl Send for Order

impl Sync for Order

Blanket Implementations

impl<T> From for T
[src]

Performs the conversion.

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

Performs the conversion.

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.

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

Performs the conversion.

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

Immutably borrows from an owned value. Read more

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

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

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more

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.

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

Performs the conversion.

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

Mutably borrows from an owned value. Read more

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

impl<T> Erased for T