mangopay4-nodejs-sdk
Version:
Mangopay Node.js SDK
34 lines (29 loc) • 952 B
JavaScript
const EntityBase = require('./EntityBase');
const Money = require('./Money');
/**
* Declarative information used to comply with Visa Marketplace reporting.
*/
const MarketplaceData = EntityBase.extend({
defaults: {
/**
* Indicates whether the Seller to which the pay-in will be transferred is foreign.
* Foreign is where the Seller is resident in a different country than the Platform.
*/
ForeignRetailerIndicator: null,
/**
* The transaction amount related to a foreign Seller. When provided, the value
* must be less than or equal to the DebitedFunds.Amount.
*/
ForeignRetailerAmount: null
},
/**
* Get mapping of model properties and corresponding object types
* @returns {Object}
*/
getSubObjects: function() {
return {
'ForeignRetailerAmount': Money
}
}
});
module.exports = MarketplaceData;