wallee
Version:
TypeScript/JavaScript client for wallee
37 lines (36 loc) • 1.31 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.instanceOfBankAccountType = instanceOfBankAccountType;
exports.BankAccountTypeFromJSON = BankAccountTypeFromJSON;
exports.BankAccountTypeFromJSONTyped = BankAccountTypeFromJSONTyped;
exports.BankAccountTypeToJSON = BankAccountTypeToJSON;
exports.BankAccountTypeToJSONTyped = BankAccountTypeToJSONTyped;
/**
* Check if a given object implements the BankAccountType interface.
*/
function instanceOfBankAccountType(value) {
return true;
}
function BankAccountTypeFromJSON(json) {
return BankAccountTypeFromJSONTyped(json, false);
}
function BankAccountTypeFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'identifierName': json['identifierName'] == null ? undefined : json['identifierName'],
'name': json['name'] == null ? undefined : json['name'],
'description': json['description'] == null ? undefined : json['description'],
'id': json['id'] == null ? undefined : json['id'],
};
}
function BankAccountTypeToJSON(json) {
return BankAccountTypeToJSONTyped(json, false);
}
function BankAccountTypeToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {};
}