Added Update Method in Payment

- Payment allows update calls with patch requests
- Samples to demonstrate its abilities
This commit is contained in:
japatel
2014-12-17 12:47:22 -06:00
parent 39188ae395
commit 515b747223
5 changed files with 317 additions and 0 deletions

View File

@@ -2807,6 +2807,81 @@ 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
]
}
]
}, {
"type": "file",
"data": {
"language": {
"nameMatchers": [{}, ".fbp"],
"pygmentsLexer": "php",
"singleLineComment": ["//"],
"ignorePrefix": "}",
"foldPrefix": "^",
"name": "PHP"
},
"sourcePath": "/Users/japatel/Documents/workspace/paypal/PayPal-PHP-SDK/sample/payments/UpdatePayment.php",
"projectPath": "payments/UpdatePayment.php",
"targetPath": "payments/UpdatePayment",
"pageTitle": "payments/UpdatePayment",
"title": "UpdatePayment"
},
"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": {