@sniipwebmaster/transaction-service-client-grpcweb 0.2.4335 → 0.2.4362

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.
@@ -1080,6 +1080,61 @@ proto.sniiptransactionapi.SniipTransactionAPIServicePromiseClient.prototype.post
1080
1080
  };
1081
1081
 
1082
1082
 
1083
+ /**
1084
+ * @const
1085
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
1086
+ * !proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest,
1087
+ * !proto.sniiptransactionapi.PostPayBillResponse>}
1088
+ */
1089
+ const methodInfo_SniipTransactionAPIService_PostPayItemWithSavedDetails = new grpc.web.AbstractClientBase.MethodInfo(
1090
+ proto.sniiptransactionapi.PostPayBillResponse,
1091
+ /** @param {!proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest} request */
1092
+ function(request) {
1093
+ return request.serializeBinary();
1094
+ },
1095
+ proto.sniiptransactionapi.PostPayBillResponse.deserializeBinary
1096
+ );
1097
+
1098
+
1099
+ /**
1100
+ * @param {!proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest} request The
1101
+ * request proto
1102
+ * @param {?Object<string, string>} metadata User defined
1103
+ * call metadata
1104
+ * @param {function(?grpc.web.Error, ?proto.sniiptransactionapi.PostPayBillResponse)}
1105
+ * callback The callback function(error, response)
1106
+ * @return {!grpc.web.ClientReadableStream<!proto.sniiptransactionapi.PostPayBillResponse>|undefined}
1107
+ * The XHR Node Readable Stream
1108
+ */
1109
+ proto.sniiptransactionapi.SniipTransactionAPIServiceClient.prototype.postPayItemWithSavedDetails =
1110
+ function(request, metadata, callback) {
1111
+ return this.client_.rpcCall(this.hostname_ +
1112
+ '/sniiptransactionapi.SniipTransactionAPIService/PostPayItemWithSavedDetails',
1113
+ request,
1114
+ metadata || {},
1115
+ methodInfo_SniipTransactionAPIService_PostPayItemWithSavedDetails,
1116
+ callback);
1117
+ };
1118
+
1119
+
1120
+ /**
1121
+ * @param {!proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest} request The
1122
+ * request proto
1123
+ * @param {?Object<string, string>} metadata User defined
1124
+ * call metadata
1125
+ * @return {!Promise<!proto.sniiptransactionapi.PostPayBillResponse>}
1126
+ * A native promise that resolves to the response
1127
+ */
1128
+ proto.sniiptransactionapi.SniipTransactionAPIServicePromiseClient.prototype.postPayItemWithSavedDetails =
1129
+ function(request, metadata) {
1130
+ return this.client_.unaryCall(this.hostname_ +
1131
+ '/sniiptransactionapi.SniipTransactionAPIService/PostPayItemWithSavedDetails',
1132
+ request,
1133
+ metadata || {},
1134
+ methodInfo_SniipTransactionAPIService_PostPayItemWithSavedDetails);
1135
+ };
1136
+
1137
+
1083
1138
  /**
1084
1139
  * @const
1085
1140
  * @type {!grpc.web.AbstractClientBase.MethodInfo<
@@ -50,6 +50,7 @@ goog.exportSymbol('proto.sniiptransactionapi.MbillingSubscription', null, global
50
50
  goog.exportSymbol('proto.sniiptransactionapi.PayBillCreditCardInternalRequest', null, global);
51
51
  goog.exportSymbol('proto.sniiptransactionapi.PayBillInternalResponse', null, global);
52
52
  goog.exportSymbol('proto.sniiptransactionapi.PayBillRequest', null, global);
53
+ goog.exportSymbol('proto.sniiptransactionapi.PayBillWithSavedDetailsRequest', null, global);
53
54
  goog.exportSymbol('proto.sniiptransactionapi.PaymentDetailsAddRequest', null, global);
54
55
  goog.exportSymbol('proto.sniiptransactionapi.PaymentDetailsRequest', null, global);
55
56
  goog.exportSymbol('proto.sniiptransactionapi.PaymentDetailsRequest.PaymentDetailsRequestPaymentMethod', null, global);
@@ -61,6 +62,7 @@ goog.exportSymbol('proto.sniiptransactionapi.PostHasPaymentHistoryRequest', null
61
62
  goog.exportSymbol('proto.sniiptransactionapi.PostPayBillCreditCardInternalRequest', null, global);
62
63
  goog.exportSymbol('proto.sniiptransactionapi.PostPayBillRequest', null, global);
63
64
  goog.exportSymbol('proto.sniiptransactionapi.PostPayBillResponse', null, global);
65
+ goog.exportSymbol('proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest', null, global);
64
66
  goog.exportSymbol('proto.sniiptransactionapi.PostShareBillReceiptEmailRequest', null, global);
65
67
  goog.exportSymbol('proto.sniiptransactionapi.ReceiptDetails', null, global);
66
68
  goog.exportSymbol('proto.sniiptransactionapi.ReceiptDetailsResponse', null, global);
@@ -7309,7 +7311,11 @@ proto.sniiptransactionapi.PayBillRequest.toObject = function(includeInstance, ms
7309
7311
  scheduledpaymentid: jspb.Message.getFieldWithDefault(msg, 13, 0),
7310
7312
  uniquepaymentguid: jspb.Message.getFieldWithDefault(msg, 14, ""),
7311
7313
  allowoverpayment: jspb.Message.getFieldWithDefault(msg, 15, false),
7312
- billremainingamount: +jspb.Message.getFieldWithDefault(msg, 16, 0.0)
7314
+ billremainingamount: +jspb.Message.getFieldWithDefault(msg, 16, 0.0),
7315
+ browsername: jspb.Message.getFieldWithDefault(msg, 17, ""),
7316
+ browserversion: jspb.Message.getFieldWithDefault(msg, 18, ""),
7317
+ browserdevicemodel: jspb.Message.getFieldWithDefault(msg, 19, ""),
7318
+ browserplatform: jspb.Message.getFieldWithDefault(msg, 20, "")
7313
7319
  };
7314
7320
 
7315
7321
  if (includeInstance) {
@@ -7410,6 +7416,22 @@ proto.sniiptransactionapi.PayBillRequest.deserializeBinaryFromReader = function(
7410
7416
  var value = /** @type {number} */ (reader.readDouble());
