UNPKG

wallee

Version:
30 lines (29 loc) 1.07 kB
import { ProductMeteredFeeFromJSON, } from './ProductMeteredFee'; /** * Check if a given object implements the ProductMeteredFeeListResponse interface. */ export function instanceOfProductMeteredFeeListResponse(value) { return true; } export function ProductMeteredFeeListResponseFromJSON(json) { return ProductMeteredFeeListResponseFromJSONTyped(json, false); } export function ProductMeteredFeeListResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : (json['data'].map(ProductMeteredFeeFromJSON)), 'hasMore': json['hasMore'] == null ? undefined : json['hasMore'], 'limit': json['limit'] == null ? undefined : json['limit'], }; } export function ProductMeteredFeeListResponseToJSON(json) { return ProductMeteredFeeListResponseToJSONTyped(json, false); } export function ProductMeteredFeeListResponseToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }