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.

40 lines 1.77 kB
/** * AdvancedBilling * * This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { Schema } from '../../schema'; import { ApplePayPaymentProfile } from '../applePayPaymentProfile'; import { BankAccountPaymentProfile } from '../bankAccountPaymentProfile'; import { CreditCardPaymentProfile } from '../creditCardPaymentProfile'; import { PaypalPaymentProfile } from '../paypalPaymentProfile'; /** This is a container type for any-of types. */ export type PaymentProfile = ApplePayPaymentProfile | BankAccountPaymentProfile | CreditCardPaymentProfile | PaypalPaymentProfile; export declare const paymentProfileSchema: Schema<PaymentProfile>; export declare namespace PaymentProfile { /** * Validation method to narrow down union type to ApplePayPaymentProfile type case. * * This is ApplePay Payment Profile case. */ function isApplePayPaymentProfile(value: unknown): value is ApplePayPaymentProfile; /** * Validation method to narrow down union type to BankAccountPaymentProfile type case. * * This is Bank Account Payment Profile case. */ function isBankAccountPaymentProfile(value: unknown): value is BankAccountPaymentProfile; /** * Validation method to narrow down union type to CreditCardPaymentProfile type case. * * This is Credit Card Payment Profile case. */ function isCreditCardPaymentProfile(value: unknown): value is CreditCardPaymentProfile; /** * Validation method to narrow down union type to PaypalPaymentProfile type case. * * This is Paypal Payment Profile case. */ function isPaypalPaymentProfile(value: unknown): value is PaypalPaymentProfile; } //# sourceMappingURL=paymentProfile.d.ts.map