7411
7417
  msg.setBillremainingamount(value);
7412
7418
  break;
7419
+ case 17:
7420
+ var value = /** @type {string} */ (reader.readString());
7421
+ msg.setBrowsername(value);
7422
+ break;
7423
+ case 18:
7424
+ var value = /** @type {string} */ (reader.readString());
7425
+ msg.setBrowserversion(value);
7426
+ break;
7427
+ case 19:
7428
+ var value = /** @type {string} */ (reader.readString());
7429
+ msg.setBrowserdevicemodel(value);
7430
+ break;
7431
+ case 20:
7432
+ var value = /** @type {string} */ (reader.readString());
7433
+ msg.setBrowserplatform(value);
7434
+ break;
7413
7435
  default:
7414
7436
  reader.skipField();
7415
7437
  break;
@@ -7551,6 +7573,34 @@ proto.sniiptransactionapi.PayBillRequest.serializeBinaryToWriter = function(mess
7551
7573
  f
7552
7574
  );
7553
7575
  }
7576
+ f = message.getBrowsername();
7577
+ if (f.length > 0) {
7578
+ writer.writeString(
7579
+ 17,
7580
+ f
7581
+ );
7582
+ }
7583
+ f = message.getBrowserversion();
7584
+ if (f.length > 0) {
7585
+ writer.writeString(
7586
+ 18,
7587
+ f
7588
+ );
7589
+ }
7590
+ f = message.getBrowserdevicemodel();
7591
+ if (f.length > 0) {
7592
+ writer.writeString(
7593
+ 19,
7594
+ f
7595
+ );
7596
+ }
7597
+ f = message.getBrowserplatform();
7598
+ if (f.length > 0) {
7599
+ writer.writeString(
7600
+ 20,
7601
+ f
7602
+ );
7603
+ }
7554
7604
  };
7555
7605
 
7556
7606
 
@@ -7796,6 +7846,424 @@ proto.sniiptransactionapi.PayBillRequest.prototype.setBillremainingamount = func
7796
7846
  };
7797
7847
 
7798
7848
 
