/**
* Autogenerated by Avro
*
* DO NOT EDIT DIRECTLY
*/
/**
* @constructor
* @memberof order
*/
var OverrideInfo = function() {
this._class_ = OverrideInfo;
this.disableCustomerUpdate = undefined;
};
/**
* Set the field value
* Flag indicating whether a currently associated customer on an order should not be replaced
*
* @memberof order.OverrideInfo
* @param {Boolean} disableCustomerUpdate
*/
OverrideInfo.prototype.setDisableCustomerUpdate = function(disableCustomerUpdate) {
this.disableCustomerUpdate = disableCustomerUpdate;
};
/**
* Get the field value
* Flag indicating whether a currently associated customer on an order should not be replaced
* @memberof order.OverrideInfo
* @return {Boolean}
*/
OverrideInfo.prototype.getDisableCustomerUpdate = function() {
return this.disableCustomerUpdate;
};
/**
* @memberof order.OverrideInfo
* @private
*/
OverrideInfo.prototype.getMetaInfo = function(fieldName) {
var curclass = this._class_;
do {
var fieldMetaInfo = curclass._meta_.fields[fieldName];
if(fieldMetaInfo) {
return fieldMetaInfo;
}
if(curclass._meta_._superMeta_) {
curclass = curclass._meta_._superMeta_._class_;
} else {
curclass = null;
}
} while(curclass);
return null;
};
OverrideInfo.prototype.toString = function() {
return JSON.stringify(this);
};
OverrideInfo._meta_ = {fields: {}};
OverrideInfo._meta_._class_ = OverrideInfo;
OverrideInfo._meta_.fields["disableCustomerUpdate"] = {};
OverrideInfo._meta_.fields["disableCustomerUpdate"].type = Boolean;
//
// Expose the module.
//
if ('undefined' !== typeof module) {
module.exports = OverrideInfo;
}