From 0303e2c0c99ff3651e20497bd69be2524a043a1b Mon Sep 17 00:00:00 2001
From: brluk and japatel
Date: Tue, 24 Oct 2017 12:05:49 -0500
Subject: [PATCH] Updated samples and its documentation
---
sample/billing/GetBillingAgreement.php | 3 +-
sample/billing/SuspendBillingAgreement.php | 7 +-
sample/billing/UpdateBillingAgreement.php | 4 +-
sample/doc/assets/behavior.js | 3344 +++++++++++++++--
.../CreateBillingAgreementWithPayPal.html | 2 +-
sample/doc/billing/CreatePlan.html | 2 +-
sample/doc/billing/DeletePlan.html | 2 +-
sample/doc/billing/ExecuteAgreement.html | 2 +-
sample/doc/billing/GetBillingAgreement.html | 6 +-
sample/doc/billing/GetPlan.html | 2 +-
sample/doc/billing/ListPlans.html | 2 +-
.../billing/ReactivateBillingAgreement.html | 2 +-
.../billing/SearchBillingTransactions.html | 2 +-
.../doc/billing/SuspendBillingAgreement.html | 8 +-
.../doc/billing/UpdateBillingAgreement.html | 6 +-
sample/doc/billing/UpdatePlan.html | 2 +-
.../billing/UpdatePlanPaymentDefinitions.html | 2 +-
.../CreateInvoiceTemplate.html | 2 +-
.../DeleteInvoiceTemplate.html | 2 +-
.../GetAllInvoiceTemplates.html | 2 +-
.../invoice-templates/GetInvoiceTemplate.html | 2 +-
.../UpdateInvoiceTemplate.html | 2 +-
sample/doc/invoice/CancelInvoice.html | 2 +-
sample/doc/invoice/CreateInvoice.html | 2 +-
.../doc/invoice/CreateThirdPartyInvoice.html | 2 +-
sample/doc/invoice/DeleteInvoice.html | 2 +-
sample/doc/invoice/GetInvoice.html | 2 +-
sample/doc/invoice/GetNextInvoiceNumber.html | 2 +-
sample/doc/invoice/GetThirdPartyInvoice.html | 2 +-
sample/doc/invoice/ListInvoice.html | 2 +-
sample/doc/invoice/RecordPayment.html | 2 +-
sample/doc/invoice/RecordRefund.html | 2 +-
sample/doc/invoice/RemindInvoice.html | 2 +-
sample/doc/invoice/RetrieveQRCode.html | 2 +-
sample/doc/invoice/SearchInvoices.html | 2 +-
sample/doc/invoice/SendInvoice.html | 2 +-
sample/doc/invoice/UpdateInvoice.html | 2 +-
.../GenerateAccessTokenFromRefreshToken.html | 2 +-
sample/doc/lipp/GetUserInfo.html | 2 +-
sample/doc/lipp/ObtainUserConsent.html | 2 +-
sample/doc/lipp/UserConsentRedirect.html | 2 +-
sample/doc/notifications/CreateWebhook.html | 2 +-
.../doc/notifications/DeleteAllWebhooks.html | 2 +-
sample/doc/notifications/DeleteWebhook.html | 2 +-
sample/doc/notifications/GetWebhook.html | 2 +-
.../ListSubscribedWebhookEventTypes.html | 2 +-
sample/doc/notifications/ListWebhooks.html | 2 +-
.../notifications/SearchWebhookEvents.html | 2 +-
sample/doc/notifications/UpdateWebhook.html | 2 +-
.../notifications/ValidateWebhookEvent.html | 10 +-
.../notifications/WebhookEventTypesList.html | 2 +-
.../payment-experience/CreateWebProfile.html | 2 +-
.../payment-experience/DeleteWebProfile.html | 2 +-
.../doc/payment-experience/GetWebProfile.html | 2 +-
.../payment-experience/ListWebProfiles.html | 2 +-
.../PartiallyUpdateWebProfile.html | 2 +-
.../payment-experience/UpdateWebProfile.html | 2 +-
.../payments/AuthorizePaymentUsingPayPal.html | 2 +-
sample/doc/payments/CreateFuturePayment.html | 2 +-
sample/doc/payments/CreatePayment.html | 85 -
.../payments/CreatePaymentUsingPayPal.html | 2 +-
.../doc/payments/CreateThirdPartyPayment.html | 2 +-
sample/doc/payments/ExecutePayment.html | 3 +-
sample/doc/payments/GetPayment.html | 7 +-
sample/doc/payments/ListPayments.html | 4 +-
sample/doc/payments/OrderAuthorize.html | 2 +-
sample/doc/payments/OrderCapture.html | 2 +-
.../payments/OrderCreateForAuthorization.html | 2 +-
.../doc/payments/OrderCreateForCapture.html | 2 +-
sample/doc/payments/OrderCreateForVoid.html | 2 +-
.../doc/payments/OrderCreateUsingPayPal.html | 2 +-
sample/doc/payments/OrderDoVoid.html | 2 +-
sample/doc/payments/OrderGet.html | 2 +-
sample/doc/payments/UpdatePayment.html | 2 +-
sample/doc/payouts/CancelPayoutItem.html | 2 +-
sample/doc/payouts/CreateBatchPayout.html | 2 +-
sample/doc/payouts/CreateSinglePayout.html | 2 +-
sample/doc/payouts/GetPayoutBatchStatus.html | 2 +-
sample/doc/payouts/GetPayoutItemStatus.html | 2 +-
sample/doc/sale/GetSale.html | 11 +-
sample/doc/sale/RefundSale.html | 2 +-
sample/doc/vault/CreateBankAccount.html | 65 -
sample/doc/vault/CreateCreditCard.html | 34 -
sample/doc/vault/DeleteBankAccount.html | 13 -
sample/doc/vault/DeleteCreditCard.html | 14 -
sample/doc/vault/GetBankAccount.html | 14 -
sample/doc/vault/GetCreditCard.html | 18 -
sample/doc/vault/ListCreditCards.html | 21 -
sample/doc/vault/UpdateCreditCard.html | 36 -
sample/index.php | 67 -
sample/payments/GetPayment.php | 7 +-
sample/payments/ListPayments.php | 2 +-
sample/sale/GetSale.php | 9 +-
sample/vault/CreateCreditCard.php | 56 -
sample/vault/DeleteCreditCard.php | 24 -
sample/vault/GetCreditCard.php | 28 -
sample/vault/ListCreditCards.php | 36 -
sample/vault/UpdateCreditCard.php | 53 -
98 files changed, 3063 insertions(+), 1068 deletions(-)
delete mode 100644 sample/doc/payments/CreatePayment.html
delete mode 100644 sample/doc/vault/CreateBankAccount.html
delete mode 100644 sample/doc/vault/CreateCreditCard.html
delete mode 100644 sample/doc/vault/DeleteBankAccount.html
delete mode 100644 sample/doc/vault/DeleteCreditCard.html
delete mode 100644 sample/doc/vault/GetBankAccount.html
delete mode 100644 sample/doc/vault/GetCreditCard.html
delete mode 100644 sample/doc/vault/ListCreditCards.html
delete mode 100644 sample/doc/vault/UpdateCreditCard.html
delete mode 100644 sample/vault/CreateCreditCard.php
delete mode 100644 sample/vault/DeleteCreditCard.php
delete mode 100644 sample/vault/GetCreditCard.php
delete mode 100644 sample/vault/ListCreditCards.php
delete mode 100644 sample/vault/UpdateCreditCard.php
diff --git a/sample/billing/GetBillingAgreement.php b/sample/billing/GetBillingAgreement.php
index 97d5f82..ad9590b 100644
--- a/sample/billing/GetBillingAgreement.php
+++ b/sample/billing/GetBillingAgreement.php
@@ -5,10 +5,11 @@
// This sample code demonstrate how you can get a billing agreement, as documented here at:
// https://developer.paypal.com/webapps/developer/docs/api/#retrieve-an-agreement
// API used: /v1/payments/billing-agreements/
+require __DIR__ . '/../bootstrap.php';
// Retrieving the Agreement object from Create Agreement From Credit Card Sample
/** @var Agreement $createdAgreement */
-$createdAgreement = require 'CreateBillingAgreementWithCreditCard.php';
+$createdAgreement = "your billing agreement id";
use PayPal\Api\Agreement;
diff --git a/sample/billing/SuspendBillingAgreement.php b/sample/billing/SuspendBillingAgreement.php
index 67e4c3d..836c040 100644
--- a/sample/billing/SuspendBillingAgreement.php
+++ b/sample/billing/SuspendBillingAgreement.php
@@ -7,8 +7,7 @@
// API used: /v1/payments/billing-agreements//suspend
// Retrieving the Agreement object from Create Agreement Sample to demonstrate the List
-/** @var Agreement $createdAgreement */
-$createdAgreement = require 'CreateBillingAgreementWithCreditCard.php';
+require __DIR__ . '/../bootstrap.php';
use PayPal\Api\Agreement;
use PayPal\Api\AgreementStateDescriptor;
@@ -17,6 +16,10 @@ use PayPal\Api\AgreementStateDescriptor;
$agreementStateDescriptor = new AgreementStateDescriptor();
$agreementStateDescriptor->setNote("Suspending the agreement");
+// Fetch the agreement object
+/** @var Agreement $createdAgreement */
+$createdAgreement = null; // Replace this with your fetched agreement object
+
try {
$createdAgreement->suspend($agreementStateDescriptor, $apiContext);
diff --git a/sample/billing/UpdateBillingAgreement.php b/sample/billing/UpdateBillingAgreement.php
index 0f6edcd..9f54e9d 100644
--- a/sample/billing/UpdateBillingAgreement.php
+++ b/sample/billing/UpdateBillingAgreement.php
@@ -6,9 +6,11 @@
// https://developer.paypal.com/webapps/developer/docs/api/#update-an-agreement
// API used: /v1/payments/billing-agreements/
+require __DIR__ . '/../bootstrap.php';
+
// Retrieving the Agreement object from Create Agreement Sample to demonstrate the List
/** @var Agreement $createdAgreement */
-$createdAgreement = require 'CreateBillingAgreementWithCreditCard.php';
+$createdAgreement = 'your agreement id';
use PayPal\Api\Agreement;
use PayPal\Api\Patch;
diff --git a/sample/doc/assets/behavior.js b/sample/doc/assets/behavior.js
index 694c5af..78246cc 100644
--- a/sample/doc/assets/behavior.js
+++ b/sample/doc/assets/behavior.js
@@ -24,31 +24,43 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/billing/CreateBillingAgreementWithCreditCard.php",
- "projectPath": "billing/CreateBillingAgreementWithCreditCard.php",
- "targetPath": "billing/CreateBillingAgreementWithCreditCard",
- "pageTitle": "billing/CreateBillingAgreementWithCreditCard",
- "title": "CreateBillingAgreementWithCreditCard"
- },
- "depth": 2
- }, {
- "type": "file",
- "data": {
- "language": {
- "nameMatchers": [{}, ".fbp"],
- "pygmentsLexer": "php",
- "singleLineComment": ["//"],
- "ignorePrefix": "}",
- "foldPrefix": "^",
- "name": "PHP"
- },
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/billing/CreateBillingAgreementWithPayPal.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/billing/CreateBillingAgreementWithPayPal.php",
"projectPath": "billing/CreateBillingAgreementWithPayPal.php",
"targetPath": "billing/CreateBillingAgreementWithPayPal",
"pageTitle": "billing/CreateBillingAgreementWithPayPal",
"title": "CreateBillingAgreementWithPayPal"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Create Billing Agreement with PayPal as Payment Source",
+ "slug": "create-billing-agreement-with-paypal-as-payment-source"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Create Agreement",
+ "slug": "create-agreement"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Get redirect url",
+ "slug": "get-redirect-url"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -60,13 +72,51 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/billing/CreatePlan.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/billing/CreatePlan.php",
"projectPath": "billing/CreatePlan.php",
"targetPath": "billing/CreatePlan",
"pageTitle": "billing/CreatePlan",
"title": "CreatePlan"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Create Plan Sample",
+ "slug": "create-plan-sample"
+ },
+ "depth": 1
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Basic Information",
+ "slug": "basic-information"
+ },
+ "depth": 1
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Payment definitions for this billing plan.",
+ "slug": "payment-definitions-for-this-billing-plan"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Create Plan",
+ "slug": "create-plan"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -78,13 +128,24 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/billing/DeletePlan.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/billing/DeletePlan.php",
"projectPath": "billing/DeletePlan.php",
"targetPath": "billing/DeletePlan",
"pageTitle": "billing/DeletePlan",
"title": "DeletePlan"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Delete Plan Sample",
+ "slug": "delete-plan-sample"
+ },
+ "depth": 1
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -96,13 +157,51 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/billing/ExecuteAgreement.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/billing/ExecuteAgreement.php",
"projectPath": "billing/ExecuteAgreement.php",
"targetPath": "billing/ExecuteAgreement",
"pageTitle": "billing/ExecuteAgreement",
"title": "ExecuteAgreement"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Execute Agreement",
+ "slug": "execute-agreement"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 2,
+ "title": "Approval Status",
+ "slug": "approval-status"
+ },
+ "depth": 2
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 2,
+ "title": "Execute Agreement",
+ "slug": "execute-agreement"
+ },
+ "depth": 2
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 2,
+ "title": "Get Agreement",
+ "slug": "get-agreement"
+ },
+ "depth": 2
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -114,13 +213,24 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/billing/GetBillingAgreement.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/billing/GetBillingAgreement.php",
"projectPath": "billing/GetBillingAgreement.php",
"targetPath": "billing/GetBillingAgreement",
"pageTitle": "billing/GetBillingAgreement",
"title": "GetBillingAgreement"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Get Billing Agreement Sample",
+ "slug": "get-billing-agreement-sample"
+ },
+ "depth": 1
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -132,13 +242,24 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/billing/GetPlan.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/billing/GetPlan.php",
"projectPath": "billing/GetPlan.php",
"targetPath": "billing/GetPlan",
"pageTitle": "billing/GetPlan",
"title": "GetPlan"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Get Plan Sample",
+ "slug": "get-plan-sample"
+ },
+ "depth": 1
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -150,13 +271,24 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/billing/ListPlans.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/billing/ListPlans.php",
"projectPath": "billing/ListPlans.php",
"targetPath": "billing/ListPlans",
"pageTitle": "billing/ListPlans",
"title": "ListPlans"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Get List of Plan Sample",
+ "slug": "get-list-of-plan-sample"
+ },
+ "depth": 1
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -168,13 +300,24 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/billing/ReactivateBillingAgreement.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/billing/ReactivateBillingAgreement.php",
"projectPath": "billing/ReactivateBillingAgreement.php",
"targetPath": "billing/ReactivateBillingAgreement",
"pageTitle": "billing/ReactivateBillingAgreement",
"title": "ReactivateBillingAgreement"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Reactivate an agreement",
+ "slug": "reactivate-an-agreement"
+ },
+ "depth": 1
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -186,13 +329,24 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/billing/SearchBillingTransactions.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/billing/SearchBillingTransactions.php",
"projectPath": "billing/SearchBillingTransactions.php",
"targetPath": "billing/SearchBillingTransactions",
"pageTitle": "billing/SearchBillingTransactions",
"title": "SearchBillingTransactions"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Search Billing Transactions Sample",
+ "slug": "search-billing-transactions-sample"
+ },
+ "depth": 1
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -204,13 +358,24 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/billing/SuspendBillingAgreement.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/billing/SuspendBillingAgreement.php",
"projectPath": "billing/SuspendBillingAgreement.php",
"targetPath": "billing/SuspendBillingAgreement",
"pageTitle": "billing/SuspendBillingAgreement",
"title": "SuspendBillingAgreement"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Suspend an agreement",
+ "slug": "suspend-an-agreement"
+ },
+ "depth": 1
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -222,13 +387,24 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/billing/UpdateBillingAgreement.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/billing/UpdateBillingAgreement.php",
"projectPath": "billing/UpdateBillingAgreement.php",
"targetPath": "billing/UpdateBillingAgreement",
"pageTitle": "billing/UpdateBillingAgreement",
"title": "UpdateBillingAgreement"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Update an agreement",
+ "slug": "update-an-agreement"
+ },
+ "depth": 1
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -240,13 +416,35 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/billing/UpdatePlan.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/billing/UpdatePlan.php",
"projectPath": "billing/UpdatePlan.php",
"targetPath": "billing/UpdatePlan",
"pageTitle": "billing/UpdatePlan",
"title": "UpdatePlan"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Update a plan",
+ "slug": "update-a-plan"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Making Plan Active",
+ "slug": "making-plan-active"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -258,13 +456,35 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/billing/UpdatePlanPaymentDefinitions.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/billing/UpdatePlanPaymentDefinitions.php",
"projectPath": "billing/UpdatePlanPaymentDefinitions.php",
"targetPath": "billing/UpdatePlanPaymentDefinitions",
"pageTitle": "billing/UpdatePlanPaymentDefinitions",
"title": "UpdatePlanPaymentDefinitions"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Update a plan",
+ "slug": "update-a-plan"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Changing Plan Amount",
+ "slug": "changing-plan-amount"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}
]
}, {
@@ -286,13 +506,67 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/invoice-templates/CreateInvoiceTemplate.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/invoice-templates/CreateInvoiceTemplate.php",
"projectPath": "invoice-templates/CreateInvoiceTemplate.php",
"targetPath": "invoice-templates/CreateInvoiceTemplate",
"pageTitle": "invoice-templates/CreateInvoiceTemplate",
"title": "CreateInvoiceTemplate"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Create Invoice Template Sample",
+ "slug": "create-invoice-template-sample"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Invoice Template Item",
+ "slug": "invoice-template-item"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Invoice Template Data",
+ "slug": "invoice-template-data"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Template Settings",
+ "slug": "template-settings"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Template",
+ "slug": "template"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Create Invoice Template",
+ "slug": "create-invoice-template"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -304,13 +578,35 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/invoice-templates/DeleteInvoiceTemplate.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/invoice-templates/DeleteInvoiceTemplate.php",
"projectPath": "invoice-templates/DeleteInvoiceTemplate.php",
"targetPath": "invoice-templates/DeleteInvoiceTemplate",
"pageTitle": "invoice-templates/DeleteInvoiceTemplate",
"title": "DeleteInvoiceTemplate"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Delete Invoice Template Sample",
+ "slug": "delete-invoice-template-sample"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Delete Invoice Template",
+ "slug": "delete-invoice-template"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -322,13 +618,14 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/invoice-templates/GetAllInvoiceTemplates.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/invoice-templates/GetAllInvoiceTemplates.php",
"projectPath": "invoice-templates/GetAllInvoiceTemplates.php",
"targetPath": "invoice-templates/GetAllInvoiceTemplates",
"pageTitle": "invoice-templates/GetAllInvoiceTemplates",
"title": "GetAllInvoiceTemplates"
},
- "depth": 2
+ "depth": 2,
+ "outline": []
}, {
"type": "file",
"data": {
@@ -340,13 +637,35 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/invoice-templates/GetInvoiceTemplate.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/invoice-templates/GetInvoiceTemplate.php",
"projectPath": "invoice-templates/GetInvoiceTemplate.php",
"targetPath": "invoice-templates/GetInvoiceTemplate",
"pageTitle": "invoice-templates/GetInvoiceTemplate",
"title": "GetInvoiceTemplate"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Retrieve Invoice Template Sample",
+ "slug": "retrieve-invoice-template-sample"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Retrieve Invoice Template",
+ "slug": "retrieve-invoice-template"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -358,13 +677,51 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/invoice-templates/UpdateInvoiceTemplate.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/invoice-templates/UpdateInvoiceTemplate.php",
"projectPath": "invoice-templates/UpdateInvoiceTemplate.php",
"targetPath": "invoice-templates/UpdateInvoiceTemplate",
"pageTitle": "invoice-templates/UpdateInvoiceTemplate",
"title": "UpdateInvoiceTemplate"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Update Invoice Sample",
+ "slug": "update-invoice-sample"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Update Invoice",
+ "slug": "update-invoice"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "NOTE: These are the work-around added to the",
+ "slug": "note-these-are-the-work-around-added-to-the"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Update Invoice Template",
+ "slug": "update-invoice-template"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}
]
}, {
@@ -386,13 +743,43 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/invoice/CancelInvoice.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/invoice/CancelInvoice.php",
"projectPath": "invoice/CancelInvoice.php",
"targetPath": "invoice/CancelInvoice",
"pageTitle": "invoice/CancelInvoice",
"title": "CancelInvoice"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Cancel Invoice Sample",
+ "slug": "cancel-invoice-sample"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Cancel Notification Object",
+ "slug": "cancel-notification-object"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Cancel Invoice",
+ "slug": "cancel-invoice"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -404,13 +791,118 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/invoice/CreateInvoice.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/invoice/CreateInvoice.php",
"projectPath": "invoice/CreateInvoice.php",
"targetPath": "invoice/CreateInvoice",
"pageTitle": "invoice/CreateInvoice",
"title": "CreateInvoice"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Create Invoice Sample",
+ "slug": "create-invoice-sample"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Invoice Info",
+ "slug": "invoice-info"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Merchant Info",
+ "slug": "merchant-info"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Address Information",
+ "slug": "address-information"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Billing Information",
+ "slug": "billing-information"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Items List",
+ "slug": "items-list"
+ },
+ "depth": 3,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 4,
+ "title": "Tax Item",
+ "slug": "tax-item"
+ },
+ "depth": 4
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 4,
+ "title": "Tax Item",
+ "slug": "tax-item"
+ },
+ "depth": 4
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 4,
+ "title": "Final Discount",
+ "slug": "final-discount"
+ },
+ "depth": 4
+ }
+ ]
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Shipping Information",
+ "slug": "shipping-information"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Logo",
+ "slug": "logo"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Create Invoice",
+ "slug": "create-invoice"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -422,13 +914,99 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/invoice/CreateThirdPartyInvoice.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/invoice/CreateThirdPartyInvoice.php",
"projectPath": "invoice/CreateThirdPartyInvoice.php",
"targetPath": "invoice/CreateThirdPartyInvoice",
"pageTitle": "invoice/CreateThirdPartyInvoice",
"title": "CreateThirdPartyInvoice"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Create Third Party Invoice Sample",
+ "slug": "create-third-party-invoice-sample"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Invoice Info",
+ "slug": "invoice-info"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Merchant Info",
+ "slug": "merchant-info"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Address Information",
+ "slug": "address-information"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Billing Information",
+ "slug": "billing-information"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Items List",
+ "slug": "items-list"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Use Refresh Token obtained from Step 1.",
+ "slug": "use-refresh-token-obtained-from-step-1"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Create Invoice",
+ "slug": "create-invoice"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Send Invoice",
+ "slug": "send-invoice"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Send Invoice",
+ "slug": "send-invoice"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -440,13 +1018,35 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/invoice/DeleteInvoice.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/invoice/DeleteInvoice.php",
"projectPath": "invoice/DeleteInvoice.php",
"targetPath": "invoice/DeleteInvoice",
"pageTitle": "invoice/DeleteInvoice",
"title": "DeleteInvoice"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Delete Invoice Sample",
+ "slug": "delete-invoice-sample"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Delete Invoice",
+ "slug": "delete-invoice"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -458,13 +1058,35 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/invoice/GetInvoice.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/invoice/GetInvoice.php",
"projectPath": "invoice/GetInvoice.php",
"targetPath": "invoice/GetInvoice",
"pageTitle": "invoice/GetInvoice",
"title": "GetInvoice"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Get Invoice Sample",
+ "slug": "get-invoice-sample"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Retrieve Invoice",
+ "slug": "retrieve-invoice"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -476,13 +1098,35 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/invoice/GetNextInvoiceNumber.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/invoice/GetNextInvoiceNumber.php",
"projectPath": "invoice/GetNextInvoiceNumber.php",
"targetPath": "invoice/GetNextInvoiceNumber",
"pageTitle": "invoice/GetNextInvoiceNumber",
"title": "GetNextInvoiceNumber"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Get Next Invoice Number Sample",
+ "slug": "get-next-invoice-number-sample"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Get Next Invoice Number",
+ "slug": "get-next-invoice-number"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -494,7 +1138,7 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/invoice/GetThirdPartyInvoice.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/invoice/GetThirdPartyInvoice.php",
"projectPath": "invoice/GetThirdPartyInvoice.php",
"targetPath": "invoice/GetThirdPartyInvoice",
"pageTitle": "invoice/GetThirdPartyInvoice",
@@ -542,13 +1186,35 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/invoice/ListInvoice.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/invoice/ListInvoice.php",
"projectPath": "invoice/ListInvoice.php",
"targetPath": "invoice/ListInvoice",
"pageTitle": "invoice/ListInvoice",
"title": "ListInvoice"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "List Invoices Sample",
+ "slug": "list-invoices-sample"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Retrieve Invoices",
+ "slug": "retrieve-invoices"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -560,13 +1226,51 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/invoice/RecordPayment.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/invoice/RecordPayment.php",
"projectPath": "invoice/RecordPayment.php",
"targetPath": "invoice/RecordPayment",
"pageTitle": "invoice/RecordPayment",
"title": "RecordPayment"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Record Payment Sample",
+ "slug": "record-payment-sample"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Record Object",
+ "slug": "record-object"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Record Payment for Invoice",
+ "slug": "record-payment-for-invoice"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Retrieve Invoice",
+ "slug": "retrieve-invoice"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -578,13 +1282,51 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/invoice/RecordRefund.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/invoice/RecordRefund.php",
"projectPath": "invoice/RecordRefund.php",
"targetPath": "invoice/RecordRefund",
"pageTitle": "invoice/RecordRefund",
"title": "RecordRefund"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Record Refund Sample",
+ "slug": "record-refund-sample"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Record Object",
+ "slug": "record-object"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Record Refund for Invoice",
+ "slug": "record-refund-for-invoice"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Retrieve Invoice",
+ "slug": "retrieve-invoice"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -596,13 +1338,51 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/invoice/RemindInvoice.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/invoice/RemindInvoice.php",
"projectPath": "invoice/RemindInvoice.php",
"targetPath": "invoice/RemindInvoice",
"pageTitle": "invoice/RemindInvoice",
"title": "RemindInvoice"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Remind Invoice Sample",
+ "slug": "remind-invoice-sample"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Notification Object",
+ "slug": "notification-object"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Remind Invoice",
+ "slug": "remind-invoice"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Retrieve Invoice",
+ "slug": "retrieve-invoice"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -614,13 +1394,51 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/invoice/RetrieveQRCode.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/invoice/RetrieveQRCode.php",
"projectPath": "invoice/RetrieveQRCode.php",
"targetPath": "invoice/RetrieveQRCode",
"pageTitle": "invoice/RetrieveQRCode",
"title": "RetrieveQRCode"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Retrieve QR Code for Invoice Sample",
+ "slug": "retrieve-qr-code-for-invoice-sample"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Retrieve QR Code of Sent Invoice",
+ "slug": "retrieve-qr-code-of-sent-invoice"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Optionally Save to File",
+ "slug": "optionally-save-to-file"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Show the Image",
+ "slug": "show-the-image"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -632,13 +1450,43 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/invoice/SearchInvoices.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/invoice/SearchInvoices.php",
"projectPath": "invoice/SearchInvoices.php",
"targetPath": "invoice/SearchInvoices",
"pageTitle": "invoice/SearchInvoices",
"title": "SearchInvoices"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Search Invoices Sample",
+ "slug": "search-invoices-sample"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Search Object",
+ "slug": "search-object"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Search Invoices",
+ "slug": "search-invoices"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -650,13 +1498,43 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/invoice/SendInvoice.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/invoice/SendInvoice.php",
"projectPath": "invoice/SendInvoice.php",
"targetPath": "invoice/SendInvoice",
"pageTitle": "invoice/SendInvoice",
"title": "SendInvoice"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Create Invoice Sample",
+ "slug": "create-invoice-sample"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Send Invoice",
+ "slug": "send-invoice"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Retrieve Invoice",
+ "slug": "retrieve-invoice"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -668,13 +1546,59 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/invoice/UpdateInvoice.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/invoice/UpdateInvoice.php",
"projectPath": "invoice/UpdateInvoice.php",
"targetPath": "invoice/UpdateInvoice",
"pageTitle": "invoice/UpdateInvoice",
"title": "UpdateInvoice"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Update Invoice Sample",
+ "slug": "update-invoice-sample"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Update Invoice",
+ "slug": "update-invoice"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "NOTE: These are the work-around added to the",
+ "slug": "note-these-are-the-work-around-added-to-the"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Update Invoice",
+ "slug": "update-invoice"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Retrieve Invoice",
+ "slug": "retrieve-invoice"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}
]
}, {
@@ -696,13 +1620,24 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/lipp/GenerateAccessTokenFromRefreshToken.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/lipp/GenerateAccessTokenFromRefreshToken.php",
"projectPath": "lipp/GenerateAccessTokenFromRefreshToken.php",
"targetPath": "lipp/GenerateAccessTokenFromRefreshToken",
"pageTitle": "lipp/GenerateAccessTokenFromRefreshToken",
"title": "GenerateAccessTokenFromRefreshToken"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Obtain Access Token From Refresh Token",
+ "slug": "obtain-access-token-from-refresh-token"
+ },
+ "depth": 3
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -714,13 +1649,24 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/lipp/GetUserInfo.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/lipp/GetUserInfo.php",
"projectPath": "lipp/GetUserInfo.php",
"targetPath": "lipp/GetUserInfo",
"pageTitle": "lipp/GetUserInfo",
"title": "GetUserInfo"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Obtain Access Token From Refresh Token",
+ "slug": "obtain-access-token-from-refresh-token"
+ },
+ "depth": 3
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -732,13 +1678,24 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/lipp/ObtainUserConsent.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/lipp/ObtainUserConsent.php",
"projectPath": "lipp/ObtainUserConsent.php",
"targetPath": "lipp/ObtainUserConsent",
"pageTitle": "lipp/ObtainUserConsent",
"title": "ObtainUserConsent"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Get User Consent URL",
+ "slug": "get-user-consent-url"
+ },
+ "depth": 3
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -750,13 +1707,24 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/lipp/UserConsentRedirect.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/lipp/UserConsentRedirect.php",
"projectPath": "lipp/UserConsentRedirect.php",
"targetPath": "lipp/UserConsentRedirect",
"pageTitle": "lipp/UserConsentRedirect",
"title": "UserConsentRedirect"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "User Consent Response",
+ "slug": "user-consent-response"
+ },
+ "depth": 3
+ }
+ ]
}
]
}, {
@@ -778,13 +1746,62 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/notifications/CreateWebhook.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/notifications/CreateWebhook.php",
"projectPath": "notifications/CreateWebhook.php",
"targetPath": "notifications/CreateWebhook",
"pageTitle": "notifications/CreateWebhook",
"title": "CreateWebhook"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Create Webhook Sample",
+ "slug": "create-webhook-sample"
+ },
+ "depth": 1
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Basic Information",
+ "slug": "basic-information"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 4,
+ "title": "NOTE: Please note that you need an https url for paypal webhooks. You can however override the url with https, and accept",
+ "slug": "note-please-note-that-you-need-an-https-url-for-paypal-webhooks-you-can-however-override-the-url-with-https-and-accept"
+ },
+ "depth": 4
+ }
+ ]
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Event Types",
+ "slug": "event-types"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Create Webhook",
+ "slug": "create-webhook"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -796,13 +1813,46 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/notifications/DeleteAllWebhooks.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/notifications/DeleteAllWebhooks.php",
"projectPath": "notifications/DeleteAllWebhooks.php",
"targetPath": "notifications/DeleteAllWebhooks",
"pageTitle": "notifications/DeleteAllWebhooks",
"title": "DeleteAllWebhooks"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Delete All Webhook Sample",
+ "slug": "delete-all-webhook-sample"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 2,
+ "title": "Get Webhook Instance",
+ "slug": "get-webhook-instance"
+ },
+ "depth": 2,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Delete Webhook",
+ "slug": "delete-webhook"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -814,13 +1864,46 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/notifications/DeleteWebhook.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/notifications/DeleteWebhook.php",
"projectPath": "notifications/DeleteWebhook.php",
"targetPath": "notifications/DeleteWebhook",
"pageTitle": "notifications/DeleteWebhook",
"title": "DeleteWebhook"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Delete Webhook Sample",
+ "slug": "delete-webhook-sample"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 2,
+ "title": "Get Webhook Instance",
+ "slug": "get-webhook-instance"
+ },
+ "depth": 2,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Delete Webhook",
+ "slug": "delete-webhook"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -832,13 +1915,46 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/notifications/GetWebhook.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/notifications/GetWebhook.php",
"projectPath": "notifications/GetWebhook.php",
"targetPath": "notifications/GetWebhook",
"pageTitle": "notifications/GetWebhook",
"title": "GetWebhook"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Get Webhook Sample",
+ "slug": "get-webhook-sample"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 2,
+ "title": "Get Webhook ID.",
+ "slug": "get-webhook-id"
+ },
+ "depth": 2,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Get Webhook",
+ "slug": "get-webhook"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -850,13 +1966,46 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/notifications/ListSubscribedWebhookEventTypes.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/notifications/ListSubscribedWebhookEventTypes.php",
"projectPath": "notifications/ListSubscribedWebhookEventTypes.php",
"targetPath": "notifications/ListSubscribedWebhookEventTypes",
"pageTitle": "notifications/ListSubscribedWebhookEventTypes",
"title": "ListSubscribedWebhookEventTypes"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Get Webhook Sample",
+ "slug": "get-webhook-sample"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 2,
+ "title": "List Subscribed Event Types",
+ "slug": "list-subscribed-event-types"
+ },
+ "depth": 2,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Get List of Subscribed Event Types",
+ "slug": "get-list-of-subscribed-event-types"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -868,13 +2017,46 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/notifications/ListWebhooks.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/notifications/ListWebhooks.php",
"projectPath": "notifications/ListWebhooks.php",
"targetPath": "notifications/ListWebhooks",
"pageTitle": "notifications/ListWebhooks",
"title": "ListWebhooks"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Get All Webhooks Sample",
+ "slug": "get-all-webhooks-sample"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 2,
+ "title": "List Webhooks",
+ "slug": "list-webhooks"
+ },
+ "depth": 2,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Get List of All Webhooks",
+ "slug": "get-list-of-all-webhooks"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -886,13 +2068,54 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/notifications/SearchWebhookEvents.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/notifications/SearchWebhookEvents.php",
"projectPath": "notifications/SearchWebhookEvents.php",
"targetPath": "notifications/SearchWebhookEvents",
"pageTitle": "notifications/SearchWebhookEvents",
"title": "SearchWebhookEvents"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Search Webhook Events Sample",
+ "slug": "search-webhook-events-sample"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 2,
+ "title": "Get Webhook Instance",
+ "slug": "get-webhook-instance"
+ },
+ "depth": 2
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 2,
+ "title": "PLEASE NOTE:",
+ "slug": "please-note"
+ },
+ "depth": 2,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Search Webhook events",
+ "slug": "search-webhook-events"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -904,13 +2127,46 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/notifications/UpdateWebhook.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/notifications/UpdateWebhook.php",
"projectPath": "notifications/UpdateWebhook.php",
"targetPath": "notifications/UpdateWebhook",
"pageTitle": "notifications/UpdateWebhook",
"title": "UpdateWebhook"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Update Webhook Sample",
+ "slug": "update-webhook-sample"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 2,
+ "title": "Get Webhook ID.",
+ "slug": "get-webhook-id"
+ },
+ "depth": 2,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Get Webhook",
+ "slug": "get-webhook"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -922,13 +2178,24 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/notifications/ValidateWebhookEvent.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/notifications/ValidateWebhookEvent.php",
"projectPath": "notifications/ValidateWebhookEvent.php",
"targetPath": "notifications/ValidateWebhookEvent",
"pageTitle": "notifications/ValidateWebhookEvent",
"title": "ValidateWebhookEvent"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Validate Webhook",
+ "slug": "validate-webhook"
+ },
+ "depth": 1
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -940,13 +2207,35 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/notifications/WebhookEventTypesList.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/notifications/WebhookEventTypesList.php",
"projectPath": "notifications/WebhookEventTypesList.php",
"targetPath": "notifications/WebhookEventTypesList",
"pageTitle": "notifications/WebhookEventTypesList",
"title": "WebhookEventTypesList"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Get Reference List of all Webhook Event Types",
+ "slug": "get-reference-list-of-all-webhook-event-types"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Get List of all Webhook event types",
+ "slug": "get-list-of-all-webhook-event-types"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}
]
}, {
@@ -968,13 +2257,35 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/payment-experience/CreateWebProfile.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/payment-experience/CreateWebProfile.php",
"projectPath": "payment-experience/CreateWebProfile.php",
"targetPath": "payment-experience/CreateWebProfile",
"pageTitle": "payment-experience/CreateWebProfile",
"title": "CreateWebProfile"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Create Web Profile",
+ "slug": "create-web-profile"
+ },
+ "depth": 3,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 4,
+ "title": "Payment Web experience profile resource",
+ "slug": "payment-web-experience-profile-resource"
+ },
+ "depth": 4
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -986,13 +2297,24 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/payment-experience/DeleteWebProfile.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/payment-experience/DeleteWebProfile.php",
"projectPath": "payment-experience/DeleteWebProfile.php",
"targetPath": "payment-experience/DeleteWebProfile",
"pageTitle": "payment-experience/DeleteWebProfile",
"title": "DeleteWebProfile"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 4,
+ "title": "Delete Web Profile",
+ "slug": "delete-web-profile"
+ },
+ "depth": 4
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -1004,13 +2326,24 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/payment-experience/GetWebProfile.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/payment-experience/GetWebProfile.php",
"projectPath": "payment-experience/GetWebProfile.php",
"targetPath": "payment-experience/GetWebProfile",
"pageTitle": "payment-experience/GetWebProfile",
"title": "GetWebProfile"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Get Web Profile",
+ "slug": "get-web-profile"
+ },
+ "depth": 3
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -1022,13 +2355,24 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/payment-experience/ListWebProfiles.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/payment-experience/ListWebProfiles.php",
"projectPath": "payment-experience/ListWebProfiles.php",
"targetPath": "payment-experience/ListWebProfiles",
"pageTitle": "payment-experience/ListWebProfiles",
"title": "ListWebProfiles"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Retrieve List of All Web Profiles",
+ "slug": "retrieve-list-of-all-web-profiles"
+ },
+ "depth": 3
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -1040,13 +2384,32 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/payment-experience/PartiallyUpdateWebProfile.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/payment-experience/PartiallyUpdateWebProfile.php",
"projectPath": "payment-experience/PartiallyUpdateWebProfile.php",
"targetPath": "payment-experience/PartiallyUpdateWebProfile",
"pageTitle": "payment-experience/PartiallyUpdateWebProfile",
"title": "PartiallyUpdateWebProfile"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 4,
+ "title": "Partially Update Web Profile",
+ "slug": "partially-update-web-profile"
+ },
+ "depth": 4
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Create Patch Operation",
+ "slug": "create-patch-operation"
+ },
+ "depth": 3
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -1058,13 +2421,24 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/payment-experience/UpdateWebProfile.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/payment-experience/UpdateWebProfile.php",
"projectPath": "payment-experience/UpdateWebProfile.php",
"targetPath": "payment-experience/UpdateWebProfile",
"pageTitle": "payment-experience/UpdateWebProfile",
"title": "UpdateWebProfile"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 4,
+ "title": "Update Web Profile",
+ "slug": "update-web-profile"
+ },
+ "depth": 4
+ }
+ ]
}
]
}, {
@@ -1086,13 +2460,35 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/payments/AuthorizationCapture.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/payments/AuthorizationCapture.php",
"projectPath": "payments/AuthorizationCapture.php",
"targetPath": "payments/AuthorizationCapture",
"pageTitle": "payments/AuthorizationCapture",
"title": "AuthorizationCapture"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "AuthorizationCapture",
+ "slug": "authorizationcapture"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Capture Payment",
+ "slug": "capture-payment"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -1104,31 +2500,99 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/payments/AuthorizePayment.php",
- "projectPath": "payments/AuthorizePayment.php",
- "targetPath": "payments/AuthorizePayment",
- "pageTitle": "payments/AuthorizePayment",
- "title": "AuthorizePayment"
- },
- "depth": 2
- }, {
- "type": "file",
- "data": {
- "language": {
- "nameMatchers": [{}, ".fbp"],
- "pygmentsLexer": "php",
- "singleLineComment": ["//"],
- "ignorePrefix": "}",
- "foldPrefix": "^",
- "name": "PHP"
- },
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/payments/AuthorizePaymentUsingPayPal.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/payments/AuthorizePaymentUsingPayPal.php",
"projectPath": "payments/AuthorizePaymentUsingPayPal.php",
"targetPath": "payments/AuthorizePaymentUsingPayPal",
"pageTitle": "payments/AuthorizePaymentUsingPayPal",
"title": "AuthorizePaymentUsingPayPal"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Authorize Payment using PayPal as payment method",
+ "slug": "authorize-payment-using-paypal-as-payment-method"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Payer",
+ "slug": "payer"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Itemized information",
+ "slug": "itemized-information"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Additional payment details",
+ "slug": "additional-payment-details"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Amount",
+ "slug": "amount"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Transaction",
+ "slug": "transaction"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Redirect urls",
+ "slug": "redirect-urls"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Payment",
+ "slug": "payment"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Create Payment",
+ "slug": "create-payment"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Get redirect url",
+ "slug": "get-redirect-url"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -1140,13 +2604,83 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/payments/CreateFuturePayment.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/payments/CreateFuturePayment.php",
"projectPath": "payments/CreateFuturePayment.php",
"targetPath": "payments/CreateFuturePayment",
"pageTitle": "payments/CreateFuturePayment",
"title": "CreateFuturePayment"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Create Payment using PayPal as payment method",
+ "slug": "create-payment-using-paypal-as-payment-method"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Payer",
+ "slug": "payer"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Amount",
+ "slug": "amount"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Transaction",
+ "slug": "transaction"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Redirect urls",
+ "slug": "redirect-urls"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Payment",
+ "slug": "payment"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Get Refresh Token",
+ "slug": "get-refresh-token"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Create Future Payment",
+ "slug": "create-future-payment"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -1158,31 +2692,99 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/payments/CreatePayment.php",
- "projectPath": "payments/CreatePayment.php",
- "targetPath": "payments/CreatePayment",
- "pageTitle": "payments/CreatePayment",
- "title": "CreatePayment"
- },
- "depth": 2
- }, {
- "type": "file",
- "data": {
- "language": {
- "nameMatchers": [{}, ".fbp"],
- "pygmentsLexer": "php",
- "singleLineComment": ["//"],
- "ignorePrefix": "}",
- "foldPrefix": "^",
- "name": "PHP"
- },
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/payments/CreatePaymentUsingPayPal.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/payments/CreatePaymentUsingPayPal.php",
"projectPath": "payments/CreatePaymentUsingPayPal.php",
"targetPath": "payments/CreatePaymentUsingPayPal",
"pageTitle": "payments/CreatePaymentUsingPayPal",
"title": "CreatePaymentUsingPayPal"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Create Payment using PayPal as payment method",
+ "slug": "create-payment-using-paypal-as-payment-method"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Payer",
+ "slug": "payer"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Itemized information",
+ "slug": "itemized-information"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Additional payment details",
+ "slug": "additional-payment-details"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Amount",
+ "slug": "amount"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Transaction",
+ "slug": "transaction"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Redirect urls",
+ "slug": "redirect-urls"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Payment",
+ "slug": "payment"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Create Payment",
+ "slug": "create-payment"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Get redirect url",
+ "slug": "get-redirect-url"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -1194,31 +2796,107 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/payments/CreatePaymentUsingSavedCard.php",
- "projectPath": "payments/CreatePaymentUsingSavedCard.php",
- "targetPath": "payments/CreatePaymentUsingSavedCard",
- "pageTitle": "payments/CreatePaymentUsingSavedCard",
- "title": "CreatePaymentUsingSavedCard"
- },
- "depth": 2
- }, {
- "type": "file",
- "data": {
- "language": {
- "nameMatchers": [{}, ".fbp"],
- "pygmentsLexer": "php",
- "singleLineComment": ["//"],
- "ignorePrefix": "}",
- "foldPrefix": "^",
- "name": "PHP"
- },
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/payments/CreateThirdPartyPayment.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/payments/CreateThirdPartyPayment.php",
"projectPath": "payments/CreateThirdPartyPayment.php",
"targetPath": "payments/CreateThirdPartyPayment",
"pageTitle": "payments/CreateThirdPartyPayment",
"title": "CreateThirdPartyPayment"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Create Third Party Payment using PayPal as payment method",
+ "slug": "create-third-party-payment-using-paypal-as-payment-method"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Payer",
+ "slug": "payer"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Itemized information",
+ "slug": "itemized-information"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Additional payment details",
+ "slug": "additional-payment-details"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Amount",
+ "slug": "amount"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Payee",
+ "slug": "payee"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Transaction",
+ "slug": "transaction"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Redirect urls",
+ "slug": "redirect-urls"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Payment",
+ "slug": "payment"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Create Payment",
+ "slug": "create-payment"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Get redirect url",
+ "slug": "get-redirect-url"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -1230,13 +2908,51 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/payments/ExecutePayment.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/payments/ExecutePayment.php",
"projectPath": "payments/ExecutePayment.php",
"targetPath": "payments/ExecutePayment",
"pageTitle": "payments/ExecutePayment",
"title": "ExecutePayment"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Execute Payment Sample",
+ "slug": "execute-payment-sample"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Approval Status",
+ "slug": "approval-status"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Payment Execute",
+ "slug": "payment-execute"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Optional Changes to Amount",
+ "slug": "optional-changes-to-amount"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -1248,13 +2964,35 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/payments/GetAuthorization.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/payments/GetAuthorization.php",
"projectPath": "payments/GetAuthorization.php",
"targetPath": "payments/GetAuthorization",
"pageTitle": "payments/GetAuthorization",
"title": "GetAuthorization"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "GetAuthorization",
+ "slug": "getauthorization"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "GetAuthorization",
+ "slug": "getauthorization"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -1266,13 +3004,35 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/payments/GetCapture.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/payments/GetCapture.php",
"projectPath": "payments/GetCapture.php",
"targetPath": "payments/GetCapture",
"pageTitle": "payments/GetCapture",
"title": "GetCapture"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "GetCapture",
+ "slug": "getcapture"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Retrieve Capture details",
+ "slug": "retrieve-capture-details"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -1284,13 +3044,35 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/payments/GetPayment.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/payments/GetPayment.php",
"projectPath": "payments/GetPayment.php",
"targetPath": "payments/GetPayment",
"pageTitle": "payments/GetPayment",
"title": "GetPayment"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "GetPaymentSample",
+ "slug": "getpaymentsample"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Retrieve payment",
+ "slug": "retrieve-payment"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -1302,13 +3084,35 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/payments/ListPayments.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/payments/ListPayments.php",
"projectPath": "payments/ListPayments.php",
"targetPath": "payments/ListPayments",
"pageTitle": "payments/ListPayments",
"title": "ListPayments"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "GetPaymentList",
+ "slug": "getpaymentlist"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Retrieve payment",
+ "slug": "retrieve-payment"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -1320,13 +3124,59 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/payments/OrderAuthorize.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/payments/OrderAuthorize.php",
"projectPath": "payments/OrderAuthorize.php",
"targetPath": "payments/OrderAuthorize",
"pageTitle": "payments/OrderAuthorize",
"title": "OrderAuthorize"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Authorize Order Sample",
+ "slug": "authorize-order-sample"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Approval Status",
+ "slug": "approval-status"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Retrieve the order",
+ "slug": "retrieve-the-order"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Create Authorization Object",
+ "slug": "create-authorization-object"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Authorize Order",
+ "slug": "authorize-order"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -1338,13 +3188,59 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/payments/OrderCapture.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/payments/OrderCapture.php",
"projectPath": "payments/OrderCapture.php",
"targetPath": "payments/OrderCapture",
"pageTitle": "payments/OrderCapture",
"title": "OrderCapture"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Capture Order Sample",
+ "slug": "capture-order-sample"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Approval Status",
+ "slug": "approval-status"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Retrieve the order",
+ "slug": "retrieve-the-order"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Create Capture Object",
+ "slug": "create-capture-object"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Capture Order",
+ "slug": "capture-order"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -1356,13 +3252,99 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/payments/OrderCreateForAuthorization.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/payments/OrderCreateForAuthorization.php",
"projectPath": "payments/OrderCreateForAuthorization.php",
"targetPath": "payments/OrderCreateForAuthorization",
"pageTitle": "payments/OrderCreateForAuthorization",
"title": "OrderCreateForAuthorization"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Order Create Using PayPal",
+ "slug": "order-create-using-paypal"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Payer",
+ "slug": "payer"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Itemized information",
+ "slug": "itemized-information"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Additional payment details",
+ "slug": "additional-payment-details"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Amount",
+ "slug": "amount"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Transaction",
+ "slug": "transaction"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Redirect urls",
+ "slug": "redirect-urls"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Payment",
+ "slug": "payment"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Create Payment",
+ "slug": "create-payment"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Get redirect url",
+ "slug": "get-redirect-url"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -1374,13 +3356,99 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/payments/OrderCreateForCapture.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/payments/OrderCreateForCapture.php",
"projectPath": "payments/OrderCreateForCapture.php",
"targetPath": "payments/OrderCreateForCapture",
"pageTitle": "payments/OrderCreateForCapture",
"title": "OrderCreateForCapture"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Order Create Using PayPal",
+ "slug": "order-create-using-paypal"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Payer",
+ "slug": "payer"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Itemized information",
+ "slug": "itemized-information"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Additional payment details",
+ "slug": "additional-payment-details"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Amount",
+ "slug": "amount"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Transaction",
+ "slug": "transaction"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Redirect urls",
+ "slug": "redirect-urls"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Payment",
+ "slug": "payment"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Create Payment",
+ "slug": "create-payment"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Get redirect url",
+ "slug": "get-redirect-url"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -1392,13 +3460,99 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/payments/OrderCreateForVoid.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/payments/OrderCreateForVoid.php",
"projectPath": "payments/OrderCreateForVoid.php",
"targetPath": "payments/OrderCreateForVoid",
"pageTitle": "payments/OrderCreateForVoid",
"title": "OrderCreateForVoid"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Order Create Using PayPal",
+ "slug": "order-create-using-paypal"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Payer",
+ "slug": "payer"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Itemized information",
+ "slug": "itemized-information"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Additional payment details",
+ "slug": "additional-payment-details"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Amount",
+ "slug": "amount"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Transaction",
+ "slug": "transaction"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Redirect urls",
+ "slug": "redirect-urls"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Payment",
+ "slug": "payment"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Create Payment",
+ "slug": "create-payment"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Get redirect url",
+ "slug": "get-redirect-url"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -1410,13 +3564,99 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/payments/OrderCreateUsingPayPal.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/payments/OrderCreateUsingPayPal.php",
"projectPath": "payments/OrderCreateUsingPayPal.php",
"targetPath": "payments/OrderCreateUsingPayPal",
"pageTitle": "payments/OrderCreateUsingPayPal",
"title": "OrderCreateUsingPayPal"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Order Create Using PayPal",
+ "slug": "order-create-using-paypal"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Payer",
+ "slug": "payer"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Itemized information",
+ "slug": "itemized-information"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Additional payment details",
+ "slug": "additional-payment-details"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Amount",
+ "slug": "amount"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Transaction",
+ "slug": "transaction"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Redirect urls",
+ "slug": "redirect-urls"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Payment",
+ "slug": "payment"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Create Payment",
+ "slug": "create-payment"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Get redirect url",
+ "slug": "get-redirect-url"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -1428,13 +3668,51 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/payments/OrderDoVoid.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/payments/OrderDoVoid.php",
"projectPath": "payments/OrderDoVoid.php",
"targetPath": "payments/OrderDoVoid",
"pageTitle": "payments/OrderDoVoid",
"title": "OrderDoVoid"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Void Order Sample",
+ "slug": "void-order-sample"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Approval Status",
+ "slug": "approval-status"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Retrieve the order",
+ "slug": "retrieve-the-order"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Void Order",
+ "slug": "void-order"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -1446,13 +3724,35 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/payments/OrderGet.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/payments/OrderGet.php",
"projectPath": "payments/OrderGet.php",
"targetPath": "payments/OrderGet",
"pageTitle": "payments/OrderGet",
"title": "OrderGet"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Get Order Sample",
+ "slug": "get-order-sample"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Approval Status",
+ "slug": "approval-status"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -1464,13 +3764,43 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/payments/Reauthorization.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/payments/Reauthorization.php",
"projectPath": "payments/Reauthorization.php",
"targetPath": "payments/Reauthorization",
"pageTitle": "payments/Reauthorization",
"title": "Reauthorization"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 2,
+ "title": "Reauthorization Sample",
+ "slug": "reauthorization-sample"
+ },
+ "depth": 2,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Reauthorization",
+ "slug": "reauthorization"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Reauthorize with amount being reauthorized",
+ "slug": "reauthorize-with-amount-being-reauthorized"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -1482,13 +3812,51 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/payments/RefundCapture.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/payments/RefundCapture.php",
"projectPath": "payments/RefundCapture.php",
"targetPath": "payments/RefundCapture",
"pageTitle": "payments/RefundCapture",
"title": "RefundCapture"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Refund Capture Sample",
+ "slug": "refund-capture-sample"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Refund",
+ "slug": "refund"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Retrieve Capture details",
+ "slug": "retrieve-capture-details"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Refund the Capture",
+ "slug": "refund-the-capture"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -1500,13 +3868,70 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/payments/UpdatePayment.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/payments/UpdatePayment.php",
"projectPath": "payments/UpdatePayment.php",
"targetPath": "payments/UpdatePayment",
"pageTitle": "payments/UpdatePayment",
"title": "UpdatePayment"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Update Payment Sample",
+ "slug": "update-payment-sample"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 2,
+ "title": "NOTE",
+ "slug": "note"
+ },
+ "depth": 2,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 4,
+ "title": "Create a Patch Request",
+ "slug": "create-a-patch-request"
+ },
+ "depth": 4
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Update payment",
+ "slug": "update-payment"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Getting Updated Payment Object",
+ "slug": "getting-updated-payment-object"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Get redirect url",
+ "slug": "get-redirect-url"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -1518,13 +3943,35 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/payments/VoidAuthorization.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/payments/VoidAuthorization.php",
"projectPath": "payments/VoidAuthorization.php",
"targetPath": "payments/VoidAuthorization",
"pageTitle": "payments/VoidAuthorization",
"title": "VoidAuthorization"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "VoidAuthorization",
+ "slug": "voidauthorization"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "VoidAuthorization",
+ "slug": "voidauthorization"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}
]
}, {
@@ -1546,13 +3993,46 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/payouts/CancelPayoutItem.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/payouts/CancelPayoutItem.php",
"projectPath": "payouts/CancelPayoutItem.php",
"targetPath": "payouts/CancelPayoutItem",
"pageTitle": "payouts/CancelPayoutItem",
"title": "CancelPayoutItem"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Cancel Payout Item Status Sample",
+ "slug": "cancel-payout-item-status-sample"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 2,
+ "title": "Payout Item ID",
+ "slug": "payout-item-id"
+ },
+ "depth": 2,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Cancel Payout Item",
+ "slug": "cancel-payout-item"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -1564,13 +4044,78 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/payouts/CreateBatchPayout.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/payouts/CreateBatchPayout.php",
"projectPath": "payouts/CreateBatchPayout.php",
"targetPath": "payouts/CreateBatchPayout",
"pageTitle": "payouts/CreateBatchPayout",
"title": "CreateBatchPayout"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Create Bulk Payout Sample",
+ "slug": "create-bulk-payout-sample"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "NOTE:",
+ "slug": "note"
+ },
+ "depth": 3,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 4,
+ "title": "Batch Header Instance",
+ "slug": "batch-header-instance"
+ },
+ "depth": 4
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 4,
+ "title": "Sender Item",
+ "slug": "sender-item"
+ },
+ "depth": 4
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 4,
+ "title": "Sender Item 2",
+ "slug": "sender-item-2"
+ },
+ "depth": 4
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 4,
+ "title": "Sender Item 3",
+ "slug": "sender-item-3"
+ },
+ "depth": 4
+ }
+ ]
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Create Payout",
+ "slug": "create-payout"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -1582,13 +4127,62 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/payouts/CreateSinglePayout.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/payouts/CreateSinglePayout.php",
"projectPath": "payouts/CreateSinglePayout.php",
"targetPath": "payouts/CreateSinglePayout",
"pageTitle": "payouts/CreateSinglePayout",
"title": "CreateSinglePayout"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Create Single Synchronous Payout Sample",
+ "slug": "create-single-synchronous-payout-sample"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "NOTE:",
+ "slug": "note"
+ },
+ "depth": 3,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 4,
+ "title": "Batch Header Instance",
+ "slug": "batch-header-instance"
+ },
+ "depth": 4
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 4,
+ "title": "Sender Item",
+ "slug": "sender-item"
+ },
+ "depth": 4
+ }
+ ]
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Create Payout",
+ "slug": "create-payout"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -1600,13 +4194,46 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/payouts/GetPayoutBatchStatus.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/payouts/GetPayoutBatchStatus.php",
"projectPath": "payouts/GetPayoutBatchStatus.php",
"targetPath": "payouts/GetPayoutBatchStatus",
"pageTitle": "payouts/GetPayoutBatchStatus",
"title": "GetPayoutBatchStatus"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Get Payout Batch Status Sample",
+ "slug": "get-payout-batch-status-sample"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 2,
+ "title": "Payout Batch ID",
+ "slug": "payout-batch-id"
+ },
+ "depth": 2,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Get Payout Batch Status",
+ "slug": "get-payout-batch-status"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -1618,13 +4245,46 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/payouts/GetPayoutItemStatus.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/payouts/GetPayoutItemStatus.php",
"projectPath": "payouts/GetPayoutItemStatus.php",
"targetPath": "payouts/GetPayoutItemStatus",
"pageTitle": "payouts/GetPayoutItemStatus",
"title": "GetPayoutItemStatus"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Get Payout Item Status Sample",
+ "slug": "get-payout-item-status-sample"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 2,
+ "title": "Payout Item ID",
+ "slug": "payout-item-id"
+ },
+ "depth": 2,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Get Payout Item Status",
+ "slug": "get-payout-item-status"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
+ }
+ ]
}
]
}, {
@@ -1646,13 +4306,35 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/sale/GetSale.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/sale/GetSale.php",
"projectPath": "sale/GetSale.php",
"targetPath": "sale/GetSale",
"pageTitle": "sale/GetSale",
"title": "GetSale"
},
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Get Sale sample",
+ "slug": "get-sale-sample"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Retrieve the sale object",
+ "slug": "retrieve-the-sale-object"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}, {
"type": "file",
"data": {
@@ -1664,167 +4346,51 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
"foldPrefix": "^",
"name": "PHP"
},
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/sale/RefundSale.php",
+ "sourcePath": "/Users/japatel/paypal/PayPal-PHP-SDK/sample/sale/RefundSale.php",
"projectPath": "sale/RefundSale.php",
"targetPath": "sale/RefundSale",
"pageTitle": "sale/RefundSale",
"title": "RefundSale"
},
- "depth": 2
- }
- ]
- }, {
- "type": "folder",
- "data": {
- "path": "vault",
- "title": "vault"
- },
- "depth": 1,
- "children": [
- {
- "type": "file",
- "data": {
- "language": {
- "nameMatchers": [{}, ".fbp"],
- "pygmentsLexer": "php",
- "singleLineComment": ["//"],
- "ignorePrefix": "}",
- "foldPrefix": "^",
- "name": "PHP"
- },
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/vault/CreateBankAccount.php",
- "projectPath": "vault/CreateBankAccount.php",
- "targetPath": "vault/CreateBankAccount",
- "pageTitle": "vault/CreateBankAccount",
- "title": "CreateBankAccount"
- },
- "depth": 2
- }, {
- "type": "file",
- "data": {
- "language": {
- "nameMatchers": [{}, ".fbp"],
- "pygmentsLexer": "php",
- "singleLineComment": ["//"],
- "ignorePrefix": "}",
- "foldPrefix": "^",
- "name": "PHP"
- },
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/vault/CreateCreditCard.php",
- "projectPath": "vault/CreateCreditCard.php",
- "targetPath": "vault/CreateCreditCard",
- "pageTitle": "vault/CreateCreditCard",
- "title": "CreateCreditCard"
- },
- "depth": 2
- }, {
- "type": "file",
- "data": {
- "language": {
- "nameMatchers": [{}, ".fbp"],
- "pygmentsLexer": "php",
- "singleLineComment": ["//"],
- "ignorePrefix": "}",
- "foldPrefix": "^",
- "name": "PHP"
- },
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/vault/DeleteBankAccount.php",
- "projectPath": "vault/DeleteBankAccount.php",
- "targetPath": "vault/DeleteBankAccount",
- "pageTitle": "vault/DeleteBankAccount",
- "title": "DeleteBankAccount"
- },
- "depth": 2
- }, {
- "type": "file",
- "data": {
- "language": {
- "nameMatchers": [{}, ".fbp"],
- "pygmentsLexer": "php",
- "singleLineComment": ["//"],
- "ignorePrefix": "}",
- "foldPrefix": "^",
- "name": "PHP"
- },
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/vault/DeleteCreditCard.php",
- "projectPath": "vault/DeleteCreditCard.php",
- "targetPath": "vault/DeleteCreditCard",
- "pageTitle": "vault/DeleteCreditCard",
- "title": "DeleteCreditCard"
- },
- "depth": 2
- }, {
- "type": "file",
- "data": {
- "language": {
- "nameMatchers": [{}, ".fbp"],
- "pygmentsLexer": "php",
- "singleLineComment": ["//"],
- "ignorePrefix": "}",
- "foldPrefix": "^",
- "name": "PHP"
- },
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/vault/GetBankAccount.php",
- "projectPath": "vault/GetBankAccount.php",
- "targetPath": "vault/GetBankAccount",
- "pageTitle": "vault/GetBankAccount",
- "title": "GetBankAccount"
- },
- "depth": 2
- }, {
- "type": "file",
- "data": {
- "language": {
- "nameMatchers": [{}, ".fbp"],
- "pygmentsLexer": "php",
- "singleLineComment": ["//"],
- "ignorePrefix": "}",
- "foldPrefix": "^",
- "name": "PHP"
- },
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/vault/GetCreditCard.php",
- "projectPath": "vault/GetCreditCard.php",
- "targetPath": "vault/GetCreditCard",
- "pageTitle": "vault/GetCreditCard",
- "title": "GetCreditCard"
- },
- "depth": 2
- }, {
- "type": "file",
- "data": {
- "language": {
- "nameMatchers": [{}, ".fbp"],
- "pygmentsLexer": "php",
- "singleLineComment": ["//"],
- "ignorePrefix": "}",
- "foldPrefix": "^",
- "name": "PHP"
- },
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/vault/ListCreditCards.php",
- "projectPath": "vault/ListCreditCards.php",
- "targetPath": "vault/ListCreditCards",
- "pageTitle": "vault/ListCreditCards",
- "title": "ListCreditCards"
- },
- "depth": 2
- }, {
- "type": "file",
- "data": {
- "language": {
- "nameMatchers": [{}, ".fbp"],
- "pygmentsLexer": "php",
- "singleLineComment": ["//"],
- "ignorePrefix": "}",
- "foldPrefix": "^",
- "name": "PHP"
- },
- "sourcePath": "/Users/japatel/paypal/github/PayPal-PHP-SDK/sample/vault/UpdateCreditCard.php",
- "projectPath": "vault/UpdateCreditCard.php",
- "targetPath": "vault/UpdateCreditCard",
- "pageTitle": "vault/UpdateCreditCard",
- "title": "UpdateCreditCard"
- },
- "depth": 2
+ "depth": 2,
+ "outline": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 1,
+ "title": "Sale Refund Sample",
+ "slug": "sale-refund-sample"
+ },
+ "depth": 1,
+ "children": [
+ {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Refund amount",
+ "slug": "refund-amount"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Refund object",
+ "slug": "refund-object"
+ },
+ "depth": 3
+ }, {
+ "type": "heading",
+ "data": {
+ "level": 3,
+ "title": "Sale",
+ "slug": "sale"
+ },
+ "depth": 3
+ }
+ ]
+ }
+ ]
}
]
}
diff --git a/sample/doc/billing/CreateBillingAgreementWithPayPal.html b/sample/doc/billing/CreateBillingAgreementWithPayPal.html
index f0e15a0..1ca1573 100644
--- a/sample/doc/billing/CreateBillingAgreementWithPayPal.html
+++ b/sample/doc/billing/CreateBillingAgreementWithPayPal.html
@@ -52,4 +52,4 @@ method
ResultPrinter::printResult("Created Billing Agreement. Please visit the URL to Approve.", "Agreement", "<a href='$approvalUrl' >$approvalUrl</a>", $request, $agreement);
-return $agreement;
NOTE: PLEASE DO NOT USE RESULTPRINTER CLASS IN YOUR ORIGINAL CODE. FOR SAMPLE ONLY