Source: remotemessage/VoidPaymentRefundMessage.js

/**
 * 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;
};

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;
};

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;

//
// Expose the module.
//
if ('undefined' !== typeof module) {
module.exports = VoidPaymentRefundMessage;
}