Add `PayPalExperienceProfileInput.userAction`
This commit is contained in:
parent
26f5ffdde3
commit
24ac32e6e6
|
@ -3963,10 +3963,10 @@
|
|||
},
|
||||
{
|
||||
"name" : "paypalExperienceProfile",
|
||||
"description": "Defines the experience profile used to render the approval flow.",
|
||||
"description" : "Defines the experience profile used to render the billing agreement approval flow.",
|
||||
"type" : {
|
||||
"kind" : "INPUT_OBJECT",
|
||||
"name": "PayPalExperienceProfileInput",
|
||||
"name" : "PayPalBillingAgreementExperienceProfileInput",
|
||||
"ofType" : null
|
||||
},
|
||||
"defaultValue" : null
|
||||
|
@ -3980,6 +3980,16 @@
|
|||
"ofType" : null
|
||||
},
|
||||
"defaultValue" : null
|
||||
},
|
||||
{
|
||||
"name" : "paypalProductAttributes",
|
||||
"description" : "Product attributes input for PayPal billing agreement.",
|
||||
"type" : {
|
||||
"kind" : "INPUT_OBJECT",
|
||||
"name" : "PayPalProductAttributesInput",
|
||||
"ofType" : null
|
||||
},
|
||||
"defaultValue" : null
|
||||
}
|
||||
],
|
||||
"interfaces": null,
|
||||
|
@ -6994,6 +7004,18 @@
|
|||
},
|
||||
"isDeprecated" : false,
|
||||
"deprecationReason" : null
|
||||
},
|
||||
{
|
||||
"name" : "preDisputeProgram",
|
||||
"description" : "The pre-dispute program of the dispute.",
|
||||
"args" : [],
|
||||
"type" : {
|
||||
"kind" : "ENUM",
|
||||
"name" : "PreDisputeProgram",
|
||||
"ofType" : null
|
||||
},
|
||||
"isDeprecated" : false,
|
||||
"deprecationReason" : null
|
||||
}
|
||||
],
|
||||
"inputFields": null,
|
||||
|
@ -7946,6 +7968,16 @@
|
|||
"ofType" : null
|
||||
},
|
||||
"defaultValue" : null
|
||||
},
|
||||
{
|
||||
"name" : "preDisputeProgram",
|
||||
"description" : "Find disputes with a given pre-dispute program.",
|
||||
"type" : {
|
||||
"kind" : "INPUT_OBJECT",
|
||||
"name" : "SearchPreDisputeProgramInput",
|
||||
"ofType" : null
|
||||
},
|
||||
"defaultValue" : null
|
||||
}
|
||||
],
|
||||
"interfaces": null,
|
||||
|
@ -16067,6 +16099,114 @@
|
|||
"enumValues" : null,
|
||||
"possibleTypes" : null
|
||||
},
|
||||
{
|
||||
"kind" : "ENUM",
|
||||
"name" : "PayPalBillingAgreementChargePattern",
|
||||
"description" : "Expected business/pricing model for a billing agreement (Charge Patterns).",
|
||||
"fields" : null,
|
||||
"inputFields" : null,
|
||||
"interfaces" : null,
|
||||
"enumValues" : [
|
||||
{
|
||||
"name" : "DEFERRED",
|
||||
"description" : "Pay after use, non-recurring post-paid, variable amount, irregular.",
|
||||
"isDeprecated" : false,
|
||||
"deprecationReason" : null
|
||||
},
|
||||
{
|
||||
"name" : "IMMEDIATE",
|
||||
"description" : "On-demand instant payments - non-recurring, pre-paid, variable amount.",
|
||||
"isDeprecated" : false,
|
||||
"deprecationReason" : null
|
||||
},
|
||||
{
|
||||
"name" : "RECURRING_POSTPAID",
|
||||
"description" : "Pay on a fixed date based on usage or consumption after the goods/service is delivered.",
|
||||
"isDeprecated" : false,
|
||||
"deprecationReason" : null
|
||||
},
|
||||
{
|
||||
"name" : "RECURRING_PREPAID",
|
||||
"description" : "Pay upfront fixed or variable amount on a fixed date before the goods/service is delivered.",
|
||||
"isDeprecated" : false,
|
||||
"deprecationReason" : null
|
||||
},
|
||||
{
|
||||
"name" : "THRESHOLD_POSTPAID",
|
||||
"description" : "Charge payer when the set amount is reached or monthly billing cycle, whichever comes first, after the goods/service is delivered.",
|
||||
"isDeprecated" : false,
|
||||
"deprecationReason" : null
|
||||
},
|
||||
{
|
||||
"name" : "THRESHOLD_PREPAID",
|
||||
"description" : "Charge payer when the set amount is reached or monthly billing cycle, whichever comes first, before the goods/service is delivered.",
|
||||
"isDeprecated" : false,
|
||||
"deprecationReason" : null
|
||||
}
|
||||
],
|
||||
"possibleTypes" : null
|
||||
},
|
||||
{
|
||||
"kind" : "INPUT_OBJECT",
|
||||
"name" : "PayPalBillingAgreementExperienceProfileInput",
|
||||
"description" : "Controls the experience in a PayPal billing agreement approval flow.",
|
||||
"fields" : null,
|
||||
"inputFields" : [
|
||||
{
|
||||
"name" : "brandName",
|
||||
"description" : "Merchant brand name to be displayed on the PayPal approval pages.",
|
||||
"type" : {
|
||||
"kind" : "SCALAR",
|
||||
"name" : "String",
|
||||
"ofType" : null
|
||||
},
|
||||
"defaultValue" : null
|
||||
},
|
||||
{
|
||||
"name" : "collectShippingAddress",
|
||||
"description" : "Indicates whether a shipping address will be collected from the customer during the agreement approval flow.",
|
||||
"type" : {
|
||||
"kind" : "SCALAR",
|
||||
"name" : "Boolean",
|
||||
"ofType" : null
|
||||
},
|
||||
"defaultValue" : null
|
||||
},
|
||||
{
|
||||
"name" : "landingPageType",
|
||||
"description" : "Specifies the PayPal page to display when a user lands on the PayPal site to complete the payment.",
|
||||
"type" : {
|
||||
"kind" : "ENUM",
|
||||
"name" : "PayPalLandingPageType",
|
||||
"ofType" : null
|
||||
},
|
||||
"defaultValue" : null
|
||||
},
|
||||
{
|
||||
"name" : "locale",
|
||||
"description" : "Locale of the PayPal payment approval experience.",
|
||||
"type" : {
|
||||
"kind" : "SCALAR",
|
||||
"name" : "Language",
|
||||
"ofType" : null
|
||||
},
|
||||
"defaultValue" : null
|
||||
},
|
||||
{
|
||||
"name" : "shippingAddressEditable",
|
||||
"description" : "Indicates whether to enable user editing of the shipping address. Only applies when shipping address is provided by merchant.",
|
||||
"type" : {
|
||||
"kind" : "SCALAR",
|
||||
"name" : "Boolean",
|
||||
"ofType" : null
|
||||
},
|
||||
"defaultValue" : null
|
||||
}
|
||||
],
|
||||
"interfaces" : null,
|
||||
"enumValues" : null,
|
||||
"possibleTypes" : null
|
||||
},
|
||||
{
|
||||
"kind" : "INPUT_OBJECT",
|
||||
"name" : "PayPalBillingAgreementInput",
|
||||
|
@ -16373,6 +16513,16 @@
|
|||
"ofType" : null
|
||||
},
|
||||
"defaultValue" : null
|
||||
},
|
||||
{
|
||||
"name" : "userAction",
|
||||
"description" : "Presents the customer with either the Continue or Pay Now (COMMIT) checkout flow. Default is Continue flow if the field is not provided.",
|
||||
"type" : {
|
||||
"kind" : "ENUM",
|
||||
"name" : "PayPalUserAction",
|
||||
"ofType" : null
|
||||
},
|
||||
"defaultValue" : null
|
||||
}
|
||||
],
|
||||
"interfaces": null,
|
||||
|
@ -16949,6 +17099,27 @@
|
|||
"enumValues" : null,
|
||||
"possibleTypes" : null
|
||||
},
|
||||
{
|
||||
"kind" : "INPUT_OBJECT",
|
||||
"name" : "PayPalProductAttributesInput",
|
||||
"description" : "Product attributes input for PayPal billing agreement.",
|
||||
"fields" : null,
|
||||
"inputFields" : [
|
||||
{
|
||||
"name" : "paypalBillingAgreementChargePattern",
|
||||
"description" : "Expected business/pricing model for a billing agreement (Charge Patterns).",
|
||||
"type" : {
|
||||
"kind" : "ENUM",
|
||||
"name" : "PayPalBillingAgreementChargePattern",
|
||||
"ofType" : null
|
||||
},
|
||||
"defaultValue" : null
|
||||
}
|
||||
],
|
||||
"interfaces" : null,
|
||||
"enumValues" : null,
|
||||
"possibleTypes" : null
|
||||
},
|
||||
{
|
||||
"kind" : "OBJECT",
|
||||
"name" : "PayPalQualifyingFinancingOption",
|
||||
|
@ -17600,6 +17771,29 @@
|
|||
"enumValues" : null,
|
||||
"possibleTypes" : null
|
||||
},
|
||||
{
|
||||
"kind" : "ENUM",
|
||||
"name" : "PayPalUserAction",
|
||||
"description" : "PayPal User action type.",
|
||||
"fields" : null,
|
||||
"inputFields" : null,
|
||||
"interfaces" : null,
|
||||
"enumValues" : [
|
||||
{
|
||||
"name" : "COMMIT",
|
||||
"description" : null,
|
||||
"isDeprecated" : false,
|
||||
"deprecationReason" : null
|
||||
},
|
||||
{
|
||||
"name" : "CONTINUE",
|
||||
"description" : null,
|
||||
"isDeprecated" : false,
|
||||
"deprecationReason" : null
|
||||
}
|
||||
],
|
||||
"possibleTypes" : null
|
||||
},
|
||||
{
|
||||
"kind" : "INTERFACE",
|
||||
"name" : "Payment",
|
||||
|
@ -19490,6 +19684,29 @@
|
|||
"enumValues" : null,
|
||||
"possibleTypes" : null
|
||||
},
|
||||
{
|
||||
"kind" : "ENUM",
|
||||
"name" : "PreDisputeProgram",
|
||||
"description" : "The pre-dispute program of the dispute.",
|
||||
"fields" : null,
|
||||
"inputFields" : null,
|
||||
"interfaces" : null,
|
||||
"enumValues" : [
|
||||
{
|
||||
"name" : "NONE",
|
||||
"description" : "The dispute does not have a pre-dispute program.",
|
||||
"isDeprecated" : false,
|
||||
"deprecationReason" : null
|
||||
},
|
||||
{
|
||||
"name" : "VISA_RDR",
|
||||
"description" : "The dispute is part of the Visa Rapid Dispute Resolution (RDR) program.",
|
||||
"isDeprecated" : false,
|
||||
"deprecationReason" : null
|
||||
}
|
||||
],
|
||||
"possibleTypes" : null
|
||||
},
|
||||
{
|
||||
"kind" : "ENUM",
|
||||
"name" : "ProcessorDeclineType",
|
||||
|
@ -20176,6 +20393,18 @@
|
|||
},
|
||||
"isDeprecated" : false,
|
||||
"deprecationReason" : null
|
||||
},
|
||||
{
|
||||
"name" : "paymentInitiatedAt",
|
||||
"description" : "The refund date and time as reported by the in-store payment terminal.",
|
||||
"args" : [],
|
||||
"type" : {
|
||||
"kind" : "SCALAR",
|
||||
"name" : "Timestamp",
|
||||
"ofType" : null
|
||||
},
|
||||
"isDeprecated" : false,
|
||||
"deprecationReason" : null
|
||||
}
|
||||
],
|
||||
"inputFields": null,
|
||||
|
@ -24021,6 +24250,46 @@
|
|||
"ofType" : null
|
||||
},
|
||||
"defaultValue" : null
|
||||
},
|
||||
{
|
||||
"name" : "authorizationExpiredAt",
|
||||
"description" : "Find transactions with a given authorization expired at time.",
|
||||
"type" : {
|
||||
"kind" : "INPUT_OBJECT",
|
||||
"name" : "SearchTimestampInput",
|
||||
"ofType" : null
|
||||
},
|
||||
"defaultValue" : null
|
||||
},
|
||||
{
|
||||
"name" : "authorizedAt",
|
||||
"description" : "Find transactions with a given authorized at time.",
|
||||
"type" : {
|
||||
"kind" : "INPUT_OBJECT",
|
||||
"name" : "SearchTimestampInput",
|
||||
"ofType" : null
|
||||
},
|
||||
"defaultValue" : null
|
||||
},
|
||||
{
|
||||
"name" : "gatewayRejectedAt",
|
||||
"description" : "Find transactions with a given gateway rejected at time.",
|
||||
"type" : {
|
||||
"kind" : "INPUT_OBJECT",
|
||||
"name" : "SearchTimestampInput",
|
||||
"ofType" : null
|
||||
},
|
||||
"defaultValue" : null
|
||||
},
|
||||
{
|
||||
"name" : "processorDeclinedAt",
|
||||
"description" : "Find transactions with a given processor declined at time.",
|
||||
"type" : {
|
||||
"kind" : "INPUT_OBJECT",
|
||||
"name" : "SearchTimestampInput",
|
||||
"ofType" : null
|
||||
},
|
||||
"defaultValue" : null
|
||||
}
|
||||
],
|
||||
"interfaces": null,
|
||||
|
@ -24056,6 +24325,45 @@
|
|||
"enumValues" : null,
|
||||
"possibleTypes" : null
|
||||
},
|
||||
{
|
||||
"kind" : "INPUT_OBJECT",
|
||||
"name" : "SearchPreDisputeProgramInput",
|
||||
"description" : "Input fields for searching for a dispute with a given pre-dispute program.",
|
||||
"fields" : null,
|
||||
"inputFields" : [
|
||||
{
|
||||
"name" : "is",
|
||||
"description" : "The dispute's pre-dispute program is exactly this value.",
|
||||
"type" : {
|
||||
"kind" : "ENUM",
|
||||
"name" : "PreDisputeProgram",
|
||||
"ofType" : null
|
||||
},
|
||||
"defaultValue" : null
|
||||
},
|
||||
{
|
||||
"name" : "in",
|
||||
"description" : "The dispute's pre-dispute program is one of these values.",
|
||||
"type" : {
|
||||
"kind" : "LIST",
|
||||
"name" : null,
|
||||
"ofType" : {
|
||||
"kind" : "NON_NULL",
|
||||
"name" : null,
|
||||
"ofType" : {
|
||||
"kind" : "ENUM",
|
||||
"name" : "PreDisputeProgram",
|
||||
"ofType" : null
|
||||
}
|
||||
}
|
||||
},
|
||||
"defaultValue" : null
|
||||
}
|
||||
],
|
||||
"interfaces" : null,
|
||||
"enumValues" : null,
|
||||
"possibleTypes" : null
|
||||
},
|
||||
{
|
||||
"kind": "INPUT_OBJECT",
|
||||
"name": "SearchRangeInput",
|
||||
|
@ -34780,6 +35088,6 @@
|
|||
}
|
||||
},
|
||||
"extensions": {
|
||||
"requestId": "b0a5a574-0298-4b69-8406-f2db0b1c6e30"
|
||||
"requestId" : "1773a68c-af86-410b-aea2-e03390380697"
|
||||
}
|
||||
}
|
|
@ -18,6 +18,7 @@ import com.braintree.graphql.client.type.PayPalExperienceProfileInput;
|
|||
import com.braintree.graphql.client.type.PayPalIntent;
|
||||
import com.braintree.graphql.client.type.PayPalLandingPageType;
|
||||
import com.braintree.graphql.client.type.PayPalOneTimePaymentInput;
|
||||
import com.braintree.graphql.client.type.PayPalUserAction;
|
||||
import com.braintree.graphql.client.type.TokenizePayPalOneTimePaymentInput;
|
||||
import com.braintree.graphql.client.type.TransactionInput;
|
||||
import com.braintree.graphql.clientoperation.ChargePayPalOneTimePaymentMutation;
|
||||
|
@ -101,7 +102,8 @@ class BraintreeGraphqlClient {
|
|||
Optional.present(false),
|
||||
Optional.present(PayPalLandingPageType.LOGIN),
|
||||
Optional.present(locale),
|
||||
Optional.absent())),
|
||||
Optional.absent(),
|
||||
Optional.present(PayPalUserAction.COMMIT))),
|
||||
Optional.absent(),
|
||||
Optional.absent(),
|
||||
returnUrl,
|
||||
|
|
Loading…
Reference in New Issue