"use strict";
/**
 * PayPal Server SDKLib
 *
 * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
 */
exports.__esModule = true;
exports.storedPaymentSourceSchema = void 0;
var schema_1 = require("../schema");
var networkTransactionReference_1 = require("./networkTransactionReference");
var paymentInitiator_1 = require("./paymentInitiator");
var storedPaymentSourcePaymentType_1 = require("./storedPaymentSourcePaymentType");
var storedPaymentSourceUsageType_1 = require("./storedPaymentSourceUsageType");
exports.storedPaymentSourceSchema = (0, schema_1.object)({
    paymentInitiator: ['payment_initiator', paymentInitiator_1.paymentInitiatorSchema],
    paymentType: ['payment_type', storedPaymentSourcePaymentType_1.storedPaymentSourcePaymentTypeSchema],
    usage: ['usage', (0, schema_1.optional)(storedPaymentSourceUsageType_1.storedPaymentSourceUsageTypeSchema)],
    previousNetworkTransactionReference: [
        'previous_network_transaction_reference',
        (0, schema_1.optional)((0, schema_1.lazy)(function () { return networkTransactionReference_1.networkTransactionReferenceSchema; })),
    ]
});
//# sourceMappingURL=storedPaymentSource.js.map