You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/code/Magento/PaypalGraphQl/etc/schema.graphqls
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ type Query {
7
7
}
8
8
9
9
typeMutation {
10
-
createPaypalExpressToken(input: PaypalExpressTokenInput!): PaypalExpressToken@resolver(class: "\\Magento\\PaypalGraphQl\\Model\\Resolver\\PaypalExpressToken") @doc(description:"Initiates an Express Checkout transaction and receives a token. Use this mutation for Express Checkout and Payments Standard payment methods.")
10
+
createPaypalExpressToken(input: PaypalExpressTokenInput!): PaypalExpressTokenOutput@resolver(class: "\\Magento\\PaypalGraphQl\\Model\\Resolver\\PaypalExpressToken") @doc(description:"Initiates an Express Checkout transaction and receives a token. Use this mutation for Express Checkout and Payments Standard payment methods.")
11
11
createPayflowProToken(input: PayflowProTokenInput!): CreatePayflowProTokenOutput@resolver(class: "\\Magento\\PaypalGraphQl\\Model\\Resolver\\PayflowProToken") @doc(description: "Initiates a transaction and receives a token. Use this mutation for Payflow Pro and Payments Pro payment methods")
12
12
handlePayflowProResponse(input: PayflowProResponseInput!): PayflowProResponseOutput@resolver(class: "\\Magento\\PaypalGraphQl\\Model\\Resolver\\PayflowProResponse") @doc(description: "Handles payment response and saves payment in Quote. Use this mutations for Payflow Pro and Payments Pro payment methods.")
express_button: Boolean@doc(description: "Indicates whether the buyer selected the quick checkout button. The default value is false")
21
21
}
22
22
23
-
typePaypalExpressToken@doc(description: "Contains the token returned by PayPal and a set of URLs that allow the buyer to authorize payment and adjust checkout details. Applies to Express Checkout and Payments Standard payment methods.") {
23
+
typePaypalExpressToken@doc(description: "Deprecated: use type `PaypalExpressTokenOutput` instead") {
24
+
token: String@deprecated(reason: "Use field `token` of type `PaypalExpressTokenOutput` instead") @doc(description:"The token returned by PayPal")
25
+
paypal_urls: PaypalExpressUrlList@deprecated(reason: "Use field `paypal_urls` of type `PaypalExpressTokenOutput` instead") @doc(description:"A set of URLs that allow the buyer to authorize payment and adjust checkout details")
26
+
}
27
+
28
+
typePaypalExpressTokenOutput@doc(description: "Contains the token returned by PayPal and a set of URLs that allow the buyer to authorize payment and adjust checkout details. Applies to Express Checkout and Payments Standard payment methods.") {
24
29
token: String@doc(description:"The token returned by PayPal")
25
30
paypal_urls: PaypalExpressUrlList@doc(description:"A set of URLs that allow the buyer to authorize payment and adjust checkout details")
0 commit comments