"use strict";
/**
 * PayPal Server SDKLib
 *
 * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
 */
exports.__esModule = true;
exports.sellerPayableBreakdownSchema = void 0;
var schema_1 = require("../schema");
var money_1 = require("./money");
var netAmountBreakdownItem_1 = require("./netAmountBreakdownItem");
var platformFee_1 = require("./platformFee");
exports.sellerPayableBreakdownSchema = (0, schema_1.object)({
    grossAmount: ['gross_amount', (0, schema_1.optional)((0, schema_1.lazy)(function () { return money_1.moneySchema; }))],
    paypalFee: ['paypal_fee', (0, schema_1.optional)((0, schema_1.lazy)(function () { return money_1.moneySchema; }))],
    paypalFeeInReceivableCurrency: [
        'paypal_fee_in_receivable_currency',
        (0, schema_1.optional)((0, schema_1.lazy)(function () { return money_1.moneySchema; })),
    ],
    netAmount: ['net_amount', (0, schema_1.optional)((0, schema_1.lazy)(function () { return money_1.moneySchema; }))],
    netAmountInReceivableCurrency: [
        'net_amount_in_receivable_currency',
        (0, schema_1.optional)((0, schema_1.lazy)(function () { return money_1.moneySchema; })),
    ],
    platformFees: [
        'platform_fees',
        (0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return platformFee_1.platformFeeSchema; }))),
    ],
    netAmountBreakdown: [
        'net_amount_breakdown',
        (0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return netAmountBreakdownItem_1.netAmountBreakdownItemSchema; }))),
    ],
    totalRefundedAmount: [
        'total_refunded_amount',
        (0, schema_1.optional)((0, schema_1.lazy)(function () { return money_1.moneySchema; })),
    ]
});
//# sourceMappingURL=sellerPayableBreakdown.js.map