@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.
35 lines • 2.01 kB
JavaScript
;
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
exports.__esModule = true;
exports.getOneTimeTokenPaymentProfileSchema = void 0;
var schema_1 = require("../schema");
var cardType_1 = require("./cardType");
var creditCardVault_1 = require("./creditCardVault");
exports.getOneTimeTokenPaymentProfileSchema = (0, schema_1.expandoObject)({
id: ['id', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
firstName: ['first_name', (0, schema_1.string)()],
lastName: ['last_name', (0, schema_1.string)()],
maskedCardNumber: ['masked_card_number', (0, schema_1.string)()],
cardType: ['card_type', cardType_1.cardTypeSchema],
expirationMonth: ['expiration_month', (0, schema_1.number)()],
expirationYear: ['expiration_year', (0, schema_1.number)()],
customerId: ['customer_id', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
currentVault: ['current_vault', creditCardVault_1.creditCardVaultSchema],
vaultToken: ['vault_token', (0, schema_1.string)()],
billingAddress: ['billing_address', (0, schema_1.string)()],
billingAddress2: ['billing_address_2', (0, schema_1.optional)((0, schema_1.string)())],
billingCity: ['billing_city', (0, schema_1.string)()],
billingCountry: ['billing_country', (0, schema_1.string)()],
billingState: ['billing_state', (0, schema_1.string)()],
billingZip: ['billing_zip', (0, schema_1.string)()],
paymentType: ['payment_type', (0, schema_1.string)()],
disabled: ['disabled', (0, schema_1.boolean)()],
siteGatewaySettingId: ['site_gateway_setting_id', (0, schema_1.number)()],
customerVaultToken: ['customer_vault_token', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
gatewayHandle: ['gateway_handle', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))]
});
//# sourceMappingURL=getOneTimeTokenPaymentProfile.js.map