This repository was archived by the owner on Dec 19, 2019. It is now read-only.
File tree 1 file changed +2
-6
lines changed
app/code/Magento/QuoteGraphQl/etc 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ type Cart {
103
103
applied_coupon : AppliedCoupon
104
104
shipping_addresses : [CartAddress ]! @resolver (class : " \\ Magento\\ QuoteGraphQl\\ Model\\ Resolver\\ ShippingAddresses" )
105
105
billing_address : CartAddress ! @resolver (class : " \\ Magento\\ QuoteGraphQl\\ Model\\ Resolver\\ BillingAddress" )
106
- available_payment_methods : AvailablePaymentMethods @resolver (class : "Magento\\QuoteGraphQl\\Model\\Resolver\\AvailablePaymentMethodsResolver" ) @doc (description : " Available payment methods" )
106
+ available_payment_methods : [CheckoutPaymentMethod] @resolver (class : "Magento\\QuoteGraphQl\\Model\\Resolver\\AvailablePaymentMethodsResolver" ) @doc (description : " Available payment methods" )
107
107
}
108
108
109
109
type CartAddress {
@@ -147,12 +147,8 @@ type CheckoutShippingMethod {
147
147
# TODO: Add more complex structure for shipping rates
148
148
}
149
149
150
- type AvailablePaymentMethods @doc (description : " The type contains list of available payment methods" ) {
151
- payment_methods : [CheckoutPaymentMethod] @doc (description : "Array of available payment methods" )
152
- }
153
-
154
150
type CheckoutPaymentMethod @doc (description : " The type contains list of active payment methods" ) {
155
- code : Int @doc (description : "The payment method code" )
151
+ code : String @doc (description : "The payment method code" )
156
152
title : String @doc (description : "The payment method title." )
157
153
}
158
154
You can’t perform that action at this time.
0 commit comments