wallee
Version:
TypeScript/JavaScript client for wallee
37 lines (36 loc) • 1.77 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.instanceOfPaymentMethodConfigurationListResponse = instanceOfPaymentMethodConfigurationListResponse;
exports.PaymentMethodConfigurationListResponseFromJSON = PaymentMethodConfigurationListResponseFromJSON;
exports.PaymentMethodConfigurationListResponseFromJSONTyped = PaymentMethodConfigurationListResponseFromJSONTyped;
exports.PaymentMethodConfigurationListResponseToJSON = PaymentMethodConfigurationListResponseToJSON;
exports.PaymentMethodConfigurationListResponseToJSONTyped = PaymentMethodConfigurationListResponseToJSONTyped;
const PaymentMethodConfiguration_1 = require("./PaymentMethodConfiguration");
/**
* Check if a given object implements the PaymentMethodConfigurationListResponse interface.
*/
function instanceOfPaymentMethodConfigurationListResponse(value) {
return true;
}
function PaymentMethodConfigurationListResponseFromJSON(json) {
return PaymentMethodConfigurationListResponseFromJSONTyped(json, false);
}
function PaymentMethodConfigurationListResponseFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'data': json['data'] == null ? undefined : (json['data'].map(PaymentMethodConfiguration_1.PaymentMethodConfigurationFromJSON)),
'hasMore': json['hasMore'] == null ? undefined : json['hasMore'],
'limit': json['limit'] == null ? undefined : json['limit'],
};
}
function PaymentMethodConfigurationListResponseToJSON(json) {
return PaymentMethodConfigurationListResponseToJSONTyped(json, false);
}
function PaymentMethodConfigurationListResponseToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {};
}