@sniipwebmaster/transaction-service-client-grpcweb 26.9.15722 → 26.9.15745
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.
|
@@ -983,6 +983,67 @@ proto.sniiptransactionapi.SniipTransactionAPIServicePromiseClient.prototype.expo
|
|
|
983
983
|
};
|
|
984
984
|
|
|
985
985
|
|
|
986
|
+
/**
|
|
987
|
+
* @const
|
|
988
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
989
|
+
* !proto.sniiptransactionapi.CountReceiptsForPeriodRequest,
|
|
990
|
+
* !proto.sniiptransactionapi.CountReceiptsForPeriodResponse>}
|
|
991
|
+
*/
|
|
992
|
+
const methodDescriptor_SniipTransactionAPIService_CountReceiptsForPeriod = new grpc.web.MethodDescriptor(
|
|
993
|
+
'/sniiptransactionapi.SniipTransactionAPIService/CountReceiptsForPeriod',
|
|
994
|
+
grpc.web.MethodType.UNARY,
|
|
995
|
+
proto.sniiptransactionapi.CountReceiptsForPeriodRequest,
|
|
996
|
+
proto.sniiptransactionapi.CountReceiptsForPeriodResponse,
|
|
997
|
+
/**
|
|
998
|
+
* @param {!proto.sniiptransactionapi.CountReceiptsForPeriodRequest} request
|
|
999
|
+
* @return {!Uint8Array}
|
|
1000
|
+
*/
|
|
1001
|
+
function(request) {
|
|
1002
|
+
return request.serializeBinary();
|
|
1003
|
+
},
|
|
1004
|
+
proto.sniiptransactionapi.CountReceiptsForPeriodResponse.deserializeBinary
|
|
1005
|
+
);
|
|
1006
|
+
|
|
1007
|
+
|
|
1008
|
+
/**
|
|
1009
|
+
* @param {!proto.sniiptransactionapi.CountReceiptsForPeriodRequest} request The
|
|
1010
|
+
* request proto
|
|
1011
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1012
|
+
* call metadata
|
|
1013
|
+
* @param {function(?grpc.web.RpcError, ?proto.sniiptransactionapi.CountReceiptsForPeriodResponse)}
|
|
1014
|
+
* callback The callback function(error, response)
|
|
1015
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniiptransactionapi.CountReceiptsForPeriodResponse>|undefined}
|
|
1016
|
+
* The XHR Node Readable Stream
|
|
1017
|
+
*/
|
|
1018
|
+
proto.sniiptransactionapi.SniipTransactionAPIServiceClient.prototype.countReceiptsForPeriod =
|
|
1019
|
+
function(request, metadata, callback) {
|
|
1020
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1021
|
+
'/sniiptransactionapi.SniipTransactionAPIService/CountReceiptsForPeriod',
|
|
1022
|
+
request,
|
|
1023
|
+
metadata || {},
|
|
1024
|
+
methodDescriptor_SniipTransactionAPIService_CountReceiptsForPeriod,
|
|
1025
|
+
callback);
|
|
1026
|
+
};
|
|
1027
|
+
|
|
1028
|
+
|
|
1029
|
+
/**
|
|
1030
|
+
* @param {!proto.sniiptransactionapi.CountReceiptsForPeriodRequest} request The
|
|
1031
|
+
* request proto
|
|
1032
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1033
|
+
* call metadata
|
|
1034
|
+
* @return {!Promise<!proto.sniiptransactionapi.CountReceiptsForPeriodResponse>}
|
|
1035
|
+
* Promise that resolves to the response
|
|
1036
|
+
*/
|
|
1037
|
+
proto.sniiptransactionapi.SniipTransactionAPIServicePromiseClient.prototype.countReceiptsForPeriod =
|
|
1038
|
+
function(request, metadata) {
|
|
1039
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1040
|
+
'/sniiptransactionapi.SniipTransactionAPIService/CountReceiptsForPeriod',
|
|
1041
|
+
request,
|
|
1042
|
+
metadata || {},
|
|
1043
|
+
methodDescriptor_SniipTransactionAPIService_CountReceiptsForPeriod);
|
|
1044
|
+
};
|
|
1045
|
+
|
|
1046
|
+
|
|
986
1047
|
/**
|
|
987
1048
|
* @const
|
|
988
1049
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -45,6 +45,8 @@ goog.exportSymbol('proto.sniiptransactionapi.CheckIfBillerCodeAndReferenceBlocke
|
|
|
45
45
|
goog.exportSymbol('proto.sniiptransactionapi.CheckIfDeviceBlockedRequest', null, global);
|
|
46
46
|
goog.exportSymbol('proto.sniiptransactionapi.CheckIfDeviceBlockedResponse', null, global);
|
|
47
47
|
goog.exportSymbol('proto.sniiptransactionapi.CollatedBillerTransaction', null, global);
|
|
48
|
+
goog.exportSymbol('proto.sniiptransactionapi.CountReceiptsForPeriodRequest', null, global);
|
|
49
|
+
goog.exportSymbol('proto.sniiptransactionapi.CountReceiptsForPeriodResponse', null, global);
|
|
48
50
|
goog.exportSymbol('proto.sniiptransactionapi.CreateExternalPaymentReceiptRequest', null, global);
|
|
49
51
|
goog.exportSymbol('proto.sniiptransactionapi.CreateExternalPaymentReceiptResponse', null, global);
|
|
50
52
|
goog.exportSymbol('proto.sniiptransactionapi.CreditCardAddRequest', null, global);
|
|
@@ -1472,6 +1474,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1472
1474
|
*/
|
|
1473
1475
|
proto.sniiptransactionapi.ExportReceiptsForPeriodRequest.displayName = 'proto.sniiptransactionapi.ExportReceiptsForPeriodRequest';
|
|
1474
1476
|
}
|
|
1477
|
+
/**
|
|
1478
|
+
* Generated by JsPbCodeGenerator.
|
|
1479
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1480
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1481
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1482
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1483
|
+
* valid.
|
|
1484
|
+
* @extends {jspb.Message}
|
|
1485
|
+
* @constructor
|
|
1486
|
+
*/
|
|
1487
|
+
proto.sniiptransactionapi.CountReceiptsForPeriodRequest = function(opt_data) {
|
|
1488
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1489
|
+
};
|
|
1490
|
+
goog.inherits(proto.sniiptransactionapi.CountReceiptsForPeriodRequest, jspb.Message);
|
|
1491
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1492
|
+
/**
|
|
1493
|
+
* @public
|
|
1494
|
+
* @override
|
|
1495
|
+
*/
|
|
1496
|
+
proto.sniiptransactionapi.CountReceiptsForPeriodRequest.displayName = 'proto.sniiptransactionapi.CountReceiptsForPeriodRequest';
|
|
1497
|
+
}
|
|
1498
|
+
/**
|
|
1499
|
+
* Generated by JsPbCodeGenerator.
|
|
1500
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1501
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1502
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1503
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1504
|
+
* valid.
|
|
1505
|
+
* @extends {jspb.Message}
|
|
1506
|
+
* @constructor
|
|
1507
|
+
*/
|
|
1508
|
+
proto.sniiptransactionapi.CountReceiptsForPeriodResponse = function(opt_data) {
|
|
1509
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1510
|
+
};
|
|
1511
|
+
goog.inherits(proto.sniiptransactionapi.CountReceiptsForPeriodResponse, jspb.Message);
|
|
1512
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1513
|
+
/**
|
|
1514
|
+
* @public
|
|
1515
|
+
* @override
|
|
1516
|
+
*/
|
|
1517
|
+
proto.sniiptransactionapi.CountReceiptsForPeriodResponse.displayName = 'proto.sniiptransactionapi.CountReceiptsForPeriodResponse';
|
|
1518
|
+
}
|
|
1475
1519
|
/**
|
|
1476
1520
|
* Generated by JsPbCodeGenerator.
|
|
1477
1521
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -16759,6 +16803,377 @@ proto.sniiptransactionapi.ExportReceiptsForPeriodRequest.prototype.setDeliveryme
|
|
|
16759
16803
|
|
|
16760
16804
|
|
|
16761
16805
|
|
|
16806
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
16807
|
+
/**
|
|
16808
|
+
* Creates an object representation of this proto.
|
|
16809
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
16810
|
+
* Optional fields that are not set will be set to undefined.
|
|
16811
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
16812
|
+
* For the list of reserved names please see:
|
|
16813
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
16814
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
16815
|
+
* JSPB instance for transitional soy proto support:
|
|
16816
|
+
* http://goto/soy-param-migration
|
|
16817
|
+
* @return {!Object}
|
|
16818
|
+
*/
|
|
16819
|
+
proto.sniiptransactionapi.CountReceiptsForPeriodRequest.prototype.toObject = function(opt_includeInstance) {
|
|
16820
|
+
return proto.sniiptransactionapi.CountReceiptsForPeriodRequest.toObject(opt_includeInstance, this);
|
|
16821
|
+
};
|
|
16822
|
+
|
|
16823
|
+
|
|
16824
|
+
/**
|
|
16825
|
+
* Static version of the {@see toObject} method.
|
|
16826
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
16827
|
+
* the JSPB instance for transitional soy proto support:
|
|
16828
|
+
* http://goto/soy-param-migration
|
|
16829
|
+
* @param {!proto.sniiptransactionapi.CountReceiptsForPeriodRequest} msg The msg instance to transform.
|
|
16830
|
+
* @return {!Object}
|
|
16831
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
16832
|
+
*/
|
|
16833
|
+
proto.sniiptransactionapi.CountReceiptsForPeriodRequest.toObject = function(includeInstance, msg) {
|
|
16834
|
+
var f, obj = {
|
|
16835
|
+
startdate: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
16836
|
+
enddate: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
16837
|
+
timezone: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
16838
|
+
};
|
|
16839
|
+
|
|
16840
|
+
if (includeInstance) {
|
|
16841
|
+
obj.$jspbMessageInstance = msg;
|
|
16842
|
+
}
|
|
16843
|
+
return obj;
|
|
16844
|
+
};
|
|
16845
|
+
}
|
|
16846
|
+
|
|
16847
|
+
|
|
16848
|
+
/**
|
|
16849
|
+
* Deserializes binary data (in protobuf wire format).
|
|
16850
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
16851
|
+
* @return {!proto.sniiptransactionapi.CountReceiptsForPeriodRequest}
|
|
16852
|
+
*/
|
|
16853
|
+
proto.sniiptransactionapi.CountReceiptsForPeriodRequest.deserializeBinary = function(bytes) {
|
|
16854
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
16855
|
+
var msg = new proto.sniiptransactionapi.CountReceiptsForPeriodRequest;
|
|
16856
|
+
return proto.sniiptransactionapi.CountReceiptsForPeriodRequest.deserializeBinaryFromReader(msg, reader);
|
|
16857
|
+
};
|
|
16858
|
+
|
|
16859
|
+
|
|
16860
|
+
/**
|
|
16861
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
16862
|
+
* given reader into the given message object.
|
|
16863
|
+
* @param {!proto.sniiptransactionapi.CountReceiptsForPeriodRequest} msg The message object to deserialize into.
|
|
16864
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
16865
|
+
* @return {!proto.sniiptransactionapi.CountReceiptsForPeriodRequest}
|
|
16866
|
+
*/
|
|
16867
|
+
proto.sniiptransactionapi.CountReceiptsForPeriodRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
16868
|
+
while (reader.nextField()) {
|
|
16869
|
+
if (reader.isEndGroup()) {
|
|
16870
|
+
break;
|
|
16871
|
+
}
|
|
16872
|
+
var field = reader.getFieldNumber();
|
|
16873
|
+
switch (field) {
|
|
16874
|
+
case 1:
|
|
16875
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16876
|
+
msg.setStartdate(value);
|
|
16877
|
+
break;
|
|
16878
|
+
case 2:
|
|
16879
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16880
|
+
msg.setEnddate(value);
|
|
16881
|
+
break;
|
|
16882
|
+
case 3:
|
|
16883
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16884
|
+
msg.setTimezone(value);
|
|
16885
|
+
break;
|
|
16886
|
+
default:
|
|
16887
|
+
reader.skipField();
|
|
16888
|
+
break;
|
|
16889
|
+
}
|
|
16890
|
+
}
|
|
16891
|
+
return msg;
|
|
16892
|
+
};
|
|
16893
|
+
|
|
16894
|
+
|
|
16895
|
+
/**
|
|
16896
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
16897
|
+
* @return {!Uint8Array}
|
|
16898
|
+
*/
|
|
16899
|
+
proto.sniiptransactionapi.CountReceiptsForPeriodRequest.prototype.serializeBinary = function() {
|
|
16900
|
+
var writer = new jspb.BinaryWriter();
|
|
16901
|
+
proto.sniiptransactionapi.CountReceiptsForPeriodRequest.serializeBinaryToWriter(this, writer);
|
|
16902
|
+
return writer.getResultBuffer();
|
|
16903
|
+
};
|
|
16904
|
+
|
|
16905
|
+
|
|
16906
|
+
/**
|
|
16907
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
16908
|
+
* format), writing to the given BinaryWriter.
|
|
16909
|
+
* @param {!proto.sniiptransactionapi.CountReceiptsForPeriodRequest} message
|
|
16910
|
+
* @param {!jspb.BinaryWriter} writer
|
|
16911
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
16912
|
+
*/
|
|
16913
|
+
proto.sniiptransactionapi.CountReceiptsForPeriodRequest.serializeBinaryToWriter = function(message, writer) {
|
|
16914
|
+
var f = undefined;
|
|
16915
|
+
f = message.getStartdate();
|
|
16916
|
+
if (f.length > 0) {
|
|
16917
|
+
writer.writeString(
|
|
16918
|
+
1,
|
|
16919
|
+
f
|
|
16920
|
+
);
|
|
16921
|
+
}
|
|
16922
|
+
f = message.getEnddate();
|
|
16923
|
+
if (f.length > 0) {
|
|
16924
|
+
writer.writeString(
|
|
16925
|
+
2,
|
|
16926
|
+
f
|
|
16927
|
+
);
|
|
16928
|
+
}
|
|
16929
|
+
f = message.getTimezone();
|
|
16930
|
+
if (f.length > 0) {
|
|
16931
|
+
writer.writeString(
|
|
16932
|
+
3,
|
|
16933
|
+
f
|
|
16934
|
+
);
|
|
16935
|
+
}
|
|
16936
|
+
};
|
|
16937
|
+
|
|
16938
|
+
|
|
16939
|
+
/**
|
|
16940
|
+
* optional string startDate = 1;
|
|
16941
|
+
* @return {string}
|
|
16942
|
+
*/
|
|
16943
|
+
proto.sniiptransactionapi.CountReceiptsForPeriodRequest.prototype.getStartdate = function() {
|
|
16944
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
16945
|
+
};
|
|
16946
|
+
|
|
16947
|
+
|
|
16948
|
+
/**
|
|
16949
|
+
* @param {string} value
|
|
16950
|
+
* @return {!proto.sniiptransactionapi.CountReceiptsForPeriodRequest} returns this
|
|
16951
|
+
*/
|
|
16952
|
+
proto.sniiptransactionapi.CountReceiptsForPeriodRequest.prototype.setStartdate = function(value) {
|
|
16953
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
16954
|
+
};
|
|
16955
|
+
|
|
16956
|
+
|
|
16957
|
+
/**
|
|
16958
|
+
* optional string endDate = 2;
|
|
16959
|
+
* @return {string}
|
|
16960
|
+
*/
|
|
16961
|
+
proto.sniiptransactionapi.CountReceiptsForPeriodRequest.prototype.getEnddate = function() {
|
|
16962
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
16963
|
+
};
|
|
16964
|
+
|
|
16965
|
+
|
|
16966
|
+
/**
|
|
16967
|
+
* @param {string} value
|
|
16968
|
+
* @return {!proto.sniiptransactionapi.CountReceiptsForPeriodRequest} returns this
|
|
16969
|
+
*/
|
|
16970
|
+
proto.sniiptransactionapi.CountReceiptsForPeriodRequest.prototype.setEnddate = function(value) {
|
|
16971
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
16972
|
+
};
|
|
16973
|
+
|
|
16974
|
+
|
|
16975
|
+
/**
|
|
16976
|
+
* optional string timezone = 3;
|
|
16977
|
+
* @return {string}
|
|
16978
|
+
*/
|
|
16979
|
+
proto.sniiptransactionapi.CountReceiptsForPeriodRequest.prototype.getTimezone = function() {
|
|
16980
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
16981
|
+
};
|
|
16982
|
+
|
|
16983
|
+
|
|
16984
|
+
/**
|
|
16985
|
+
* @param {string} value
|
|
16986
|
+
* @return {!proto.sniiptransactionapi.CountReceiptsForPeriodRequest} returns this
|
|
16987
|
+
*/
|
|
16988
|
+
proto.sniiptransactionapi.CountReceiptsForPeriodRequest.prototype.setTimezone = function(value) {
|
|
16989
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
16990
|
+
};
|
|
16991
|
+
|
|
16992
|
+
|
|
16993
|
+
|
|
16994
|
+
|
|
16995
|
+
|
|
16996
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
16997
|
+
/**
|
|
16998
|
+
* Creates an object representation of this proto.
|
|
16999
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
17000
|
+
* Optional fields that are not set will be set to undefined.
|
|
17001
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
17002
|
+
* For the list of reserved names please see:
|
|
17003
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
17004
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
17005
|
+
* JSPB instance for transitional soy proto support:
|
|
17006
|
+
* http://goto/soy-param-migration
|
|
17007
|
+
* @return {!Object}
|
|
17008
|
+
*/
|
|
17009
|
+
proto.sniiptransactionapi.CountReceiptsForPeriodResponse.prototype.toObject = function(opt_includeInstance) {
|
|
17010
|
+
return proto.sniiptransactionapi.CountReceiptsForPeriodResponse.toObject(opt_includeInstance, this);
|
|
17011
|
+
};
|
|
17012
|
+
|
|
17013
|
+
|
|
17014
|
+
/**
|
|
17015
|
+
* Static version of the {@see toObject} method.
|
|
17016
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
17017
|
+
* the JSPB instance for transitional soy proto support:
|
|
17018
|
+
* http://goto/soy-param-migration
|
|
17019
|
+
* @param {!proto.sniiptransactionapi.CountReceiptsForPeriodResponse} msg The msg instance to transform.
|
|
17020
|
+
* @return {!Object}
|
|
17021
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
17022
|
+
*/
|
|
17023
|
+
proto.sniiptransactionapi.CountReceiptsForPeriodResponse.toObject = function(includeInstance, msg) {
|
|
17024
|
+
var f, obj = {
|
|
17025
|
+
responsecode: (f = msg.getResponsecode()) && proto.sniiptransactionapi.ResponseCode.toObject(includeInstance, f),
|
|
17026
|
+
paymentcount: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
17027
|
+
};
|
|
17028
|
+
|
|
17029
|
+
if (includeInstance) {
|
|
17030
|
+
obj.$jspbMessageInstance = msg;
|
|
17031
|
+
}
|
|
17032
|
+
return obj;
|
|
17033
|
+
};
|
|
17034
|
+
}
|
|
17035
|
+
|
|
17036
|
+
|
|
17037
|
+
/**
|
|
17038
|
+
* Deserializes binary data (in protobuf wire format).
|
|
17039
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
17040
|
+
* @return {!proto.sniiptransactionapi.CountReceiptsForPeriodResponse}
|
|
17041
|
+
*/
|
|
17042
|
+
proto.sniiptransactionapi.CountReceiptsForPeriodResponse.deserializeBinary = function(bytes) {
|
|
17043
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
17044
|
+
var msg = new proto.sniiptransactionapi.CountReceiptsForPeriodResponse;
|
|
17045
|
+
return proto.sniiptransactionapi.CountReceiptsForPeriodResponse.deserializeBinaryFromReader(msg, reader);
|
|
17046
|
+
};
|
|
17047
|
+
|
|
17048
|
+
|
|
17049
|
+
/**
|
|
17050
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
17051
|
+
* given reader into the given message object.
|
|
17052
|
+
* @param {!proto.sniiptransactionapi.CountReceiptsForPeriodResponse} msg The message object to deserialize into.
|
|
17053
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
17054
|
+
* @return {!proto.sniiptransactionapi.CountReceiptsForPeriodResponse}
|
|
17055
|
+
*/
|
|
17056
|
+
proto.sniiptransactionapi.CountReceiptsForPeriodResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
17057
|
+
while (reader.nextField()) {
|
|
17058
|
+
if (reader.isEndGroup()) {
|
|
17059
|
+
break;
|
|
17060
|
+
}
|
|
17061
|
+
var field = reader.getFieldNumber();
|
|
17062
|
+
switch (field) {
|
|
17063
|
+
case 1:
|
|
17064
|
+
var value = new proto.sniiptransactionapi.ResponseCode;
|
|
17065
|
+
reader.readMessage(value,proto.sniiptransactionapi.ResponseCode.deserializeBinaryFromReader);
|
|
17066
|
+
msg.setResponsecode(value);
|
|
17067
|
+
break;
|
|
17068
|
+
case 2:
|
|
17069
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
17070
|
+
msg.setPaymentcount(value);
|
|
17071
|
+
break;
|
|
17072
|
+
default:
|
|
17073
|
+
reader.skipField();
|
|
17074
|
+
break;
|
|
17075
|
+
}
|
|
17076
|
+
}
|
|
17077
|
+
return msg;
|
|
17078
|
+
};
|
|
17079
|
+
|
|
17080
|
+
|
|
17081
|
+
/**
|
|
17082
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
17083
|
+
* @return {!Uint8Array}
|
|
17084
|
+
*/
|
|
17085
|
+
proto.sniiptransactionapi.CountReceiptsForPeriodResponse.prototype.serializeBinary = function() {
|
|
17086
|
+
var writer = new jspb.BinaryWriter();
|
|
17087
|
+
proto.sniiptransactionapi.CountReceiptsForPeriodResponse.serializeBinaryToWriter(this, writer);
|
|
17088
|
+
return writer.getResultBuffer();
|
|
17089
|
+
};
|
|
17090
|
+
|
|
17091
|
+
|
|
17092
|
+
/**
|
|
17093
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
17094
|
+
* format), writing to the given BinaryWriter.
|
|
17095
|
+
* @param {!proto.sniiptransactionapi.CountReceiptsForPeriodResponse} message
|
|
17096
|
+
* @param {!jspb.BinaryWriter} writer
|
|
17097
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
17098
|
+
*/
|
|
17099
|
+
proto.sniiptransactionapi.CountReceiptsForPeriodResponse.serializeBinaryToWriter = function(message, writer) {
|
|
17100
|
+
var f = undefined;
|
|
17101
|
+
f = message.getResponsecode();
|
|
17102
|
+
if (f != null) {
|
|
17103
|
+
writer.writeMessage(
|
|
17104
|
+
1,
|
|
17105
|
+
f,
|
|
17106
|
+
proto.sniiptransactionapi.ResponseCode.serializeBinaryToWriter
|
|
17107
|
+
);
|
|
17108
|
+
}
|
|
17109
|
+
f = message.getPaymentcount();
|
|
17110
|
+
if (f !== 0) {
|
|
17111
|
+
writer.writeInt64(
|
|
17112
|
+
2,
|
|
17113
|
+
f
|
|
17114
|
+
);
|
|
17115
|
+
}
|
|
17116
|
+
};
|
|
17117
|
+
|
|
17118
|
+
|
|
17119
|
+
/**
|
|
17120
|
+
* optional ResponseCode responseCode = 1;
|
|
17121
|
+
* @return {?proto.sniiptransactionapi.ResponseCode}
|
|
17122
|
+
*/
|
|
17123
|
+
proto.sniiptransactionapi.CountReceiptsForPeriodResponse.prototype.getResponsecode = function() {
|
|
17124
|
+
return /** @type{?proto.sniiptransactionapi.ResponseCode} */ (
|
|
17125
|
+
jspb.Message.getWrapperField(this, proto.sniiptransactionapi.ResponseCode, 1));
|
|
17126
|
+
};
|
|
17127
|
+
|
|
17128
|
+
|
|
17129
|
+
/**
|
|
17130
|
+
* @param {?proto.sniiptransactionapi.ResponseCode|undefined} value
|
|
17131
|
+
* @return {!proto.sniiptransactionapi.CountReceiptsForPeriodResponse} returns this
|
|
17132
|
+
*/
|
|
17133
|
+
proto.sniiptransactionapi.CountReceiptsForPeriodResponse.prototype.setResponsecode = function(value) {
|
|
17134
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
17135
|
+
};
|
|
17136
|
+
|
|
17137
|
+
|
|
17138
|
+
/**
|
|
17139
|
+
* Clears the message field making it undefined.
|
|
17140
|
+
* @return {!proto.sniiptransactionapi.CountReceiptsForPeriodResponse} returns this
|
|
17141
|
+
*/
|
|
17142
|
+
proto.sniiptransactionapi.CountReceiptsForPeriodResponse.prototype.clearResponsecode = function() {
|
|
17143
|
+
return this.setResponsecode(undefined);
|
|
17144
|
+
};
|
|
17145
|
+
|
|
17146
|
+
|
|
17147
|
+
/**
|
|
17148
|
+
* Returns whether this field is set.
|
|
17149
|
+
* @return {boolean}
|
|
17150
|
+
*/
|
|
17151
|
+
proto.sniiptransactionapi.CountReceiptsForPeriodResponse.prototype.hasResponsecode = function() {
|
|
17152
|
+
return jspb.Message.getField(this, 1) != null;
|
|
17153
|
+
};
|
|
17154
|
+
|
|
17155
|
+
|
|
17156
|
+
/**
|
|
17157
|
+
* optional int64 paymentCount = 2;
|
|
17158
|
+
* @return {number}
|
|
17159
|
+
*/
|
|
17160
|
+
proto.sniiptransactionapi.CountReceiptsForPeriodResponse.prototype.getPaymentcount = function() {
|
|
17161
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
17162
|
+
};
|
|
17163
|
+
|
|
17164
|
+
|
|
17165
|
+
/**
|
|
17166
|
+
* @param {number} value
|
|
17167
|
+
* @return {!proto.sniiptransactionapi.CountReceiptsForPeriodResponse} returns this
|
|
17168
|
+
*/
|
|
17169
|
+
proto.sniiptransactionapi.CountReceiptsForPeriodResponse.prototype.setPaymentcount = function(value) {
|
|
17170
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
17171
|
+
};
|
|
17172
|
+
|
|
17173
|
+
|
|
17174
|
+
|
|
17175
|
+
|
|
17176
|
+
|
|
16762
17177
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
16763
17178
|
/**
|
|
16764
17179
|
* Creates an object representation of this proto.
|