UNPKG

mangopay4-nodejs-sdk

Version:

Mangopay Node.js SDK

16 lines (14 loc) • 358 B
const EntityBase = require('./EntityBase'); const Money = EntityBase.extend({ defaults: { /** * The currency - should be ISO 4217 format */ Currency: null, /** * The amount of money in cents, e.g. 12.60€ would be represented as 1260 */ Amount: null } }); module.exports = Money;