lib/apis/order/index.js
Function Order
has 85 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Order(options) {
var self = this;
this.options = options || {};
Function post
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
post: function(params, callback) {
var schema = {
order_id: {
description: 'Order ID. If this field is present all other fields are ignored',
type: 'number',
Function post
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
post: function(params, callback) {
var schema = {
notify: {
description:
'Allows disabling of merchant notifications for this order. Notifications must be enabled, and a notification URL configured in your Account settings. 0 – Disabled, 1 – Enabled (Default)',