wallee
Version:
TypeScript/JavaScript client for wallee
28 lines (27 loc) • 861 B
JavaScript
/**
* Check if a given object implements the PaymentInformationHashType interface.
*/
export function instanceOfPaymentInformationHashType(value) {
return true;
}
export function PaymentInformationHashTypeFromJSON(json) {
return PaymentInformationHashTypeFromJSONTyped(json, false);
}
export function PaymentInformationHashTypeFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'name': json['name'] == null ? undefined : json['name'],
'id': json['id'] == null ? undefined : json['id'],
};
}
export function PaymentInformationHashTypeToJSON(json) {
return PaymentInformationHashTypeToJSONTyped(json, false);
}
export function PaymentInformationHashTypeToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {};
}