@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.
43 lines • 2.16 kB
JavaScript
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { boolean, expandoObject, nullable, number, optional, string, } from '../schema';
import { bankAccountHolderTypeSchema, } from './bankAccountHolderType';
import { bankAccountTypeSchema } from './bankAccountType';
import { bankAccountVaultSchema } from './bankAccountVault';
import { paymentTypeSchema } from './paymentType';
export const bankAccountPaymentProfileSchema = expandoObject({
id: ['id', optional(number())],
firstName: ['first_name', optional(string())],
lastName: ['last_name', optional(string())],
customerId: ['customer_id', optional(number())],
currentVault: ['current_vault', optional(bankAccountVaultSchema)],
vaultToken: ['vault_token', optional(string())],
billingAddress: ['billing_address', optional(nullable(string()))],
billingCity: ['billing_city', optional(nullable(string()))],
billingState: ['billing_state', optional(nullable(string()))],
billingZip: ['billing_zip', optional(nullable(string()))],
billingCountry: ['billing_country', optional(nullable(string()))],
customerVaultToken: ['customer_vault_token', optional(nullable(string()))],
billingAddress2: ['billing_address_2', optional(nullable(string()))],
bankName: ['bank_name', optional(string())],
maskedBankRoutingNumber: ['masked_bank_routing_number', optional(string())],
maskedBankAccountNumber: ['masked_bank_account_number', string()],
bankAccountType: ['bank_account_type', optional(bankAccountTypeSchema)],
bankAccountHolderType: [
'bank_account_holder_type',
optional(bankAccountHolderTypeSchema),
],
paymentType: ['payment_type', paymentTypeSchema],
verified: ['verified', optional(boolean())],
siteGatewaySettingId: [
'site_gateway_setting_id',
optional(nullable(number())),
],
gatewayHandle: ['gateway_handle', optional(nullable(string()))],
createdAt: ['created_at', optional(string())],
updatedAt: ['updated_at', optional(string())],
});
//# sourceMappingURL=bankAccountPaymentProfile.js.map