"use strict";
/**
 * PayPal Server SDKLib
 *
 * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
 */
exports.__esModule = true;
exports.paymentCollectionSchema = void 0;
var schema_1 = require("../schema");
var authorizationWithAdditionalData_1 = require("./authorizationWithAdditionalData");
var ordersCapture_1 = require("./ordersCapture");
var refund_1 = require("./refund");
exports.paymentCollectionSchema = (0, schema_1.object)({
    authorizations: [
        'authorizations',
        (0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return authorizationWithAdditionalData_1.authorizationWithAdditionalDataSchema; }))),
    ],
    captures: ['captures', (0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return ordersCapture_1.ordersCaptureSchema; })))],
    refunds: ['refunds', (0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return refund_1.refundSchema; })))]
});
//# sourceMappingURL=paymentCollection.js.map