@getopenpay/client
Version:
OpenPay API TypeScript SDK
66 lines (65 loc) • 1.77 kB
JavaScript
;
/* tslint:disable */
/* eslint-disable */
/**
* OpenPay API
* super charge your subscription management.
*
* The version of the OpenAPI document: 1.2.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.CardSubType = void 0;
exports.instanceOfCardSubType = instanceOfCardSubType;
exports.CardSubTypeFromJSON = CardSubTypeFromJSON;
exports.CardSubTypeFromJSONTyped = CardSubTypeFromJSONTyped;
exports.CardSubTypeToJSON = CardSubTypeToJSON;
exports.CardSubTypeToJSONTyped = CardSubTypeToJSONTyped;
/**
*
* @export
*/
exports.CardSubType = {
Classic: 'classic',
Business: 'business',
Standard: 'standard',
Personal: 'personal',
Prepaid: 'prepaid',
Platinum: 'platinum',
Gold: 'gold',
Uatp: 'uatp',
Proprietary: 'proprietary',
Enhanced: 'enhanced',
World: 'world',
Electron: 'electron',
PersonalCore: 'personal_core',
Traditional: 'traditional',
Corporate: 'corporate',
Signature: 'signature'
};
function instanceOfCardSubType(value) {
for (const key in exports.CardSubType) {
if (Object.prototype.hasOwnProperty.call(exports.CardSubType, key)) {
if (exports.CardSubType[key] === value) {
return true;
}
}
}
return false;
}
function CardSubTypeFromJSON(json) {
return CardSubTypeFromJSONTyped(json, false);
}
function CardSubTypeFromJSONTyped(json, ignoreDiscriminator) {
return json;
}
function CardSubTypeToJSON(value) {
return value;
}
function CardSubTypeToJSONTyped(value, ignoreDiscriminator) {
return value;
}