@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.
27 lines • 1.72 kB
JavaScript
;
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.updatePaymentProfileSchema = void 0;
var schema_js_1 = require("../schema.js");
var allVaults_js_1 = require("./allVaults.js");
var cardType_js_1 = require("./cardType.js");
exports.updatePaymentProfileSchema = (0, schema_js_1.expandoObject)({
firstName: ['first_name', (0, schema_js_1.optional)((0, schema_js_1.string)())],
lastName: ['last_name', (0, schema_js_1.optional)((0, schema_js_1.string)())],
fullNumber: ['full_number', (0, schema_js_1.optional)((0, schema_js_1.string)())],
cardType: ['card_type', (0, schema_js_1.optional)(cardType_js_1.cardTypeSchema)],
expirationMonth: ['expiration_month', (0, schema_js_1.optional)((0, schema_js_1.string)())],
expirationYear: ['expiration_year', (0, schema_js_1.optional)((0, schema_js_1.string)())],
currentVault: ['current_vault', (0, schema_js_1.optional)(allVaults_js_1.allVaultsSchema)],
billingAddress: ['billing_address', (0, schema_js_1.optional)((0, schema_js_1.string)())],
billingCity: ['billing_city', (0, schema_js_1.optional)((0, schema_js_1.string)())],
billingState: ['billing_state', (0, schema_js_1.optional)((0, schema_js_1.string)())],
billingZip: ['billing_zip', (0, schema_js_1.optional)((0, schema_js_1.string)())],
billingCountry: ['billing_country', (0, schema_js_1.optional)((0, schema_js_1.string)())],
billingAddress2: ['billing_address_2', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
});
//# sourceMappingURL=updatePaymentProfile.js.map