Created
March 14, 2017 11:43
-
-
Save sta1r/11496bc1ab5690612a8f27cd1ea42d01 to your computer and use it in GitHub Desktop.
EA order demo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <Orders> | |
| <Order> | |
| <OrderId>MON-FDMLROKCGQ</OrderId> | |
| <OrderNumber>5jcrck0n</OrderNumber> | |
| <OrderDate>2017-03-14 11:40:49</OrderDate> | |
| <OrderStatus>New order</OrderStatus> | |
| <BillingFirstName>Alastair</BillingFirstName> | |
| <BillingLastName>Mucklow</BillingLastName> | |
| <BillingFullName>Alastair Mucklow</BillingFullName> | |
| <BillingCompany/> | |
| <BillingAddress1>99 Acacia Avenue</BillingAddress1> | |
| <BillingAddress2>The Corner</BillingAddress2> | |
| <BillingAddress3>Near the woods</BillingAddress3> | |
| <BillingCity>Thornton Heath</BillingCity> | |
| <BillingState>CO</BillingState> | |
| <BillingPostCode>CR1 8DT</BillingPostCode> | |
| <BillingCountry>US</BillingCountry> | |
| <BillingPhone>07822987123</BillingPhone> | |
| <BillingEmail>acm@strangerpixel.com</BillingEmail> | |
| <ShippingFirstName>Alastair</ShippingFirstName> | |
| <ShippingLastName>Mucklow</ShippingLastName> | |
| <ShippingFullName>Alastair Mucklow</ShippingFullName> | |
| <ShippingCompany/> | |
| <ShippingAddress1>99 Acacia Avenue</ShippingAddress1> | |
| <ShippingAddress2>The Corner</ShippingAddress2> | |
| <ShippingAddress3>Near the woods</ShippingAddress3> | |
| <ShippingCity>Thornton Heath</ShippingCity> | |
| <ShippingState>CO</ShippingState> | |
| <ShippingPostCode>CR1 8DT</ShippingPostCode> | |
| <ShippingCountry>US</ShippingCountry> | |
| <ShippingPhone>07822987123</ShippingPhone> | |
| <ShippingMethodId>enda_bundle_rate</ShippingMethodId> | |
| <ShippingMethod>Standard</ShippingMethod> | |
| <PaymentMethodId/> | |
| <PaymentMethod>credit-card</PaymentMethod> | |
| <OrderDiscountTotal>-37.5</OrderDiscountTotal> | |
| <CartDiscountTotal>-37.5</CartDiscountTotal> | |
| <DiscountTotal>-37.5</DiscountTotal> | |
| <ShippingTotal>25</ShippingTotal> | |
| <ShippingTaxTotal>0.00</ShippingTaxTotal> | |
| <OrderTotal>362.5</OrderTotal> | |
| <TaxTotal>0.00</TaxTotal> | |
| <CompletedDate>?</CompletedDate> | |
| <CustomerNote/> | |
| <CustomerId>?</CustomerId> | |
| <OrderLineItems> | |
| <SKU>MON1032690</SKU> | |
| <Quantity>1</Quantity> | |
| <Price>295</Price> | |
| <LineTotal>295</LineTotal> | |
| <Meta/> | |
| </OrderLineItems> | |
| <OrderLineItems> | |
| <SKU>MON1009553</SKU> | |
| <Quantity>1</Quantity> | |
| <Price>30</Price> | |
| <LineTotal>30</LineTotal> | |
| <Meta/> | |
| </OrderLineItems> | |
| <OrderLineItems> | |
| <SKU>MON1004449</SKU> | |
| <Quantity>1</Quantity> | |
| <Price>50</Price> | |
| <LineTotal>50</LineTotal> | |
| <Meta/> | |
| </OrderLineItems> | |
| </Order> | |
| </Orders> |
...and what's a LineTotal?
Author
@nivlaps no apparently <OrderLineItems> are not nested. <LineTotal> is the sum if you have ordered > 1 of the same product.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nice! Are the OrderLineItems really not a nested structure? I mean, no
<OrderLineItems><OrderLineItem/></OrderLineItems>?