/**
 * 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 { amountWithBreakdownSchema, } from './amountWithBreakdown';
import { itemSchema } from './item';
import { shippingOptionSchema } from './shippingOption';
export const shippingOptionsPurchaseUnitSchema = object({
    referenceId: ['reference_id', optional(string())],
    amount: ['amount', optional(lazy(() => amountWithBreakdownSchema))],
    items: ['items', optional(array(lazy(() => itemSchema)))],
    shippingOptions: [
        'shipping_options',
        optional(array(lazy(() => shippingOptionSchema))),
    ],
});
//# sourceMappingURL=shippingOptionsPurchaseUnit.js.map