/** * PayPal Server SDKLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { lazy, object, optional, Schema } from '../schema.js'; import { Money, moneySchema } from './money.js'; /** The tax levied by a government on the purchase of goods or services. */ export interface TaxAmount { /** The currency and amount for a financial transaction, such as a balance or payment due. */ taxAmount?: Money; } export const taxAmountSchema: Schema = lazy(() => object({ taxAmount: ['tax_amount', optional(moneySchema)] }) );