/**
 * PayPal Server SDKLib
 *
 * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
 */
import { array, lazy, object, optional, string } from '../schema';
import { addressSchema } from './address';
import { lineItemSchema } from './lineItem';
import { moneySchema } from './money';
export const level3CardProcessingDataSchema = object({
    shippingAmount: ['shipping_amount', optional(lazy(() => moneySchema))],
    dutyAmount: ['duty_amount', optional(lazy(() => moneySchema))],
    discountAmount: ['discount_amount', optional(lazy(() => moneySchema))],
    shippingAddress: ['shipping_address', optional(lazy(() => addressSchema))],
    shipsFromPostalCode: ['ships_from_postal_code', optional(string())],
    lineItems: ['line_items', optional(array(lazy(() => lineItemSchema)))],
});
//# sourceMappingURL=level3CardProcessingData.js.map