-
Notifications
You must be signed in to change notification settings - Fork 1.7k
GraphQL: Add support for downloadable/gift card products in customer … #7716
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good...just one minor question.
--- | --- | --- | ||
`additional_data` | [[KeyValue](#KeyValue)] | Additional data per payment method type | ||
`name` | String! | The label that describes the payment method | ||
`type` | String! | The payment method code that indicates how the order was paid for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we/should we list the possible payment method codes that this attribute can return?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No. The payment reference section is meant to be definitive source of that. Moreover, 3rd party payment processors should be supporting GraphQL now or soon, and we can't know their values.
running tests |
Hi @keharper, thank you for your contribution! |
…orders
Purpose of this pull request
This pull request (PR) adds attributes that support downloadable products and gift cards in a customer order.
I also added schema changes made in internal ticket MC-35987
Affected DevDocs pages
Links to Magento source code