@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.
29 lines • 964 B
JavaScript
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { number, oneOf, string } from '../../schema';
export const createInvoiceItemQuantitySchema = oneOf([number(), string()]);
export var CreateInvoiceItemQuantity;
(function (CreateInvoiceItemQuantity) {
/**
* Validation method to narrow down union type to number type case.
*
* This is Precision case.
*/
function isNumber(value) {
return typeof value === 'number';
}
CreateInvoiceItemQuantity.isNumber = isNumber;
/**
* Validation method to narrow down union type to string type case.
*
* This is String case.
*/
function isString(value) {
return typeof value === 'string';
}
CreateInvoiceItemQuantity.isString = isString;
})(CreateInvoiceItemQuantity || (CreateInvoiceItemQuantity = {}));
//# sourceMappingURL=createInvoiceItemQuantity.js.map