@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 • 1.08 kB
JavaScript
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { bigint, oneOf, string } from '../../schema';
export const subscriptionCustomPriceTrialPriceInCentsSchema = oneOf([string(), bigint()]);
export var SubscriptionCustomPriceTrialPriceInCents;
(function (SubscriptionCustomPriceTrialPriceInCents) {
/**
* Validation method to narrow down union type to string type case.
*
* This is String case.
*/
function isString(value) {
return typeof value === 'string';
}
SubscriptionCustomPriceTrialPriceInCents.isString = isString;
/**
* Validation method to narrow down union type to bigint type case.
*
* This is Long case.
*/
function isBigint(value) {
return typeof value === 'bigint';
}
SubscriptionCustomPriceTrialPriceInCents.isBigint = isBigint;
})(SubscriptionCustomPriceTrialPriceInCents || (SubscriptionCustomPriceTrialPriceInCents = {}));
//# sourceMappingURL=subscriptionCustomPriceTrialPriceInCents.js.map