UNPKG

@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.

47 lines 2.12 kB
/** * AdvancedBilling * * This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { Schema } from '../../schema.js'; import { PaymentMethodApplePay } from '../paymentMethodApplePay.js'; import { PaymentMethodBankAccount } from '../paymentMethodBankAccount.js'; import { PaymentMethodCreditCard } from '../paymentMethodCreditCard.js'; import { PaymentMethodExternal } from '../paymentMethodExternal.js'; import { PaymentMethodPaypal } from '../paymentMethodPaypal.js'; /** This is a container type for any-of types. */ export type InvoiceEventPayment = PaymentMethodApplePay | PaymentMethodBankAccount | PaymentMethodCreditCard | PaymentMethodExternal | PaymentMethodPaypal; export declare const invoiceEventPaymentSchema: Schema<InvoiceEventPayment>; export declare namespace InvoiceEventPayment { /** * Validation method to narrow down union type to PaymentMethodApplePay type case. * * This is Payment Method Apple Pay case. */ function isPaymentMethodApplePay(value: unknown): value is PaymentMethodApplePay; /** * Validation method to narrow down union type to PaymentMethodBankAccount type case. * * This is Payment Method Bank Account case. */ function isPaymentMethodBankAccount(value: unknown): value is PaymentMethodBankAccount; /** * Validation method to narrow down union type to PaymentMethodCreditCard type case. * * This is Payment Method Credit Card case. */ function isPaymentMethodCreditCard(value: unknown): value is PaymentMethodCreditCard; /** * Validation method to narrow down union type to PaymentMethodExternal type case. * * This is Payment Method External case. */ function isPaymentMethodExternal(value: unknown): value is PaymentMethodExternal; /** * Validation method to narrow down union type to PaymentMethodPaypal type case. * * This is Payment Method Paypal case. */ function isPaymentMethodPaypal(value: unknown): value is PaymentMethodPaypal; } //# sourceMappingURL=invoiceEventPayment.d.ts.map