@sniipwebmaster/transaction-service-client-grpcweb 26.9.15801 → 26.10.15826
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.
|
@@ -3113,6 +3113,67 @@ proto.sniiptransactionapi.SniipTransactionAPIServicePromiseClient.prototype.inte
|
|
|
3113
3113
|
};
|
|
3114
3114
|
|
|
3115
3115
|
|
|
3116
|
+
/**
|
|
3117
|
+
* @const
|
|
3118
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
3119
|
+
* !proto.sniiptransactionapi.InternalConvertTransactionToSmeRequest,
|
|
3120
|
+
* !proto.sniiptransactionapi.ResponseCode>}
|
|
3121
|
+
*/
|
|
3122
|
+
const methodDescriptor_SniipTransactionAPIService_InternalConvertTransactionToSme = new grpc.web.MethodDescriptor(
|
|
3123
|
+
'/sniiptransactionapi.SniipTransactionAPIService/InternalConvertTransactionToSme',
|
|
3124
|
+
grpc.web.MethodType.UNARY,
|
|
3125
|
+
proto.sniiptransactionapi.InternalConvertTransactionToSmeRequest,
|
|
3126
|
+
proto.sniiptransactionapi.ResponseCode,
|
|
3127
|
+
/**
|
|
3128
|
+
* @param {!proto.sniiptransactionapi.InternalConvertTransactionToSmeRequest} request
|
|
3129
|
+
* @return {!Uint8Array}
|
|
3130
|
+
*/
|
|
3131
|
+
function(request) {
|
|
3132
|
+
return request.serializeBinary();
|
|
3133
|
+
},
|
|
3134
|
+
proto.sniiptransactionapi.ResponseCode.deserializeBinary
|
|
3135
|
+
);
|
|
3136
|
+
|
|
3137
|
+
|
|
3138
|
+
/**
|
|
3139
|
+
* @param {!proto.sniiptransactionapi.InternalConvertTransactionToSmeRequest} request The
|
|
3140
|
+
* request proto
|
|
3141
|
+
* @param {?Object<string, string>} metadata User defined
|
|
3142
|
+
* call metadata
|
|
3143
|
+
* @param {function(?grpc.web.RpcError, ?proto.sniiptransactionapi.ResponseCode)}
|
|
3144
|
+
* callback The callback function(error, response)
|
|
3145
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniiptransactionapi.ResponseCode>|undefined}
|
|
3146
|
+
* The XHR Node Readable Stream
|
|
3147
|
+
*/
|
|
3148
|
+
proto.sniiptransactionapi.SniipTransactionAPIServiceClient.prototype.internalConvertTransactionToSme =
|
|
3149
|
+
function(request, metadata, callback) {
|
|
3150
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
3151
|
+
'/sniiptransactionapi.SniipTransactionAPIService/InternalConvertTransactionToSme',
|
|
3152
|
+
request,
|
|
3153
|
+
metadata || {},
|
|
3154
|
+
methodDescriptor_SniipTransactionAPIService_InternalConvertTransactionToSme,
|
|
3155
|
+
callback);
|
|
3156
|
+
};
|
|
3157
|
+
|
|
3158
|
+
|
|
3159
|
+
/**
|
|
3160
|
+
* @param {!proto.sniiptransactionapi.InternalConvertTransactionToSmeRequest} request The
|
|
3161
|
+
* request proto
|
|
3162
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
3163
|
+
* call metadata
|
|
3164
|
+
* @return {!Promise<!proto.sniiptransactionapi.ResponseCode>}
|
|
3165
|
+
* Promise that resolves to the response
|
|
3166
|
+
*/
|
|
3167
|
+
proto.sniiptransactionapi.SniipTransactionAPIServicePromiseClient.prototype.internalConvertTransactionToSme =
|
|
3168
|
+
function(request, metadata) {
|
|
3169
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
3170
|
+
'/sniiptransactionapi.SniipTransactionAPIService/InternalConvertTransactionToSme',
|
|
3171
|
+
request,
|
|
3172
|
+
metadata || {},
|
|
3173
|
+
methodDescriptor_SniipTransactionAPIService_InternalConvertTransactionToSme);
|
|
3174
|
+
};
|
|
3175
|
+
|
|
3176
|
+
|
|
3116
3177
|
/**
|
|
3117
3178
|
* @const
|
|
3118
3179
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -45,6 +45,7 @@ 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.ConvertTransactionToSmeRequest', null, global);
|
|
48
49
|
goog.exportSymbol('proto.sniiptransactionapi.CountReceiptsForPeriodRequest', null, global);
|
|
49
50
|
goog.exportSymbol('proto.sniiptransactionapi.CountReceiptsForPeriodResponse', null, global);
|
|
50
51
|
goog.exportSymbol('proto.sniiptransactionapi.CreateExternalPaymentReceiptRequest', null, global);
|
|
@@ -111,6 +112,7 @@ goog.exportSymbol('proto.sniiptransactionapi.HasPendingBankPaymentsForPaymentMet
|
|
|
111
112
|
goog.exportSymbol('proto.sniiptransactionapi.HypotheticalProgramEarn', null, global);
|
|
112
113
|
goog.exportSymbol('proto.sniiptransactionapi.InactiveUsersResponse', null, global);
|
|
113
114
|
goog.exportSymbol('proto.sniiptransactionapi.InternalBillPaymentHistoryResponse', null, global);
|
|
115
|
+
goog.exportSymbol('proto.sniiptransactionapi.InternalConvertTransactionToSmeRequest', null, global);
|
|
114
116
|
goog.exportSymbol('proto.sniiptransactionapi.InternalResetSettledTransactionRequest', null, global);
|
|
115
117
|
goog.exportSymbol('proto.sniiptransactionapi.LatestTransactionForBillResponse', null, global);
|
|
116
118
|
goog.exportSymbol('proto.sniiptransactionapi.Leg', null, global);
|
|
@@ -1894,6 +1896,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1894
1896
|
*/
|
|
1895
1897
|
proto.sniiptransactionapi.InternalResetSettledTransactionRequest.displayName = 'proto.sniiptransactionapi.InternalResetSettledTransactionRequest';
|
|
1896
1898
|
}
|
|
1899
|
+
/**
|
|
1900
|
+
* Generated by JsPbCodeGenerator.
|
|
1901
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1902
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1903
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1904
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1905
|
+
* valid.
|
|
1906
|
+
* @extends {jspb.Message}
|
|
1907
|
+
* @constructor
|
|
1908
|
+
*/
|
|
1909
|
+
proto.sniiptransactionapi.ConvertTransactionToSmeRequest = function(opt_data) {
|
|
1910
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1911
|
+
};
|
|
1912
|
+
goog.inherits(proto.sniiptransactionapi.ConvertTransactionToSmeRequest, jspb.Message);
|
|
1913
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1914
|
+
/**
|
|
1915
|
+
* @public
|
|
1916
|
+
* @override
|
|
1917
|
+
*/
|
|
1918
|
+
proto.sniiptransactionapi.ConvertTransactionToSmeRequest.displayName = 'proto.sniiptransactionapi.ConvertTransactionToSmeRequest';
|
|
1919
|
+
}
|
|
1920
|
+
/**
|
|
1921
|
+
* Generated by JsPbCodeGenerator.
|
|
1922
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1923
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1924
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1925
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1926
|
+
* valid.
|
|
1927
|
+
* @extends {jspb.Message}
|
|
1928
|
+
* @constructor
|
|
1929
|
+
*/
|
|
1930
|
+
proto.sniiptransactionapi.InternalConvertTransactionToSmeRequest = function(opt_data) {
|
|
1931
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1932
|
+
};
|
|
1933
|
+
goog.inherits(proto.sniiptransactionapi.InternalConvertTransactionToSmeRequest, jspb.Message);
|
|
1934
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1935
|
+
/**
|
|
1936
|
+
* @public
|
|
1937
|
+
* @override
|
|
1938
|
+
*/
|
|
1939
|
+
proto.sniiptransactionapi.InternalConvertTransactionToSmeRequest.displayName = 'proto.sniiptransactionapi.InternalConvertTransactionToSmeRequest';
|
|
1940
|
+
}
|
|
1897
1941
|
/**
|
|
1898
1942
|
* Generated by JsPbCodeGenerator.
|
|
1899
1943
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -20609,6 +20653,317 @@ proto.sniiptransactionapi.InternalResetSettledTransactionRequest.prototype.hasBo
|
|
|
20609
20653
|
|
|
20610
20654
|
|
|
20611
20655
|
|
|
20656
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
20657
|
+
/**
|
|
20658
|
+
* Creates an object representation of this proto.
|
|
20659
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
20660
|
+
* Optional fields that are not set will be set to undefined.
|
|
20661
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
20662
|
+
* For the list of reserved names please see:
|
|
20663
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
20664
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
20665
|
+
* JSPB instance for transitional soy proto support:
|
|
20666
|
+
* http://goto/soy-param-migration
|
|
20667
|
+
* @return {!Object}
|
|
20668
|
+
*/
|
|
20669
|
+
proto.sniiptransactionapi.ConvertTransactionToSmeRequest.prototype.toObject = function(opt_includeInstance) {
|
|
20670
|
+
return proto.sniiptransactionapi.ConvertTransactionToSmeRequest.toObject(opt_includeInstance, this);
|
|
20671
|
+
};
|
|
20672
|
+
|
|
20673
|
+
|
|
20674
|
+
/**
|
|
20675
|
+
* Static version of the {@see toObject} method.
|
|
20676
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
20677
|
+
* the JSPB instance for transitional soy proto support:
|
|
20678
|
+
* http://goto/soy-param-migration
|
|
20679
|
+
* @param {!proto.sniiptransactionapi.ConvertTransactionToSmeRequest} msg The msg instance to transform.
|
|
20680
|
+
* @return {!Object}
|
|
20681
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
20682
|
+
*/
|
|
20683
|
+
proto.sniiptransactionapi.ConvertTransactionToSmeRequest.toObject = function(includeInstance, msg) {
|
|
20684
|
+
var f, obj = {
|
|
20685
|
+
transactionid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
20686
|
+
billerconfigid: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
20687
|
+
};
|
|
20688
|
+
|
|
20689
|
+
if (includeInstance) {
|
|
20690
|
+
obj.$jspbMessageInstance = msg;
|
|
20691
|
+
}
|
|
20692
|
+
return obj;
|
|
20693
|
+
};
|
|
20694
|
+
}
|
|
20695
|
+
|
|
20696
|
+
|
|
20697
|
+
/**
|
|
20698
|
+
* Deserializes binary data (in protobuf wire format).
|
|
20699
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
20700
|
+
* @return {!proto.sniiptransactionapi.ConvertTransactionToSmeRequest}
|
|
20701
|
+
*/
|
|
20702
|
+
proto.sniiptransactionapi.ConvertTransactionToSmeRequest.deserializeBinary = function(bytes) {
|
|
20703
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
20704
|
+
var msg = new proto.sniiptransactionapi.ConvertTransactionToSmeRequest;
|
|
20705
|
+
return proto.sniiptransactionapi.ConvertTransactionToSmeRequest.deserializeBinaryFromReader(msg, reader);
|
|
20706
|
+
};
|
|
20707
|
+
|
|
20708
|
+
|
|
20709
|
+
/**
|
|
20710
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
20711
|
+
* given reader into the given message object.
|
|
20712
|
+
* @param {!proto.sniiptransactionapi.ConvertTransactionToSmeRequest} msg The message object to deserialize into.
|
|
20713
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
20714
|
+
* @return {!proto.sniiptransactionapi.ConvertTransactionToSmeRequest}
|
|
20715
|
+
*/
|
|
20716
|
+
proto.sniiptransactionapi.ConvertTransactionToSmeRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
20717
|
+
while (reader.nextField()) {
|
|
20718
|
+
if (reader.isEndGroup()) {
|
|
20719
|
+
break;
|
|
20720
|
+
}
|
|
20721
|
+
var field = reader.getFieldNumber();
|
|
20722
|
+
switch (field) {
|
|
20723
|
+
case 1:
|
|
20724
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
20725
|
+
msg.setTransactionid(value);
|
|
20726
|
+
break;
|
|
20727
|
+
case 2:
|
|
20728
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
20729
|
+
msg.setBillerconfigid(value);
|
|
20730
|
+
break;
|
|
20731
|
+
default:
|
|
20732
|
+
reader.skipField();
|
|
20733
|
+
break;
|
|
20734
|
+
}
|
|
20735
|
+
}
|
|
20736
|
+
return msg;
|
|
20737
|
+
};
|
|
20738
|
+
|
|
20739
|
+
|
|
20740
|
+
/**
|
|
20741
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
20742
|
+
* @return {!Uint8Array}
|
|
20743
|
+
*/
|
|
20744
|
+
proto.sniiptransactionapi.ConvertTransactionToSmeRequest.prototype.serializeBinary = function() {
|
|
20745
|
+
var writer = new jspb.BinaryWriter();
|
|
20746
|
+
proto.sniiptransactionapi.ConvertTransactionToSmeRequest.serializeBinaryToWriter(this, writer);
|
|
20747
|
+
return writer.getResultBuffer();
|
|
20748
|
+
};
|
|
20749
|
+
|
|
20750
|
+
|
|
20751
|
+
/**
|
|
20752
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
20753
|
+
* format), writing to the given BinaryWriter.
|
|
20754
|
+
* @param {!proto.sniiptransactionapi.ConvertTransactionToSmeRequest} message
|
|
20755
|
+
* @param {!jspb.BinaryWriter} writer
|
|
20756
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
20757
|
+
*/
|
|
20758
|
+
proto.sniiptransactionapi.ConvertTransactionToSmeRequest.serializeBinaryToWriter = function(message, writer) {
|
|
20759
|
+
var f = undefined;
|
|
20760
|
+
f = message.getTransactionid();
|
|
20761
|
+
if (f !== 0) {
|
|
20762
|
+
writer.writeInt64(
|
|
20763
|
+
1,
|
|
20764
|
+
f
|
|
20765
|
+
);
|
|
20766
|
+
}
|
|
20767
|
+
f = message.getBillerconfigid();
|
|
20768
|
+
if (f !== 0) {
|
|
20769
|
+
writer.writeInt64(
|
|
20770
|
+
2,
|
|
20771
|
+
f
|
|
20772
|
+
);
|
|
20773
|
+
}
|
|
20774
|
+
};
|
|
20775
|
+
|
|
20776
|
+
|
|
20777
|
+
/**
|
|
20778
|
+
* optional int64 transactionId = 1;
|
|
20779
|
+
* @return {number}
|
|
20780
|
+
*/
|
|
20781
|
+
proto.sniiptransactionapi.ConvertTransactionToSmeRequest.prototype.getTransactionid = function() {
|
|
20782
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
20783
|
+
};
|
|
20784
|
+
|
|
20785
|
+
|
|
20786
|
+
/**
|
|
20787
|
+
* @param {number} value
|
|
20788
|
+
* @return {!proto.sniiptransactionapi.ConvertTransactionToSmeRequest} returns this
|
|
20789
|
+
*/
|
|
20790
|
+
proto.sniiptransactionapi.ConvertTransactionToSmeRequest.prototype.setTransactionid = function(value) {
|
|
20791
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
20792
|
+
};
|
|
20793
|
+
|
|
20794
|
+
|
|
20795
|
+
/**
|
|
20796
|
+
* optional int64 billerConfigId = 2;
|
|
20797
|
+
* @return {number}
|
|
20798
|
+
*/
|
|
20799
|
+
proto.sniiptransactionapi.ConvertTransactionToSmeRequest.prototype.getBillerconfigid = function() {
|
|
20800
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
20801
|
+
};
|
|
20802
|
+
|
|
20803
|
+
|
|
20804
|
+
/**
|
|
20805
|
+
* @param {number} value
|
|
20806
|
+
* @return {!proto.sniiptransactionapi.ConvertTransactionToSmeRequest} returns this
|
|
20807
|
+
*/
|
|
20808
|
+
proto.sniiptransactionapi.ConvertTransactionToSmeRequest.prototype.setBillerconfigid = function(value) {
|
|
20809
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
20810
|
+
};
|
|
20811
|
+
|
|
20812
|
+
|
|
20813
|
+
|
|
20814
|
+
|
|
20815
|
+
|
|
20816
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
20817
|
+
/**
|
|
20818
|
+
* Creates an object representation of this proto.
|
|
20819
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
20820
|
+
* Optional fields that are not set will be set to undefined.
|
|
20821
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
20822
|
+
* For the list of reserved names please see:
|
|
20823
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
20824
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
20825
|
+
* JSPB instance for transitional soy proto support:
|
|
20826
|
+
* http://goto/soy-param-migration
|
|
20827
|
+
* @return {!Object}
|
|
20828
|
+
*/
|
|
20829
|
+
proto.sniiptransactionapi.InternalConvertTransactionToSmeRequest.prototype.toObject = function(opt_includeInstance) {
|
|
20830
|
+
return proto.sniiptransactionapi.InternalConvertTransactionToSmeRequest.toObject(opt_includeInstance, this);
|
|
20831
|
+
};
|
|
20832
|
+
|
|
20833
|
+
|
|
20834
|
+
/**
|
|
20835
|
+
* Static version of the {@see toObject} method.
|
|
20836
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
20837
|
+
* the JSPB instance for transitional soy proto support:
|
|
20838
|
+
* http://goto/soy-param-migration
|
|
20839
|
+
* @param {!proto.sniiptransactionapi.InternalConvertTransactionToSmeRequest} msg The msg instance to transform.
|
|
20840
|
+
* @return {!Object}
|
|
20841
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
20842
|
+
*/
|
|
20843
|
+
proto.sniiptransactionapi.InternalConvertTransactionToSmeRequest.toObject = function(includeInstance, msg) {
|
|
20844
|
+
var f, obj = {
|
|
20845
|
+
body: (f = msg.getBody()) && proto.sniiptransactionapi.ConvertTransactionToSmeRequest.toObject(includeInstance, f)
|
|
20846
|
+
};
|
|
20847
|
+
|
|
20848
|
+
if (includeInstance) {
|
|
20849
|
+
obj.$jspbMessageInstance = msg;
|
|
20850
|
+
}
|
|
20851
|
+
return obj;
|
|
20852
|
+
};
|
|
20853
|
+
}
|
|
20854
|
+
|
|
20855
|
+
|
|
20856
|
+
/**
|
|
20857
|
+
* Deserializes binary data (in protobuf wire format).
|
|
20858
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
20859
|
+
* @return {!proto.sniiptransactionapi.InternalConvertTransactionToSmeRequest}
|
|
20860
|
+
*/
|
|
20861
|
+
proto.sniiptransactionapi.InternalConvertTransactionToSmeRequest.deserializeBinary = function(bytes) {
|
|
20862
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
20863
|
+
var msg = new proto.sniiptransactionapi.InternalConvertTransactionToSmeRequest;
|
|
20864
|
+
return proto.sniiptransactionapi.InternalConvertTransactionToSmeRequest.deserializeBinaryFromReader(msg, reader);
|
|
20865
|
+
};
|
|
20866
|
+
|
|
20867
|
+
|
|
20868
|
+
/**
|
|
20869
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
20870
|
+
* given reader into the given message object.
|
|
20871
|
+
* @param {!proto.sniiptransactionapi.InternalConvertTransactionToSmeRequest} msg The message object to deserialize into.
|
|
20872
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
20873
|
+
* @return {!proto.sniiptransactionapi.InternalConvertTransactionToSmeRequest}
|
|
20874
|
+
*/
|
|
20875
|
+
proto.sniiptransactionapi.InternalConvertTransactionToSmeRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
20876
|
+
while (reader.nextField()) {
|
|
20877
|
+
if (reader.isEndGroup()) {
|
|
20878
|
+
break;
|
|
20879
|
+
}
|
|
20880
|
+
var field = reader.getFieldNumber();
|
|
20881
|
+
switch (field) {
|
|
20882
|
+
case 1:
|
|
20883
|
+
var value = new proto.sniiptransactionapi.ConvertTransactionToSmeRequest;
|
|
20884
|
+
reader.readMessage(value,proto.sniiptransactionapi.ConvertTransactionToSmeRequest.deserializeBinaryFromReader);
|
|
20885
|
+
msg.setBody(value);
|
|
20886
|
+
break;
|
|
20887
|
+
default:
|
|
20888
|
+
reader.skipField();
|
|
20889
|
+
break;
|
|
20890
|
+
}
|
|
20891
|
+
}
|
|
20892
|
+
return msg;
|
|
20893
|
+
};
|
|
20894
|
+
|
|
20895
|
+
|
|
20896
|
+
/**
|
|
20897
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
20898
|
+
* @return {!Uint8Array}
|
|
20899
|
+
*/
|
|
20900
|
+
proto.sniiptransactionapi.InternalConvertTransactionToSmeRequest.prototype.serializeBinary = function() {
|
|
20901
|
+
var writer = new jspb.BinaryWriter();
|
|
20902
|
+
proto.sniiptransactionapi.InternalConvertTransactionToSmeRequest.serializeBinaryToWriter(this, writer);
|
|
20903
|
+
return writer.getResultBuffer();
|
|
20904
|
+
};
|
|
20905
|
+
|
|
20906
|
+
|
|
20907
|
+
/**
|
|
20908
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
20909
|
+
* format), writing to the given BinaryWriter.
|
|
20910
|
+
* @param {!proto.sniiptransactionapi.InternalConvertTransactionToSmeRequest} message
|
|
20911
|
+
* @param {!jspb.BinaryWriter} writer
|
|
20912
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
20913
|
+
*/
|
|
20914
|
+
proto.sniiptransactionapi.InternalConvertTransactionToSmeRequest.serializeBinaryToWriter = function(message, writer) {
|
|
20915
|
+
var f = undefined;
|
|
20916
|
+
f = message.getBody();
|
|
20917
|
+
if (f != null) {
|
|
20918
|
+
writer.writeMessage(
|
|
20919
|
+
1,
|
|
20920
|
+
f,
|
|
20921
|
+
proto.sniiptransactionapi.ConvertTransactionToSmeRequest.serializeBinaryToWriter
|
|
20922
|
+
);
|
|
20923
|
+
}
|
|
20924
|
+
};
|
|
20925
|
+
|
|
20926
|
+
|
|
20927
|
+
/**
|
|
20928
|
+
* optional ConvertTransactionToSmeRequest body = 1;
|
|
20929
|
+
* @return {?proto.sniiptransactionapi.ConvertTransactionToSmeRequest}
|
|
20930
|
+
*/
|
|
20931
|
+
proto.sniiptransactionapi.InternalConvertTransactionToSmeRequest.prototype.getBody = function() {
|
|
20932
|
+
return /** @type{?proto.sniiptransactionapi.ConvertTransactionToSmeRequest} */ (
|
|
20933
|
+
jspb.Message.getWrapperField(this, proto.sniiptransactionapi.ConvertTransactionToSmeRequest, 1));
|
|
20934
|
+
};
|
|
20935
|
+
|
|
20936
|
+
|
|
20937
|
+
/**
|
|
20938
|
+
* @param {?proto.sniiptransactionapi.ConvertTransactionToSmeRequest|undefined} value
|
|
20939
|
+
* @return {!proto.sniiptransactionapi.InternalConvertTransactionToSmeRequest} returns this
|
|
20940
|
+
*/
|
|
20941
|
+
proto.sniiptransactionapi.InternalConvertTransactionToSmeRequest.prototype.setBody = function(value) {
|
|
20942
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
20943
|
+
};
|
|
20944
|
+
|
|
20945
|
+
|
|
20946
|
+
/**
|
|
20947
|
+
* Clears the message field making it undefined.
|
|
20948
|
+
* @return {!proto.sniiptransactionapi.InternalConvertTransactionToSmeRequest} returns this
|
|
20949
|
+
*/
|
|
20950
|
+
proto.sniiptransactionapi.InternalConvertTransactionToSmeRequest.prototype.clearBody = function() {
|
|
20951
|
+
return this.setBody(undefined);
|
|
20952
|
+
};
|
|
20953
|
+
|
|
20954
|
+
|
|
20955
|
+
/**
|
|
20956
|
+
* Returns whether this field is set.
|
|
20957
|
+
* @return {boolean}
|
|
20958
|
+
*/
|
|
20959
|
+
proto.sniiptransactionapi.InternalConvertTransactionToSmeRequest.prototype.hasBody = function() {
|
|
20960
|
+
return jspb.Message.getField(this, 1) != null;
|
|
20961
|
+
};
|
|
20962
|
+
|
|
20963
|
+
|
|
20964
|
+
|
|
20965
|
+
|
|
20966
|
+
|
|
20612
20967
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
20613
20968
|
/**
|
|
20614
20969
|
* Creates an object representation of this proto.
|