@lomray/microservice-payment-stripe
Version:
Stripe payment microservice based on NodeJS & inverted json.
21 lines (18 loc) • 551 B
JavaScript
;
/**
* Refund amount type
* @description Entity cost - 100, application fee - 5, fees payer - sender.
* Sender will be charged on 103.2
* Receiver revenue: 100 - 5 = 95
* Application revenue: 5
*
* Refund revenue - 95
* Refund entity cost - 100
*/
var RefundAmountType;
(function (RefundAmountType) {
RefundAmountType["REVENUE"] = "revenue";
RefundAmountType["ENTITY_COST"] = "entityCost";
})(RefundAmountType || (RefundAmountType = {}));
var RefundAmountType$1 = RefundAmountType;
module.exports = RefundAmountType$1;