UNPKG

wallee

Version:
31 lines (30 loc) 1.31 kB
import { InternalTransferBankTransactionFromJSON, } from './InternalTransferBankTransaction'; /** * Check if a given object implements the InternalTransferBankTransactionSearchResponse interface. */ export function instanceOfInternalTransferBankTransactionSearchResponse(value) { return true; } export function InternalTransferBankTransactionSearchResponseFromJSON(json) { return InternalTransferBankTransactionSearchResponseFromJSONTyped(json, false); } export function InternalTransferBankTransactionSearchResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : (json['data'].map(InternalTransferBankTransactionFromJSON)), 'offset': json['offset'] == null ? undefined : json['offset'], 'hasMore': json['hasMore'] == null ? undefined : json['hasMore'], 'limit': json['limit'] == null ? undefined : json['limit'], }; } export function InternalTransferBankTransactionSearchResponseToJSON(json) { return InternalTransferBankTransactionSearchResponseToJSONTyped(json, false); } export function InternalTransferBankTransactionSearchResponseToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }