Skip to content

Commit

Permalink
Adding taxes in preferences
Browse files Browse the repository at this point in the history
  • Loading branch information
delias-silva committed Sep 2, 2019
1 parent 7fa5aec commit 3ba1484
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
14 changes: 14 additions & 0 deletions lib/models/preferencesModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,20 @@ module.exports = {
type: 'integer'
}
}
},
taxes: {
type: 'array',
items: {
type: 'object',
properties: {
type: {
enum: ['IVA', 'INC']
},
value: {
type: 'number'
}
}
}
}
}
};
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mercadopago",
"version": "1.0.24",
"version": "1.1.0",
"description": "Mercadopago SDK for Node.js",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -31,7 +31,7 @@
"chai": "3.5.0",
"chai-as-promised": "6.0.0",
"coveralls": "2.11.15",
"eslint": "3.13.1",
"eslint": ">=4.18.2",
"eslint-config-airbnb-base": "11.0.1",
"eslint-plugin-import": "2.2.0",
"istanbul": "0.4.5",
Expand Down

0 comments on commit 3ba1484

Please sign in to comment.