@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.
19 lines • 1.01 kB
JavaScript
;
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
exports.__esModule = true;
exports.subscriptionIncludedCouponSchema = void 0;
var schema_1 = require("../schema");
exports.subscriptionIncludedCouponSchema = (0, schema_1.expandoObject)({
code: ['code', (0, schema_1.optional)((0, schema_1.string)())],
useCount: ['use_count', (0, schema_1.optional)((0, schema_1.number)())],
usesAllowed: ['uses_allowed', (0, schema_1.optional)((0, schema_1.number)())],
expiresAt: ['expires_at', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
recurring: ['recurring', (0, schema_1.optional)((0, schema_1.boolean)())],
amountInCents: ['amount_in_cents', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.bigint)()))],
percentage: ['percentage', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))]
});
//# sourceMappingURL=subscriptionIncludedCoupon.js.map