UNPKG

wallee

Version:
37 lines (36 loc) 1.53 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.instanceOfBankTransactionListResponse = instanceOfBankTransactionListResponse; exports.BankTransactionListResponseFromJSON = BankTransactionListResponseFromJSON; exports.BankTransactionListResponseFromJSONTyped = BankTransactionListResponseFromJSONTyped; exports.BankTransactionListResponseToJSON = BankTransactionListResponseToJSON; exports.BankTransactionListResponseToJSONTyped = BankTransactionListResponseToJSONTyped; const BankTransaction_1 = require("./BankTransaction"); /** * Check if a given object implements the BankTransactionListResponse interface. */ function instanceOfBankTransactionListResponse(value) { return true; } function BankTransactionListResponseFromJSON(json) { return BankTransactionListResponseFromJSONTyped(json, false); } function BankTransactionListResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : (json['data'].map(BankTransaction_1.BankTransactionFromJSON)), 'hasMore': json['hasMore'] == null ? undefined : json['hasMore'], 'limit': json['limit'] == null ? undefined : json['limit'], }; } function BankTransactionListResponseToJSON(json) { return BankTransactionListResponseToJSONTyped(json, false); } function BankTransactionListResponseToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }