Skip to content

Commit

Permalink
Merge pull request #162 from mercadopago/add-taxes
Browse files Browse the repository at this point in the history
Adding taxes in preferences
  • Loading branch information
delias-silva authored Sep 3, 2019
2 parents 7fa5aec + 3ba1484 commit 78495ac
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 78495ac

Please sign in to comment.