"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * Octane API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * 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.CustomerPaymentMethodStatusToJSON = exports.CustomerPaymentMethodStatusFromJSONTyped = exports.CustomerPaymentMethodStatusFromJSON = void 0;
const runtime_1 = require("../runtime");
function CustomerPaymentMethodStatusFromJSON(json) {
    return CustomerPaymentMethodStatusFromJSONTyped(json, false);
}
exports.CustomerPaymentMethodStatusFromJSON = CustomerPaymentMethodStatusFromJSON;
function CustomerPaymentMethodStatusFromJSONTyped(json, ignoreDiscriminator) {
    if ((json === undefined) || (json === null)) {
        return json;
    }
    return {
        'status': !(0, runtime_1.exists)(json, 'status') ? undefined : json['status'],
    };
}
exports.CustomerPaymentMethodStatusFromJSONTyped = CustomerPaymentMethodStatusFromJSONTyped;
function CustomerPaymentMethodStatusToJSON(value) {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        'status': value.status,
    };
}
exports.CustomerPaymentMethodStatusToJSON = CustomerPaymentMethodStatusToJSON;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ3VzdG9tZXJQYXltZW50TWV0aG9kU3RhdHVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2NvZGVnZW4vbW9kZWxzL0N1c3RvbWVyUGF5bWVudE1ldGhvZFN0YXR1cy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0JBQW9CO0FBQ3BCLG9CQUFvQjtBQUNwQjs7Ozs7Ozs7OztHQVVHOzs7QUFFSCx3Q0FBK0M7QUFlL0MsU0FBZ0IsbUNBQW1DLENBQUMsSUFBUzt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