UNPKG

wallee

Version:
27 lines (26 loc) 966 B
/** * Check if a given object implements the ExpressCheckoutShippingMethodChangeRequest interface. */ export function instanceOfExpressCheckoutShippingMethodChangeRequest(value) { return true; } export function ExpressCheckoutShippingMethodChangeRequestFromJSON(json) { return ExpressCheckoutShippingMethodChangeRequestFromJSONTyped(json, false); } export function ExpressCheckoutShippingMethodChangeRequestFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'shippingMethodId': json['shippingMethodId'] == null ? undefined : json['shippingMethodId'], }; } export function ExpressCheckoutShippingMethodChangeRequestToJSON(json) { return ExpressCheckoutShippingMethodChangeRequestToJSONTyped(json, false); } export function ExpressCheckoutShippingMethodChangeRequestToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }