/**
* Autogenerated by Avro
*
* DO NOT EDIT DIRECTLY
*/
var remotemessage_Method = require("../remotemessage/Method");
var remotemessage_Message = require("../remotemessage/Message");
/**
* @constructor
* @augments remotemessage.Message
* @memberof remotemessage
*/
var VoidPaymentRefundMessage = function() {
remotemessage_Message.call(this);
this._superClass_ = remotemessage_Message;
this._class_ = VoidPaymentRefundMessage;
this.setMethod(remotemessage_Method["VOID_PAYMENT_REFUND"]);
this.orderId = undefined;
this.refundId = undefined;
this.disableCloverPrinting = false;
this.disableReceiptSelection = false;
this.extras = undefined;
};
VoidPaymentRefundMessage.prototype = Object.create(remotemessage_Message.prototype);
VoidPaymentRefundMessage.prototype.constructor = VoidPaymentRefundMessage;
/**
* Set the field value
* @memberof remotemessage.VoidPaymentRefundMessage
* @param {String} orderId
*/
VoidPaymentRefundMessage.prototype.setOrderId = function(orderId) {
this.orderId = orderId;
};
/**
* Get the field value
* @memberof remotemessage.VoidPaymentRefundMessage
* @return {String}
*/
VoidPaymentRefundMessage.prototype.getOrderId = function() {
return this.orderId;
};
/**
* Set the field value
* @memberof remotemessage.VoidPaymentRefundMessage
* @param {String} refundId
*/
VoidPaymentRefundMessage.prototype.setRefundId = function(refundId) {
this.refundId = refundId;
};
/**
* Get the field value
* @memberof remotemessage.VoidPaymentRefundMessage
* @return {String}
*/
VoidPaymentRefundMessage.prototype.getRefundId = function() {
return this.refundId;
};
/**
* Set the field value
* @memberof remotemessage.VoidPaymentRefundMessage
* @param {Boolean} disableCloverPrinting
*/
VoidPaymentRefundMessage.prototype.setDisableCloverPrinting = function(disableCloverPrinting) {
this.disableCloverPrinting = disableCloverPrinting;
};
/**
* Get the field value
* @memberof remotemessage.VoidPaymentRefundMessage
* @return {Boolean}
*/
VoidPaymentRefundMessage.prototype.getDisableCloverPrinting = function() {
return this.disableCloverPrinting;
};
/**
* Set the field value
* @memberof remotemessage.VoidPaymentRefundMessage
* @param {Boolean} disableReceiptSelection
*/
VoidPaymentRefundMessage.prototype.setDisableReceiptSelection = function(disableReceiptSelection) {
this.disableReceiptSelection = disableReceiptSelection;
};
/**
* Get the field value
* @memberof remotemessage.VoidPaymentRefundMessage
* @return {Boolean}
*/
VoidPaymentRefundMessage.prototype.getDisableReceiptSelection = function() {
return this.disableReceiptSelection;
};
/**
* Set the field value
* Extra data used by external systems.
*
* @memberof remotemessage.VoidPaymentRefundMessage
* @param {Object.<String,String>} extras A map of <String> to <>
*/
VoidPaymentRefundMessage.prototype.setExtras = function(extras) {
this.extras = extras;
};
/**
* Get the field value
* Extra data used by external systems.
* @memberof remotemessage.VoidPaymentRefundMessage
* @return {Object.<String,String>} A map of <String> to <>
*/
VoidPaymentRefundMessage.prototype.getExtras = function() {
return this.extras;
};
VoidPaymentRefundMessage._meta_ = {fields: {}};
VoidPaymentRefundMessage._meta_._class_ = VoidPaymentRefundMessage;
VoidPaymentRefundMessage._meta_._superMeta_ = remotemessage_Message._meta_;
VoidPaymentRefundMessage._meta_.fields["orderId"] = {};
VoidPaymentRefundMessage._meta_.fields["orderId"].type = String;
VoidPaymentRefundMessage._meta_.fields["refundId"] = {};
VoidPaymentRefundMessage._meta_.fields["refundId"].type = String;
VoidPaymentRefundMessage._meta_.fields["disableCloverPrinting"] = {};
VoidPaymentRefundMessage._meta_.fields["disableCloverPrinting"].type = Boolean;
VoidPaymentRefundMessage._meta_.fields["disableReceiptSelection"] = {};
VoidPaymentRefundMessage._meta_.fields["disableReceiptSelection"].type = Boolean;
VoidPaymentRefundMessage._meta_.fields["extras"] = {};
VoidPaymentRefundMessage._meta_.fields["extras"].type = Object;
//
// Expose the module.
//
if ('undefined' !== typeof module) {
module.exports = VoidPaymentRefundMessage;
}