wallee
Version:
TypeScript/JavaScript client for wallee
34 lines (33 loc) • 1.59 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.instanceOfExpressCheckoutShippingMethodChangeRequest = instanceOfExpressCheckoutShippingMethodChangeRequest;
exports.ExpressCheckoutShippingMethodChangeRequestFromJSON = ExpressCheckoutShippingMethodChangeRequestFromJSON;
exports.ExpressCheckoutShippingMethodChangeRequestFromJSONTyped = ExpressCheckoutShippingMethodChangeRequestFromJSONTyped;
exports.ExpressCheckoutShippingMethodChangeRequestToJSON = ExpressCheckoutShippingMethodChangeRequestToJSON;
exports.ExpressCheckoutShippingMethodChangeRequestToJSONTyped = ExpressCheckoutShippingMethodChangeRequestToJSONTyped;
/**
* Check if a given object implements the ExpressCheckoutShippingMethodChangeRequest interface.
*/
function instanceOfExpressCheckoutShippingMethodChangeRequest(value) {
return true;
}
function ExpressCheckoutShippingMethodChangeRequestFromJSON(json) {
return ExpressCheckoutShippingMethodChangeRequestFromJSONTyped(json, false);
}
function ExpressCheckoutShippingMethodChangeRequestFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'shippingMethodId': json['shippingMethodId'] == null ? undefined : json['shippingMethodId'],
};
}
function ExpressCheckoutShippingMethodChangeRequestToJSON(json) {
return ExpressCheckoutShippingMethodChangeRequestToJSONTyped(json, false);
}
function ExpressCheckoutShippingMethodChangeRequestToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {};
}