@sniipwebmaster/agent-billing-client-grpcweb 24.2.1527 → 24.2.1567
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dependancies/service_pb.js +976 -272
- package/package.json +1 -1
|
@@ -25,9 +25,12 @@ goog.exportSymbol('proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsR
|
|
|
25
25
|
goog.exportSymbol('proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest', null, global);
|
|
26
26
|
goog.exportSymbol('proto.agentbillingserviceapi.ArchiveAgentBillsResponse', null, global);
|
|
27
27
|
goog.exportSymbol('proto.agentbillingserviceapi.BillConfig', null, global);
|
|
28
|
+
goog.exportSymbol('proto.agentbillingserviceapi.BillConfigRequest', null, global);
|
|
29
|
+
goog.exportSymbol('proto.agentbillingserviceapi.BillConfigRequest.PaymentProcessor', null, global);
|
|
28
30
|
goog.exportSymbol('proto.agentbillingserviceapi.CancelAgentInviteRequest', null, global);
|
|
29
31
|
goog.exportSymbol('proto.agentbillingserviceapi.Client', null, global);
|
|
30
32
|
goog.exportSymbol('proto.agentbillingserviceapi.ConnectAgentRequest', null, global);
|
|
33
|
+
goog.exportSymbol('proto.agentbillingserviceapi.CreateAgentBillRequest', null, global);
|
|
31
34
|
goog.exportSymbol('proto.agentbillingserviceapi.CreateAgentBillsResponse', null, global);
|
|
32
35
|
goog.exportSymbol('proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest', null, global);
|
|
33
36
|
goog.exportSymbol('proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest', null, global);
|
|
@@ -404,6 +407,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
404
407
|
*/
|
|
405
408
|
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.displayName = 'proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest';
|
|
406
409
|
}
|
|
410
|
+
/**
|
|
411
|
+
* Generated by JsPbCodeGenerator.
|
|
412
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
413
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
414
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
415
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
416
|
+
* valid.
|
|
417
|
+
* @extends {jspb.Message}
|
|
418
|
+
* @constructor
|
|
419
|
+
*/
|
|
420
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest = function(opt_data) {
|
|
421
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.agentbillingserviceapi.CreateAgentBillRequest.repeatedFields_, null);
|
|
422
|
+
};
|
|
423
|
+
goog.inherits(proto.agentbillingserviceapi.CreateAgentBillRequest, jspb.Message);
|
|
424
|
+
if (goog.DEBUG && !COMPILED) {
|
|
425
|
+
/**
|
|
426
|
+
* @public
|
|
427
|
+
* @override
|
|
428
|
+
*/
|
|
429
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.displayName = 'proto.agentbillingserviceapi.CreateAgentBillRequest';
|
|
430
|
+
}
|
|
431
|
+
/**
|
|
432
|
+
* Generated by JsPbCodeGenerator.
|
|
433
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
434
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
435
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
436
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
437
|
+
* valid.
|
|
438
|
+
* @extends {jspb.Message}
|
|
439
|
+
* @constructor
|
|
440
|
+
*/
|
|
441
|
+
proto.agentbillingserviceapi.BillConfigRequest = function(opt_data) {
|
|
442
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
443
|
+
};
|
|
444
|
+
goog.inherits(proto.agentbillingserviceapi.BillConfigRequest, jspb.Message);
|
|
445
|
+
if (goog.DEBUG && !COMPILED) {
|
|
446
|
+
/**
|
|
447
|
+
* @public
|
|
448
|
+
* @override
|
|
449
|
+
*/
|
|
450
|
+
proto.agentbillingserviceapi.BillConfigRequest.displayName = 'proto.agentbillingserviceapi.BillConfigRequest';
|
|
451
|
+
}
|
|
407
452
|
/**
|
|
408
453
|
* Generated by JsPbCodeGenerator.
|
|
409
454
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1528,7 +1573,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1528
1573
|
* @constructor
|
|
1529
1574
|
*/
|
|
1530
1575
|
proto.agentbillingserviceapi.AgentBillTransaction = function(opt_data) {
|
|
1531
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
1576
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.agentbillingserviceapi.AgentBillTransaction.repeatedFields_, null);
|
|
1532
1577
|
};
|
|
1533
1578
|
goog.inherits(proto.agentbillingserviceapi.AgentBillTransaction, jspb.Message);
|
|
1534
1579
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -4633,7 +4678,8 @@ proto.agentbillingserviceapi.CreateAgentBillsResponse.toObject = function(includ
|
|
|
4633
4678
|
responsecode: (f = msg.getResponsecode()) && proto.agentbillingserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
4634
4679
|
uploadbatchid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
4635
4680
|
addedbillscount: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
4636
|
-
uploadbatchname: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
4681
|
+
uploadbatchname: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
4682
|
+
agentbillstatus: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
4637
4683
|
};
|
|
4638
4684
|
|
|
4639
4685
|
if (includeInstance) {
|
|
@@ -4687,6 +4733,10 @@ proto.agentbillingserviceapi.CreateAgentBillsResponse.deserializeBinaryFromReade
|
|
|
4687
4733
|
var value = /** @type {string} */ (reader.readString());
|
|
4688
4734
|
msg.setUploadbatchname(value);
|
|
4689
4735
|
break;
|
|
4736
|
+
case 5:
|
|
4737
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4738
|
+
msg.setAgentbillstatus(value);
|
|
4739
|
+
break;
|
|
4690
4740
|
default:
|
|
4691
4741
|
reader.skipField();
|
|
4692
4742
|
break;
|
|
@@ -4745,6 +4795,13 @@ proto.agentbillingserviceapi.CreateAgentBillsResponse.serializeBinaryToWriter =
|
|
|
4745
4795
|
f
|
|
4746
4796
|
);
|
|
4747
4797
|
}
|
|
4798
|
+
f = message.getAgentbillstatus();
|
|
4799
|
+
if (f.length > 0) {
|
|
4800
|
+
writer.writeString(
|
|
4801
|
+
5,
|
|
4802
|
+
f
|
|
4803
|
+
);
|
|
4804
|
+
}
|
|
4748
4805
|
};
|
|
4749
4806
|
|
|
4750
4807
|
|
|
@@ -4839,6 +4896,24 @@ proto.agentbillingserviceapi.CreateAgentBillsResponse.prototype.setUploadbatchna
|
|
|
4839
4896
|
};
|
|
4840
4897
|
|
|
4841
4898
|
|
|
4899
|
+
/**
|
|
4900
|
+
* optional string agentBillStatus = 5;
|
|
4901
|
+
* @return {string}
|
|
4902
|
+
*/
|
|
4903
|
+
proto.agentbillingserviceapi.CreateAgentBillsResponse.prototype.getAgentbillstatus = function() {
|
|
4904
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
4905
|
+
};
|
|
4906
|
+
|
|
4907
|
+
|
|
4908
|
+
/**
|
|
4909
|
+
* @param {string} value
|
|
4910
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillsResponse} returns this
|
|
4911
|
+
*/
|
|
4912
|
+
proto.agentbillingserviceapi.CreateAgentBillsResponse.prototype.setAgentbillstatus = function(value) {
|
|
4913
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
4914
|
+
};
|
|
4915
|
+
|
|
4916
|
+
|
|
4842
4917
|
|
|
4843
4918
|
/**
|
|
4844
4919
|
* List of repeated fields within this message type.
|
|
@@ -5324,74 +5399,883 @@ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.setRe
|
|
|
5324
5399
|
|
|
5325
5400
|
|
|
5326
5401
|
/**
|
|
5327
|
-
* optional double amount = 5;
|
|
5328
|
-
* @return {number}
|
|
5402
|
+
* optional double amount = 5;
|
|
5403
|
+
* @return {number}
|
|
5404
|
+
*/
|
|
5405
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.getAmount = function() {
|
|
5406
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
|
5407
|
+
};
|
|
5408
|
+
|
|
5409
|
+
|
|
5410
|
+
/**
|
|
5411
|
+
* @param {number} value
|
|
5412
|
+
* @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest} returns this
|
|
5413
|
+
*/
|
|
5414
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.setAmount = function(value) {
|
|
5415
|
+
return jspb.Message.setProto3FloatField(this, 5, value);
|
|
5416
|
+
};
|
|
5417
|
+
|
|
5418
|
+
|
|
5419
|
+
/**
|
|
5420
|
+
* optional string dueDate = 6;
|
|
5421
|
+
* @return {string}
|
|
5422
|
+
*/
|
|
5423
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.getDuedate = function() {
|
|
5424
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
5425
|
+
};
|
|
5426
|
+
|
|
5427
|
+
|
|
5428
|
+
/**
|
|
5429
|
+
* @param {string} value
|
|
5430
|
+
* @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest} returns this
|
|
5431
|
+
*/
|
|
5432
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.setDuedate = function(value) {
|
|
5433
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
5434
|
+
};
|
|
5435
|
+
|
|
5436
|
+
|
|
5437
|
+
/**
|
|
5438
|
+
* optional string invoiceNumber = 7;
|
|
5439
|
+
* @return {string}
|
|
5440
|
+
*/
|
|
5441
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.getInvoicenumber = function() {
|
|
5442
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
5443
|
+
};
|
|
5444
|
+
|
|
5445
|
+
|
|
5446
|
+
/**
|
|
5447
|
+
* @param {string} value
|
|
5448
|
+
* @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest} returns this
|
|
5449
|
+
*/
|
|
5450
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.setInvoicenumber = function(value) {
|
|
5451
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
5452
|
+
};
|
|
5453
|
+
|
|
5454
|
+
|
|
5455
|
+
/**
|
|
5456
|
+
* optional string description = 8;
|
|
5457
|
+
* @return {string}
|
|
5458
|
+
*/
|
|
5459
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.getDescription = function() {
|
|
5460
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
5461
|
+
};
|
|
5462
|
+
|
|
5463
|
+
|
|
5464
|
+
/**
|
|
5465
|
+
* @param {string} value
|
|
5466
|
+
* @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest} returns this
|
|
5467
|
+
*/
|
|
5468
|
+
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.setDescription = function(value) {
|
|
5469
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
5470
|
+
};
|
|
5471
|
+
|
|
5472
|
+
|
|
5473
|
+
|
|
5474
|
+
/**
|
|
5475
|
+
* List of repeated fields within this message type.
|
|
5476
|
+
* @private {!Array<number>}
|
|
5477
|
+
* @const
|
|
5478
|
+
*/
|
|
5479
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.repeatedFields_ = [15];
|
|
5480
|
+
|
|
5481
|
+
|
|
5482
|
+
|
|
5483
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5484
|
+
/**
|
|
5485
|
+
* Creates an object representation of this proto.
|
|
5486
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5487
|
+
* Optional fields that are not set will be set to undefined.
|
|
5488
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5489
|
+
* For the list of reserved names please see:
|
|
5490
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5491
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5492
|
+
* JSPB instance for transitional soy proto support:
|
|
5493
|
+
* http://goto/soy-param-migration
|
|
5494
|
+
* @return {!Object}
|
|
5495
|
+
*/
|
|
5496
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.toObject = function(opt_includeInstance) {
|
|
5497
|
+
return proto.agentbillingserviceapi.CreateAgentBillRequest.toObject(opt_includeInstance, this);
|
|
5498
|
+
};
|
|
5499
|
+
|
|
5500
|
+
|
|
5501
|
+
/**
|
|
5502
|
+
* Static version of the {@see toObject} method.
|
|
5503
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5504
|
+
* the JSPB instance for transitional soy proto support:
|
|
5505
|
+
* http://goto/soy-param-migration
|
|
5506
|
+
* @param {!proto.agentbillingserviceapi.CreateAgentBillRequest} msg The msg instance to transform.
|
|
5507
|
+
* @return {!Object}
|
|
5508
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5509
|
+
*/
|
|
5510
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.toObject = function(includeInstance, msg) {
|
|
5511
|
+
var f, obj = {
|
|
5512
|
+
clientuserid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
5513
|
+
uploadbatchid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
5514
|
+
amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
|
5515
|
+
duedate: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
5516
|
+
description: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
5517
|
+
abn: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
5518
|
+
billid: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
5519
|
+
isdraft: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
|
|
5520
|
+
requiresreview: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
|
|
5521
|
+
hasbeenimported: jspb.Message.getBooleanFieldWithDefault(msg, 13, false),
|
|
5522
|
+
agentbillid: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
5523
|
+
billconfigsList: jspb.Message.toObjectList(msg.getBillconfigsList(),
|
|
5524
|
+
proto.agentbillingserviceapi.BillConfigRequest.toObject, includeInstance)
|
|
5525
|
+
};
|
|
5526
|
+
|
|
5527
|
+
if (includeInstance) {
|
|
5528
|
+
obj.$jspbMessageInstance = msg;
|
|
5529
|
+
}
|
|
5530
|
+
return obj;
|
|
5531
|
+
};
|
|
5532
|
+
}
|
|
5533
|
+
|
|
5534
|
+
|
|
5535
|
+
/**
|
|
5536
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5537
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5538
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillRequest}
|
|
5539
|
+
*/
|
|
5540
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.deserializeBinary = function(bytes) {
|
|
5541
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5542
|
+
var msg = new proto.agentbillingserviceapi.CreateAgentBillRequest;
|
|
5543
|
+
return proto.agentbillingserviceapi.CreateAgentBillRequest.deserializeBinaryFromReader(msg, reader);
|
|
5544
|
+
};
|
|
5545
|
+
|
|
5546
|
+
|
|
5547
|
+
/**
|
|
5548
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5549
|
+
* given reader into the given message object.
|
|
5550
|
+
* @param {!proto.agentbillingserviceapi.CreateAgentBillRequest} msg The message object to deserialize into.
|
|
5551
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5552
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillRequest}
|
|
5553
|
+
*/
|
|
5554
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
5555
|
+
while (reader.nextField()) {
|
|
5556
|
+
if (reader.isEndGroup()) {
|
|
5557
|
+
break;
|
|
5558
|
+
}
|
|
5559
|
+
var field = reader.getFieldNumber();
|
|
5560
|
+
switch (field) {
|
|
5561
|
+
case 1:
|
|
5562
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
5563
|
+
msg.setClientuserid(value);
|
|
5564
|
+
break;
|
|
5565
|
+
case 2:
|
|
5566
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
5567
|
+
msg.setUploadbatchid(value);
|
|
5568
|
+
break;
|
|
5569
|
+
case 5:
|
|
5570
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
5571
|
+
msg.setAmount(value);
|
|
5572
|
+
break;
|
|
5573
|
+
case 6:
|
|
5574
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5575
|
+
msg.setDuedate(value);
|
|
5576
|
+
break;
|
|
5577
|
+
case 8:
|
|
5578
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5579
|
+
msg.setDescription(value);
|
|
5580
|
+
break;
|
|
5581
|
+
case 9:
|
|
5582
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5583
|
+
msg.setAbn(value);
|
|
5584
|
+
break;
|
|
5585
|
+
case 10:
|
|
5586
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
5587
|
+
msg.setBillid(value);
|
|
5588
|
+
break;
|
|
5589
|
+
case 11:
|
|
5590
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
5591
|
+
msg.setIsdraft(value);
|
|
5592
|
+
break;
|
|
5593
|
+
case 12:
|
|
5594
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
5595
|
+
msg.setRequiresreview(value);
|
|
5596
|
+
break;
|
|
5597
|
+
case 13:
|
|
5598
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
5599
|
+
msg.setHasbeenimported(value);
|
|
5600
|
+
break;
|
|
5601
|
+
case 14:
|
|
5602
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
5603
|
+
msg.setAgentbillid(value);
|
|
5604
|
+
break;
|
|
5605
|
+
case 15:
|
|
5606
|
+
var value = new proto.agentbillingserviceapi.BillConfigRequest;
|
|
5607
|
+
reader.readMessage(value,proto.agentbillingserviceapi.BillConfigRequest.deserializeBinaryFromReader);
|
|
5608
|
+
msg.addBillconfigs(value);
|
|
5609
|
+
break;
|
|
5610
|
+
default:
|
|
5611
|
+
reader.skipField();
|
|
5612
|
+
break;
|
|
5613
|
+
}
|
|
5614
|
+
}
|
|
5615
|
+
return msg;
|
|
5616
|
+
};
|
|
5617
|
+
|
|
5618
|
+
|
|
5619
|
+
/**
|
|
5620
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5621
|
+
* @return {!Uint8Array}
|
|
5622
|
+
*/
|
|
5623
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.serializeBinary = function() {
|
|
5624
|
+
var writer = new jspb.BinaryWriter();
|
|
5625
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.serializeBinaryToWriter(this, writer);
|
|
5626
|
+
return writer.getResultBuffer();
|
|
5627
|
+
};
|
|
5628
|
+
|
|
5629
|
+
|
|
5630
|
+
/**
|
|
5631
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5632
|
+
* format), writing to the given BinaryWriter.
|
|
5633
|
+
* @param {!proto.agentbillingserviceapi.CreateAgentBillRequest} message
|
|
5634
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5635
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5636
|
+
*/
|
|
5637
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.serializeBinaryToWriter = function(message, writer) {
|
|
5638
|
+
var f = undefined;
|
|
5639
|
+
f = message.getClientuserid();
|
|
5640
|
+
if (f !== 0) {
|
|
5641
|
+
writer.writeInt64(
|
|
5642
|
+
1,
|
|
5643
|
+
f
|
|
5644
|
+
);
|
|
5645
|
+
}
|
|
5646
|
+
f = message.getUploadbatchid();
|
|
5647
|
+
if (f !== 0) {
|
|
5648
|
+
writer.writeInt64(
|
|
5649
|
+
2,
|
|
5650
|
+
f
|
|
5651
|
+
);
|
|
5652
|
+
}
|
|
5653
|
+
f = message.getAmount();
|
|
5654
|
+
if (f !== 0.0) {
|
|
5655
|
+
writer.writeDouble(
|
|
5656
|
+
5,
|
|
5657
|
+
f
|
|
5658
|
+
);
|
|
5659
|
+
}
|
|
5660
|
+
f = message.getDuedate();
|
|
5661
|
+
if (f.length > 0) {
|
|
5662
|
+
writer.writeString(
|
|
5663
|
+
6,
|
|
5664
|
+
f
|
|
5665
|
+
);
|
|
5666
|
+
}
|
|
5667
|
+
f = message.getDescription();
|
|
5668
|
+
if (f.length > 0) {
|
|
5669
|
+
writer.writeString(
|
|
5670
|
+
8,
|
|
5671
|
+
f
|
|
5672
|
+
);
|
|
5673
|
+
}
|
|
5674
|
+
f = message.getAbn();
|
|
5675
|
+
if (f.length > 0) {
|
|
5676
|
+
writer.writeString(
|
|
5677
|
+
9,
|
|
5678
|
+
f
|
|
5679
|
+
);
|
|
5680
|
+
}
|
|
5681
|
+
f = message.getBillid();
|
|
5682
|
+
if (f !== 0) {
|
|
5683
|
+
writer.writeInt64(
|
|
5684
|
+
10,
|
|
5685
|
+
f
|
|
5686
|
+
);
|
|
5687
|
+
}
|
|
5688
|
+
f = message.getIsdraft();
|
|
5689
|
+
if (f) {
|
|
5690
|
+
writer.writeBool(
|
|
5691
|
+
11,
|
|
5692
|
+
f
|
|
5693
|
+
);
|
|
5694
|
+
}
|
|
5695
|
+
f = message.getRequiresreview();
|
|
5696
|
+
if (f) {
|
|
5697
|
+
writer.writeBool(
|
|
5698
|
+
12,
|
|
5699
|
+
f
|
|
5700
|
+
);
|
|
5701
|
+
}
|
|
5702
|
+
f = message.getHasbeenimported();
|
|
5703
|
+
if (f) {
|
|
5704
|
+
writer.writeBool(
|
|
5705
|
+
13,
|
|
5706
|
+
f
|
|
5707
|
+
);
|
|
5708
|
+
}
|
|
5709
|
+
f = message.getAgentbillid();
|
|
5710
|
+
if (f !== 0) {
|
|
5711
|
+
writer.writeInt64(
|
|
5712
|
+
14,
|
|
5713
|
+
f
|
|
5714
|
+
);
|
|
5715
|
+
}
|
|
5716
|
+
f = message.getBillconfigsList();
|
|
5717
|
+
if (f.length > 0) {
|
|
5718
|
+
writer.writeRepeatedMessage(
|
|
5719
|
+
15,
|
|
5720
|
+
f,
|
|
5721
|
+
proto.agentbillingserviceapi.BillConfigRequest.serializeBinaryToWriter
|
|
5722
|
+
);
|
|
5723
|
+
}
|
|
5724
|
+
};
|
|
5725
|
+
|
|
5726
|
+
|
|
5727
|
+
/**
|
|
5728
|
+
* optional int64 clientUserId = 1;
|
|
5729
|
+
* @return {number}
|
|
5730
|
+
*/
|
|
5731
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.getClientuserid = function() {
|
|
5732
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
5733
|
+
};
|
|
5734
|
+
|
|
5735
|
+
|
|
5736
|
+
/**
|
|
5737
|
+
* @param {number} value
|
|
5738
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillRequest} returns this
|
|
5739
|
+
*/
|
|
5740
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.setClientuserid = function(value) {
|
|
5741
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
5742
|
+
};
|
|
5743
|
+
|
|
5744
|
+
|
|
5745
|
+
/**
|
|
5746
|
+
* optional int64 uploadBatchId = 2;
|
|
5747
|
+
* @return {number}
|
|
5748
|
+
*/
|
|
5749
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.getUploadbatchid = function() {
|
|
5750
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
5751
|
+
};
|
|
5752
|
+
|
|
5753
|
+
|
|
5754
|
+
/**
|
|
5755
|
+
* @param {number} value
|
|
5756
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillRequest} returns this
|
|
5757
|
+
*/
|
|
5758
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.setUploadbatchid = function(value) {
|
|
5759
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
5760
|
+
};
|
|
5761
|
+
|
|
5762
|
+
|
|
5763
|
+
/**
|
|
5764
|
+
* optional double amount = 5;
|
|
5765
|
+
* @return {number}
|
|
5766
|
+
*/
|
|
5767
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.getAmount = function() {
|
|
5768
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
|
5769
|
+
};
|
|
5770
|
+
|
|
5771
|
+
|
|
5772
|
+
/**
|
|
5773
|
+
* @param {number} value
|
|
5774
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillRequest} returns this
|
|
5775
|
+
*/
|
|
5776
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.setAmount = function(value) {
|
|
5777
|
+
return jspb.Message.setProto3FloatField(this, 5, value);
|
|
5778
|
+
};
|
|
5779
|
+
|
|
5780
|
+
|
|
5781
|
+
/**
|
|
5782
|
+
* optional string dueDate = 6;
|
|
5783
|
+
* @return {string}
|
|
5784
|
+
*/
|
|
5785
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.getDuedate = function() {
|
|
5786
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
5787
|
+
};
|
|
5788
|
+
|
|
5789
|
+
|
|
5790
|
+
/**
|
|
5791
|
+
* @param {string} value
|
|
5792
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillRequest} returns this
|
|
5793
|
+
*/
|
|
5794
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.setDuedate = function(value) {
|
|
5795
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
5796
|
+
};
|
|
5797
|
+
|
|
5798
|
+
|
|
5799
|
+
/**
|
|
5800
|
+
* optional string description = 8;
|
|
5801
|
+
* @return {string}
|
|
5802
|
+
*/
|
|
5803
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.getDescription = function() {
|
|
5804
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
5805
|
+
};
|
|
5806
|
+
|
|
5807
|
+
|
|
5808
|
+
/**
|
|
5809
|
+
* @param {string} value
|
|
5810
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillRequest} returns this
|
|
5811
|
+
*/
|
|
5812
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.setDescription = function(value) {
|
|
5813
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
5814
|
+
};
|
|
5815
|
+
|
|
5816
|
+
|
|
5817
|
+
/**
|
|
5818
|
+
* optional string abn = 9;
|
|
5819
|
+
* @return {string}
|
|
5820
|
+
*/
|
|
5821
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.getAbn = function() {
|
|
5822
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
5823
|
+
};
|
|
5824
|
+
|
|
5825
|
+
|
|
5826
|
+
/**
|
|
5827
|
+
* @param {string} value
|
|
5828
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillRequest} returns this
|
|
5829
|
+
*/
|
|
5830
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.setAbn = function(value) {
|
|
5831
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
5832
|
+
};
|
|
5833
|
+
|
|
5834
|
+
|
|
5835
|
+
/**
|
|
5836
|
+
* optional int64 billId = 10;
|
|
5837
|
+
* @return {number}
|
|
5838
|
+
*/
|
|
5839
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.getBillid = function() {
|
|
5840
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
|
5841
|
+
};
|
|
5842
|
+
|
|
5843
|
+
|
|
5844
|
+
/**
|
|
5845
|
+
* @param {number} value
|
|
5846
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillRequest} returns this
|
|
5847
|
+
*/
|
|
5848
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.setBillid = function(value) {
|
|
5849
|
+
return jspb.Message.setProto3IntField(this, 10, value);
|
|
5850
|
+
};
|
|
5851
|
+
|
|
5852
|
+
|
|
5853
|
+
/**
|
|
5854
|
+
* optional bool isDraft = 11;
|
|
5855
|
+
* @return {boolean}
|
|
5856
|
+
*/
|
|
5857
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.getIsdraft = function() {
|
|
5858
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false));
|
|
5859
|
+
};
|
|
5860
|
+
|
|
5861
|
+
|
|
5862
|
+
/**
|
|
5863
|
+
* @param {boolean} value
|
|
5864
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillRequest} returns this
|
|
5865
|
+
*/
|
|
5866
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.setIsdraft = function(value) {
|
|
5867
|
+
return jspb.Message.setProto3BooleanField(this, 11, value);
|
|
5868
|
+
};
|
|
5869
|
+
|
|
5870
|
+
|
|
5871
|
+
/**
|
|
5872
|
+
* optional bool requiresReview = 12;
|
|
5873
|
+
* @return {boolean}
|
|
5874
|
+
*/
|
|
5875
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.getRequiresreview = function() {
|
|
5876
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 12, false));
|
|
5877
|
+
};
|
|
5878
|
+
|
|
5879
|
+
|
|
5880
|
+
/**
|
|
5881
|
+
* @param {boolean} value
|
|
5882
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillRequest} returns this
|
|
5883
|
+
*/
|
|
5884
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.setRequiresreview = function(value) {
|
|
5885
|
+
return jspb.Message.setProto3BooleanField(this, 12, value);
|
|
5886
|
+
};
|
|
5887
|
+
|
|
5888
|
+
|
|
5889
|
+
/**
|
|
5890
|
+
* optional bool hasBeenImported = 13;
|
|
5891
|
+
* @return {boolean}
|
|
5892
|
+
*/
|
|
5893
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.getHasbeenimported = function() {
|
|
5894
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 13, false));
|
|
5895
|
+
};
|
|
5896
|
+
|
|
5897
|
+
|
|
5898
|
+
/**
|
|
5899
|
+
* @param {boolean} value
|
|
5900
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillRequest} returns this
|
|
5901
|
+
*/
|
|
5902
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.setHasbeenimported = function(value) {
|
|
5903
|
+
return jspb.Message.setProto3BooleanField(this, 13, value);
|
|
5904
|
+
};
|
|
5905
|
+
|
|
5906
|
+
|
|
5907
|
+
/**
|
|
5908
|
+
* optional int64 agentBillId = 14;
|
|
5909
|
+
* @return {number}
|
|
5910
|
+
*/
|
|
5911
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.getAgentbillid = function() {
|
|
5912
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
|
|
5913
|
+
};
|
|
5914
|
+
|
|
5915
|
+
|
|
5916
|
+
/**
|
|
5917
|
+
* @param {number} value
|
|
5918
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillRequest} returns this
|
|
5919
|
+
*/
|
|
5920
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.setAgentbillid = function(value) {
|
|
5921
|
+
return jspb.Message.setProto3IntField(this, 14, value);
|
|
5922
|
+
};
|
|
5923
|
+
|
|
5924
|
+
|
|
5925
|
+
/**
|
|
5926
|
+
* repeated BillConfigRequest billConfigs = 15;
|
|
5927
|
+
* @return {!Array<!proto.agentbillingserviceapi.BillConfigRequest>}
|
|
5928
|
+
*/
|
|
5929
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.getBillconfigsList = function() {
|
|
5930
|
+
return /** @type{!Array<!proto.agentbillingserviceapi.BillConfigRequest>} */ (
|
|
5931
|
+
jspb.Message.getRepeatedWrapperField(this, proto.agentbillingserviceapi.BillConfigRequest, 15));
|
|
5932
|
+
};
|
|
5933
|
+
|
|
5934
|
+
|
|
5935
|
+
/**
|
|
5936
|
+
* @param {!Array<!proto.agentbillingserviceapi.BillConfigRequest>} value
|
|
5937
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillRequest} returns this
|
|
5938
|
+
*/
|
|
5939
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.setBillconfigsList = function(value) {
|
|
5940
|
+
return jspb.Message.setRepeatedWrapperField(this, 15, value);
|
|
5941
|
+
};
|
|
5942
|
+
|
|
5943
|
+
|
|
5944
|
+
/**
|
|
5945
|
+
* @param {!proto.agentbillingserviceapi.BillConfigRequest=} opt_value
|
|
5946
|
+
* @param {number=} opt_index
|
|
5947
|
+
* @return {!proto.agentbillingserviceapi.BillConfigRequest}
|
|
5948
|
+
*/
|
|
5949
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.addBillconfigs = function(opt_value, opt_index) {
|
|
5950
|
+
return jspb.Message.addToRepeatedWrapperField(this, 15, opt_value, proto.agentbillingserviceapi.BillConfigRequest, opt_index);
|
|
5951
|
+
};
|
|
5952
|
+
|
|
5953
|
+
|
|
5954
|
+
/**
|
|
5955
|
+
* Clears the list making it empty but non-null.
|
|
5956
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillRequest} returns this
|
|
5957
|
+
*/
|
|
5958
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.clearBillconfigsList = function() {
|
|
5959
|
+
return this.setBillconfigsList([]);
|
|
5960
|
+
};
|
|
5961
|
+
|
|
5962
|
+
|
|
5963
|
+
|
|
5964
|
+
|
|
5965
|
+
|
|
5966
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5967
|
+
/**
|
|
5968
|
+
* Creates an object representation of this proto.
|
|
5969
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5970
|
+
* Optional fields that are not set will be set to undefined.
|
|
5971
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5972
|
+
* For the list of reserved names please see:
|
|
5973
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5974
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5975
|
+
* JSPB instance for transitional soy proto support:
|
|
5976
|
+
* http://goto/soy-param-migration
|
|
5977
|
+
* @return {!Object}
|
|
5978
|
+
*/
|
|
5979
|
+
proto.agentbillingserviceapi.BillConfigRequest.prototype.toObject = function(opt_includeInstance) {
|
|
5980
|
+
return proto.agentbillingserviceapi.BillConfigRequest.toObject(opt_includeInstance, this);
|
|
5981
|
+
};
|
|
5982
|
+
|
|
5983
|
+
|
|
5984
|
+
/**
|
|
5985
|
+
* Static version of the {@see toObject} method.
|
|
5986
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5987
|
+
* the JSPB instance for transitional soy proto support:
|
|
5988
|
+
* http://goto/soy-param-migration
|
|
5989
|
+
* @param {!proto.agentbillingserviceapi.BillConfigRequest} msg The msg instance to transform.
|
|
5990
|
+
* @return {!Object}
|
|
5991
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5992
|
+
*/
|
|
5993
|
+
proto.agentbillingserviceapi.BillConfigRequest.toObject = function(includeInstance, msg) {
|
|
5994
|
+
var f, obj = {
|
|
5995
|
+
paymentprocessor: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
5996
|
+
reference: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
5997
|
+
billercode: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
5998
|
+
accountname: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
5999
|
+
bsb: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
6000
|
+
accountno: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
6001
|
+
invoicenumber: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
6002
|
+
};
|
|
6003
|
+
|
|
6004
|
+
if (includeInstance) {
|
|
6005
|
+
obj.$jspbMessageInstance = msg;
|
|
6006
|
+
}
|
|
6007
|
+
return obj;
|
|
6008
|
+
};
|
|
6009
|
+
}
|
|
6010
|
+
|
|
6011
|
+
|
|
6012
|
+
/**
|
|
6013
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6014
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6015
|
+
* @return {!proto.agentbillingserviceapi.BillConfigRequest}
|
|
6016
|
+
*/
|
|
6017
|
+
proto.agentbillingserviceapi.BillConfigRequest.deserializeBinary = function(bytes) {
|
|
6018
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6019
|
+
var msg = new proto.agentbillingserviceapi.BillConfigRequest;
|
|
6020
|
+
return proto.agentbillingserviceapi.BillConfigRequest.deserializeBinaryFromReader(msg, reader);
|
|
6021
|
+
};
|
|
6022
|
+
|
|
6023
|
+
|
|
6024
|
+
/**
|
|
6025
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6026
|
+
* given reader into the given message object.
|
|
6027
|
+
* @param {!proto.agentbillingserviceapi.BillConfigRequest} msg The message object to deserialize into.
|
|
6028
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6029
|
+
* @return {!proto.agentbillingserviceapi.BillConfigRequest}
|
|
6030
|
+
*/
|
|
6031
|
+
proto.agentbillingserviceapi.BillConfigRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
6032
|
+
while (reader.nextField()) {
|
|
6033
|
+
if (reader.isEndGroup()) {
|
|
6034
|
+
break;
|
|
6035
|
+
}
|
|
6036
|
+
var field = reader.getFieldNumber();
|
|
6037
|
+
switch (field) {
|
|
6038
|
+
case 1:
|
|
6039
|
+
var value = /** @type {!proto.agentbillingserviceapi.BillConfigRequest.PaymentProcessor} */ (reader.readEnum());
|
|
6040
|
+
msg.setPaymentprocessor(value);
|
|
6041
|
+
break;
|
|
6042
|
+
case 2:
|
|
6043
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6044
|
+
msg.setReference(value);
|
|
6045
|
+
break;
|
|
6046
|
+
case 3:
|
|
6047
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6048
|
+
msg.setBillercode(value);
|
|
6049
|
+
break;
|
|
6050
|
+
case 4:
|
|
6051
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6052
|
+
msg.setAccountname(value);
|
|
6053
|
+
break;
|
|
6054
|
+
case 5:
|
|
6055
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6056
|
+
msg.setBsb(value);
|
|
6057
|
+
break;
|
|
6058
|
+
case 6:
|
|
6059
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6060
|
+
msg.setAccountno(value);
|
|
6061
|
+
break;
|
|
6062
|
+
case 7:
|
|
6063
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6064
|
+
msg.setInvoicenumber(value);
|
|
6065
|
+
break;
|
|
6066
|
+
default:
|
|
6067
|
+
reader.skipField();
|
|
6068
|
+
break;
|
|
6069
|
+
}
|
|
6070
|
+
}
|
|
6071
|
+
return msg;
|
|
6072
|
+
};
|
|
6073
|
+
|
|
6074
|
+
|
|
6075
|
+
/**
|
|
6076
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6077
|
+
* @return {!Uint8Array}
|
|
6078
|
+
*/
|
|
6079
|
+
proto.agentbillingserviceapi.BillConfigRequest.prototype.serializeBinary = function() {
|
|
6080
|
+
var writer = new jspb.BinaryWriter();
|
|
6081
|
+
proto.agentbillingserviceapi.BillConfigRequest.serializeBinaryToWriter(this, writer);
|
|
6082
|
+
return writer.getResultBuffer();
|
|
6083
|
+
};
|
|
6084
|
+
|
|
6085
|
+
|
|
6086
|
+
/**
|
|
6087
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6088
|
+
* format), writing to the given BinaryWriter.
|
|
6089
|
+
* @param {!proto.agentbillingserviceapi.BillConfigRequest} message
|
|
6090
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6091
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6092
|
+
*/
|
|
6093
|
+
proto.agentbillingserviceapi.BillConfigRequest.serializeBinaryToWriter = function(message, writer) {
|
|
6094
|
+
var f = undefined;
|
|
6095
|
+
f = message.getPaymentprocessor();
|
|
6096
|
+
if (f !== 0.0) {
|
|
6097
|
+
writer.writeEnum(
|
|
6098
|
+
1,
|
|
6099
|
+
f
|
|
6100
|
+
);
|
|
6101
|
+
}
|
|
6102
|
+
f = message.getReference();
|
|
6103
|
+
if (f.length > 0) {
|
|
6104
|
+
writer.writeString(
|
|
6105
|
+
2,
|
|
6106
|
+
f
|
|
6107
|
+
);
|
|
6108
|
+
}
|
|
6109
|
+
f = message.getBillercode();
|
|
6110
|
+
if (f.length > 0) {
|
|
6111
|
+
writer.writeString(
|
|
6112
|
+
3,
|
|
6113
|
+
f
|
|
6114
|
+
);
|
|
6115
|
+
}
|
|
6116
|
+
f = message.getAccountname();
|
|
6117
|
+
if (f.length > 0) {
|
|
6118
|
+
writer.writeString(
|
|
6119
|
+
4,
|
|
6120
|
+
f
|
|
6121
|
+
);
|
|
6122
|
+
}
|
|
6123
|
+
f = message.getBsb();
|
|
6124
|
+
if (f.length > 0) {
|
|
6125
|
+
writer.writeString(
|
|
6126
|
+
5,
|
|
6127
|
+
f
|
|
6128
|
+
);
|
|
6129
|
+
}
|
|
6130
|
+
f = message.getAccountno();
|
|
6131
|
+
if (f.length > 0) {
|
|
6132
|
+
writer.writeString(
|
|
6133
|
+
6,
|
|
6134
|
+
f
|
|
6135
|
+
);
|
|
6136
|
+
}
|
|
6137
|
+
f = message.getInvoicenumber();
|
|
6138
|
+
if (f.length > 0) {
|
|
6139
|
+
writer.writeString(
|
|
6140
|
+
7,
|
|
6141
|
+
f
|
|
6142
|
+
);
|
|
6143
|
+
}
|
|
6144
|
+
};
|
|
6145
|
+
|
|
6146
|
+
|
|
6147
|
+
/**
|
|
6148
|
+
* @enum {number}
|
|
6149
|
+
*/
|
|
6150
|
+
proto.agentbillingserviceapi.BillConfigRequest.PaymentProcessor = {
|
|
6151
|
+
UNKNOWN: 0,
|
|
6152
|
+
BPAY: 1,
|
|
6153
|
+
SME: 2
|
|
6154
|
+
};
|
|
6155
|
+
|
|
6156
|
+
/**
|
|
6157
|
+
* optional PaymentProcessor paymentProcessor = 1;
|
|
6158
|
+
* @return {!proto.agentbillingserviceapi.BillConfigRequest.PaymentProcessor}
|
|
6159
|
+
*/
|
|
6160
|
+
proto.agentbillingserviceapi.BillConfigRequest.prototype.getPaymentprocessor = function() {
|
|
6161
|
+
return /** @type {!proto.agentbillingserviceapi.BillConfigRequest.PaymentProcessor} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
6162
|
+
};
|
|
6163
|
+
|
|
6164
|
+
|
|
6165
|
+
/**
|
|
6166
|
+
* @param {!proto.agentbillingserviceapi.BillConfigRequest.PaymentProcessor} value
|
|
6167
|
+
* @return {!proto.agentbillingserviceapi.BillConfigRequest} returns this
|
|
6168
|
+
*/
|
|
6169
|
+
proto.agentbillingserviceapi.BillConfigRequest.prototype.setPaymentprocessor = function(value) {
|
|
6170
|
+
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
6171
|
+
};
|
|
6172
|
+
|
|
6173
|
+
|
|
6174
|
+
/**
|
|
6175
|
+
* optional string reference = 2;
|
|
6176
|
+
* @return {string}
|
|
6177
|
+
*/
|
|
6178
|
+
proto.agentbillingserviceapi.BillConfigRequest.prototype.getReference = function() {
|
|
6179
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
6180
|
+
};
|
|
6181
|
+
|
|
6182
|
+
|
|
6183
|
+
/**
|
|
6184
|
+
* @param {string} value
|
|
6185
|
+
* @return {!proto.agentbillingserviceapi.BillConfigRequest} returns this
|
|
6186
|
+
*/
|
|
6187
|
+
proto.agentbillingserviceapi.BillConfigRequest.prototype.setReference = function(value) {
|
|
6188
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
6189
|
+
};
|
|
6190
|
+
|
|
6191
|
+
|
|
6192
|
+
/**
|
|
6193
|
+
* optional string billerCode = 3;
|
|
6194
|
+
* @return {string}
|
|
6195
|
+
*/
|
|
6196
|
+
proto.agentbillingserviceapi.BillConfigRequest.prototype.getBillercode = function() {
|
|
6197
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
6198
|
+
};
|
|
6199
|
+
|
|
6200
|
+
|
|
6201
|
+
/**
|
|
6202
|
+
* @param {string} value
|
|
6203
|
+
* @return {!proto.agentbillingserviceapi.BillConfigRequest} returns this
|
|
6204
|
+
*/
|
|
6205
|
+
proto.agentbillingserviceapi.BillConfigRequest.prototype.setBillercode = function(value) {
|
|
6206
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
6207
|
+
};
|
|
6208
|
+
|
|
6209
|
+
|
|
6210
|
+
/**
|
|
6211
|
+
* optional string accountName = 4;
|
|
6212
|
+
* @return {string}
|
|
5329
6213
|
*/
|
|
5330
|
-
proto.agentbillingserviceapi.
|
|
5331
|
-
return /** @type {
|
|
6214
|
+
proto.agentbillingserviceapi.BillConfigRequest.prototype.getAccountname = function() {
|
|
6215
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
5332
6216
|
};
|
|
5333
6217
|
|
|
5334
6218
|
|
|
5335
6219
|
/**
|
|
5336
|
-
* @param {
|
|
5337
|
-
* @return {!proto.agentbillingserviceapi.
|
|
6220
|
+
* @param {string} value
|
|
6221
|
+
* @return {!proto.agentbillingserviceapi.BillConfigRequest} returns this
|
|
5338
6222
|
*/
|
|
5339
|
-
proto.agentbillingserviceapi.
|
|
5340
|
-
return jspb.Message.
|
|
6223
|
+
proto.agentbillingserviceapi.BillConfigRequest.prototype.setAccountname = function(value) {
|
|
6224
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
5341
6225
|
};
|
|
5342
6226
|
|
|
5343
6227
|
|
|
5344
6228
|
/**
|
|
5345
|
-
* optional string
|
|
6229
|
+
* optional string bsb = 5;
|
|
5346
6230
|
* @return {string}
|
|
5347
6231
|
*/
|
|
5348
|
-
proto.agentbillingserviceapi.
|
|
5349
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
6232
|
+
proto.agentbillingserviceapi.BillConfigRequest.prototype.getBsb = function() {
|
|
6233
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
5350
6234
|
};
|
|
5351
6235
|
|
|
5352
6236
|
|
|
5353
6237
|
/**
|
|
5354
6238
|
* @param {string} value
|
|
5355
|
-
* @return {!proto.agentbillingserviceapi.
|
|
6239
|
+
* @return {!proto.agentbillingserviceapi.BillConfigRequest} returns this
|
|
5356
6240
|
*/
|
|
5357
|
-
proto.agentbillingserviceapi.
|
|
5358
|
-
return jspb.Message.setProto3StringField(this,
|
|
6241
|
+
proto.agentbillingserviceapi.BillConfigRequest.prototype.setBsb = function(value) {
|
|
6242
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
5359
6243
|
};
|
|
5360
6244
|
|
|
5361
6245
|
|
|
5362
6246
|
/**
|
|
5363
|
-
* optional string
|
|
6247
|
+
* optional string accountNo = 6;
|
|
5364
6248
|
* @return {string}
|
|
5365
6249
|
*/
|
|
5366
|
-
proto.agentbillingserviceapi.
|
|
5367
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
6250
|
+
proto.agentbillingserviceapi.BillConfigRequest.prototype.getAccountno = function() {
|
|
6251
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
5368
6252
|
};
|
|
5369
6253
|
|
|
5370
6254
|
|
|
5371
6255
|
/**
|
|
5372
6256
|
* @param {string} value
|
|
5373
|
-
* @return {!proto.agentbillingserviceapi.
|
|
6257
|
+
* @return {!proto.agentbillingserviceapi.BillConfigRequest} returns this
|
|
5374
6258
|
*/
|
|
5375
|
-
proto.agentbillingserviceapi.
|
|
5376
|
-
return jspb.Message.setProto3StringField(this,
|
|
6259
|
+
proto.agentbillingserviceapi.BillConfigRequest.prototype.setAccountno = function(value) {
|
|
6260
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
5377
6261
|
};
|
|
5378
6262
|
|
|
5379
6263
|
|
|
5380
6264
|
/**
|
|
5381
|
-
* optional string
|
|
6265
|
+
* optional string invoiceNumber = 7;
|
|
5382
6266
|
* @return {string}
|
|
5383
6267
|
*/
|
|
5384
|
-
proto.agentbillingserviceapi.
|
|
5385
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
6268
|
+
proto.agentbillingserviceapi.BillConfigRequest.prototype.getInvoicenumber = function() {
|
|
6269
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
5386
6270
|
};
|
|
5387
6271
|
|
|
5388
6272
|
|
|
5389
6273
|
/**
|
|
5390
6274
|
* @param {string} value
|
|
5391
|
-
* @return {!proto.agentbillingserviceapi.
|
|
6275
|
+
* @return {!proto.agentbillingserviceapi.BillConfigRequest} returns this
|
|
5392
6276
|
*/
|
|
5393
|
-
proto.agentbillingserviceapi.
|
|
5394
|
-
return jspb.Message.setProto3StringField(this,
|
|
6277
|
+
proto.agentbillingserviceapi.BillConfigRequest.prototype.setInvoicenumber = function(value) {
|
|
6278
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
5395
6279
|
};
|
|
5396
6280
|
|
|
5397
6281
|
|
|
@@ -16907,6 +17791,13 @@ proto.agentbillingserviceapi.UploadCsvResponse.prototype.setCsvid = function(val
|
|
|
16907
17791
|
|
|
16908
17792
|
|
|
16909
17793
|
|
|
17794
|
+
/**
|
|
17795
|
+
* List of repeated fields within this message type.
|
|
17796
|
+
* @private {!Array<number>}
|
|
17797
|
+
* @const
|
|
17798
|
+
*/
|
|
17799
|
+
proto.agentbillingserviceapi.AgentBillTransaction.repeatedFields_ = [16];
|
|
17800
|
+
|
|
16910
17801
|
|
|
16911
17802
|
|
|
16912
17803
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -16949,18 +17840,12 @@ proto.agentbillingserviceapi.AgentBillTransaction.toObject = function(includeIns
|
|
|
16949
17840
|
surcharge: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
|
|
16950
17841
|
totalamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
|
|
16951
17842
|
description: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
16952
|
-
|
|
16953
|
-
|
|
16954
|
-
|
|
16955
|
-
|
|
16956
|
-
|
|
16957
|
-
|
|
16958
|
-
smereference: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
16959
|
-
deliverybatchname: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
16960
|
-
settlementdate: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
16961
|
-
bpayreceiptid: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
16962
|
-
smereceiptid: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
16963
|
-
rewardamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 23, 0.0)
|
|
17843
|
+
deliverybatchname: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
17844
|
+
settlementdate: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
17845
|
+
receiptid: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
17846
|
+
rewardamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 15, 0.0),
|
|
17847
|
+
billconfigsList: jspb.Message.toObjectList(msg.getBillconfigsList(),
|
|
17848
|
+
proto.agentbillingserviceapi.BillConfig.toObject, includeInstance)
|
|
16964
17849
|
};
|
|
16965
17850
|
|
|
16966
17851
|
if (includeInstance) {
|
|
@@ -17043,52 +17928,25 @@ proto.agentbillingserviceapi.AgentBillTransaction.deserializeBinaryFromReader =
|
|
|
17043
17928
|
break;
|
|
17044
17929
|
case 12:
|
|
17045
17930
|
var value = /** @type {string} */ (reader.readString());
|
|
17046
|
-
msg.
|
|
17931
|
+
msg.setDeliverybatchname(value);
|
|
17047
17932
|
break;
|
|
17048
17933
|
case 13:
|
|
17049
17934
|
var value = /** @type {string} */ (reader.readString());
|
|
17050
|
-
msg.
|
|
17935
|
+
msg.setSettlementdate(value);
|
|
17051
17936
|
break;
|
|
17052
17937
|
case 14:
|
|
17053
17938
|
var value = /** @type {string} */ (reader.readString());
|
|
17054
|
-
msg.
|
|
17939
|
+
msg.setReceiptid(value);
|
|
17055
17940
|
break;
|
|
17056
17941
|
case 15:
|
|
17057
|
-
var value = /** @type {string} */ (reader.readString());
|
|
17058
|
-
msg.setBsb(value);
|
|
17059
|
-
break;
|
|
17060
|
-
case 16:
|
|
17061
|
-
var value = /** @type {string} */ (reader.readString());
|
|
17062
|
-
msg.setAccountnumber(value);
|
|
17063
|
-
break;
|
|
17064
|
-
case 17:
|
|
17065
|
-
var value = /** @type {string} */ (reader.readString());
|
|
17066
|
-
msg.setAccountname(value);
|
|
17067
|
-
break;
|
|
17068
|
-
case 18:
|
|
17069
|
-
var value = /** @type {string} */ (reader.readString());
|
|
17070
|
-
msg.setSmereference(value);
|
|
17071
|
-
break;
|
|
17072
|
-
case 19:
|
|
17073
|
-
var value = /** @type {string} */ (reader.readString());
|
|
17074
|
-
msg.setDeliverybatchname(value);
|
|
17075
|
-
break;
|
|
17076
|
-
case 20:
|
|
17077
|
-
var value = /** @type {string} */ (reader.readString());
|
|
17078
|
-
msg.setSettlementdate(value);
|
|
17079
|
-
break;
|
|
17080
|
-
case 21:
|
|
17081
|
-
var value = /** @type {string} */ (reader.readString());
|
|
17082
|
-
msg.setBpayreceiptid(value);
|
|
17083
|
-
break;
|
|
17084
|
-
case 22:
|
|
17085
|
-
var value = /** @type {string} */ (reader.readString());
|
|
17086
|
-
msg.setSmereceiptid(value);
|
|
17087
|
-
break;
|
|
17088
|
-
case 23:
|
|
17089
17942
|
var value = /** @type {number} */ (reader.readDouble());
|
|
17090
17943
|
msg.setRewardamount(value);
|
|
17091
17944
|
break;
|
|
17945
|
+
case 16:
|
|
17946
|
+
var value = new proto.agentbillingserviceapi.BillConfig;
|
|
17947
|
+
reader.readMessage(value,proto.agentbillingserviceapi.BillConfig.deserializeBinaryFromReader);
|
|
17948
|
+
msg.addBillconfigs(value);
|
|
17949
|
+
break;
|
|
17092
17950
|
default:
|
|
17093
17951
|
reader.skipField();
|
|
17094
17952
|
break;
|
|
@@ -17195,88 +18053,40 @@ proto.agentbillingserviceapi.AgentBillTransaction.serializeBinaryToWriter = func
|
|
|
17195
18053
|
f
|
|
17196
18054
|
);
|
|
17197
18055
|
}
|
|
17198
|
-
f = message.
|
|
18056
|
+
f = message.getDeliverybatchname();
|
|
17199
18057
|
if (f.length > 0) {
|
|
17200
18058
|
writer.writeString(
|
|
17201
18059
|
12,
|
|
17202
18060
|
f
|
|
17203
18061
|
);
|
|
17204
18062
|
}
|
|
17205
|
-
f = message.
|
|
18063
|
+
f = message.getSettlementdate();
|
|
17206
18064
|
if (f.length > 0) {
|
|
17207
18065
|
writer.writeString(
|
|
17208
18066
|
13,
|
|
17209
18067
|
f
|
|
17210
18068
|
);
|
|
17211
18069
|
}
|
|
17212
|
-
f = message.
|
|
18070
|
+
f = message.getReceiptid();
|
|
17213
18071
|
if (f.length > 0) {
|
|
17214
18072
|
writer.writeString(
|
|
17215
18073
|
14,
|
|
17216
18074
|
f
|
|
17217
18075
|
);
|
|
17218
18076
|
}
|
|
17219
|
-
f = message.
|
|
17220
|
-
if (f
|
|
17221
|
-
writer.
|
|
18077
|
+
f = message.getRewardamount();
|
|
18078
|
+
if (f !== 0.0) {
|
|
18079
|
+
writer.writeDouble(
|
|
17222
18080
|
15,
|
|
17223
18081
|
f
|
|
17224
18082
|
);
|
|
17225
18083
|
}
|
|
17226
|
-
f = message.
|
|
18084
|
+
f = message.getBillconfigsList();
|
|
17227
18085
|
if (f.length > 0) {
|
|
17228
|
-
writer.
|
|
18086
|
+
writer.writeRepeatedMessage(
|
|
17229
18087
|
16,
|
|
17230
|
-
f
|
|
17231
|
-
|
|
17232
|
-
}
|
|
17233
|
-
f = message.getAccountname();
|
|
17234
|
-
if (f.length > 0) {
|
|
17235
|
-
writer.writeString(
|
|
17236
|
-
17,
|
|
17237
|
-
f
|
|
17238
|
-
);
|
|
17239
|
-
}
|
|
17240
|
-
f = message.getSmereference();
|
|
17241
|
-
if (f.length > 0) {
|
|
17242
|
-
writer.writeString(
|
|
17243
|
-
18,
|
|
17244
|
-
f
|
|
17245
|
-
);
|
|
17246
|
-
}
|
|
17247
|
-
f = message.getDeliverybatchname();
|
|
17248
|
-
if (f.length > 0) {
|
|
17249
|
-
writer.writeString(
|
|
17250
|
-
19,
|
|
17251
|
-
f
|
|
17252
|
-
);
|
|
17253
|
-
}
|
|
17254
|
-
f = message.getSettlementdate();
|
|
17255
|
-
if (f.length > 0) {
|
|
17256
|
-
writer.writeString(
|
|
17257
|
-
20,
|
|
17258
|
-
f
|
|
17259
|
-
);
|
|
17260
|
-
}
|
|
17261
|
-
f = message.getBpayreceiptid();
|
|
17262
|
-
if (f.length > 0) {
|
|
17263
|
-
writer.writeString(
|
|
17264
|
-
21,
|
|
17265
|
-
f
|
|
17266
|
-
);
|
|
17267
|
-
}
|
|
17268
|
-
f = message.getSmereceiptid();
|
|
17269
|
-
if (f.length > 0) {
|
|
17270
|
-
writer.writeString(
|
|
17271
|
-
22,
|
|
17272
|
-
f
|
|
17273
|
-
);
|
|
17274
|
-
}
|
|
17275
|
-
f = message.getRewardamount();
|
|
17276
|
-
if (f !== 0.0) {
|
|
17277
|
-
writer.writeDouble(
|
|
17278
|
-
23,
|
|
17279
|
-
f
|
|
18088
|
+
f,
|
|
18089
|
+
proto.agentbillingserviceapi.BillConfig.serializeBinaryToWriter
|
|
17280
18090
|
);
|
|
17281
18091
|
}
|
|
17282
18092
|
};
|
|
@@ -17481,10 +18291,10 @@ proto.agentbillingserviceapi.AgentBillTransaction.prototype.setDescription = fun
|
|
|
17481
18291
|
|
|
17482
18292
|
|
|
17483
18293
|
/**
|
|
17484
|
-
* optional string
|
|
18294
|
+
* optional string deliveryBatchName = 12;
|
|
17485
18295
|
* @return {string}
|
|
17486
18296
|
*/
|
|
17487
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.
|
|
18297
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getDeliverybatchname = function() {
|
|
17488
18298
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
17489
18299
|
};
|
|
17490
18300
|
|
|
@@ -17493,16 +18303,16 @@ proto.agentbillingserviceapi.AgentBillTransaction.prototype.getInvoicenumber = f
|
|
|
17493
18303
|
* @param {string} value
|
|
17494
18304
|
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
17495
18305
|
*/
|
|
17496
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.
|
|
18306
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setDeliverybatchname = function(value) {
|
|
17497
18307
|
return jspb.Message.setProto3StringField(this, 12, value);
|
|
17498
18308
|
};
|
|
17499
18309
|
|
|
17500
18310
|
|
|
17501
18311
|
/**
|
|
17502
|
-
* optional string
|
|
18312
|
+
* optional string settlementDate = 13;
|
|
17503
18313
|
* @return {string}
|
|
17504
18314
|
*/
|
|
17505
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.
|
|
18315
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getSettlementdate = function() {
|
|
17506
18316
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
17507
18317
|
};
|
|
17508
18318
|
|
|
@@ -17511,16 +18321,16 @@ proto.agentbillingserviceapi.AgentBillTransaction.prototype.getBillercode = func
|
|
|
17511
18321
|
* @param {string} value
|
|
17512
18322
|
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
17513
18323
|
*/
|
|
17514
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.
|
|
18324
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setSettlementdate = function(value) {
|
|
17515
18325
|
return jspb.Message.setProto3StringField(this, 13, value);
|
|
17516
18326
|
};
|
|
17517
18327
|
|
|
17518
18328
|
|
|
17519
18329
|
/**
|
|
17520
|
-
* optional string
|
|
18330
|
+
* optional string receiptId = 14;
|
|
17521
18331
|
* @return {string}
|
|
17522
18332
|
*/
|
|
17523
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.
|
|
18333
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getReceiptid = function() {
|
|
17524
18334
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
17525
18335
|
};
|
|
17526
18336
|
|
|
@@ -17529,170 +18339,64 @@ proto.agentbillingserviceapi.AgentBillTransaction.prototype.getBpayreference = f
|
|
|
17529
18339
|
* @param {string} value
|
|
17530
18340
|
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
17531
18341
|
*/
|
|
17532
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.
|
|
18342
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setReceiptid = function(value) {
|
|
17533
18343
|
return jspb.Message.setProto3StringField(this, 14, value);
|
|
17534
18344
|
};
|
|
17535
18345
|
|
|
17536
18346
|
|
|
17537
18347
|
/**
|
|
17538
|
-
* optional
|
|
17539
|
-
* @return {
|
|
17540
|
-
*/
|
|
17541
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getBsb = function() {
|
|
17542
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
17543
|
-
};
|
|
17544
|
-
|
|
17545
|
-
|
|
17546
|
-
/**
|
|
17547
|
-
* @param {string} value
|
|
17548
|
-
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
17549
|
-
*/
|
|
17550
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setBsb = function(value) {
|
|
17551
|
-
return jspb.Message.setProto3StringField(this, 15, value);
|
|
17552
|
-
};
|
|
17553
|
-
|
|
17554
|
-
|
|
17555
|
-
/**
|
|
17556
|
-
* optional string accountNumber = 16;
|
|
17557
|
-
* @return {string}
|
|
17558
|
-
*/
|
|
17559
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getAccountnumber = function() {
|
|
17560
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
17561
|
-
};
|
|
17562
|
-
|
|
17563
|
-
|
|
17564
|
-
/**
|
|
17565
|
-
* @param {string} value
|
|
17566
|
-
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
17567
|
-
*/
|
|
17568
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setAccountnumber = function(value) {
|
|
17569
|
-
return jspb.Message.setProto3StringField(this, 16, value);
|
|
17570
|
-
};
|
|
17571
|
-
|
|
17572
|
-
|
|
17573
|
-
/**
|
|
17574
|
-
* optional string accountName = 17;
|
|
17575
|
-
* @return {string}
|
|
17576
|
-
*/
|
|
17577
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getAccountname = function() {
|
|
17578
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
17579
|
-
};
|
|
17580
|
-
|
|
17581
|
-
|
|
17582
|
-
/**
|
|
17583
|
-
* @param {string} value
|
|
17584
|
-
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
17585
|
-
*/
|
|
17586
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setAccountname = function(value) {
|
|
17587
|
-
return jspb.Message.setProto3StringField(this, 17, value);
|
|
17588
|
-
};
|
|
17589
|
-
|
|
17590
|
-
|
|
17591
|
-
/**
|
|
17592
|
-
* optional string smeReference = 18;
|
|
17593
|
-
* @return {string}
|
|
17594
|
-
*/
|
|
17595
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getSmereference = function() {
|
|
17596
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
17597
|
-
};
|
|
17598
|
-
|
|
17599
|
-
|
|
17600
|
-
/**
|
|
17601
|
-
* @param {string} value
|
|
17602
|
-
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
17603
|
-
*/
|
|
17604
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setSmereference = function(value) {
|
|
17605
|
-
return jspb.Message.setProto3StringField(this, 18, value);
|
|
17606
|
-
};
|
|
17607
|
-
|
|
17608
|
-
|
|
17609
|
-
/**
|
|
17610
|
-
* optional string deliveryBatchName = 19;
|
|
17611
|
-
* @return {string}
|
|
17612
|
-
*/
|
|
17613
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getDeliverybatchname = function() {
|
|
17614
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
17615
|
-
};
|
|
17616
|
-
|
|
17617
|
-
|
|
17618
|
-
/**
|
|
17619
|
-
* @param {string} value
|
|
17620
|
-
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
17621
|
-
*/
|
|
17622
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setDeliverybatchname = function(value) {
|
|
17623
|
-
return jspb.Message.setProto3StringField(this, 19, value);
|
|
17624
|
-
};
|
|
17625
|
-
|
|
17626
|
-
|
|
17627
|
-
/**
|
|
17628
|
-
* optional string settlementDate = 20;
|
|
17629
|
-
* @return {string}
|
|
17630
|
-
*/
|
|
17631
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getSettlementdate = function() {
|
|
17632
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
|
17633
|
-
};
|
|
17634
|
-
|
|
17635
|
-
|
|
17636
|
-
/**
|
|
17637
|
-
* @param {string} value
|
|
17638
|
-
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
17639
|
-
*/
|
|
17640
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setSettlementdate = function(value) {
|
|
17641
|
-
return jspb.Message.setProto3StringField(this, 20, value);
|
|
17642
|
-
};
|
|
17643
|
-
|
|
17644
|
-
|
|
17645
|
-
/**
|
|
17646
|
-
* optional string bpayReceiptId = 21;
|
|
17647
|
-
* @return {string}
|
|
18348
|
+
* optional double rewardAmount = 15;
|
|
18349
|
+
* @return {number}
|
|
17648
18350
|
*/
|
|
17649
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.
|
|
17650
|
-
return /** @type {
|
|
18351
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getRewardamount = function() {
|
|
18352
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 15, 0.0));
|
|
17651
18353
|
};
|
|
17652
18354
|
|
|
17653
18355
|
|
|
17654
18356
|
/**
|
|
17655
|
-
* @param {
|
|
18357
|
+
* @param {number} value
|
|
17656
18358
|
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
17657
18359
|
*/
|
|
17658
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.
|
|
17659
|
-
return jspb.Message.
|
|
18360
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setRewardamount = function(value) {
|
|
18361
|
+
return jspb.Message.setProto3FloatField(this, 15, value);
|
|
17660
18362
|
};
|
|
17661
18363
|
|
|
17662
18364
|
|
|
17663
18365
|
/**
|
|
17664
|
-
*
|
|
17665
|
-
* @return {
|
|
18366
|
+
* repeated BillConfig billConfigs = 16;
|
|
18367
|
+
* @return {!Array<!proto.agentbillingserviceapi.BillConfig>}
|
|
17666
18368
|
*/
|
|
17667
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.
|
|
17668
|
-
return /** @type
|
|
18369
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getBillconfigsList = function() {
|
|
18370
|
+
return /** @type{!Array<!proto.agentbillingserviceapi.BillConfig>} */ (
|
|
18371
|
+
jspb.Message.getRepeatedWrapperField(this, proto.agentbillingserviceapi.BillConfig, 16));
|
|
17669
18372
|
};
|
|
17670
18373
|
|
|
17671
18374
|
|
|
17672
18375
|
/**
|
|
17673
|
-
* @param {
|
|
18376
|
+
* @param {!Array<!proto.agentbillingserviceapi.BillConfig>} value
|
|
17674
18377
|
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
17675
|
-
|
|
17676
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.
|
|
17677
|
-
return jspb.Message.
|
|
18378
|
+
*/
|
|
18379
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setBillconfigsList = function(value) {
|
|
18380
|
+
return jspb.Message.setRepeatedWrapperField(this, 16, value);
|
|
17678
18381
|
};
|
|
17679
18382
|
|
|
17680
18383
|
|
|
17681
18384
|
/**
|
|
17682
|
-
*
|
|
17683
|
-
* @
|
|
18385
|
+
* @param {!proto.agentbillingserviceapi.BillConfig=} opt_value
|
|
18386
|
+
* @param {number=} opt_index
|
|
18387
|
+
* @return {!proto.agentbillingserviceapi.BillConfig}
|
|
17684
18388
|
*/
|
|
17685
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.
|
|
17686
|
-
return
|
|
18389
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.addBillconfigs = function(opt_value, opt_index) {
|
|
18390
|
+
return jspb.Message.addToRepeatedWrapperField(this, 16, opt_value, proto.agentbillingserviceapi.BillConfig, opt_index);
|
|
17687
18391
|
};
|
|
17688
18392
|
|
|
17689
18393
|
|
|
17690
18394
|
/**
|
|
17691
|
-
*
|
|
18395
|
+
* Clears the list making it empty but non-null.
|
|
17692
18396
|
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
17693
18397
|
*/
|
|
17694
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.
|
|
17695
|
-
return
|
|
18398
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.clearBillconfigsList = function() {
|
|
18399
|
+
return this.setBillconfigsList([]);
|
|
17696
18400
|
};
|
|
17697
18401
|
|
|
17698
18402
|
|