Source: remotepay/CheckBalanceResponse.js

/**
 * Autogenerated by Avro
 * 
 * DO NOT EDIT DIRECTLY
 */

var remotepay_BaseResponse = require("../remotepay/BaseResponse");

/**
* @constructor
* @augments remotepay.BaseResponse
* @memberof remotepay
*/
var CheckBalanceResponse = function() {
  remotepay_BaseResponse.call(this);
  this._superClass_ = remotepay_BaseResponse;
  this._class_ = CheckBalanceResponse;
  this.amount = undefined;
};

CheckBalanceResponse.prototype = Object.create(remotepay_BaseResponse.prototype);
CheckBalanceResponse.prototype.constructor = CheckBalanceResponse;

/**
* Set the field value
* @memberof remotepay.CheckBalanceResponse
* @param {Number} amount must be a long integer
*/
CheckBalanceResponse.prototype.setAmount = function(amount) {
  this.amount = amount;
};

/**
* Get the field value
* @memberof remotepay.CheckBalanceResponse
* @return {Number} must be a long integer
*/
CheckBalanceResponse.prototype.getAmount = function() {
  return this.amount;
};

CheckBalanceResponse._meta_ =  {fields:  {}};
CheckBalanceResponse._meta_._class_ =  CheckBalanceResponse;
CheckBalanceResponse._meta_._superMeta_ = remotepay_BaseResponse._meta_;
CheckBalanceResponse._meta_.fields["amount"] = {};
CheckBalanceResponse._meta_.fields["amount"].type = Number;

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