"use strict";
/**
 * PayPal Server SDKLib
 *
 * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
 */
exports.__esModule = true;
exports.paypalWalletExperienceContextSchema = void 0;
var schema_1 = require("../schema");
var callbackConfiguration_1 = require("./callbackConfiguration");
var payeePaymentMethodPreference_1 = require("./payeePaymentMethodPreference");
var paypalExperienceLandingPage_1 = require("./paypalExperienceLandingPage");
var paypalExperienceUserAction_1 = require("./paypalExperienceUserAction");
var paypalWalletContactPreference_1 = require("./paypalWalletContactPreference");
var paypalWalletContextShippingPreference_1 = require("./paypalWalletContextShippingPreference");
exports.paypalWalletExperienceContextSchema = (0, schema_1.object)({
    brandName: ['brand_name', (0, schema_1.optional)((0, schema_1.string)())],
    locale: ['locale', (0, schema_1.optional)((0, schema_1.string)())],
    shippingPreference: [
        'shipping_preference',
        (0, schema_1.optional)(paypalWalletContextShippingPreference_1.paypalWalletContextShippingPreferenceSchema),
    ],
    contactPreference: [
        'contact_preference',
        (0, schema_1.optional)(paypalWalletContactPreference_1.paypalWalletContactPreferenceSchema),
    ],
    returnUrl: ['return_url', (0, schema_1.optional)((0, schema_1.string)())],
    cancelUrl: ['cancel_url', (0, schema_1.optional)((0, schema_1.string)())],
    landingPage: ['landing_page', (0, schema_1.optional)(paypalExperienceLandingPage_1.paypalExperienceLandingPageSchema)],
    userAction: ['user_action', (0, schema_1.optional)(paypalExperienceUserAction_1.paypalExperienceUserActionSchema)],
    paymentMethodPreference: [
        'payment_method_preference',
        (0, schema_1.optional)(payeePaymentMethodPreference_1.payeePaymentMethodPreferenceSchema),
    ],
    orderUpdateCallbackConfig: [
        'order_update_callback_config',
        (0, schema_1.optional)((0, schema_1.lazy)(function () { return callbackConfiguration_1.callbackConfigurationSchema; })),
    ]
});
//# sourceMappingURL=paypalWalletExperienceContext.js.map