paidup-product-connect
Advanced tools
Comparing version 0.4.11 to 0.4.12
@@ -41,5 +41,6 @@ module.exports = { | ||
description: 'List of categories.', | ||
example: { | ||
example: `{ | ||
status: 200, | ||
body: { | ||
"_id" : "someId", | ||
"details": { | ||
@@ -82,18 +83,18 @@ "organizationId": "105", | ||
"paymentPlans": { | ||
//"due1": { | ||
// "description": "Full payment", | ||
// "visible": true, | ||
// "dues": [ | ||
// { | ||
// "description": "some description", | ||
// "dateCharge": "2016-02-26 10:30", | ||
// "amount": 100, | ||
// "discount": 50, | ||
// "applyDiscount": false | ||
// } | ||
// ] | ||
//} | ||
"due1": { | ||
"description": "Full payment", | ||
"visible": true, | ||
"dues": [ | ||
{ | ||
"description": "some description", | ||
"dateCharge": "2016-02-26 10:30", | ||
"amount": 100, | ||
"discount": 50, | ||
"applyDiscount": false | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
}` | ||
}, | ||
@@ -135,3 +136,3 @@ error: { | ||
var prodJson = JSON.parse(resp.body.feeManagement) | ||
prodJson._id = resp.body.productId; | ||
prodJson.details.images.main = resp.body.images[0].url; | ||
@@ -150,7 +151,6 @@ | ||
return exits.success({ | ||
return exits.success(JSON.stringify({ | ||
status: 200, | ||
body: prodJson | ||
}) | ||
})) | ||
} | ||
@@ -157,0 +157,0 @@ }) |
{ | ||
"name": "paidup-product-connect", | ||
"version": "0.4.11", | ||
"version": "0.4.12", | ||
"description": "Connector for PaidUp Microservice Product", | ||
@@ -5,0 +5,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21154
619