7849
+ /**
7850
+ * optional string browserName = 17;
7851
+ * @return {string}
7852
+ */
7853
+ proto.sniiptransactionapi.PayBillRequest.prototype.getBrowsername = function() {
7854
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
7855
+ };
7856
+
7857
+
7858
+ /** @param {string} value */
7859
+ proto.sniiptransactionapi.PayBillRequest.prototype.setBrowsername = function(value) {
7860
+ jspb.Message.setProto3StringField(this, 17, value);
7861
+ };
7862
+
7863
+
7864
+ /**
7865
+ * optional string browserVersion = 18;
7866
+ * @return {string}
7867
+ */
7868
+ proto.sniiptransactionapi.PayBillRequest.prototype.getBrowserversion = function() {
7869
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
7870
+ };
7871
+
7872
+
7873
+ /** @param {string} value */
7874
+ proto.sniiptransactionapi.PayBillRequest.prototype.setBrowserversion = function(value) {
7875
+ jspb.Message.setProto3StringField(this, 18, value);
7876
+ };
7877
+
7878
+
7879
+ /**
7880
+ * optional string browserDeviceModel = 19;
7881
+ * @return {string}
7882
+ */
7883
+ proto.sniiptransactionapi.PayBillRequest.prototype.getBrowserdevicemodel = function() {
7884
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
7885
+ };
7886
+
7887
+
7888
+ /** @param {string} value */
7889
+ proto.sniiptransactionapi.PayBillRequest.prototype.setBrowserdevicemodel = function(value) {
7890
+ jspb.Message.setProto3StringField(this, 19, value);
7891
+ };
7892
+
7893
+
7894
+ /**
7895
+ * optional string browserPlatform = 20;
7896
+ * @return {string}
7897
+ */
7898
+ proto.sniiptransactionapi.PayBillRequest.prototype.getBrowserplatform = function() {
7899
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
7900
+ };
7901
+
7902
+
7903
+ /** @param {string} value */
7904
+ proto.sniiptransactionapi.PayBillRequest.prototype.setBrowserplatform = function(value) {
7905
+ jspb.Message.setProto3StringField(this, 20, value);
7906
+ };
7907
+
7908
+
7909
+
7910
+ /**
7911
+ * Generated by JsPbCodeGenerator.
7912
+ * @param {Array=} opt_data Optional initial data array, typically from a
7913
+ * server response, or constructed directly in Javascript. The array is used
7914
+ * in place and becomes part of the constructed object. It is not cloned.
7915
+ * If no data is provided, the constructed object will be empty, but still
7916
+ * valid.
7917
+ * @extends {jspb.Message}
7918
+ * @constructor
7919
+ */
7920
+ proto.sniiptransactionapi.PayBillWithSavedDetailsRequest = function(opt_data) {
7921
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
7922
+ };
7923
+ goog.inherits(proto.sniiptransactionapi.PayBillWithSavedDetailsRequest, jspb.Message);
7924
+ if (goog.DEBUG && !COMPILED) {
7925
+ proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.displayName = 'proto.sniiptransactionapi.PayBillWithSavedDetailsRequest';
7926
+ }
7927
+
7928
+
7929
+ if (jspb.Message.GENERATE_TO_OBJECT) {
7930
+ /**
7931
+ * Creates an object representation of this proto suitable for use in Soy templates.
7932
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
7933
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
7934
+ * For the list of reserved names please see:
7935
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
7936
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
7937
+ * for transitional soy proto support: http://goto/soy-param-migration
7938
+ * @return {!Object}
7939
+ */
7940
+ proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.prototype.toObject = function(opt_includeInstance) {
7941
+ return proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.toObject(opt_includeInstance, this);
7942
+ };
7943
+
7944
+
7945
+ /**
7946
+ * Static version of the {@see toObject} method.
7947
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
7948
+ * instance for transitional soy proto support:
7949
+ * http://goto/soy-param-migration
7950
+ * @param {!proto.sniiptransactionapi.PayBillWithSavedDetailsRequest} msg The msg instance to transform.
7951
+ * @return {!Object}
7952
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7953
+ */
7954
+ proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.toObject = function(includeInstance, msg) {
7955
+ var f, obj = {
7956
+ itemid: jspb.Message.getFieldWithDefault(msg, 1, 0),
7957
+ amount: +jspb.Message.getFieldWithDefault(msg, 2, 0.0),
7958
+ paymentmethodid: jspb.Message.getFieldWithDefault(msg, 3, 0),
7959
+ itemuuid: jspb.Message.getFieldWithDefault(msg, 4, ""),
7960
+ uniquepaymentguid: jspb.Message.getFieldWithDefault(msg, 5, ""),
7961
+ browsername: jspb.Message.getFieldWithDefault(msg, 6, ""),
7962
+ browserversion: jspb.Message.getFieldWithDefault(msg, 7, ""),
7963
+ browserdevicemodel: jspb.Message.getFieldWithDefault(msg, 8, ""),
7964
+ browserplatform: jspb.Message.getFieldWithDefault(msg, 9, "")
7965
+ };
7966
+
7967
+ if (includeInstance) {
7968
+ obj.$jspbMessageInstance = msg;
7969
+ }
7970
+ return obj;
7971
+ };
7972
+ }
7973
+
7974
+
7975
+ /**
7976
+ * Deserializes binary data (in protobuf wire format).
7977
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
7978
+ * @return {!proto.sniiptransactionapi.PayBillWithSavedDetailsRequest}
7979
+ */
7980
+ proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.deserializeBinary = function(bytes) {
7981
+ var reader = new jspb.BinaryReader(bytes);
7982
+ var msg = new proto.sniiptransactionapi.PayBillWithSavedDetailsRequest;
7983
+ return proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.deserializeBinaryFromReader(msg, reader);
7984
+ };
7985
+
7986
+
7987
+ /**
7988
+ * Deserializes binary data (in protobuf wire format) from the
7989
+ * given reader into the given message object.
7990
+ * @param {!proto.sniiptransactionapi.PayBillWithSavedDetailsRequest} msg The message object to deserialize into.
7991
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
7992
+ * @return {!proto.sniiptransactionapi.PayBillWithSavedDetailsRequest}
7993
+ */
7994
+ proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.deserializeBinaryFromReader = function(msg, reader) {
7995
+ while (reader.nextField()) {
7996
+ if (reader.isEndGroup()) {
7997
+ break;
7998
+ }
7999
+ var field = reader.getFieldNumber();
8000
+ switch (field) {
8001
+ case 1:
8002
+ var value = /** @type {number} */ (reader.readInt64());
8003
+ msg.setItemid(value);
8004
+ break;
8005
+ case 2:
8006
+ var value = /** @type {number} */ (reader.readDouble());
8007
+ msg.setAmount(value);
8008
+ break;
8009
+ case 3:
8010
+ var value = /** @type {number} */ (reader.readInt64());
8011
+ msg.setPaymentmethodid(value);
8012
+ break;
8013
+ case 4:
8014
+ var value = /** @type {string} */ (reader.readString());
8015
+ msg.setItemuuid(value);
8016
+ break;
8017
+ case 5:
8018
+ var value = /** @type {string} */ (reader.readString());
8019
+ msg.setUniquepaymentguid(value);
8020
+ break;
8021
+ case 6:
8022
+ var value = /** @type {string} */ (reader.readString());
8023
+ msg.setBrowsername(value);
8024
+ break;
8025
+ case 7:
8026
+ var value = /** @type {string} */ (reader.readString());
8027
+ msg.setBrowserversion(value);
8028
+ break;
8029
+ case 8:
8030
+ var value = /** @type {string} */ (reader.readString());
8031
+ msg.setBrowserdevicemodel(value);
8032
+ break;
8033
+ case 9:
8034
+ var value = /** @type {string} */ (reader.readString());
8035
+ msg.setBrowserplatform(value);
8036
+ break;
8037
+ default:
8038
+ reader.skipField();
8039
+ break;
8040
+ }
8041
+ }
8042
+ return msg;
8043
+ };
8044
+
8045
+
8046
+ /**
8047
+ * Serializes the message to binary data (in protobuf wire format).
8048
+ * @return {!Uint8Array}
8049
+ */
8050
+ proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.prototype.serializeBinary = function() {
8051
+ var writer = new jspb.BinaryWriter();
8052
+ proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.serializeBinaryToWriter(this, writer);
8053
+ return writer.getResultBuffer();
8054
+ };
8055
+
8056
+
8057
+ /**
8058
+ * Serializes the given message to binary data (in protobuf wire
8059
+ * format), writing to the given BinaryWriter.
8060
+ * @param {!proto.sniiptransactionapi.PayBillWithSavedDetailsRequest} message
8061
+ * @param {!jspb.BinaryWriter} writer
8062
+ * @suppress {unusedLocalVariables} f is only used for nested messages
8063
+ */
8064
+ proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.serializeBinaryToWriter = function(message, writer) {
8065
+ var f = undefined;
8066
+ f = message.getItemid();
8067
+ if (f !== 0) {
8068
+ writer.writeInt64(
8069
+ 1,
8070
+ f
8071
+ );
8072
+ }
8073
+ f = message.getAmount();
8074
+ if (f !== 0.0) {
8075
+ writer.writeDouble(
8076
+ 2,
8077
+ f
8078
+ );
8079
+ }
8080
+ f = message.getPaymentmethodid();
8081
+ if (f !== 0) {
8082
+ writer.writeInt64(
8083
+ 3,
8084
+ f
8085
+ );
8086
+ }
8087
+ f = message.getItemuuid();
8088
+ if (f.length > 0) {
8089
+ writer.writeString(
8090
+ 4,
8091
+ f
8092
+ );
8093
+ }
8094
+ f = message.getUniquepaymentguid();
8095
+ if (f.length > 0) {
8096
+ writer.writeString(
8097
+ 5,
8098
+ f
8099
+ );
8100
+ }
8101
+ f = message.getBrowsername();
8102
+ if (f.length > 0) {
8103
+ writer.writeString(
8104
+ 6,
8105
+ f
8106
+ );
8107
+ }
8108
+ f = message.getBrowserversion();
8109
+ if (f.length > 0) {
8110
+ writer.writeString(
8111
+ 7,
8112
+ f
8113
+ );
8114
+ }
8115
+ f = message.getBrowserdevicemodel();
8116
+ if (f.length > 0) {
8117
+ writer.writeString(
8118
+ 8,
8119
+ f
8120
+ );
8121
+ }
8122
+ f = message.getBrowserplatform();
8123
+ if (f.length > 0) {
8124
+ writer.writeString(
8125
+ 9,
8126
+ f
8127
+ );
8128
+ }
8129
+ };
8130
+
8131
+
8132
+ /**
8133
+ * optional int64 itemId = 1;
8134
+ * @return {number}
8135
+ */
8136
+ proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.prototype.getItemid = function() {
8137
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
8138
+ };
8139
+
8140
+
8141
+ /** @param {number} value */
8142
+ proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.prototype.setItemid = function(value) {
8143
+ jspb.Message.setProto3IntField(this, 1, value);
8144
+ };
8145
+
8146
+
8147
+ /**
8148
+ * optional double amount = 2;
8149
+ * @return {number}
8150
+ */
8151
+ proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.prototype.getAmount = function() {
8152
+ return /** @type {number} */ (+jspb.Message.getFieldWithDefault(this, 2, 0.0));
8153
+ };
8154
+
8155
+
8156
+ /** @param {number} value */
8157
+ proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.prototype.setAmount = function(value) {
8158
+ jspb.Message.setProto3FloatField(this, 2, value);
8159
+ };
8160
+
8161
+
8162
+ /**
8163
+ * optional int64 paymentMethodId = 3;
8164
+ * @return {number}
8165
+ */
8166
+ proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.prototype.getPaymentmethodid = function() {
8167
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
8168
+ };
8169
+
8170
+
8171
+ /** @param {number} value */
8172
+ proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.prototype.setPaymentmethodid = function(value) {
8173
+ jspb.Message.setProto3IntField(this, 3, value);
8174
+ };
8175
+
8176
+
8177
+ /**
8178
+ * optional string itemUuid = 4;
8179
+ * @return {string}
8180
+ */
8181
+ proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.prototype.getItemuuid = function() {
8182
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
8183
+ };
8184
+
8185
+
8186
+ /** @param {string} value */
8187
+ proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.prototype.setItemuuid = function(value) {
8188
+ jspb.Message.setProto3StringField(this, 4, value);
8189
+ };
8190
+
8191
+
8192
+ /**
8193
+ * optional string uniquePaymentGuid = 5;
8194
+ * @return {string}
8195
+ */
8196
+ proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.prototype.getUniquepaymentguid = function() {
8197
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
8198
+ };
8199
+
8200
+
8201
+ /** @param {string} value */
8202
+ proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.prototype.setUniquepaymentguid = function(value) {
8203
+ jspb.Message.setProto3StringField(this, 5, value);
8204
+ };
8205
+
8206
+
8207
+ /**
8208
+ * optional string browserName = 6;
8209
+ * @return {string}
8210
+ */
8211
+ proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.prototype.getBrowsername = function() {
8212
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
8213
+ };
8214
+
8215
+
8216
+ /** @param {string} value */
8217
+ proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.prototype.setBrowsername = function(value) {
8218
+ jspb.Message.setProto3StringField(this, 6, value);
8219
+ };
8220
+
8221
+
8222
+ /**
8223
+ * optional string browserVersion = 7;
8224
+ * @return {string}
8225
+ */
8226
+ proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.prototype.getBrowserversion = function() {
8227
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
8228
+ };
8229
+
8230
+
8231
+ /** @param {string} value */
8232
+ proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.prototype.setBrowserversion = function(value) {
8233
+ jspb.Message.setProto3StringField(this, 7, value);
8234
+ };
8235
+
8236
+
8237
+ /**
8238
+ * optional string browserDeviceModel = 8;
8239
+ * @return {string}
8240
+ */
8241
+ proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.prototype.getBrowserdevicemodel = function() {
8242
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
8243
+ };
8244
+
8245
+
8246
+ /** @param {string} value */
8247
+ proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.prototype.setBrowserdevicemodel = function(value) {
8248
+ jspb.Message.setProto3StringField(this, 8, value);
8249
+ };
8250
+
8251
+
8252
+ /**
8253
+ * optional string browserPlatform = 9;
8254
+ * @return {string}
8255
+ */
8256
+ proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.prototype.getBrowserplatform = function() {
8257
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
8258
+ };
8259
+
8260
+
8261
+ /** @param {string} value */
8262
+ proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.prototype.setBrowserplatform = function(value) {
8263
+ jspb.Message.setProto3StringField(this, 9, value);
8264
+ };
8265
+
8266
+
7799
8267
 
