Updated User Agent & More Samples for Billing Plans

- Fixed versioning in User Agent.
- Updated Billing Plan sample to update Payment definitions
- Docs & Tests
This commit is contained in:
japatel
2014-11-05 13:30:28 -06:00
parent d11533110b
commit f997f3277e
27 changed files with 611 additions and 439 deletions

View File

@@ -1,37 +1,36 @@
{
"description" : "This operation changes the state of billing plan to active if its in created state.",
"title" : "Patch Request for changing state",
"runnable" : true,
"operationId" : "plan.update",
"user" : {
"scopes" : ["https://uri.paypal.com/services/subscriptions" ]
"description": "This operation changes the state of billing plan to active if its in created state.",
"title": "Patch Request for changing state",
"runnable": true,
"operationId": "plan.update",
"user": {
"scopes": ["https://uri.paypal.com/services/subscriptions"]
},
"credentials" : {
"credentials": {
"oauth": {
"path" : "/v1/oauth/token",
"clientId":"",
"clientSecret":""
"path": "/v1/oauth/token",
"clientId": "",
"clientSecret": ""
}
},
"request" : {
"path" : "v1/payments/billing-plans/{PLAN-ID}/",
"method" : "PATCH",
"headers" : {},
"body" :
[
{
"op":"replace",
"path":"/",
"value":{
"state":"ACTIVE"
}
}
]
"request": {
"path": "v1/payments/billing-plans/{PLAN-ID}/",
"method": "PATCH",
"headers": {},
"body": [
{
"op": "replace",
"path": "/",
"value": {
"state": "ACTIVE"
}
}
]
},
"response" : {
"status" : "200 OK",
"headers" : {},
"body" : { }
"response": {
"status": "200 OK",
"headers": {},
"body": {}
}
}