@sniipwebmaster/agent-billing-client-grpcweb-ts 23.16.1306 → 23.16.1333
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.
|
@@ -19,6 +19,7 @@ goog.object.extend(proto, google_protobuf_empty_pb);
|
|
|
19
19
|
goog.exportSymbol('proto.agentbillingserviceapi.Agent', null, global);
|
|
20
20
|
goog.exportSymbol('proto.agentbillingserviceapi.AgentBill', null, global);
|
|
21
21
|
goog.exportSymbol('proto.agentbillingserviceapi.AgentBillMapping', null, global);
|
|
22
|
+
goog.exportSymbol('proto.agentbillingserviceapi.AgentBillTransaction', null, global);
|
|
22
23
|
goog.exportSymbol('proto.agentbillingserviceapi.ArchiveAgentBillResult', null, global);
|
|
23
24
|
goog.exportSymbol('proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest', null, global);
|
|
24
25
|
goog.exportSymbol('proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest', null, global);
|
|
@@ -43,6 +44,7 @@ goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillCategoryCountsReques
|
|
|
43
44
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse', null, global);
|
|
44
45
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest', null, global);
|
|
45
46
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse', null, global);
|
|
47
|
+
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillTransactionsResponse', null, global);
|
|
46
48
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillsForClientRequest', null, global);
|
|
47
49
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillsResponse', null, global);
|
|
48
50
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentConnectionCategoryCountsResponse', null, global);
|
|
@@ -64,6 +66,7 @@ goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchesToPayCountResp
|
|
|
64
66
|
goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest', null, global);
|
|
65
67
|
goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchesToPayRequest', null, global);
|
|
66
68
|
goog.exportSymbol('proto.agentbillingserviceapi.GetDisconnectedClientsRequest', null, global);
|
|
69
|
+
goog.exportSymbol('proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest', null, global);
|
|
67
70
|
goog.exportSymbol('proto.agentbillingserviceapi.GetPendingClientsRequest', null, global);
|
|
68
71
|
goog.exportSymbol('proto.agentbillingserviceapi.GetUploadBatchContentsInDraftRequest', null, global);
|
|
69
72
|
goog.exportSymbol('proto.agentbillingserviceapi.GetUploadBatchesInDraftRequest', null, global);
|
|
@@ -1468,6 +1471,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1468
1471
|
*/
|
|
1469
1472
|
proto.agentbillingserviceapi.UploadCsvResponse.displayName = 'proto.agentbillingserviceapi.UploadCsvResponse';
|
|
1470
1473
|
}
|
|
1474
|
+
/**
|
|
1475
|
+
* Generated by JsPbCodeGenerator.
|
|
1476
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1477
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1478
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1479
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1480
|
+
* valid.
|
|
1481
|
+
* @extends {jspb.Message}
|
|
1482
|
+
* @constructor
|
|
1483
|
+
*/
|
|
1484
|
+
proto.agentbillingserviceapi.AgentBillTransaction = function(opt_data) {
|
|
1485
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1486
|
+
};
|
|
1487
|
+
goog.inherits(proto.agentbillingserviceapi.AgentBillTransaction, jspb.Message);
|
|
1488
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1489
|
+
/**
|
|
1490
|
+
* @public
|
|
1491
|
+
* @override
|
|
1492
|
+
*/
|
|
1493
|
+
proto.agentbillingserviceapi.AgentBillTransaction.displayName = 'proto.agentbillingserviceapi.AgentBillTransaction';
|
|
1494
|
+
}
|
|
1495
|
+
/**
|
|
1496
|
+
* Generated by JsPbCodeGenerator.
|
|
1497
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1498
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1499
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1500
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1501
|
+
* valid.
|
|
1502
|
+
* @extends {jspb.Message}
|
|
1503
|
+
* @constructor
|
|
1504
|
+
*/
|
|
1505
|
+
proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest = function(opt_data) {
|
|
1506
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1507
|
+
};
|
|
1508
|
+
goog.inherits(proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest, jspb.Message);
|
|
1509
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1510
|
+
/**
|
|
1511
|
+
* @public
|
|
1512
|
+
* @override
|
|
1513
|
+
*/
|
|
1514
|
+
proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest.displayName = 'proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest';
|
|
1515
|
+
}
|
|
1516
|
+
/**
|
|
1517
|
+
* Generated by JsPbCodeGenerator.
|
|
1518
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1519
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1520
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1521
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1522
|
+
* valid.
|
|
1523
|
+
* @extends {jspb.Message}
|
|
1524
|
+
* @constructor
|
|
1525
|
+
*/
|
|
1526
|
+
proto.agentbillingserviceapi.GetAgentBillTransactionsResponse = function(opt_data) {
|
|
1527
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.agentbillingserviceapi.GetAgentBillTransactionsResponse.repeatedFields_, null);
|
|
1528
|
+
};
|
|
1529
|
+
goog.inherits(proto.agentbillingserviceapi.GetAgentBillTransactionsResponse, jspb.Message);
|
|
1530
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1531
|
+
/**
|
|
1532
|
+
* @public
|
|
1533
|
+
* @override
|
|
1534
|
+
*/
|
|
1535
|
+
proto.agentbillingserviceapi.GetAgentBillTransactionsResponse.displayName = 'proto.agentbillingserviceapi.GetAgentBillTransactionsResponse';
|
|
1536
|
+
}
|
|
1471
1537
|
|
|
1472
1538
|
|
|
1473
1539
|
|
|
@@ -16529,4 +16595,1375 @@ proto.agentbillingserviceapi.UploadCsvResponse.prototype.setCsvid = function(val
|
|
|
16529
16595
|
};
|
|
16530
16596
|
|
|
16531
16597
|
|
|
16598
|
+
|
|
16599
|
+
|
|
16600
|
+
|
|
16601
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
16602
|
+
/**
|
|
16603
|
+
* Creates an object representation of this proto.
|
|
16604
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
16605
|
+
* Optional fields that are not set will be set to undefined.
|
|
16606
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
16607
|
+
* For the list of reserved names please see:
|
|
16608
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
16609
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
16610
|
+
* JSPB instance for transitional soy proto support:
|
|
16611
|
+
* http://goto/soy-param-migration
|
|
16612
|
+
* @return {!Object}
|
|
16613
|
+
*/
|
|
16614
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.toObject = function(opt_includeInstance) {
|
|
16615
|
+
return proto.agentbillingserviceapi.AgentBillTransaction.toObject(opt_includeInstance, this);
|
|
16616
|
+
};
|
|
16617
|
+
|
|
16618
|
+
|
|
16619
|
+
/**
|
|
16620
|
+
* Static version of the {@see toObject} method.
|
|
16621
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
16622
|
+
* the JSPB instance for transitional soy proto support:
|
|
16623
|
+
* http://goto/soy-param-migration
|
|
16624
|
+
* @param {!proto.agentbillingserviceapi.AgentBillTransaction} msg The msg instance to transform.
|
|
16625
|
+
* @return {!Object}
|
|
16626
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
16627
|
+
*/
|
|
16628
|
+
proto.agentbillingserviceapi.AgentBillTransaction.toObject = function(includeInstance, msg) {
|
|
16629
|
+
var f, obj = {
|
|
16630
|
+
agentbillid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
16631
|
+
billid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
16632
|
+
transactionid: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
16633
|
+
billername: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
16634
|
+
billerlogo: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
16635
|
+
duedate: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
16636
|
+
datetimepaid: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
16637
|
+
paymentamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
|
|
16638
|
+
surcharge: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
|
|
16639
|
+
totalamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
|
|
16640
|
+
description: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
16641
|
+
invoicenumber: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
16642
|
+
billercode: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
16643
|
+
bpayreference: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
16644
|
+
bsb: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
16645
|
+
accountnumber: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
16646
|
+
accountname: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
16647
|
+
smereference: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
16648
|
+
deliverybatchname: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
16649
|
+
settlementdate: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
16650
|
+
bpayreceiptid: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
16651
|
+
smereceiptid: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
16652
|
+
rewardamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 23, 0.0)
|
|
16653
|
+
};
|
|
16654
|
+
|
|
16655
|
+
if (includeInstance) {
|
|
16656
|
+
obj.$jspbMessageInstance = msg;
|
|
16657
|
+
}
|
|
16658
|
+
return obj;
|
|
16659
|
+
};
|
|
16660
|
+
}
|
|
16661
|
+
|
|
16662
|
+
|
|
16663
|
+
/**
|
|
16664
|
+
* Deserializes binary data (in protobuf wire format).
|
|
16665
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
16666
|
+
* @return {!proto.agentbillingserviceapi.AgentBillTransaction}
|
|
16667
|
+
*/
|
|
16668
|
+
proto.agentbillingserviceapi.AgentBillTransaction.deserializeBinary = function(bytes) {
|
|
16669
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
16670
|
+
var msg = new proto.agentbillingserviceapi.AgentBillTransaction;
|
|
16671
|
+
return proto.agentbillingserviceapi.AgentBillTransaction.deserializeBinaryFromReader(msg, reader);
|
|
16672
|
+
};
|
|
16673
|
+
|
|
16674
|
+
|
|
16675
|
+
/**
|
|
16676
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
16677
|
+
* given reader into the given message object.
|
|
16678
|
+
* @param {!proto.agentbillingserviceapi.AgentBillTransaction} msg The message object to deserialize into.
|
|
16679
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
16680
|
+
* @return {!proto.agentbillingserviceapi.AgentBillTransaction}
|
|
16681
|
+
*/
|
|
16682
|
+
proto.agentbillingserviceapi.AgentBillTransaction.deserializeBinaryFromReader = function(msg, reader) {
|
|
16683
|
+
while (reader.nextField()) {
|
|
16684
|
+
if (reader.isEndGroup()) {
|
|
16685
|
+
break;
|
|
16686
|
+
}
|
|
16687
|
+
var field = reader.getFieldNumber();
|
|
16688
|
+
switch (field) {
|
|
16689
|
+
case 1:
|
|
16690
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
16691
|
+
msg.setAgentbillid(value);
|
|
16692
|
+
break;
|
|
16693
|
+
case 2:
|
|
16694
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
16695
|
+
msg.setBillid(value);
|
|
16696
|
+
break;
|
|
16697
|
+
case 3:
|
|
16698
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
16699
|
+
msg.setTransactionid(value);
|
|
16700
|
+
break;
|
|
16701
|
+
case 4:
|
|
16702
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16703
|
+
msg.setBillername(value);
|
|
16704
|
+
break;
|
|
16705
|
+
case 5:
|
|
16706
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16707
|
+
msg.setBillerlogo(value);
|
|
16708
|
+
break;
|
|
16709
|
+
case 6:
|
|
16710
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16711
|
+
msg.setDuedate(value);
|
|
16712
|
+
break;
|
|
16713
|
+
case 7:
|
|
16714
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16715
|
+
msg.setDatetimepaid(value);
|
|
16716
|
+
break;
|
|
16717
|
+
case 8:
|
|
16718
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
16719
|
+
msg.setPaymentamount(value);
|
|
16720
|
+
break;
|
|
16721
|
+
case 9:
|
|
16722
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
16723
|
+
msg.setSurcharge(value);
|
|
16724
|
+
break;
|
|
16725
|
+
case 10:
|
|
16726
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
16727
|
+
msg.setTotalamount(value);
|
|
16728
|
+
break;
|
|
16729
|
+
case 11:
|
|
16730
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16731
|
+
msg.setDescription(value);
|
|
16732
|
+
break;
|
|
16733
|
+
case 12:
|
|
16734
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16735
|
+
msg.setInvoicenumber(value);
|
|
16736
|
+
break;
|
|
16737
|
+
case 13:
|
|
16738
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16739
|
+
msg.setBillercode(value);
|
|
16740
|
+
break;
|
|
16741
|
+
case 14:
|
|
16742
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16743
|
+
msg.setBpayreference(value);
|
|
16744
|
+
break;
|
|
16745
|
+
case 15:
|
|
16746
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16747
|
+
msg.setBsb(value);
|
|
16748
|
+
break;
|
|
16749
|
+
case 16:
|
|
16750
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16751
|
+
msg.setAccountnumber(value);
|
|
16752
|
+
break;
|
|
16753
|
+
case 17:
|
|
16754
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16755
|
+
msg.setAccountname(value);
|
|
16756
|
+
break;
|
|
16757
|
+
case 18:
|
|
16758
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16759
|
+
msg.setSmereference(value);
|
|
16760
|
+
break;
|
|
16761
|
+
case 19:
|
|
16762
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16763
|
+
msg.setDeliverybatchname(value);
|
|
16764
|
+
break;
|
|
16765
|
+
case 20:
|
|
16766
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16767
|
+
msg.setSettlementdate(value);
|
|
16768
|
+
break;
|
|
16769
|
+
case 21:
|
|
16770
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16771
|
+
msg.setBpayreceiptid(value);
|
|
16772
|
+
break;
|
|
16773
|
+
case 22:
|
|
16774
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16775
|
+
msg.setSmereceiptid(value);
|
|
16776
|
+
break;
|
|
16777
|
+
case 23:
|
|
16778
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
16779
|
+
msg.setRewardamount(value);
|
|
16780
|
+
break;
|
|
16781
|
+
default:
|
|
16782
|
+
reader.skipField();
|
|
16783
|
+
break;
|
|
16784
|
+
}
|
|
16785
|
+
}
|
|
16786
|
+
return msg;
|
|
16787
|
+
};
|
|
16788
|
+
|
|
16789
|
+
|
|
16790
|
+
/**
|
|
16791
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
16792
|
+
* @return {!Uint8Array}
|
|
16793
|
+
*/
|
|
16794
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.serializeBinary = function() {
|
|
16795
|
+
var writer = new jspb.BinaryWriter();
|
|
16796
|
+
proto.agentbillingserviceapi.AgentBillTransaction.serializeBinaryToWriter(this, writer);
|
|
16797
|
+
return writer.getResultBuffer();
|
|
16798
|
+
};
|
|
16799
|
+
|
|
16800
|
+
|
|
16801
|
+
/**
|
|
16802
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
16803
|
+
* format), writing to the given BinaryWriter.
|
|
16804
|
+
* @param {!proto.agentbillingserviceapi.AgentBillTransaction} message
|
|
16805
|
+
* @param {!jspb.BinaryWriter} writer
|
|
16806
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
16807
|
+
*/
|
|
16808
|
+
proto.agentbillingserviceapi.AgentBillTransaction.serializeBinaryToWriter = function(message, writer) {
|
|
16809
|
+
var f = undefined;
|
|
16810
|
+
f = message.getAgentbillid();
|
|
16811
|
+
if (f !== 0) {
|
|
16812
|
+
writer.writeInt64(
|
|
16813
|
+
1,
|
|
16814
|
+
f
|
|
16815
|
+
);
|
|
16816
|
+
}
|
|
16817
|
+
f = message.getBillid();
|
|
16818
|
+
if (f !== 0) {
|
|
16819
|
+
writer.writeInt64(
|
|
16820
|
+
2,
|
|
16821
|
+
f
|
|
16822
|
+
);
|
|
16823
|
+
}
|
|
16824
|
+
f = message.getTransactionid();
|
|
16825
|
+
if (f !== 0) {
|
|
16826
|
+
writer.writeInt64(
|
|
16827
|
+
3,
|
|
16828
|
+
f
|
|
16829
|
+
);
|
|
16830
|
+
}
|
|
16831
|
+
f = message.getBillername();
|
|
16832
|
+
if (f.length > 0) {
|
|
16833
|
+
writer.writeString(
|
|
16834
|
+
4,
|
|
16835
|
+
f
|
|
16836
|
+
);
|
|
16837
|
+
}
|
|
16838
|
+
f = message.getBillerlogo();
|
|
16839
|
+
if (f.length > 0) {
|
|
16840
|
+
writer.writeString(
|
|
16841
|
+
5,
|
|
16842
|
+
f
|
|
16843
|
+
);
|
|
16844
|
+
}
|
|
16845
|
+
f = message.getDuedate();
|
|
16846
|
+
if (f.length > 0) {
|
|
16847
|
+
writer.writeString(
|
|
16848
|
+
6,
|
|
16849
|
+
f
|
|
16850
|
+
);
|
|
16851
|
+
}
|
|
16852
|
+
f = message.getDatetimepaid();
|
|
16853
|
+
if (f.length > 0) {
|
|
16854
|
+
writer.writeString(
|
|
16855
|
+
7,
|
|
16856
|
+
f
|
|
16857
|
+
);
|
|
16858
|
+
}
|
|
16859
|
+
f = message.getPaymentamount();
|
|
16860
|
+
if (f !== 0.0) {
|
|
16861
|
+
writer.writeDouble(
|
|
16862
|
+
8,
|
|
16863
|
+
f
|
|
16864
|
+
);
|
|
16865
|
+
}
|
|
16866
|
+
f = message.getSurcharge();
|
|
16867
|
+
if (f !== 0.0) {
|
|
16868
|
+
writer.writeDouble(
|
|
16869
|
+
9,
|
|
16870
|
+
f
|
|
16871
|
+
);
|
|
16872
|
+
}
|
|
16873
|
+
f = message.getTotalamount();
|
|
16874
|
+
if (f !== 0.0) {
|
|
16875
|
+
writer.writeDouble(
|
|
16876
|
+
10,
|
|
16877
|
+
f
|
|
16878
|
+
);
|
|
16879
|
+
}
|
|
16880
|
+
f = message.getDescription();
|
|
16881
|
+
if (f.length > 0) {
|
|
16882
|
+
writer.writeString(
|
|
16883
|
+
11,
|
|
16884
|
+
f
|
|
16885
|
+
);
|
|
16886
|
+
}
|
|
16887
|
+
f = message.getInvoicenumber();
|
|
16888
|
+
if (f.length > 0) {
|
|
16889
|
+
writer.writeString(
|
|
16890
|
+
12,
|
|
16891
|
+
f
|
|
16892
|
+
);
|
|
16893
|
+
}
|
|
16894
|
+
f = message.getBillercode();
|
|
16895
|
+
if (f.length > 0) {
|
|
16896
|
+
writer.writeString(
|
|
16897
|
+
13,
|
|
16898
|
+
f
|
|
16899
|
+
);
|
|
16900
|
+
}
|
|
16901
|
+
f = message.getBpayreference();
|
|
16902
|
+
if (f.length > 0) {
|
|
16903
|
+
writer.writeString(
|
|
16904
|
+
14,
|
|
16905
|
+
f
|
|
16906
|
+
);
|
|
16907
|
+
}
|
|
16908
|
+
f = message.getBsb();
|
|
16909
|
+
if (f.length > 0) {
|
|
16910
|
+
writer.writeString(
|
|
16911
|
+
15,
|
|
16912
|
+
f
|
|
16913
|
+
);
|
|
16914
|
+
}
|
|
16915
|
+
f = message.getAccountnumber();
|
|
16916
|
+
if (f.length > 0) {
|
|
16917
|
+
writer.writeString(
|
|
16918
|
+
16,
|
|
16919
|
+
f
|
|
16920
|
+
);
|
|
16921
|
+
}
|
|
16922
|
+
f = message.getAccountname();
|
|
16923
|
+
if (f.length > 0) {
|
|
16924
|
+
writer.writeString(
|
|
16925
|
+
17,
|
|
16926
|
+
f
|
|
16927
|
+
);
|
|
16928
|
+
}
|
|
16929
|
+
f = message.getSmereference();
|
|
16930
|
+
if (f.length > 0) {
|
|
16931
|
+
writer.writeString(
|
|
16932
|
+
18,
|
|
16933
|
+
f
|
|
16934
|
+
);
|
|
16935
|
+
}
|
|
16936
|
+
f = message.getDeliverybatchname();
|
|
16937
|
+
if (f.length > 0) {
|
|
16938
|
+
writer.writeString(
|
|
16939
|
+
19,
|
|
16940
|
+
f
|
|
16941
|
+
);
|
|
16942
|
+
}
|
|
16943
|
+
f = message.getSettlementdate();
|
|
16944
|
+
if (f.length > 0) {
|
|
16945
|
+
writer.writeString(
|
|
16946
|
+
20,
|
|
16947
|
+
f
|
|
16948
|
+
);
|
|
16949
|
+
}
|
|
16950
|
+
f = message.getBpayreceiptid();
|
|
16951
|
+
if (f.length > 0) {
|
|
16952
|
+
writer.writeString(
|
|
16953
|
+
21,
|
|
16954
|
+
f
|
|
16955
|
+
);
|
|
16956
|
+
}
|
|
16957
|
+
f = message.getSmereceiptid();
|
|
16958
|
+
if (f.length > 0) {
|
|
16959
|
+
writer.writeString(
|
|
16960
|
+
22,
|
|
16961
|
+
f
|
|
16962
|
+
);
|
|
16963
|
+
}
|
|
16964
|
+
f = message.getRewardamount();
|
|
16965
|
+
if (f !== 0.0) {
|
|
16966
|
+
writer.writeDouble(
|
|
16967
|
+
23,
|
|
16968
|
+
f
|
|
16969
|
+
);
|
|
16970
|
+
}
|
|
16971
|
+
};
|
|
16972
|
+
|
|
16973
|
+
|
|
16974
|
+
/**
|
|
16975
|
+
* optional int64 agentBillId = 1;
|
|
16976
|
+
* @return {number}
|
|
16977
|
+
*/
|
|
16978
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getAgentbillid = function() {
|
|
16979
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
16980
|
+
};
|
|
16981
|
+
|
|
16982
|
+
|
|
16983
|
+
/**
|
|
16984
|
+
* @param {number} value
|
|
16985
|
+
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
16986
|
+
*/
|
|
16987
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setAgentbillid = function(value) {
|
|
16988
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
16989
|
+
};
|
|
16990
|
+
|
|
16991
|
+
|
|
16992
|
+
/**
|
|
16993
|
+
* optional int64 billId = 2;
|
|
16994
|
+
* @return {number}
|
|
16995
|
+
*/
|
|
16996
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getBillid = function() {
|
|
16997
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
16998
|
+
};
|
|
16999
|
+
|
|
17000
|
+
|
|
17001
|
+
/**
|
|
17002
|
+
* @param {number} value
|
|
17003
|
+
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
17004
|
+
*/
|
|
17005
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setBillid = function(value) {
|
|
17006
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
17007
|
+
};
|
|
17008
|
+
|
|
17009
|
+
|
|
17010
|
+
/**
|
|
17011
|
+
* optional int64 transactionId = 3;
|
|
17012
|
+
* @return {number}
|
|
17013
|
+
*/
|
|
17014
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getTransactionid = function() {
|
|
17015
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
17016
|
+
};
|
|
17017
|
+
|
|
17018
|
+
|
|
17019
|
+
/**
|
|
17020
|
+
* @param {number} value
|
|
17021
|
+
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
17022
|
+
*/
|
|
17023
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setTransactionid = function(value) {
|
|
17024
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
17025
|
+
};
|
|
17026
|
+
|
|
17027
|
+
|
|
17028
|
+
/**
|
|
17029
|
+
* optional string billerName = 4;
|
|
17030
|
+
* @return {string}
|
|
17031
|
+
*/
|
|
17032
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getBillername = function() {
|
|
17033
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
17034
|
+
};
|
|
17035
|
+
|
|
17036
|
+
|
|
17037
|
+
/**
|
|
17038
|
+
* @param {string} value
|
|
17039
|
+
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
17040
|
+
*/
|
|
17041
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setBillername = function(value) {
|
|
17042
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
17043
|
+
};
|
|
17044
|
+
|
|
17045
|
+
|
|
17046
|
+
/**
|
|
17047
|
+
* optional string billerLogo = 5;
|
|
17048
|
+
* @return {string}
|
|
17049
|
+
*/
|
|
17050
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getBillerlogo = function() {
|
|
17051
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
17052
|
+
};
|
|
17053
|
+
|
|
17054
|
+
|
|
17055
|
+
/**
|
|
17056
|
+
* @param {string} value
|
|
17057
|
+
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
17058
|
+
*/
|
|
17059
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setBillerlogo = function(value) {
|
|
17060
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
17061
|
+
};
|
|
17062
|
+
|
|
17063
|
+
|
|
17064
|
+
/**
|
|
17065
|
+
* optional string dueDate = 6;
|
|
17066
|
+
* @return {string}
|
|
17067
|
+
*/
|
|
17068
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getDuedate = function() {
|
|
17069
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
17070
|
+
};
|
|
17071
|
+
|
|
17072
|
+
|
|
17073
|
+
/**
|
|
17074
|
+
* @param {string} value
|
|
17075
|
+
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
17076
|
+
*/
|
|
17077
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setDuedate = function(value) {
|
|
17078
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
17079
|
+
};
|
|
17080
|
+
|
|
17081
|
+
|
|
17082
|
+
/**
|
|
17083
|
+
* optional string dateTimePaid = 7;
|
|
17084
|
+
* @return {string}
|
|
17085
|
+
*/
|
|
17086
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getDatetimepaid = function() {
|
|
17087
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
17088
|
+
};
|
|
17089
|
+
|
|
17090
|
+
|
|
17091
|
+
/**
|
|
17092
|
+
* @param {string} value
|
|
17093
|
+
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
17094
|
+
*/
|
|
17095
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setDatetimepaid = function(value) {
|
|
17096
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
17097
|
+
};
|
|
17098
|
+
|
|
17099
|
+
|
|
17100
|
+
/**
|
|
17101
|
+
* optional double paymentAmount = 8;
|
|
17102
|
+
* @return {number}
|
|
17103
|
+
*/
|
|
17104
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getPaymentamount = function() {
|
|
17105
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
|
|
17106
|
+
};
|
|
17107
|
+
|
|
17108
|
+
|
|
17109
|
+
/**
|
|
17110
|
+
* @param {number} value
|
|
17111
|
+
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
17112
|
+
*/
|
|
17113
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setPaymentamount = function(value) {
|
|
17114
|
+
return jspb.Message.setProto3FloatField(this, 8, value);
|
|
17115
|
+
};
|
|
17116
|
+
|
|
17117
|
+
|
|
17118
|
+
/**
|
|
17119
|
+
* optional double surcharge = 9;
|
|
17120
|
+
* @return {number}
|
|
17121
|
+
*/
|
|
17122
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getSurcharge = function() {
|
|
17123
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
|
|
17124
|
+
};
|
|
17125
|
+
|
|
17126
|
+
|
|
17127
|
+
/**
|
|
17128
|
+
* @param {number} value
|
|
17129
|
+
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
17130
|
+
*/
|
|
17131
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setSurcharge = function(value) {
|
|
17132
|
+
return jspb.Message.setProto3FloatField(this, 9, value);
|
|
17133
|
+
};
|
|
17134
|
+
|
|
17135
|
+
|
|
17136
|
+
/**
|
|
17137
|
+
* optional double totalAmount = 10;
|
|
17138
|
+
* @return {number}
|
|
17139
|
+
*/
|
|
17140
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getTotalamount = function() {
|
|
17141
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0));
|
|
17142
|
+
};
|
|
17143
|
+
|
|
17144
|
+
|
|
17145
|
+
/**
|
|
17146
|
+
* @param {number} value
|
|
17147
|
+
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
17148
|
+
*/
|
|
17149
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setTotalamount = function(value) {
|
|
17150
|
+
return jspb.Message.setProto3FloatField(this, 10, value);
|
|
17151
|
+
};
|
|
17152
|
+
|
|
17153
|
+
|
|
17154
|
+
/**
|
|
17155
|
+
* optional string description = 11;
|
|
17156
|
+
* @return {string}
|
|
17157
|
+
*/
|
|
17158
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getDescription = function() {
|
|
17159
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
17160
|
+
};
|
|
17161
|
+
|
|
17162
|
+
|
|
17163
|
+
/**
|
|
17164
|
+
* @param {string} value
|
|
17165
|
+
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
17166
|
+
*/
|
|
17167
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setDescription = function(value) {
|
|
17168
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
17169
|
+
};
|
|
17170
|
+
|
|
17171
|
+
|
|
17172
|
+
/**
|
|
17173
|
+
* optional string invoiceNumber = 12;
|
|
17174
|
+
* @return {string}
|
|
17175
|
+
*/
|
|
17176
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getInvoicenumber = function() {
|
|
17177
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
17178
|
+
};
|
|
17179
|
+
|
|
17180
|
+
|
|
17181
|
+
/**
|
|
17182
|
+
* @param {string} value
|
|
17183
|
+
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
17184
|
+
*/
|
|
17185
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setInvoicenumber = function(value) {
|
|
17186
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
17187
|
+
};
|
|
17188
|
+
|
|
17189
|
+
|
|
17190
|
+
/**
|
|
17191
|
+
* optional string billerCode = 13;
|
|
17192
|
+
* @return {string}
|
|
17193
|
+
*/
|
|
17194
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getBillercode = function() {
|
|
17195
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
17196
|
+
};
|
|
17197
|
+
|
|
17198
|
+
|
|
17199
|
+
/**
|
|
17200
|
+
* @param {string} value
|
|
17201
|
+
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
17202
|
+
*/
|
|
17203
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setBillercode = function(value) {
|
|
17204
|
+
return jspb.Message.setProto3StringField(this, 13, value);
|
|
17205
|
+
};
|
|
17206
|
+
|
|
17207
|
+
|
|
17208
|
+
/**
|
|
17209
|
+
* optional string bpayReference = 14;
|
|
17210
|
+
* @return {string}
|
|
17211
|
+
*/
|
|
17212
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getBpayreference = function() {
|
|
17213
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
17214
|
+
};
|
|
17215
|
+
|
|
17216
|
+
|
|
17217
|
+
/**
|
|
17218
|
+
* @param {string} value
|
|
17219
|
+
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
17220
|
+
*/
|
|
17221
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setBpayreference = function(value) {
|
|
17222
|
+
return jspb.Message.setProto3StringField(this, 14, value);
|
|
17223
|
+
};
|
|
17224
|
+
|
|
17225
|
+
|
|
17226
|
+
/**
|
|
17227
|
+
* optional string bsb = 15;
|
|
17228
|
+
* @return {string}
|
|
17229
|
+
*/
|
|
17230
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getBsb = function() {
|
|
17231
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
17232
|
+
};
|
|
17233
|
+
|
|
17234
|
+
|
|
17235
|
+
/**
|
|
17236
|
+
* @param {string} value
|
|
17237
|
+
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
17238
|
+
*/
|
|
17239
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setBsb = function(value) {
|
|
17240
|
+
return jspb.Message.setProto3StringField(this, 15, value);
|
|
17241
|
+
};
|
|
17242
|
+
|
|
17243
|
+
|
|
17244
|
+
/**
|
|
17245
|
+
* optional string accountNumber = 16;
|
|
17246
|
+
* @return {string}
|
|
17247
|
+
*/
|
|
17248
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getAccountnumber = function() {
|
|
17249
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
17250
|
+
};
|
|
17251
|
+
|
|
17252
|
+
|
|
17253
|
+
/**
|
|
17254
|
+
* @param {string} value
|
|
17255
|
+
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
17256
|
+
*/
|
|
17257
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setAccountnumber = function(value) {
|
|
17258
|
+
return jspb.Message.setProto3StringField(this, 16, value);
|
|
17259
|
+
};
|
|
17260
|
+
|
|
17261
|
+
|
|
17262
|
+
/**
|
|
17263
|
+
* optional string accountName = 17;
|
|
17264
|
+
* @return {string}
|
|
17265
|
+
*/
|
|
17266
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getAccountname = function() {
|
|
17267
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
17268
|
+
};
|
|
17269
|
+
|
|
17270
|
+
|
|
17271
|
+
/**
|
|
17272
|
+
* @param {string} value
|
|
17273
|
+
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
17274
|
+
*/
|
|
17275
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setAccountname = function(value) {
|
|
17276
|
+
return jspb.Message.setProto3StringField(this, 17, value);
|
|
17277
|
+
};
|
|
17278
|
+
|
|
17279
|
+
|
|
17280
|
+
/**
|
|
17281
|
+
* optional string smeReference = 18;
|
|
17282
|
+
* @return {string}
|
|
17283
|
+
*/
|
|
17284
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getSmereference = function() {
|
|
17285
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
17286
|
+
};
|
|
17287
|
+
|
|
17288
|
+
|
|
17289
|
+
/**
|
|
17290
|
+
* @param {string} value
|
|
17291
|
+
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
17292
|
+
*/
|
|
17293
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setSmereference = function(value) {
|
|
17294
|
+
return jspb.Message.setProto3StringField(this, 18, value);
|
|
17295
|
+
};
|
|
17296
|
+
|
|
17297
|
+
|
|
17298
|
+
/**
|
|
17299
|
+
* optional string deliveryBatchName = 19;
|
|
17300
|
+
* @return {string}
|
|
17301
|
+
*/
|
|
17302
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getDeliverybatchname = function() {
|
|
17303
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
17304
|
+
};
|
|
17305
|
+
|
|
17306
|
+
|
|
17307
|
+
/**
|
|
17308
|
+
* @param {string} value
|
|
17309
|
+
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
17310
|
+
*/
|
|
17311
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setDeliverybatchname = function(value) {
|
|
17312
|
+
return jspb.Message.setProto3StringField(this, 19, value);
|
|
17313
|
+
};
|
|
17314
|
+
|
|
17315
|
+
|
|
17316
|
+
/**
|
|
17317
|
+
* optional string settlementDate = 20;
|
|
17318
|
+
* @return {string}
|
|
17319
|
+
*/
|
|
17320
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getSettlementdate = function() {
|
|
17321
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
|
17322
|
+
};
|
|
17323
|
+
|
|
17324
|
+
|
|
17325
|
+
/**
|
|
17326
|
+
* @param {string} value
|
|
17327
|
+
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
17328
|
+
*/
|
|
17329
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setSettlementdate = function(value) {
|
|
17330
|
+
return jspb.Message.setProto3StringField(this, 20, value);
|
|
17331
|
+
};
|
|
17332
|
+
|
|
17333
|
+
|
|
17334
|
+
/**
|
|
17335
|
+
* optional string bpayReceiptId = 21;
|
|
17336
|
+
* @return {string}
|
|
17337
|
+
*/
|
|
17338
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getBpayreceiptid = function() {
|
|
17339
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
|
17340
|
+
};
|
|
17341
|
+
|
|
17342
|
+
|
|
17343
|
+
/**
|
|
17344
|
+
* @param {string} value
|
|
17345
|
+
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
17346
|
+
*/
|
|
17347
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setBpayreceiptid = function(value) {
|
|
17348
|
+
return jspb.Message.setProto3StringField(this, 21, value);
|
|
17349
|
+
};
|
|
17350
|
+
|
|
17351
|
+
|
|
17352
|
+
/**
|
|
17353
|
+
* optional string smeReceiptId = 22;
|
|
17354
|
+
* @return {string}
|
|
17355
|
+
*/
|
|
17356
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getSmereceiptid = function() {
|
|
17357
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
|
|
17358
|
+
};
|
|
17359
|
+
|
|
17360
|
+
|
|
17361
|
+
/**
|
|
17362
|
+
* @param {string} value
|
|
17363
|
+
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
17364
|
+
*/
|
|
17365
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setSmereceiptid = function(value) {
|
|
17366
|
+
return jspb.Message.setProto3StringField(this, 22, value);
|
|
17367
|
+
};
|
|
17368
|
+
|
|
17369
|
+
|
|
17370
|
+
/**
|
|
17371
|
+
* optional double rewardAmount = 23;
|
|
17372
|
+
* @return {number}
|
|
17373
|
+
*/
|
|
17374
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getRewardamount = function() {
|
|
17375
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 23, 0.0));
|
|
17376
|
+
};
|
|
17377
|
+
|
|
17378
|
+
|
|
17379
|
+
/**
|
|
17380
|
+
* @param {number} value
|
|
17381
|
+
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
17382
|
+
*/
|
|
17383
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setRewardamount = function(value) {
|
|
17384
|
+
return jspb.Message.setProto3FloatField(this, 23, value);
|
|
17385
|
+
};
|
|
17386
|
+
|
|
17387
|
+
|
|
17388
|
+
|
|
17389
|
+
|
|
17390
|
+
|
|
17391
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
17392
|
+
/**
|
|
17393
|
+
* Creates an object representation of this proto.
|
|
17394
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
17395
|
+
* Optional fields that are not set will be set to undefined.
|
|
17396
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
17397
|
+
* For the list of reserved names please see:
|
|
17398
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
17399
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
17400
|
+
* JSPB instance for transitional soy proto support:
|
|
17401
|
+
* http://goto/soy-param-migration
|
|
17402
|
+
* @return {!Object}
|
|
17403
|
+
*/
|
|
17404
|
+
proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest.prototype.toObject = function(opt_includeInstance) {
|
|
17405
|
+
return proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest.toObject(opt_includeInstance, this);
|
|
17406
|
+
};
|
|
17407
|
+
|
|
17408
|
+
|
|
17409
|
+
/**
|
|
17410
|
+
* Static version of the {@see toObject} method.
|
|
17411
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
17412
|
+
* the JSPB instance for transitional soy proto support:
|
|
17413
|
+
* http://goto/soy-param-migration
|
|
17414
|
+
* @param {!proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest} msg The msg instance to transform.
|
|
17415
|
+
* @return {!Object}
|
|
17416
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
17417
|
+
*/
|
|
17418
|
+
proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest.toObject = function(includeInstance, msg) {
|
|
17419
|
+
var f, obj = {
|
|
17420
|
+
clientuserid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
17421
|
+
page: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
17422
|
+
size: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
17423
|
+
sortby: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
17424
|
+
sortdirection: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
17425
|
+
};
|
|
17426
|
+
|
|
17427
|
+
if (includeInstance) {
|
|
17428
|
+
obj.$jspbMessageInstance = msg;
|
|
17429
|
+
}
|
|
17430
|
+
return obj;
|
|
17431
|
+
};
|
|
17432
|
+
}
|
|
17433
|
+
|
|
17434
|
+
|
|
17435
|
+
/**
|
|
17436
|
+
* Deserializes binary data (in protobuf wire format).
|
|
17437
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
17438
|
+
* @return {!proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest}
|
|
17439
|
+
*/
|
|
17440
|
+
proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest.deserializeBinary = function(bytes) {
|
|
17441
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
17442
|
+
var msg = new proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest;
|
|
17443
|
+
return proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest.deserializeBinaryFromReader(msg, reader);
|
|
17444
|
+
};
|
|
17445
|
+
|
|
17446
|
+
|
|
17447
|
+
/**
|
|
17448
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
17449
|
+
* given reader into the given message object.
|
|
17450
|
+
* @param {!proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest} msg The message object to deserialize into.
|
|
17451
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
17452
|
+
* @return {!proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest}
|
|
17453
|
+
*/
|
|
17454
|
+
proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
17455
|
+
while (reader.nextField()) {
|
|
17456
|
+
if (reader.isEndGroup()) {
|
|
17457
|
+
break;
|
|
17458
|
+
}
|
|
17459
|
+
var field = reader.getFieldNumber();
|
|
17460
|
+
switch (field) {
|
|
17461
|
+
case 1:
|
|
17462
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
17463
|
+
msg.setClientuserid(value);
|
|
17464
|
+
break;
|
|
17465
|
+
case 2:
|
|
17466
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
17467
|
+
msg.setPage(value);
|
|
17468
|
+
break;
|
|
17469
|
+
case 3:
|
|
17470
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
17471
|
+
msg.setSize(value);
|
|
17472
|
+
break;
|
|
17473
|
+
case 4:
|
|
17474
|
+
var value = /** @type {string} */ (reader.readString());
|
|
17475
|
+
msg.setSortby(value);
|
|
17476
|
+
break;
|
|
17477
|
+
case 5:
|
|
17478
|
+
var value = /** @type {string} */ (reader.readString());
|
|
17479
|
+
msg.setSortdirection(value);
|
|
17480
|
+
break;
|
|
17481
|
+
default:
|
|
17482
|
+
reader.skipField();
|
|
17483
|
+
break;
|
|
17484
|
+
}
|
|
17485
|
+
}
|
|
17486
|
+
return msg;
|
|
17487
|
+
};
|
|
17488
|
+
|
|
17489
|
+
|
|
17490
|
+
/**
|
|
17491
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
17492
|
+
* @return {!Uint8Array}
|
|
17493
|
+
*/
|
|
17494
|
+
proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest.prototype.serializeBinary = function() {
|
|
17495
|
+
var writer = new jspb.BinaryWriter();
|
|
17496
|
+
proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest.serializeBinaryToWriter(this, writer);
|
|
17497
|
+
return writer.getResultBuffer();
|
|
17498
|
+
};
|
|
17499
|
+
|
|
17500
|
+
|
|
17501
|
+
/**
|
|
17502
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
17503
|
+
* format), writing to the given BinaryWriter.
|
|
17504
|
+
* @param {!proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest} message
|
|
17505
|
+
* @param {!jspb.BinaryWriter} writer
|
|
17506
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
17507
|
+
*/
|
|
17508
|
+
proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest.serializeBinaryToWriter = function(message, writer) {
|
|
17509
|
+
var f = undefined;
|
|
17510
|
+
f = message.getClientuserid();
|
|
17511
|
+
if (f !== 0) {
|
|
17512
|
+
writer.writeInt64(
|
|
17513
|
+
1,
|
|
17514
|
+
f
|
|
17515
|
+
);
|
|
17516
|
+
}
|
|
17517
|
+
f = message.getPage();
|
|
17518
|
+
if (f !== 0) {
|
|
17519
|
+
writer.writeInt32(
|
|
17520
|
+
2,
|
|
17521
|
+
f
|
|
17522
|
+
);
|
|
17523
|
+
}
|
|
17524
|
+
f = message.getSize();
|
|
17525
|
+
if (f !== 0) {
|
|
17526
|
+
writer.writeInt32(
|
|
17527
|
+
3,
|
|
17528
|
+
f
|
|
17529
|
+
);
|
|
17530
|
+
}
|
|
17531
|
+
f = message.getSortby();
|
|
17532
|
+
if (f.length > 0) {
|
|
17533
|
+
writer.writeString(
|
|
17534
|
+
4,
|
|
17535
|
+
f
|
|
17536
|
+
);
|
|
17537
|
+
}
|
|
17538
|
+
f = message.getSortdirection();
|
|
17539
|
+
if (f.length > 0) {
|
|
17540
|
+
writer.writeString(
|
|
17541
|
+
5,
|
|
17542
|
+
f
|
|
17543
|
+
);
|
|
17544
|
+
}
|
|
17545
|
+
};
|
|
17546
|
+
|
|
17547
|
+
|
|
17548
|
+
/**
|
|
17549
|
+
* optional int64 clientUserId = 1;
|
|
17550
|
+
* @return {number}
|
|
17551
|
+
*/
|
|
17552
|
+
proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest.prototype.getClientuserid = function() {
|
|
17553
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
17554
|
+
};
|
|
17555
|
+
|
|
17556
|
+
|
|
17557
|
+
/**
|
|
17558
|
+
* @param {number} value
|
|
17559
|
+
* @return {!proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest} returns this
|
|
17560
|
+
*/
|
|
17561
|
+
proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest.prototype.setClientuserid = function(value) {
|
|
17562
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
17563
|
+
};
|
|
17564
|
+
|
|
17565
|
+
|
|
17566
|
+
/**
|
|
17567
|
+
* optional int32 page = 2;
|
|
17568
|
+
* @return {number}
|
|
17569
|
+
*/
|
|
17570
|
+
proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest.prototype.getPage = function() {
|
|
17571
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
17572
|
+
};
|
|
17573
|
+
|
|
17574
|
+
|
|
17575
|
+
/**
|
|
17576
|
+
* @param {number} value
|
|
17577
|
+
* @return {!proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest} returns this
|
|
17578
|
+
*/
|
|
17579
|
+
proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest.prototype.setPage = function(value) {
|
|
17580
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
17581
|
+
};
|
|
17582
|
+
|
|
17583
|
+
|
|
17584
|
+
/**
|
|
17585
|
+
* optional int32 size = 3;
|
|
17586
|
+
* @return {number}
|
|
17587
|
+
*/
|
|
17588
|
+
proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest.prototype.getSize = function() {
|
|
17589
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
17590
|
+
};
|
|
17591
|
+
|
|
17592
|
+
|
|
17593
|
+
/**
|
|
17594
|
+
* @param {number} value
|
|
17595
|
+
* @return {!proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest} returns this
|
|
17596
|
+
*/
|
|
17597
|
+
proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest.prototype.setSize = function(value) {
|
|
17598
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
17599
|
+
};
|
|
17600
|
+
|
|
17601
|
+
|
|
17602
|
+
/**
|
|
17603
|
+
* optional string sortBy = 4;
|
|
17604
|
+
* @return {string}
|
|
17605
|
+
*/
|
|
17606
|
+
proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest.prototype.getSortby = function() {
|
|
17607
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
17608
|
+
};
|
|
17609
|
+
|
|
17610
|
+
|
|
17611
|
+
/**
|
|
17612
|
+
* @param {string} value
|
|
17613
|
+
* @return {!proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest} returns this
|
|
17614
|
+
*/
|
|
17615
|
+
proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest.prototype.setSortby = function(value) {
|
|
17616
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
17617
|
+
};
|
|
17618
|
+
|
|
17619
|
+
|
|
17620
|
+
/**
|
|
17621
|
+
* optional string sortDirection = 5;
|
|
17622
|
+
* @return {string}
|
|
17623
|
+
*/
|
|
17624
|
+
proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest.prototype.getSortdirection = function() {
|
|
17625
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
17626
|
+
};
|
|
17627
|
+
|
|
17628
|
+
|
|
17629
|
+
/**
|
|
17630
|
+
* @param {string} value
|
|
17631
|
+
* @return {!proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest} returns this
|
|
17632
|
+
*/
|
|
17633
|
+
proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest.prototype.setSortdirection = function(value) {
|
|
17634
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
17635
|
+
};
|
|
17636
|
+
|
|
17637
|
+
|
|
17638
|
+
|
|
17639
|
+
/**
|
|
17640
|
+
* List of repeated fields within this message type.
|
|
17641
|
+
* @private {!Array<number>}
|
|
17642
|
+
* @const
|
|
17643
|
+
*/
|
|
17644
|
+
proto.agentbillingserviceapi.GetAgentBillTransactionsResponse.repeatedFields_ = [2];
|
|
17645
|
+
|
|
17646
|
+
|
|
17647
|
+
|
|
17648
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
17649
|
+
/**
|
|
17650
|
+
* Creates an object representation of this proto.
|
|
17651
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
17652
|
+
* Optional fields that are not set will be set to undefined.
|
|
17653
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
17654
|
+
* For the list of reserved names please see:
|
|
17655
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
17656
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
17657
|
+
* JSPB instance for transitional soy proto support:
|
|
17658
|
+
* http://goto/soy-param-migration
|
|
17659
|
+
* @return {!Object}
|
|
17660
|
+
*/
|
|
17661
|
+
proto.agentbillingserviceapi.GetAgentBillTransactionsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
17662
|
+
return proto.agentbillingserviceapi.GetAgentBillTransactionsResponse.toObject(opt_includeInstance, this);
|
|
17663
|
+
};
|
|
17664
|
+
|
|
17665
|
+
|
|
17666
|
+
/**
|
|
17667
|
+
* Static version of the {@see toObject} method.
|
|
17668
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
17669
|
+
* the JSPB instance for transitional soy proto support:
|
|
17670
|
+
* http://goto/soy-param-migration
|
|
17671
|
+
* @param {!proto.agentbillingserviceapi.GetAgentBillTransactionsResponse} msg The msg instance to transform.
|
|
17672
|
+
* @return {!Object}
|
|
17673
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
17674
|
+
*/
|
|
17675
|
+
proto.agentbillingserviceapi.GetAgentBillTransactionsResponse.toObject = function(includeInstance, msg) {
|
|
17676
|
+
var f, obj = {
|
|
17677
|
+
responsecode: (f = msg.getResponsecode()) && proto.agentbillingserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
17678
|
+
agentbilltransactionsList: jspb.Message.toObjectList(msg.getAgentbilltransactionsList(),
|
|
17679
|
+
proto.agentbillingserviceapi.AgentBillTransaction.toObject, includeInstance),
|
|
17680
|
+
page: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
17681
|
+
size: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
17682
|
+
totalpages: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
17683
|
+
totalsize: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
17684
|
+
};
|
|
17685
|
+
|
|
17686
|
+
if (includeInstance) {
|
|
17687
|
+
obj.$jspbMessageInstance = msg;
|
|
17688
|
+
}
|
|
17689
|
+
return obj;
|
|
17690
|
+
};
|
|
17691
|
+
}
|
|
17692
|
+
|
|
17693
|
+
|
|
17694
|
+
/**
|
|
17695
|
+
* Deserializes binary data (in protobuf wire format).
|
|
17696
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
17697
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillTransactionsResponse}
|
|
17698
|
+
*/
|
|
17699
|
+
proto.agentbillingserviceapi.GetAgentBillTransactionsResponse.deserializeBinary = function(bytes) {
|
|
17700
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
17701
|
+
var msg = new proto.agentbillingserviceapi.GetAgentBillTransactionsResponse;
|
|
17702
|
+
return proto.agentbillingserviceapi.GetAgentBillTransactionsResponse.deserializeBinaryFromReader(msg, reader);
|
|
17703
|
+
};
|
|
17704
|
+
|
|
17705
|
+
|
|
17706
|
+
/**
|
|
17707
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
17708
|
+
* given reader into the given message object.
|
|
17709
|
+
* @param {!proto.agentbillingserviceapi.GetAgentBillTransactionsResponse} msg The message object to deserialize into.
|
|
17710
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
17711
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillTransactionsResponse}
|
|
17712
|
+
*/
|
|
17713
|
+
proto.agentbillingserviceapi.GetAgentBillTransactionsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
17714
|
+
while (reader.nextField()) {
|
|
17715
|
+
if (reader.isEndGroup()) {
|
|
17716
|
+
break;
|
|
17717
|
+
}
|
|
17718
|
+
var field = reader.getFieldNumber();
|
|
17719
|
+
switch (field) {
|
|
17720
|
+
case 1:
|
|
17721
|
+
var value = new proto.agentbillingserviceapi.ResponseCode;
|
|
17722
|
+
reader.readMessage(value,proto.agentbillingserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
17723
|
+
msg.setResponsecode(value);
|
|
17724
|
+
break;
|
|
17725
|
+
case 2:
|
|
17726
|
+
var value = new proto.agentbillingserviceapi.AgentBillTransaction;
|
|
17727
|
+
reader.readMessage(value,proto.agentbillingserviceapi.AgentBillTransaction.deserializeBinaryFromReader);
|
|
17728
|
+
msg.addAgentbilltransactions(value);
|
|
17729
|
+
break;
|
|
17730
|
+
case 3:
|
|
17731
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
17732
|
+
msg.setPage(value);
|
|
17733
|
+
break;
|
|
17734
|
+
case 4:
|
|
17735
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
17736
|
+
msg.setSize(value);
|
|
17737
|
+
break;
|
|
17738
|
+
case 5:
|
|
17739
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
17740
|
+
msg.setTotalpages(value);
|
|
17741
|
+
break;
|
|
17742
|
+
case 6:
|
|
17743
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
17744
|
+
msg.setTotalsize(value);
|
|
17745
|
+
break;
|
|
17746
|
+
default:
|
|
17747
|
+
reader.skipField();
|
|
17748
|
+
break;
|
|
17749
|
+
}
|
|
17750
|
+
}
|
|
17751
|
+
return msg;
|
|
17752
|
+
};
|
|
17753
|
+
|
|
17754
|
+
|
|
17755
|
+
/**
|
|
17756
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
17757
|
+
* @return {!Uint8Array}
|
|
17758
|
+
*/
|
|
17759
|
+
proto.agentbillingserviceapi.GetAgentBillTransactionsResponse.prototype.serializeBinary = function() {
|
|
17760
|
+
var writer = new jspb.BinaryWriter();
|
|
17761
|
+
proto.agentbillingserviceapi.GetAgentBillTransactionsResponse.serializeBinaryToWriter(this, writer);
|
|
17762
|
+
return writer.getResultBuffer();
|
|
17763
|
+
};
|
|
17764
|
+
|
|
17765
|
+
|
|
17766
|
+
/**
|
|
17767
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
17768
|
+
* format), writing to the given BinaryWriter.
|
|
17769
|
+
* @param {!proto.agentbillingserviceapi.GetAgentBillTransactionsResponse} message
|
|
17770
|
+
* @param {!jspb.BinaryWriter} writer
|
|
17771
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
17772
|
+
*/
|
|
17773
|
+
proto.agentbillingserviceapi.GetAgentBillTransactionsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
17774
|
+
var f = undefined;
|
|
17775
|
+
f = message.getResponsecode();
|
|
17776
|
+
if (f != null) {
|
|
17777
|
+
writer.writeMessage(
|
|
17778
|
+
1,
|
|
17779
|
+
f,
|
|
17780
|
+
proto.agentbillingserviceapi.ResponseCode.serializeBinaryToWriter
|
|
17781
|
+
);
|
|
17782
|
+
}
|
|
17783
|
+
f = message.getAgentbilltransactionsList();
|
|
17784
|
+
if (f.length > 0) {
|
|
17785
|
+
writer.writeRepeatedMessage(
|
|
17786
|
+
2,
|
|
17787
|
+
f,
|
|
17788
|
+
proto.agentbillingserviceapi.AgentBillTransaction.serializeBinaryToWriter
|
|
17789
|
+
);
|
|
17790
|
+
}
|
|
17791
|
+
f = message.getPage();
|
|
17792
|
+
if (f !== 0) {
|
|
17793
|
+
writer.writeInt32(
|
|
17794
|
+
3,
|
|
17795
|
+
f
|
|
17796
|
+
);
|
|
17797
|
+
}
|
|
17798
|
+
f = message.getSize();
|
|
17799
|
+
if (f !== 0) {
|
|
17800
|
+
writer.writeInt32(
|
|
17801
|
+
4,
|
|
17802
|
+
f
|
|
17803
|
+
);
|
|
17804
|
+
}
|
|
17805
|
+
f = message.getTotalpages();
|
|
17806
|
+
if (f !== 0) {
|
|
17807
|
+
writer.writeInt32(
|
|
17808
|
+
5,
|
|
17809
|
+
f
|
|
17810
|
+
);
|
|
17811
|
+
}
|
|
17812
|
+
f = message.getTotalsize();
|
|
17813
|
+
if (f !== 0) {
|
|
17814
|
+
writer.writeInt64(
|
|
17815
|
+
6,
|
|
17816
|
+
f
|
|
17817
|
+
);
|
|
17818
|
+
}
|
|
17819
|
+
};
|
|
17820
|
+
|
|
17821
|
+
|
|
17822
|
+
/**
|
|
17823
|
+
* optional ResponseCode responseCode = 1;
|
|
17824
|
+
* @return {?proto.agentbillingserviceapi.ResponseCode}
|
|
17825
|
+
*/
|
|
17826
|
+
proto.agentbillingserviceapi.GetAgentBillTransactionsResponse.prototype.getResponsecode = function() {
|
|
17827
|
+
return /** @type{?proto.agentbillingserviceapi.ResponseCode} */ (
|
|
17828
|
+
jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.ResponseCode, 1));
|
|
17829
|
+
};
|
|
17830
|
+
|
|
17831
|
+
|
|
17832
|
+
/**
|
|
17833
|
+
* @param {?proto.agentbillingserviceapi.ResponseCode|undefined} value
|
|
17834
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillTransactionsResponse} returns this
|
|
17835
|
+
*/
|
|
17836
|
+
proto.agentbillingserviceapi.GetAgentBillTransactionsResponse.prototype.setResponsecode = function(value) {
|
|
17837
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
17838
|
+
};
|
|
17839
|
+
|
|
17840
|
+
|
|
17841
|
+
/**
|
|
17842
|
+
* Clears the message field making it undefined.
|
|
17843
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillTransactionsResponse} returns this
|
|
17844
|
+
*/
|
|
17845
|
+
proto.agentbillingserviceapi.GetAgentBillTransactionsResponse.prototype.clearResponsecode = function() {
|
|
17846
|
+
return this.setResponsecode(undefined);
|
|
17847
|
+
};
|
|
17848
|
+
|
|
17849
|
+
|
|
17850
|
+
/**
|
|
17851
|
+
* Returns whether this field is set.
|
|
17852
|
+
* @return {boolean}
|
|
17853
|
+
*/
|
|
17854
|
+
proto.agentbillingserviceapi.GetAgentBillTransactionsResponse.prototype.hasResponsecode = function() {
|
|
17855
|
+
return jspb.Message.getField(this, 1) != null;
|
|
17856
|
+
};
|
|
17857
|
+
|
|
17858
|
+
|
|
17859
|
+
/**
|
|
17860
|
+
* repeated AgentBillTransaction agentBillTransactions = 2;
|
|
17861
|
+
* @return {!Array<!proto.agentbillingserviceapi.AgentBillTransaction>}
|
|
17862
|
+
*/
|
|
17863
|
+
proto.agentbillingserviceapi.GetAgentBillTransactionsResponse.prototype.getAgentbilltransactionsList = function() {
|
|
17864
|
+
return /** @type{!Array<!proto.agentbillingserviceapi.AgentBillTransaction>} */ (
|
|
17865
|
+
jspb.Message.getRepeatedWrapperField(this, proto.agentbillingserviceapi.AgentBillTransaction, 2));
|
|
17866
|
+
};
|
|
17867
|
+
|
|
17868
|
+
|
|
17869
|
+
/**
|
|
17870
|
+
* @param {!Array<!proto.agentbillingserviceapi.AgentBillTransaction>} value
|
|
17871
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillTransactionsResponse} returns this
|
|
17872
|
+
*/
|
|
17873
|
+
proto.agentbillingserviceapi.GetAgentBillTransactionsResponse.prototype.setAgentbilltransactionsList = function(value) {
|
|
17874
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
17875
|
+
};
|
|
17876
|
+
|
|
17877
|
+
|
|
17878
|
+
/**
|
|
17879
|
+
* @param {!proto.agentbillingserviceapi.AgentBillTransaction=} opt_value
|
|
17880
|
+
* @param {number=} opt_index
|
|
17881
|
+
* @return {!proto.agentbillingserviceapi.AgentBillTransaction}
|
|
17882
|
+
*/
|
|
17883
|
+
proto.agentbillingserviceapi.GetAgentBillTransactionsResponse.prototype.addAgentbilltransactions = function(opt_value, opt_index) {
|
|
17884
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.agentbillingserviceapi.AgentBillTransaction, opt_index);
|
|
17885
|
+
};
|
|
17886
|
+
|
|
17887
|
+
|
|
17888
|
+
/**
|
|
17889
|
+
* Clears the list making it empty but non-null.
|
|
17890
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillTransactionsResponse} returns this
|
|
17891
|
+
*/
|
|
17892
|
+
proto.agentbillingserviceapi.GetAgentBillTransactionsResponse.prototype.clearAgentbilltransactionsList = function() {
|
|
17893
|
+
return this.setAgentbilltransactionsList([]);
|
|
17894
|
+
};
|
|
17895
|
+
|
|
17896
|
+
|
|
17897
|
+
/**
|
|
17898
|
+
* optional int32 page = 3;
|
|
17899
|
+
* @return {number}
|
|
17900
|
+
*/
|
|
17901
|
+
proto.agentbillingserviceapi.GetAgentBillTransactionsResponse.prototype.getPage = function() {
|
|
17902
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
17903
|
+
};
|
|
17904
|
+
|
|
17905
|
+
|
|
17906
|
+
/**
|
|
17907
|
+
* @param {number} value
|
|
17908
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillTransactionsResponse} returns this
|
|
17909
|
+
*/
|
|
17910
|
+
proto.agentbillingserviceapi.GetAgentBillTransactionsResponse.prototype.setPage = function(value) {
|
|
17911
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
17912
|
+
};
|
|
17913
|
+
|
|
17914
|
+
|
|
17915
|
+
/**
|
|
17916
|
+
* optional int32 size = 4;
|
|
17917
|
+
* @return {number}
|
|
17918
|
+
*/
|
|
17919
|
+
proto.agentbillingserviceapi.GetAgentBillTransactionsResponse.prototype.getSize = function() {
|
|
17920
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
17921
|
+
};
|
|
17922
|
+
|
|
17923
|
+
|
|
17924
|
+
/**
|
|
17925
|
+
* @param {number} value
|
|
17926
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillTransactionsResponse} returns this
|
|
17927
|
+
*/
|
|
17928
|
+
proto.agentbillingserviceapi.GetAgentBillTransactionsResponse.prototype.setSize = function(value) {
|
|
17929
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
17930
|
+
};
|
|
17931
|
+
|
|
17932
|
+
|
|
17933
|
+
/**
|
|
17934
|
+
* optional int32 totalPages = 5;
|
|
17935
|
+
* @return {number}
|
|
17936
|
+
*/
|
|
17937
|
+
proto.agentbillingserviceapi.GetAgentBillTransactionsResponse.prototype.getTotalpages = function() {
|
|
17938
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
17939
|
+
};
|
|
17940
|
+
|
|
17941
|
+
|
|
17942
|
+
/**
|
|
17943
|
+
* @param {number} value
|
|
17944
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillTransactionsResponse} returns this
|
|
17945
|
+
*/
|
|
17946
|
+
proto.agentbillingserviceapi.GetAgentBillTransactionsResponse.prototype.setTotalpages = function(value) {
|
|
17947
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
17948
|
+
};
|
|
17949
|
+
|
|
17950
|
+
|
|
17951
|
+
/**
|
|
17952
|
+
* optional int64 totalSize = 6;
|
|
17953
|
+
* @return {number}
|
|
17954
|
+
*/
|
|
17955
|
+
proto.agentbillingserviceapi.GetAgentBillTransactionsResponse.prototype.getTotalsize = function() {
|
|
17956
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
17957
|
+
};
|
|
17958
|
+
|
|
17959
|
+
|
|
17960
|
+
/**
|
|
17961
|
+
* @param {number} value
|
|
17962
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillTransactionsResponse} returns this
|
|
17963
|
+
*/
|
|
17964
|
+
proto.agentbillingserviceapi.GetAgentBillTransactionsResponse.prototype.setTotalsize = function(value) {
|
|
17965
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
17966
|
+
};
|
|
17967
|
+
|
|
17968
|
+
|
|
16532
17969
|
goog.object.extend(exports, proto.agentbillingserviceapi);
|