Skip to content

Commit d29468d

Browse files
committed
add data to schema
1 parent 8513dfd commit d29468d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

app/code/Magento/PaypalGraphQl/etc/schema.graphqls

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ input PaymentMethodInput {
5151
payflow_link: PayflowLinkInput @doc(description:"Required input for PayPal Payflow Link and Payments Advanced payments")
5252
payflowpro: PayflowProInput @doc(description: "Required input type for PayPal Payflow Pro and Payment Pro payments")
5353
hosted_pro: HostedProInput @doc(description:"Required input for PayPal Hosted pro payments")
54+
payflowpro_cc_vault: VaultTokenInput
5455
}
5556

5657
input HostedProInput @doc(description:"A set of relative URLs that PayPal will use in response to various actions during the authorization process. Magento prepends the base URL to this value to create a full URL. For example, if the full URL is https://www.example.com/path/to/page.html, the relative URL is path/to/page.html. Use this input for Payments Pro Hosted Solution payment method.") {
@@ -102,6 +103,7 @@ input PayflowProTokenInput @doc(description:"Input required to fetch payment tok
102103

103104
input PayflowProInput @doc(description:"Required input for Payflow Pro and Payments Pro payment methods.") {
104105
cc_details: CreditCardDetailsInput! @doc(description: "Required input for credit card related information")
106+
is_active_payment_token_enabler: Boolean! @doc(description:"States whether an entered by a customer credit/debit card should be tokenized for later usage. Required only if Vault is enabled for PayPal Payflow Pro payment integration.")
105107
}
106108

107109
input CreditCardDetailsInput @doc(description:"Required fields for Payflow Pro and Payments Pro credit card payments") {
@@ -141,3 +143,7 @@ input PayflowProResponseInput @doc(description:"Input required to complete payme
141143
type PayflowProResponseOutput {
142144
cart: Cart!
143145
}
146+
147+
input VaultTokenInput @doc(description:"Required input for payment methods with Vault support.") {
148+
public_hash: String! @doc(description: "The public hash of the payment token")
149+
}

0 commit comments

Comments
 (0)