@sniipwebmaster/agent-billing-client-grpcweb-ts 23.13.1034 → 23.13.1060
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.
|
@@ -1545,5 +1545,48 @@ export class AgentBillingServiceAPIServiceClient {
|
|
|
1545
1545
|
this.methodDescriptorResendAgentInvitation);
|
|
1546
1546
|
}
|
|
1547
1547
|
|
|
1548
|
+
methodDescriptorReviewAgentBill = new grpcWeb.MethodDescriptor(
|
|
1549
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/ReviewAgentBill',
|
|
1550
|
+
grpcWeb.MethodType.UNARY,
|
|
1551
|
+
service_pb.ReviewAgentBillRequest,
|
|
1552
|
+
service_pb.ProcessAgentBillsResponse,
|
|
1553
|
+
(request: service_pb.ReviewAgentBillRequest) => {
|
|
1554
|
+
return request.serializeBinary();
|
|
1555
|
+
},
|
|
1556
|
+
service_pb.ProcessAgentBillsResponse.deserializeBinary
|
|
1557
|
+
);
|
|
1558
|
+
|
|
1559
|
+
reviewAgentBill(
|
|
1560
|
+
request: service_pb.ReviewAgentBillRequest,
|
|
1561
|
+
metadata: grpcWeb.Metadata | null): Promise<service_pb.ProcessAgentBillsResponse>;
|
|
1562
|
+
|
|
1563
|
+
reviewAgentBill(
|
|
1564
|
+
request: service_pb.ReviewAgentBillRequest,
|
|
1565
|
+
metadata: grpcWeb.Metadata | null,
|
|
1566
|
+
callback: (err: grpcWeb.RpcError,
|
|
1567
|
+
response: service_pb.ProcessAgentBillsResponse) => void): grpcWeb.ClientReadableStream<service_pb.ProcessAgentBillsResponse>;
|
|
1568
|
+
|
|
1569
|
+
reviewAgentBill(
|
|
1570
|
+
request: service_pb.ReviewAgentBillRequest,
|
|
1571
|
+
metadata: grpcWeb.Metadata | null,
|
|
1572
|
+
callback?: (err: grpcWeb.RpcError,
|
|
1573
|
+
response: service_pb.ProcessAgentBillsResponse) => void) {
|
|
1574
|
+
if (callback !== undefined) {
|
|
1575
|
+
return this.client_.rpcCall(
|
|
1576
|
+
this.hostname_ +
|
|
1577
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/ReviewAgentBill',
|
|
1578
|
+
request,
|
|
1579
|
+
metadata || {},
|
|
1580
|
+
this.methodDescriptorReviewAgentBill,
|
|
1581
|
+
callback);
|
|
1582
|
+
}
|
|
1583
|
+
return this.client_.unaryCall(
|
|
1584
|
+
this.hostname_ +
|
|
1585
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/ReviewAgentBill',
|
|
1586
|
+
request,
|
|
1587
|
+
metadata || {},
|
|
1588
|
+
this.methodDescriptorReviewAgentBill);
|
|
1589
|
+
}
|
|
1590
|
+
|
|
1548
1591
|
}
|
|
1549
1592
|
|
|
@@ -327,6 +327,15 @@ export class Client extends jspb.Message {
|
|
|
327
327
|
getAbnentityname(): string;
|
|
328
328
|
setAbnentityname(value: string): Client;
|
|
329
329
|
|
|
330
|
+
getLastconnectedtimestamp(): string;
|
|
331
|
+
setLastconnectedtimestamp(value: string): Client;
|
|
332
|
+
|
|
333
|
+
getLastdisconnectedtimestamp(): string;
|
|
334
|
+
setLastdisconnectedtimestamp(value: string): Client;
|
|
335
|
+
|
|
336
|
+
getLastinvitationsenttimestamp(): string;
|
|
337
|
+
setLastinvitationsenttimestamp(value: string): Client;
|
|
338
|
+
|
|
330
339
|
serializeBinary(): Uint8Array;
|
|
331
340
|
toObject(includeInstance?: boolean): Client.AsObject;
|
|
332
341
|
static toObject(includeInstance: boolean, msg: Client): Client.AsObject;
|
|
@@ -347,6 +356,9 @@ export namespace Client {
|
|
|
347
356
|
iscustomimage: boolean,
|
|
348
357
|
abn: string,
|
|
349
358
|
abnentityname: string,
|
|
359
|
+
lastconnectedtimestamp: string,
|
|
360
|
+
lastdisconnectedtimestamp: string,
|
|
361
|
+
lastinvitationsenttimestamp: string,
|
|
350
362
|
}
|
|
351
363
|
}
|
|
352
364
|
|
|
@@ -1798,6 +1810,64 @@ export namespace ResponseCode {
|
|
|
1798
1810
|
}
|
|
1799
1811
|
}
|
|
1800
1812
|
|
|
1813
|
+
export class ReviewAgentBillRequest extends jspb.Message {
|
|
1814
|
+
getAgentbillid(): number;
|
|
1815
|
+
setAgentbillid(value: number): ReviewAgentBillRequest;
|
|
1816
|
+
|
|
1817
|
+
getBillercode(): string;
|
|
1818
|
+
setBillercode(value: string): ReviewAgentBillRequest;
|
|
1819
|
+
|
|
1820
|
+
getBpayreference(): string;
|
|
1821
|
+
setBpayreference(value: string): ReviewAgentBillRequest;
|
|
1822
|
+
|
|
1823
|
+
getAmount(): number;
|
|
1824
|
+
setAmount(value: number): ReviewAgentBillRequest;
|
|
1825
|
+
|
|
1826
|
+
getDuedate(): string;
|
|
1827
|
+
setDuedate(value: string): ReviewAgentBillRequest;
|
|
1828
|
+
|
|
1829
|
+
getInvoicenumber(): string;
|
|
1830
|
+
setInvoicenumber(value: string): ReviewAgentBillRequest;
|
|
1831
|
+
|
|
1832
|
+
getDescription(): string;
|
|
1833
|
+
setDescription(value: string): ReviewAgentBillRequest;
|
|
1834
|
+
|
|
1835
|
+
getBsb(): string;
|
|
1836
|
+
setBsb(value: string): ReviewAgentBillRequest;
|
|
1837
|
+
|
|
1838
|
+
getAccountnumber(): string;
|
|
1839
|
+
setAccountnumber(value: string): ReviewAgentBillRequest;
|
|
1840
|
+
|
|
1841
|
+
getAccountname(): string;
|
|
1842
|
+
setAccountname(value: string): ReviewAgentBillRequest;
|
|
1843
|
+
|
|
1844
|
+
getSmereference(): string;
|
|
1845
|
+
setSmereference(value: string): ReviewAgentBillRequest;
|
|
1846
|
+
|
|
1847
|
+
serializeBinary(): Uint8Array;
|
|
1848
|
+
toObject(includeInstance?: boolean): ReviewAgentBillRequest.AsObject;
|
|
1849
|
+
static toObject(includeInstance: boolean, msg: ReviewAgentBillRequest): ReviewAgentBillRequest.AsObject;
|
|
1850
|
+
static serializeBinaryToWriter(message: ReviewAgentBillRequest, writer: jspb.BinaryWriter): void;
|
|
1851
|
+
static deserializeBinary(bytes: Uint8Array): ReviewAgentBillRequest;
|
|
1852
|
+
static deserializeBinaryFromReader(message: ReviewAgentBillRequest, reader: jspb.BinaryReader): ReviewAgentBillRequest;
|
|
1853
|
+
}
|
|
1854
|
+
|
|
1855
|
+
export namespace ReviewAgentBillRequest {
|
|
1856
|
+
export type AsObject = {
|
|
1857
|
+
agentbillid: number,
|
|
1858
|
+
billercode: string,
|
|
1859
|
+
bpayreference: string,
|
|
1860
|
+
amount: number,
|
|
1861
|
+
duedate: string,
|
|
1862
|
+
invoicenumber: string,
|
|
1863
|
+
description: string,
|
|
1864
|
+
bsb: string,
|
|
1865
|
+
accountnumber: string,
|
|
1866
|
+
accountname: string,
|
|
1867
|
+
smereference: string,
|
|
1868
|
+
}
|
|
1869
|
+
}
|
|
1870
|
+
|
|
1801
1871
|
export class UploadBatch extends jspb.Message {
|
|
1802
1872
|
getUploadbatchid(): number;
|
|
1803
1873
|
setUploadbatchid(value: number): UploadBatch;
|
|
@@ -76,6 +76,7 @@ goog.exportSymbol('proto.agentbillingserviceapi.ProcessAgentBillsResponse', null
|
|
|
76
76
|
goog.exportSymbol('proto.agentbillingserviceapi.RenameUploadBatchRequest', null, global);
|
|
77
77
|
goog.exportSymbol('proto.agentbillingserviceapi.ResendAgentInvitationRequest', null, global);
|
|
78
78
|
goog.exportSymbol('proto.agentbillingserviceapi.ResponseCode', null, global);
|
|
79
|
+
goog.exportSymbol('proto.agentbillingserviceapi.ReviewAgentBillRequest', null, global);
|
|
79
80
|
goog.exportSymbol('proto.agentbillingserviceapi.UploadBatch', null, global);
|
|
80
81
|
/**
|
|
81
82
|
* Generated by JsPbCodeGenerator.
|
|
@@ -1337,6 +1338,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1337
1338
|
*/
|
|
1338
1339
|
proto.agentbillingserviceapi.ResponseCode.displayName = 'proto.agentbillingserviceapi.ResponseCode';
|
|
1339
1340
|
}
|
|
1341
|
+
/**
|
|
1342
|
+
* Generated by JsPbCodeGenerator.
|
|
1343
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1344
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1345
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1346
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1347
|
+
* valid.
|
|
1348
|
+
* @extends {jspb.Message}
|
|
1349
|
+
* @constructor
|
|
1350
|
+
*/
|
|
1351
|
+
proto.agentbillingserviceapi.ReviewAgentBillRequest = function(opt_data) {
|
|
1352
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1353
|
+
};
|
|
1354
|
+
goog.inherits(proto.agentbillingserviceapi.ReviewAgentBillRequest, jspb.Message);
|
|
1355
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1356
|
+
/**
|
|
1357
|
+
* @public
|
|
1358
|
+
* @override
|
|
1359
|
+
*/
|
|
1360
|
+
proto.agentbillingserviceapi.ReviewAgentBillRequest.displayName = 'proto.agentbillingserviceapi.ReviewAgentBillRequest';
|
|
1361
|
+
}
|
|
1340
1362
|
/**
|
|
1341
1363
|
* Generated by JsPbCodeGenerator.
|
|
1342
1364
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -3592,7 +3614,10 @@ proto.agentbillingserviceapi.Client.toObject = function(includeInstance, msg) {
|
|
|
3592
3614
|
imageurl: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
3593
3615
|
iscustomimage: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
|
|
3594
3616
|
abn: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
3595
|
-
abnentityname: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
3617
|
+
abnentityname: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
3618
|
+
lastconnectedtimestamp: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
3619
|
+
lastdisconnectedtimestamp: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
3620
|
+
lastinvitationsenttimestamp: jspb.Message.getFieldWithDefault(msg, 13, "")
|
|
3596
3621
|
};
|
|
3597
3622
|
|
|
3598
3623
|
if (includeInstance) {
|
|
@@ -3669,6 +3694,18 @@ proto.agentbillingserviceapi.Client.deserializeBinaryFromReader = function(msg,
|
|
|
3669
3694
|
var value = /** @type {string} */ (reader.readString());
|
|
3670
3695
|
msg.setAbnentityname(value);
|
|
3671
3696
|
break;
|
|
3697
|
+
case 11:
|
|
3698
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3699
|
+
msg.setLastconnectedtimestamp(value);
|
|
3700
|
+
break;
|
|
3701
|
+
case 12:
|
|
3702
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3703
|
+
msg.setLastdisconnectedtimestamp(value);
|
|
3704
|
+
break;
|
|
3705
|
+
case 13:
|
|
3706
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3707
|
+
msg.setLastinvitationsenttimestamp(value);
|
|
3708
|
+
break;
|
|
3672
3709
|
default:
|
|
3673
3710
|
reader.skipField();
|
|
3674
3711
|
break;
|
|
@@ -3768,6 +3805,27 @@ proto.agentbillingserviceapi.Client.serializeBinaryToWriter = function(message,
|
|
|
3768
3805
|
f
|
|
3769
3806
|
);
|
|
3770
3807
|
}
|
|
3808
|
+
f = message.getLastconnectedtimestamp();
|
|
3809
|
+
if (f.length > 0) {
|
|
3810
|
+
writer.writeString(
|
|
3811
|
+
11,
|
|
3812
|
+
f
|
|
3813
|
+
);
|
|
3814
|
+
}
|
|
3815
|
+
f = message.getLastdisconnectedtimestamp();
|
|
3816
|
+
if (f.length > 0) {
|
|
3817
|
+
writer.writeString(
|
|
3818
|
+
12,
|
|
3819
|
+
f
|
|
3820
|
+
);
|
|
3821
|
+
}
|
|
3822
|
+
f = message.getLastinvitationsenttimestamp();
|
|
3823
|
+
if (f.length > 0) {
|
|
3824
|
+
writer.writeString(
|
|
3825
|
+
13,
|
|
3826
|
+
f
|
|
3827
|
+
);
|
|
3828
|
+
}
|
|
3771
3829
|
};
|
|
3772
3830
|
|
|
3773
3831
|
|
|
@@ -3951,6 +4009,60 @@ proto.agentbillingserviceapi.Client.prototype.setAbnentityname = function(value)
|
|
|
3951
4009
|
};
|
|
3952
4010
|
|
|
3953
4011
|
|
|
4012
|
+
/**
|
|
4013
|
+
* optional string lastConnectedTimestamp = 11;
|
|
4014
|
+
* @return {string}
|
|
4015
|
+
*/
|
|
4016
|
+
proto.agentbillingserviceapi.Client.prototype.getLastconnectedtimestamp = function() {
|
|
4017
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
4018
|
+
};
|
|
4019
|
+
|
|
4020
|
+
|
|
4021
|
+
/**
|
|
4022
|
+
* @param {string} value
|
|
4023
|
+
* @return {!proto.agentbillingserviceapi.Client} returns this
|
|
4024
|
+
*/
|
|
4025
|
+
proto.agentbillingserviceapi.Client.prototype.setLastconnectedtimestamp = function(value) {
|
|
4026
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
4027
|
+
};
|
|
4028
|
+
|
|
4029
|
+
|
|
4030
|
+
/**
|
|
4031
|
+
* optional string lastDisconnectedTimestamp = 12;
|
|
4032
|
+
* @return {string}
|
|
4033
|
+
*/
|
|
4034
|
+
proto.agentbillingserviceapi.Client.prototype.getLastdisconnectedtimestamp = function() {
|
|
4035
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
4036
|
+
};
|
|
4037
|
+
|
|
4038
|
+
|
|
4039
|
+
/**
|
|
4040
|
+
* @param {string} value
|
|
4041
|
+
* @return {!proto.agentbillingserviceapi.Client} returns this
|
|
4042
|
+
*/
|
|
4043
|
+
proto.agentbillingserviceapi.Client.prototype.setLastdisconnectedtimestamp = function(value) {
|
|
4044
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
4045
|
+
};
|
|
4046
|
+
|
|
4047
|
+
|
|
4048
|
+
/**
|
|
4049
|
+
* optional string lastInvitationSentTimestamp = 13;
|
|
4050
|
+
* @return {string}
|
|
4051
|
+
*/
|
|
4052
|
+
proto.agentbillingserviceapi.Client.prototype.getLastinvitationsenttimestamp = function() {
|
|
4053
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
4054
|
+
};
|
|
4055
|
+
|
|
4056
|
+
|
|
4057
|
+
/**
|
|
4058
|
+
* @param {string} value
|
|
4059
|
+
* @return {!proto.agentbillingserviceapi.Client} returns this
|
|
4060
|
+
*/
|
|
4061
|
+
proto.agentbillingserviceapi.Client.prototype.setLastinvitationsenttimestamp = function(value) {
|
|
4062
|
+
return jspb.Message.setProto3StringField(this, 13, value);
|
|
4063
|
+
};
|
|
4064
|
+
|
|
4065
|
+
|
|
3954
4066
|
|
|
3955
4067
|
|
|
3956
4068
|
|
|
@@ -14820,6 +14932,436 @@ proto.agentbillingserviceapi.ResponseCode.prototype.setMessage = function(value)
|
|
|
14820
14932
|
|
|
14821
14933
|
|
|
14822
14934
|
|
|
14935
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14936
|
+
/**
|
|
14937
|
+
* Creates an object representation of this proto.
|
|
14938
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
14939
|
+
* Optional fields that are not set will be set to undefined.
|
|
14940
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
14941
|
+
* For the list of reserved names please see:
|
|
14942
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
14943
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
14944
|
+
* JSPB instance for transitional soy proto support:
|
|
14945
|
+
* http://goto/soy-param-migration
|
|
14946
|
+
* @return {!Object}
|
|
14947
|
+
*/
|
|
14948
|
+
proto.agentbillingserviceapi.ReviewAgentBillRequest.prototype.toObject = function(opt_includeInstance) {
|
|
14949
|
+
return proto.agentbillingserviceapi.ReviewAgentBillRequest.toObject(opt_includeInstance, this);
|
|
14950
|
+
};
|
|
14951
|
+
|
|
14952
|
+
|
|
14953
|
+
/**
|
|
14954
|
+
* Static version of the {@see toObject} method.
|
|
14955
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
14956
|
+
* the JSPB instance for transitional soy proto support:
|
|
14957
|
+
* http://goto/soy-param-migration
|
|
14958
|
+
* @param {!proto.agentbillingserviceapi.ReviewAgentBillRequest} msg The msg instance to transform.
|
|
14959
|
+
* @return {!Object}
|
|
14960
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14961
|
+
*/
|
|
14962
|
+
proto.agentbillingserviceapi.ReviewAgentBillRequest.toObject = function(includeInstance, msg) {
|
|
14963
|
+
var f, obj = {
|
|
14964
|
+
agentbillid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
14965
|
+
billercode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
14966
|
+
bpayreference: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
14967
|
+
amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
14968
|
+
duedate: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
14969
|
+
invoicenumber: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
14970
|
+
description: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
14971
|
+
bsb: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
14972
|
+
accountnumber: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
14973
|
+
accountname: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
14974
|
+
smereference: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
14975
|
+
};
|
|
14976
|
+
|
|
14977
|
+
if (includeInstance) {
|
|
14978
|
+
obj.$jspbMessageInstance = msg;
|
|
14979
|
+
}
|
|
14980
|
+
return obj;
|
|
14981
|
+
};
|
|
14982
|
+
}
|
|
14983
|
+
|
|
14984
|
+
|
|
14985
|
+
/**
|
|
14986
|
+
* Deserializes binary data (in protobuf wire format).
|
|
14987
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
14988
|
+
* @return {!proto.agentbillingserviceapi.ReviewAgentBillRequest}
|
|
14989
|
+
*/
|
|
14990
|
+
proto.agentbillingserviceapi.ReviewAgentBillRequest.deserializeBinary = function(bytes) {
|
|
14991
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
14992
|
+
var msg = new proto.agentbillingserviceapi.ReviewAgentBillRequest;
|
|
14993
|
+
return proto.agentbillingserviceapi.ReviewAgentBillRequest.deserializeBinaryFromReader(msg, reader);
|
|
14994
|
+
};
|
|
14995
|
+
|
|
14996
|
+
|
|
14997
|
+
/**
|
|
14998
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
14999
|
+
* given reader into the given message object.
|
|
15000
|
+
* @param {!proto.agentbillingserviceapi.ReviewAgentBillRequest} msg The message object to deserialize into.
|
|
15001
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
15002
|
+
* @return {!proto.agentbillingserviceapi.ReviewAgentBillRequest}
|
|
15003
|
+
*/
|
|
15004
|
+
proto.agentbillingserviceapi.ReviewAgentBillRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
15005
|
+
while (reader.nextField()) {
|
|
15006
|
+
if (reader.isEndGroup()) {
|
|
15007
|
+
break;
|
|
15008
|
+
}
|
|
15009
|
+
var field = reader.getFieldNumber();
|
|
15010
|
+
switch (field) {
|
|
15011
|
+
case 1:
|
|
15012
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
15013
|
+
msg.setAgentbillid(value);
|
|
15014
|
+
break;
|
|
15015
|
+
case 2:
|
|
15016
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15017
|
+
msg.setBillercode(value);
|
|
15018
|
+
break;
|
|
15019
|
+
case 3:
|
|
15020
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15021
|
+
msg.setBpayreference(value);
|
|
15022
|
+
break;
|
|
15023
|
+
case 4:
|
|
15024
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
15025
|
+
msg.setAmount(value);
|
|
15026
|
+
break;
|
|
15027
|
+
case 5:
|
|
15028
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15029
|
+
msg.setDuedate(value);
|
|
15030
|
+
break;
|
|
15031
|
+
case 6:
|
|
15032
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15033
|
+
msg.setInvoicenumber(value);
|
|
15034
|
+
break;
|
|
15035
|
+
case 7:
|
|
15036
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15037
|
+
msg.setDescription(value);
|
|
15038
|
+
break;
|
|
15039
|
+
case 8:
|
|
15040
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15041
|
+
msg.setBsb(value);
|
|
15042
|
+
break;
|
|
15043
|
+
case 9:
|
|
15044
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15045
|
+
msg.setAccountnumber(value);
|
|
15046
|
+
break;
|
|
15047
|
+
case 10:
|
|
15048
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15049
|
+
msg.setAccountname(value);
|
|
15050
|
+
break;
|
|
15051
|
+
case 11:
|
|
15052
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15053
|
+
msg.setSmereference(value);
|
|
15054
|
+
break;
|
|
15055
|
+
default:
|
|
15056
|
+
reader.skipField();
|
|
15057
|
+
break;
|
|
15058
|
+
}
|
|
15059
|
+
}
|
|
15060
|
+
return msg;
|
|
15061
|
+
};
|
|
15062
|
+
|
|
15063
|
+
|
|
15064
|
+
/**
|
|
15065
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
15066
|
+
* @return {!Uint8Array}
|
|
15067
|
+
*/
|
|
15068
|
+
proto.agentbillingserviceapi.ReviewAgentBillRequest.prototype.serializeBinary = function() {
|
|
15069
|
+
var writer = new jspb.BinaryWriter();
|
|
15070
|
+
proto.agentbillingserviceapi.ReviewAgentBillRequest.serializeBinaryToWriter(this, writer);
|
|
15071
|
+
return writer.getResultBuffer();
|
|
15072
|
+
};
|
|
15073
|
+
|
|
15074
|
+
|
|
15075
|
+
/**
|
|
15076
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
15077
|
+
* format), writing to the given BinaryWriter.
|
|
15078
|
+
* @param {!proto.agentbillingserviceapi.ReviewAgentBillRequest} message
|
|
15079
|
+
* @param {!jspb.BinaryWriter} writer
|
|
15080
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15081
|
+
*/
|
|
15082
|
+
proto.agentbillingserviceapi.ReviewAgentBillRequest.serializeBinaryToWriter = function(message, writer) {
|
|
15083
|
+
var f = undefined;
|
|
15084
|
+
f = message.getAgentbillid();
|
|
15085
|
+
if (f !== 0) {
|
|
15086
|
+
writer.writeInt64(
|
|
15087
|
+
1,
|
|
15088
|
+
f
|
|
15089
|
+
);
|
|
15090
|
+
}
|
|
15091
|
+
f = message.getBillercode();
|
|
15092
|
+
if (f.length > 0) {
|
|
15093
|
+
writer.writeString(
|
|
15094
|
+
2,
|
|
15095
|
+
f
|
|
15096
|
+
);
|
|
15097
|
+
}
|
|
15098
|
+
f = message.getBpayreference();
|
|
15099
|
+
if (f.length > 0) {
|
|
15100
|
+
writer.writeString(
|
|
15101
|
+
3,
|
|
15102
|
+
f
|
|
15103
|
+
);
|
|
15104
|
+
}
|
|
15105
|
+
f = message.getAmount();
|
|
15106
|
+
if (f !== 0.0) {
|
|
15107
|
+
writer.writeDouble(
|
|
15108
|
+
4,
|
|
15109
|
+
f
|
|
15110
|
+
);
|
|
15111
|
+
}
|
|
15112
|
+
f = message.getDuedate();
|
|
15113
|
+
if (f.length > 0) {
|
|
15114
|
+
writer.writeString(
|
|
15115
|
+
5,
|
|
15116
|
+
f
|
|
15117
|
+
);
|
|
15118
|
+
}
|
|
15119
|
+
f = message.getInvoicenumber();
|
|
15120
|
+
if (f.length > 0) {
|
|
15121
|
+
writer.writeString(
|
|
15122
|
+
6,
|
|
15123
|
+
f
|
|
15124
|
+
);
|
|
15125
|
+
}
|
|
15126
|
+
f = message.getDescription();
|
|
15127
|
+
if (f.length > 0) {
|
|
15128
|
+
writer.writeString(
|
|
15129
|
+
7,
|
|
15130
|
+
f
|
|
15131
|
+
);
|
|
15132
|
+
}
|
|
15133
|
+
f = message.getBsb();
|
|
15134
|
+
if (f.length > 0) {
|
|
15135
|
+
writer.writeString(
|
|
15136
|
+
8,
|
|
15137
|
+
f
|
|
15138
|
+
);
|
|
15139
|
+
}
|
|
15140
|
+
f = message.getAccountnumber();
|
|
15141
|
+
if (f.length > 0) {
|
|
15142
|
+
writer.writeString(
|
|
15143
|
+
9,
|
|
15144
|
+
f
|
|
15145
|
+
);
|
|
15146
|
+
}
|
|
15147
|
+
f = message.getAccountname();
|
|
15148
|
+
if (f.length > 0) {
|
|
15149
|
+
writer.writeString(
|
|
15150
|
+
10,
|
|
15151
|
+
f
|
|
15152
|
+
);
|
|
15153
|
+
}
|
|
15154
|
+
f = message.getSmereference();
|
|
15155
|
+
if (f.length > 0) {
|
|
15156
|
+
writer.writeString(
|
|
15157
|
+
11,
|
|
15158
|
+
f
|
|
15159
|
+
);
|
|
15160
|
+
}
|
|
15161
|
+
};
|
|
15162
|
+
|
|
15163
|
+
|
|
15164
|
+
/**
|
|
15165
|
+
* optional int64 agentBillId = 1;
|
|
15166
|
+
* @return {number}
|
|
15167
|
+
*/
|
|
15168
|
+
proto.agentbillingserviceapi.ReviewAgentBillRequest.prototype.getAgentbillid = function() {
|
|
15169
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
15170
|
+
};
|
|
15171
|
+
|
|
15172
|
+
|
|
15173
|
+
/**
|
|
15174
|
+
* @param {number} value
|
|
15175
|
+
* @return {!proto.agentbillingserviceapi.ReviewAgentBillRequest} returns this
|
|
15176
|
+
*/
|
|
15177
|
+
proto.agentbillingserviceapi.ReviewAgentBillRequest.prototype.setAgentbillid = function(value) {
|
|
15178
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
15179
|
+
};
|
|
15180
|
+
|
|
15181
|
+
|
|
15182
|
+
/**
|
|
15183
|
+
* optional string billerCode = 2;
|
|
15184
|
+
* @return {string}
|
|
15185
|
+
*/
|
|
15186
|
+
proto.agentbillingserviceapi.ReviewAgentBillRequest.prototype.getBillercode = function() {
|
|
15187
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
15188
|
+
};
|
|
15189
|
+
|
|
15190
|
+
|
|
15191
|
+
/**
|
|
15192
|
+
* @param {string} value
|
|
15193
|
+
* @return {!proto.agentbillingserviceapi.ReviewAgentBillRequest} returns this
|
|
15194
|
+
*/
|
|
15195
|
+
proto.agentbillingserviceapi.ReviewAgentBillRequest.prototype.setBillercode = function(value) {
|
|
15196
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
15197
|
+
};
|
|
15198
|
+
|
|
15199
|
+
|
|
15200
|
+
/**
|
|
15201
|
+
* optional string bpayReference = 3;
|
|
15202
|
+
* @return {string}
|
|
15203
|
+
*/
|
|
15204
|
+
proto.agentbillingserviceapi.ReviewAgentBillRequest.prototype.getBpayreference = function() {
|
|
15205
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
15206
|
+
};
|
|
15207
|
+
|
|
15208
|
+
|
|
15209
|
+
/**
|
|
15210
|
+
* @param {string} value
|
|
15211
|
+
* @return {!proto.agentbillingserviceapi.ReviewAgentBillRequest} returns this
|
|
15212
|
+
*/
|
|
15213
|
+
proto.agentbillingserviceapi.ReviewAgentBillRequest.prototype.setBpayreference = function(value) {
|
|
15214
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
15215
|
+
};
|
|
15216
|
+
|
|
15217
|
+
|
|
15218
|
+
/**
|
|
15219
|
+
* optional double amount = 4;
|
|
15220
|
+
* @return {number}
|
|
15221
|
+
*/
|
|
15222
|
+
proto.agentbillingserviceapi.ReviewAgentBillRequest.prototype.getAmount = function() {
|
|
15223
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
|
15224
|
+
};
|
|
15225
|
+
|
|
15226
|
+
|
|
15227
|
+
/**
|
|
15228
|
+
* @param {number} value
|
|
15229
|
+
* @return {!proto.agentbillingserviceapi.ReviewAgentBillRequest} returns this
|
|
15230
|
+
*/
|
|
15231
|
+
proto.agentbillingserviceapi.ReviewAgentBillRequest.prototype.setAmount = function(value) {
|
|
15232
|
+
return jspb.Message.setProto3FloatField(this, 4, value);
|
|
15233
|
+
};
|
|
15234
|
+
|
|
15235
|
+
|
|
15236
|
+
/**
|
|
15237
|
+
* optional string dueDate = 5;
|
|
15238
|
+
* @return {string}
|
|
15239
|
+
*/
|
|
15240
|
+
proto.agentbillingserviceapi.ReviewAgentBillRequest.prototype.getDuedate = function() {
|
|
15241
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
15242
|
+
};
|
|
15243
|
+
|
|
15244
|
+
|
|
15245
|
+
/**
|
|
15246
|
+
* @param {string} value
|
|
15247
|
+
* @return {!proto.agentbillingserviceapi.ReviewAgentBillRequest} returns this
|
|
15248
|
+
*/
|
|
15249
|
+
proto.agentbillingserviceapi.ReviewAgentBillRequest.prototype.setDuedate = function(value) {
|
|
15250
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
15251
|
+
};
|
|
15252
|
+
|
|
15253
|
+
|
|
15254
|
+
/**
|
|
15255
|
+
* optional string invoiceNumber = 6;
|
|
15256
|
+
* @return {string}
|
|
15257
|
+
*/
|
|
15258
|
+
proto.agentbillingserviceapi.ReviewAgentBillRequest.prototype.getInvoicenumber = function() {
|
|
15259
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
15260
|
+
};
|
|
15261
|
+
|
|
15262
|
+
|
|
15263
|
+
/**
|
|
15264
|
+
* @param {string} value
|
|
15265
|
+
* @return {!proto.agentbillingserviceapi.ReviewAgentBillRequest} returns this
|
|
15266
|
+
*/
|
|
15267
|
+
proto.agentbillingserviceapi.ReviewAgentBillRequest.prototype.setInvoicenumber = function(value) {
|
|
15268
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
15269
|
+
};
|
|
15270
|
+
|
|
15271
|
+
|
|
15272
|
+
/**
|
|
15273
|
+
* optional string description = 7;
|
|
15274
|
+
* @return {string}
|
|
15275
|
+
*/
|
|
15276
|
+
proto.agentbillingserviceapi.ReviewAgentBillRequest.prototype.getDescription = function() {
|
|
15277
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
15278
|
+
};
|
|
15279
|
+
|
|
15280
|
+
|
|
15281
|
+
/**
|
|
15282
|
+
* @param {string} value
|
|
15283
|
+
* @return {!proto.agentbillingserviceapi.ReviewAgentBillRequest} returns this
|
|
15284
|
+
*/
|
|
15285
|
+
proto.agentbillingserviceapi.ReviewAgentBillRequest.prototype.setDescription = function(value) {
|
|
15286
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
15287
|
+
};
|
|
15288
|
+
|
|
15289
|
+
|
|
15290
|
+
/**
|
|
15291
|
+
* optional string bsb = 8;
|
|
15292
|
+
* @return {string}
|
|
15293
|
+
*/
|
|
15294
|
+
proto.agentbillingserviceapi.ReviewAgentBillRequest.prototype.getBsb = function() {
|
|
15295
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
15296
|
+
};
|
|
15297
|
+
|
|
15298
|
+
|
|
15299
|
+
/**
|
|
15300
|
+
* @param {string} value
|
|
15301
|
+
* @return {!proto.agentbillingserviceapi.ReviewAgentBillRequest} returns this
|
|
15302
|
+
*/
|
|
15303
|
+
proto.agentbillingserviceapi.ReviewAgentBillRequest.prototype.setBsb = function(value) {
|
|
15304
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
15305
|
+
};
|
|
15306
|
+
|
|
15307
|
+
|
|
15308
|
+
/**
|
|
15309
|
+
* optional string accountNumber = 9;
|
|
15310
|
+
* @return {string}
|
|
15311
|
+
*/
|
|
15312
|
+
proto.agentbillingserviceapi.ReviewAgentBillRequest.prototype.getAccountnumber = function() {
|
|
15313
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
15314
|
+
};
|
|
15315
|
+
|
|
15316
|
+
|
|
15317
|
+
/**
|
|
15318
|
+
* @param {string} value
|
|
15319
|
+
* @return {!proto.agentbillingserviceapi.ReviewAgentBillRequest} returns this
|
|
15320
|
+
*/
|
|
15321
|
+
proto.agentbillingserviceapi.ReviewAgentBillRequest.prototype.setAccountnumber = function(value) {
|
|
15322
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
15323
|
+
};
|
|
15324
|
+
|
|
15325
|
+
|
|
15326
|
+
/**
|
|
15327
|
+
* optional string accountName = 10;
|
|
15328
|
+
* @return {string}
|
|
15329
|
+
*/
|
|
15330
|
+
proto.agentbillingserviceapi.ReviewAgentBillRequest.prototype.getAccountname = function() {
|
|
15331
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
15332
|
+
};
|
|
15333
|
+
|
|
15334
|
+
|
|
15335
|
+
/**
|
|
15336
|
+
* @param {string} value
|
|
15337
|
+
* @return {!proto.agentbillingserviceapi.ReviewAgentBillRequest} returns this
|
|
15338
|
+
*/
|
|
15339
|
+
proto.agentbillingserviceapi.ReviewAgentBillRequest.prototype.setAccountname = function(value) {
|
|
15340
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
15341
|
+
};
|
|
15342
|
+
|
|
15343
|
+
|
|
15344
|
+
/**
|
|
15345
|
+
* optional string smeReference = 11;
|
|
15346
|
+
* @return {string}
|
|
15347
|
+
*/
|
|
15348
|
+
proto.agentbillingserviceapi.ReviewAgentBillRequest.prototype.getSmereference = function() {
|
|
15349
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
15350
|
+
};
|
|
15351
|
+
|
|
15352
|
+
|
|
15353
|
+
/**
|
|
15354
|
+
* @param {string} value
|
|
15355
|
+
* @return {!proto.agentbillingserviceapi.ReviewAgentBillRequest} returns this
|
|
15356
|
+
*/
|
|
15357
|
+
proto.agentbillingserviceapi.ReviewAgentBillRequest.prototype.setSmereference = function(value) {
|
|
15358
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
15359
|
+
};
|
|
15360
|
+
|
|
15361
|
+
|
|
15362
|
+
|
|
15363
|
+
|
|
15364
|
+
|
|
14823
15365
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14824
15366
|
/**
|
|
14825
15367
|
* Creates an object representation of this proto.
|