"use strict";
/**
 * PayPal Server SDKLib
 *
 * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
 */
exports.__esModule = true;
exports.applePayPaymentObjectSchema = void 0;
var schema_1 = require("../schema");
var applePayAttributesResponse_1 = require("./applePayAttributesResponse");
var applePayCardResponse_1 = require("./applePayCardResponse");
var cardStoredCredential_1 = require("./cardStoredCredential");
var phoneNumber_1 = require("./phoneNumber");
exports.applePayPaymentObjectSchema = (0, schema_1.object)({
    id: ['id', (0, schema_1.optional)((0, schema_1.string)())],
    token: ['token', (0, schema_1.optional)((0, schema_1.string)())],
    name: ['name', (0, schema_1.optional)((0, schema_1.string)())],
    emailAddress: ['email_address', (0, schema_1.optional)((0, schema_1.string)())],
    phoneNumber: ['phone_number', (0, schema_1.optional)((0, schema_1.lazy)(function () { return phoneNumber_1.phoneNumberSchema; }))],
    card: ['card', (0, schema_1.optional)((0, schema_1.lazy)(function () { return applePayCardResponse_1.applePayCardResponseSchema; }))],
    attributes: [
        'attributes',
        (0, schema_1.optional)((0, schema_1.lazy)(function () { return applePayAttributesResponse_1.applePayAttributesResponseSchema; })),
    ],
    storedCredential: [
        'stored_credential',
        (0, schema_1.optional)((0, schema_1.lazy)(function () { return cardStoredCredential_1.cardStoredCredentialSchema; })),
    ]
});
//# sourceMappingURL=applePayPaymentObject.js.map