7800
8268
  /**
7801
8269
  * Generated by JsPbCodeGenerator.
@@ -10218,6 +10686,165 @@ proto.sniiptransactionapi.PostPayBillResponse.prototype.setDidarchive = function
10218
10686
 
10219
10687
 
10220
10688
 
10689
+ /**
10690
+ * Generated by JsPbCodeGenerator.
10691
+ * @param {Array=} opt_data Optional initial data array, typically from a
10692
+ * server response, or constructed directly in Javascript. The array is used
10693
+ * in place and becomes part of the constructed object. It is not cloned.
10694
+ * If no data is provided, the constructed object will be empty, but still
10695
+ * valid.
10696
+ * @extends {jspb.Message}
10697
+ * @constructor
10698
+ */
10699
+ proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest = function(opt_data) {
10700
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
10701
+ };
10702
+ goog.inherits(proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest, jspb.Message);
10703
+ if (goog.DEBUG && !COMPILED) {
10704
+ proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest.displayName = 'proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest';
10705
+ }
10706
+
10707
+
10708
+ if (jspb.Message.GENERATE_TO_OBJECT) {
10709
+ /**
10710
+ * Creates an object representation of this proto suitable for use in Soy templates.
10711
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
10712
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
10713
+ * For the list of reserved names please see:
10714
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
10715
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
10716
+ * for transitional soy proto support: http://goto/soy-param-migration
10717
+ * @return {!Object}
10718
+ */
10719
+ proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest.prototype.toObject = function(opt_includeInstance) {
10720
+ return proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest.toObject(opt_includeInstance, this);
10721
+ };
10722
+
10723
+
10724
+ /**
10725
+ * Static version of the {@see toObject} method.
10726
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
10727
+ * instance for transitional soy proto support:
10728
+ * http://goto/soy-param-migration
10729
+ * @param {!proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest} msg The msg instance to transform.
10730
+ * @return {!Object}
10731
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10732
+ */
10733
+ proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest.toObject = function(includeInstance, msg) {
10734
+ var f, obj = {
10735
+ data: (f = msg.getData()) && proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.toObject(includeInstance, f)
10736
+ };
10737
+
10738
+ if (includeInstance) {
10739
+ obj.$jspbMessageInstance = msg;
10740
+ }
10741
+ return obj;
10742
+ };
10743
+ }
10744
+
10745
+
10746
+ /**
10747
+ * Deserializes binary data (in protobuf wire format).
10748
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
10749
+ * @return {!proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest}
10750
+ */
10751
+ proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest.deserializeBinary = function(bytes) {
10752
+ var reader = new jspb.BinaryReader(bytes);
10753
+ var msg = new proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest;
10754
+ return proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest.deserializeBinaryFromReader(msg, reader);
10755
+ };
10756
+
10757
+
10758
+ /**
10759
+ * Deserializes binary data (in protobuf wire format) from the
10760
+ * given reader into the given message object.
10761
+ * @param {!proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest} msg The message object to deserialize into.
10762
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
10763
+ * @return {!proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest}
10764
+ */
10765
+ proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest.deserializeBinaryFromReader = function(msg, reader) {
10766
+ while (reader.nextField()) {
10767
+ if (reader.isEndGroup()) {
10768
+ break;
10769
+ }
10770
+ var field = reader.getFieldNumber();
10771
+ switch (field) {
10772
+ case 1:
10773
+ var value = new proto.sniiptransactionapi.PayBillWithSavedDetailsRequest;
10774
+ reader.readMessage(value,proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.deserializeBinaryFromReader);
10775
+ msg.setData(value);
10776
+ break;
10777
+ default:
10778
+ reader.skipField();
10779
+ break;
10780
+ }
10781
+ }
10782
+ return msg;
10783
+ };
10784
+
10785
+
10786
+ /**
10787
+ * Serializes the message to binary data (in protobuf wire format).
10788
+ * @return {!Uint8Array}
10789
+ */
10790
+ proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest.prototype.serializeBinary = function() {
10791
+ var writer = new jspb.BinaryWriter();
10792
+ proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest.serializeBinaryToWriter(this, writer);
10793
+ return writer.getResultBuffer();
10794
+ };
10795
+
10796
+
10797
+ /**
10798
+ * Serializes the given message to binary data (in protobuf wire
10799
+ * format), writing to the given BinaryWriter.
10800
+ * @param {!proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest} message
10801
+ * @param {!jspb.BinaryWriter} writer
10802
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10803
+ */
10804
+ proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest.serializeBinaryToWriter = function(message, writer) {
10805
+ var f = undefined;
10806
+ f = message.getData();
10807
+ if (f != null) {
10808
+ writer.writeMessage(
10809
+ 1,
10810
+ f,
10811
+ proto.sniiptransactionapi.PayBillWithSavedDetailsRequest.serializeBinaryToWriter
10812
+ );
10813
+ }
10814
+ };
10815
+
10816
+
10817
+ /**
10818
+ * optional PayBillWithSavedDetailsRequest data = 1;
10819
+ * @return {?proto.sniiptransactionapi.PayBillWithSavedDetailsRequest}
10820
+ */
10821
+ proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest.prototype.getData = function() {
10822
+ return /** @type{?proto.sniiptransactionapi.PayBillWithSavedDetailsRequest} */ (
10823
+ jspb.Message.getWrapperField(this, proto.sniiptransactionapi.PayBillWithSavedDetailsRequest, 1));
10824
+ };
10825
+
10826
+
10827
+ /** @param {?proto.sniiptransactionapi.PayBillWithSavedDetailsRequest|undefined} value */
10828
+ proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest.prototype.setData = function(value) {
10829
+ jspb.Message.setWrapperField(this, 1, value);
10830
+ };
10831
+
10832
+
10833
+ proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest.prototype.clearData = function() {
10834
+ this.setData(undefined);
10835
+ };
10836
+
10837
+
10838
+ /**
10839
+ * Returns whether this field is set.
10840
+ * @return {!boolean}
10841
+ */
10842
+ proto.sniiptransactionapi.PostPayItemWithSavedDetailsRequest.prototype.hasData = function() {
10843
+ return jspb.Message.getField(this, 1) != null;
10844
+ };
10845
+
10846
+
10847
+
10221
10848
  /**
10222
10849
  * Generated by JsPbCodeGenerator.
10223
10850
  * @param {Array=} opt_data Optional initial data array, typically from a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/transaction-service-client-grpcweb",
3
- "version": "0.2.4335",
3
+ "version": "0.2.4362",
4
4
  "description": "transaction-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",