magento / graphql-ce

[ARCHIVED] Please use magento/magento2 project
https://github.com/magento/magento2
Open Software License 3.0
131 stars 156 forks source link

MyAccount :: Order Details :: Invoice Details by Order Number #1015

Closed lenaorobei closed 4 years ago

lenaorobei commented 5 years ago

Description (*)

As a Magento end Customer,

I want to see invoice details in my account

so that

I can know the right status and payment/pricing details for my order.

Acceptance Criteria:

Additional information

type Invoice @doc(description: "Invoice details"){
    id: ID! @doc(description: "invoice unique identifier") # `base64encode` representation of `increment_id`
    number: String! @doc(description: "document number")
    prices: InvoicePrices! @doc(description: "invoice prices details")
    items: [InvoiceItem]! @doc(description: "invoiced product details")
}

type InvoiceItem implements SalesItemInterface @doc(description: "Invoice item details"){
    quantity_invoiced: Float! @doc(description: "number of invoiced items")
}

type InvoicePrices implements SalesPricesInterface @doc(description: "Invoice prices details"){

}

Implementation should be based on approved proposal: https://github.com/magento/architecture/pull/312

lenaorobei commented 4 years ago

Closed in order to not to increase tech debt and keep feature parity with storefront approach.