@maxio-com/advanced-billing-sdk
Version:
Ultimate billing and pricing flexibility for B2B SaaS. Maxio integrates directly into your product, so you can seamlessly manage your product catalog, bill customers, and collect payments.
32 lines (28 loc) • 817 B
text/typescript
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import {
expandoObject,
lazy,
nullable,
optional,
Schema,
string,
} from '../schema';
import { InvoiceAddress, invoiceAddressSchema } from './invoiceAddress';
/** Information about the seller (merchant) listed on the masthead of the invoice. */
export interface InvoiceSeller {
name?: string;
address?: InvoiceAddress;
phone?: string;
logoUrl?: string | null;
[key: string]: unknown;
}
export const invoiceSellerSchema: Schema<InvoiceSeller> = expandoObject({
name: ['name', optional(string())],
address: ['address', optional(lazy(() => invoiceAddressSchema))],
phone: ['phone', optional(string())],
logoUrl: ['logo_url', optional(nullable(string()))],
});