wallee
Version:
TypeScript/JavaScript client for wallee
37 lines (36 loc) • 1.59 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.instanceOfChargeFlowLevelConfigurationType = instanceOfChargeFlowLevelConfigurationType;
exports.ChargeFlowLevelConfigurationTypeFromJSON = ChargeFlowLevelConfigurationTypeFromJSON;
exports.ChargeFlowLevelConfigurationTypeFromJSONTyped = ChargeFlowLevelConfigurationTypeFromJSONTyped;
exports.ChargeFlowLevelConfigurationTypeToJSON = ChargeFlowLevelConfigurationTypeToJSON;
exports.ChargeFlowLevelConfigurationTypeToJSONTyped = ChargeFlowLevelConfigurationTypeToJSONTyped;
/**
* Check if a given object implements the ChargeFlowLevelConfigurationType interface.
*/
function instanceOfChargeFlowLevelConfigurationType(value) {
return true;
}
function ChargeFlowLevelConfigurationTypeFromJSON(json) {
return ChargeFlowLevelConfigurationTypeFromJSONTyped(json, false);
}
function ChargeFlowLevelConfigurationTypeFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'name': json['name'] == null ? undefined : json['name'],
'description': json['description'] == null ? undefined : json['description'],
'id': json['id'] == null ? undefined : json['id'],
'label': json['label'] == null ? undefined : json['label'],
};
}
function ChargeFlowLevelConfigurationTypeToJSON(json) {
return ChargeFlowLevelConfigurationTypeToJSONTyped(json, false);
}
function ChargeFlowLevelConfigurationTypeToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {};
}