/* tslint:disable */ /* eslint-disable */ /** * Lemonway DirectKit API 2.0 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v2 * * * 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 MoneyInMobilePayInitOutput */ export interface MoneyInMobilePayInitOutput { /** * Transaction ID. You will this this value to confirm the transaction * @type {number} * @memberof MoneyInMobilePayInitOutput */ id?: number; /** * Redirected URL for the client on the iDeal page payment * @type {string} * @memberof MoneyInMobilePayInitOutput */ actionUrl?: string; /** * * @type {Error} * @memberof MoneyInMobilePayInitOutput */ error?: Error; } /** * Check if a given object implements the MoneyInMobilePayInitOutput interface. */ export function instanceOfMoneyInMobilePayInitOutput(value: object): boolean { let isInstance = true; return isInstance; } export function MoneyInMobilePayInitOutputFromJSON(json: any): MoneyInMobilePayInitOutput { return MoneyInMobilePayInitOutputFromJSONTyped(json, false); } export function MoneyInMobilePayInitOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): MoneyInMobilePayInitOutput { if ((json === undefined) || (json === null)) { return json; } return { 'id': !exists(json, 'id') ? undefined : json['id'], 'actionUrl': !exists(json, 'actionUrl') ? undefined : json['actionUrl'], 'error': !exists(json, 'error') ? undefined : json['error'], }; } export function MoneyInMobilePayInitOutputToJSON(value?: MoneyInMobilePayInitOutput | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'id': value.id, 'actionUrl': value.actionUrl, 'error': value.error, }; }