Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 
 

48 rader
2.1 KiB

  1. # Copyright © Magento, Inc. All rights reserved.
  2. # See COPYING.txt for license details.
  3. type StoreConfig {
  4. allow_order : String @doc(description: "The value of the Allow Gift Messages on Order Level option")
  5. allow_items : String @doc(description: "The value of the Allow Gift Messages for Order Items option")
  6. }
  7. type Cart {
  8. gift_message: GiftMessage @resolver (class: "\\Magento\\GiftMessageGraphQl\\Model\\Resolver\\Cart\\GiftMessage") @doc(description: "The entered gift message for the cart")
  9. }
  10. type SimpleCartItem {
  11. gift_message: GiftMessage @resolver (class: "\\Magento\\GiftMessageGraphQl\\Model\\Resolver\\Cart\\Item\\GiftMessage") @doc(description: "The entered gift message for the cart item")
  12. }
  13. type ConfigurableCartItem {
  14. gift_message: GiftMessage @resolver (class: "\\Magento\\GiftMessageGraphQl\\Model\\Resolver\\Cart\\Item\\GiftMessage") @doc(description: "The entered gift message for the cart item")
  15. }
  16. type BundleCartItem {
  17. gift_message: GiftMessage @resolver (class: "\\Magento\\GiftMessageGraphQl\\Model\\Resolver\\Cart\\Item\\GiftMessage") @doc(description: "The entered gift message for the cart item")
  18. }
  19. type GiftMessage @doc(description: "Contains the text of a gift message, its sender, and recipient") {
  20. to: String! @doc(description: "Recipient name")
  21. from: String! @doc(description: "Sender name")
  22. message: String! @doc(description: "Gift message text")
  23. }
  24. input CartItemUpdateInput {
  25. gift_message: GiftMessageInput @doc(description: "Gift message details for the cart item")
  26. }
  27. input GiftMessageInput @doc(description: "Contains the text of a gift message, its sender, and recipient") {
  28. to: String! @doc(description: "Recipient name")
  29. from: String! @doc(description: "Sender name")
  30. message: String! @doc(description: "Gift message text")
  31. }
  32. type SalesItemInterface {
  33. gift_message: GiftMessage @doc(description: "The entered gift message for the order item")
  34. }
  35. type CustomerOrder {
  36. gift_message: GiftMessage @resolver (class: "\\Magento\\GiftMessageGraphQl\\Model\\Resolver\\Order\\GiftMessage") @doc(description: "The entered gift message for the order")
  37. }