UNPKG

wallee

Version:
29 lines (28 loc) 916 B
/** * Check if a given object implements the PaymentAppProcessorDetailsCreate interface. */ export function instanceOfPaymentAppProcessorDetailsCreate(value) { return true; } export function PaymentAppProcessorDetailsCreateFromJSON(json) { return PaymentAppProcessorDetailsCreateFromJSONTyped(json, false); } export function PaymentAppProcessorDetailsCreateFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'externalId': json['externalId'] == null ? undefined : json['externalId'], }; } export function PaymentAppProcessorDetailsCreateToJSON(json) { return PaymentAppProcessorDetailsCreateToJSONTyped(json, false); } export function PaymentAppProcessorDetailsCreateToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'externalId': value['externalId'], }; }