UNPKG

wallee

Version:
37 lines (36 loc) 1.66 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.instanceOfChargeBankTransactionListResponse = instanceOfChargeBankTransactionListResponse; exports.ChargeBankTransactionListResponseFromJSON = ChargeBankTransactionListResponseFromJSON; exports.ChargeBankTransactionListResponseFromJSONTyped = ChargeBankTransactionListResponseFromJSONTyped; exports.ChargeBankTransactionListResponseToJSON = ChargeBankTransactionListResponseToJSON; exports.ChargeBankTransactionListResponseToJSONTyped = ChargeBankTransactionListResponseToJSONTyped; const ChargeBankTransaction_1 = require("./ChargeBankTransaction"); /** * Check if a given object implements the ChargeBankTransactionListResponse interface. */ function instanceOfChargeBankTransactionListResponse(value) { return true; } function ChargeBankTransactionListResponseFromJSON(json) { return ChargeBankTransactionListResponseFromJSONTyped(json, false); } function ChargeBankTransactionListResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : (json['data'].map(ChargeBankTransaction_1.ChargeBankTransactionFromJSON)), 'hasMore': json['hasMore'] == null ? undefined : json['hasMore'], 'limit': json['limit'] == null ? undefined : json['limit'], }; } function ChargeBankTransactionListResponseToJSON(json) { return ChargeBankTransactionListResponseToJSONTyped(json, false); } function ChargeBankTransactionListResponseToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }