/* tslint:disable */
/* eslint-disable */
/**
 * Paystack
 * The OpenAPI specification of the Paystack API that merchants and developers can harness to build financial solutions in Africa.
 *
 * The version of the Paystack Node library: 1.0.0
 * Contact: techsupport@paystack.com
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

import { exists, mapValues } from '../runtime';
/**
 * 
 * @export
 * @interface TransferFinalizeDisableOTP
 */
export interface TransferFinalizeDisableOTP {
    /**
     * OTP sent to business phone to verify disabling OTP requirement
     * @type {string}
     * @memberof TransferFinalizeDisableOTP
     */
    otp: string;
}

export function TransferFinalizeDisableOTPFromJSON(json: any): TransferFinalizeDisableOTP {
    return TransferFinalizeDisableOTPFromJSONTyped(json, false);
}

export function TransferFinalizeDisableOTPFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransferFinalizeDisableOTP {
    if ((json === undefined) || (json === null)) {
        return json;
    }
    return {
        
        'otp': json['otp'],
    };
}

export function TransferFinalizeDisableOTPToJSON(value?: TransferFinalizeDisableOTP | null): any {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        
        'otp': value.otp,
    };
}


