@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.41 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.applePayPaymentProfileSchema = void 0;
var schema_js_1 = require("../schema.js");
var applePayVault_js_1 = require("./applePayVault.js");
var paymentType_js_1 = require("./paymentType.js");
exports.applePayPaymentProfileSchema = (0, schema_js_1.expandoObject)({
id: ['id', (0, schema_js_1.optional)((0, schema_js_1.number)())],
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)())],
customerId: ['customer_id', (0, schema_js_1.optional)((0, schema_js_1.number)())],
currentVault: ['current_vault', (0, schema_js_1.optional)(applePayVault_js_1.applePayVaultSchema)],
vaultToken: ['vault_token', (0, schema_js_1.optional)((0, schema_js_1.string)())],
billingAddress: ['billing_address', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
billingCity: ['billing_city', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
billingState: ['billing_state', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
billingZip: ['billing_zip', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
billingCountry: ['billing_country', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
customerVaultToken: ['customer_vault_token', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
billingAddress2: ['billing_address_2', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
paymentType: ['payment_type', paymentType_js_1.paymentTypeSchema],
siteGatewaySettingId: [
'site_gateway_setting_id',
(0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)())),
],
gatewayHandle: ['gateway_handle', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
createdAt: ['created_at', (0, schema_js_1.optional)((0, schema_js_1.string)())],
updatedAt: ['updated_at', (0, schema_js_1.optional)((0, schema_js_1.string)())],
});
//# sourceMappingURL=applePayPaymentProfile.js.map