/* 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 * * * 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 USSD */ export interface USSD { /** * The three-digit USSD code. One of, 737, 919, 822, 966 * @type {string} * @memberof USSD */ type?: string; } export function USSDFromJSON(json: any): USSD { return USSDFromJSONTyped(json, false); } export function USSDFromJSONTyped(json: any, ignoreDiscriminator: boolean): USSD { if ((json === undefined) || (json === null)) { return json; } return { 'type': !exists(json, 'type') ? undefined : json['type'], }; } export function USSDToJSON(value?: USSD | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'type': value.type, }; }