/**
* Autogenerated by Avro
*
* DO NOT EDIT DIRECTLY
*/
var remotemessage_Method = require("../remotemessage/Method");
var remotemessage_Message = require("../remotemessage/Message");
var payments_Payment = require("../payments/Payment");
/**
* @constructor
* @augments remotemessage.Message
* @memberof remotemessage
*/
var PaymentConfirmedMessage = function() {
remotemessage_Message.call(this);
this._superClass_ = remotemessage_Message;
this._class_ = PaymentConfirmedMessage;
this.setMethod(remotemessage_Method["PAYMENT_CONFIRMED"]);
this.payment = undefined;
};
PaymentConfirmedMessage.prototype = Object.create(remotemessage_Message.prototype);
PaymentConfirmedMessage.prototype.constructor = PaymentConfirmedMessage;
/**
* Set the field value
* A payment
*
* @memberof remotemessage.PaymentConfirmedMessage
* @param {payments.Payment} payment
*/
PaymentConfirmedMessage.prototype.setPayment = function(payment) {
this.payment = payment;
};
/**
* Get the field value
* A payment
* @memberof remotemessage.PaymentConfirmedMessage
* @return {payments.Payment}
*/
PaymentConfirmedMessage.prototype.getPayment = function() {
return this.payment;
};
PaymentConfirmedMessage._meta_ = {fields: {}};
PaymentConfirmedMessage._meta_._class_ = PaymentConfirmedMessage;
PaymentConfirmedMessage._meta_._superMeta_ = remotemessage_Message._meta_;
PaymentConfirmedMessage._meta_.fields["payment"] = {};
PaymentConfirmedMessage._meta_.fields["payment"].type = payments_Payment;
//
// Expose the module.
//
if ('undefined' !== typeof module) {
module.exports = PaymentConfirmedMessage;
}