UNPKG

wallee

Version:
31 lines (30 loc) 1.13 kB
import { ProductSetupFeeFromJSON, } from './ProductSetupFee'; /** * Check if a given object implements the ProductSetupFeeSearchResponse interface. */ export function instanceOfProductSetupFeeSearchResponse(value) { return true; } export function ProductSetupFeeSearchResponseFromJSON(json) { return ProductSetupFeeSearchResponseFromJSONTyped(json, false); } export function ProductSetupFeeSearchResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : (json['data'].map(ProductSetupFeeFromJSON)), 'offset': json['offset'] == null ? undefined : json['offset'], 'hasMore': json['hasMore'] == null ? undefined : json['hasMore'], 'limit': json['limit'] == null ? undefined : json['limit'], }; } export function ProductSetupFeeSearchResponseToJSON(json) { return ProductSetupFeeSearchResponseToJSONTyped(json, false); } export function ProductSetupFeeSearchResponseToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }