/**
* Autogenerated by Avro
*
* DO NOT EDIT DIRECTLY
*/
var remotepay_BaseRequest = require("../remotepay/BaseRequest");
/**
* @constructor
* @augments remotepay.BaseRequest
* @memberof remotepay
*/
var VoidPaymentRequest = function() {
remotepay_BaseRequest.call(this);
this._superClass_ = remotepay_BaseRequest;
this._class_ = VoidPaymentRequest;
this.orderId = undefined;
this.paymentId = undefined;
this.employeeId = undefined;
this.voidReason = undefined;
};
VoidPaymentRequest.prototype = Object.create(remotepay_BaseRequest.prototype);
VoidPaymentRequest.prototype.constructor = VoidPaymentRequest;
/**
* Set the field value
* Unique identifier
*
* @memberof remotepay.VoidPaymentRequest
* @param {String} orderId
*/
VoidPaymentRequest.prototype.setOrderId = function(orderId) {
this.orderId = orderId;
};
/**
* Get the field value
* Unique identifier
* @memberof remotepay.VoidPaymentRequest
* @return {String}
*/
VoidPaymentRequest.prototype.getOrderId = function() {
return this.orderId;
};
/**
* Set the field value
* Unique identifier
*
* @memberof remotepay.VoidPaymentRequest
* @param {String} paymentId
*/
VoidPaymentRequest.prototype.setPaymentId = function(paymentId) {
this.paymentId = paymentId;
};
/**
* Get the field value
* Unique identifier
* @memberof remotepay.VoidPaymentRequest
* @return {String}
*/
VoidPaymentRequest.prototype.getPaymentId = function() {
return this.paymentId;
};
/**
* Set the field value
* Unique identifier
*
* @memberof remotepay.VoidPaymentRequest
* @param {String} employeeId
*/
VoidPaymentRequest.prototype.setEmployeeId = function(employeeId) {
this.employeeId = employeeId;
};
/**
* Get the field value
* Unique identifier
* @memberof remotepay.VoidPaymentRequest
* @return {String}
*/
VoidPaymentRequest.prototype.getEmployeeId = function() {
return this.employeeId;
};
/**
* Set the field value
* Reason for void
*
* @memberof remotepay.VoidPaymentRequest
* @param {String} voidReason
*/
VoidPaymentRequest.prototype.setVoidReason = function(voidReason) {
this.voidReason = voidReason;
};
/**
* Get the field value
* Reason for void
* @memberof remotepay.VoidPaymentRequest
* @return {String}
*/
VoidPaymentRequest.prototype.getVoidReason = function() {
return this.voidReason;
};
VoidPaymentRequest._meta_ = {fields: {}};
VoidPaymentRequest._meta_._class_ = VoidPaymentRequest;
VoidPaymentRequest._meta_._superMeta_ = remotepay_BaseRequest._meta_;
VoidPaymentRequest._meta_.fields["orderId"] = {};
VoidPaymentRequest._meta_.fields["orderId"].type = String;
VoidPaymentRequest._meta_.fields["paymentId"] = {};
VoidPaymentRequest._meta_.fields["paymentId"].type = String;
VoidPaymentRequest._meta_.fields["employeeId"] = {};
VoidPaymentRequest._meta_.fields["employeeId"].type = String;
VoidPaymentRequest._meta_.fields["voidReason"] = {};
VoidPaymentRequest._meta_.fields["voidReason"].type = String;
//
// Expose the module.
//
if ('undefined' !== typeof module) {
module.exports = VoidPaymentRequest;
}