Skip to content

Commit

Permalink
GraphQL-292: [Payment methods] Get list of available payment methods …
Browse files Browse the repository at this point in the history
…for current cart
  • Loading branch information
naydav committed Feb 19, 2019
1 parent 3c8ac9b commit fd114ec
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/code/Magento/QuoteGraphQl/etc/schema.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ type Cart {
applied_coupon: AppliedCoupon
shipping_addresses: [CartAddress]! @resolver(class: "\\Magento\\QuoteGraphQl\\Model\\Resolver\\ShippingAddresses")
billing_address: CartAddress! @resolver(class: "\\Magento\\QuoteGraphQl\\Model\\Resolver\\BillingAddress")
available_payment_methods : [CheckoutPaymentMethod] @resolver(class: "Magento\\QuoteGraphQl\\Model\\Resolver\\AvailablePaymentMethods") @doc(description: "Available payment methods")
available_payment_methods : [PaymentMethod] @resolver(class: "Magento\\QuoteGraphQl\\Model\\Resolver\\AvailablePaymentMethods") @doc(description: "Available payment methods")
}

type CartAddress {
Expand Down Expand Up @@ -156,9 +156,9 @@ type AvailableShippingMethod {
price_incl_tax: Float!
}

type CheckoutPaymentMethod @doc(description: "The type contains list of active payment methods") {
code : String @doc(description: "The payment method code")
title : String @doc(description: "The payment method title.")
type PaymentMethod {
code: String @doc(description: "The payment method code")
title: String @doc(description: "The payment method title.")
}

enum AdressTypeEnum {
Expand Down

0 comments on commit fd114ec

Please sign in to comment.