wallee
Version:
TypeScript/JavaScript client for wallee
30 lines (29 loc) • 954 B
JavaScript
/**
* Check if a given object implements the BankAccountType interface.
*/
export function instanceOfBankAccountType(value) {
return true;
}
export function BankAccountTypeFromJSON(json) {
return BankAccountTypeFromJSONTyped(json, false);
}
export 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'],
};
}
export function BankAccountTypeToJSON(json) {
return BankAccountTypeToJSONTyped(json, false);
}
export function BankAccountTypeToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {};
}