@sniipwebmaster/transaction-service-client-grpcweb 26.8.15465 → 26.8.15490

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.
@@ -2935,6 +2935,67 @@ proto.sniiptransactionapi.SniipTransactionAPIServicePromiseClient.prototype.payB
2935
2935
  };
2936
2936
 
2937
2937
 
2938
+ /**
2939
+ * @const
2940
+ * @type {!grpc.web.MethodDescriptor<
2941
+ * !proto.sniiptransactionapi.PayBillAsGuestRequest,
2942
+ * !proto.sniiptransactionapi.PostPayBillResponse>}
2943
+ */
2944
+ const methodDescriptor_SniipTransactionAPIService_PayBillAsGuest = new grpc.web.MethodDescriptor(
2945
+ '/sniiptransactionapi.SniipTransactionAPIService/PayBillAsGuest',
2946
+ grpc.web.MethodType.UNARY,
2947
+ proto.sniiptransactionapi.PayBillAsGuestRequest,
2948
+ proto.sniiptransactionapi.PostPayBillResponse,
2949
+ /**
2950
+ * @param {!proto.sniiptransactionapi.PayBillAsGuestRequest} request
2951
+ * @return {!Uint8Array}
2952
+ */
2953
+ function(request) {
2954
+ return request.serializeBinary();
2955
+ },
2956
+ proto.sniiptransactionapi.PostPayBillResponse.deserializeBinary
2957
+ );
2958
+
2959
+
2960
+ /**
2961
+ * @param {!proto.sniiptransactionapi.PayBillAsGuestRequest} request The
2962
+ * request proto
2963
+ * @param {?Object<string, string>} metadata User defined
2964
+ * call metadata
2965
+ * @param {function(?grpc.web.RpcError, ?proto.sniiptransactionapi.PostPayBillResponse)}
2966
+ * callback The callback function(error, response)
2967
+ * @return {!grpc.web.ClientReadableStream<!proto.sniiptransactionapi.PostPayBillResponse>|undefined}
2968
+ * The XHR Node Readable Stream
2969
+ */
2970
+ proto.sniiptransactionapi.SniipTransactionAPIServiceClient.prototype.payBillAsGuest =
2971
+ function(request, metadata, callback) {
2972
+ return this.client_.rpcCall(this.hostname_ +
2973
+ '/sniiptransactionapi.SniipTransactionAPIService/PayBillAsGuest',
2974
+ request,
2975
+ metadata || {},
2976
+ methodDescriptor_SniipTransactionAPIService_PayBillAsGuest,
2977
+ callback);
2978
+ };
2979
+
2980
+
2981
+ /**
2982
+ * @param {!proto.sniiptransactionapi.PayBillAsGuestRequest} request The
2983
+ * request proto
2984
+ * @param {?Object<string, string>=} metadata User defined
2985
+ * call metadata
2986
+ * @return {!Promise<!proto.sniiptransactionapi.PostPayBillResponse>}
2987
+ * Promise that resolves to the response
2988
+ */
2989
+ proto.sniiptransactionapi.SniipTransactionAPIServicePromiseClient.prototype.payBillAsGuest =
2990
+ function(request, metadata) {
2991
+ return this.client_.unaryCall(this.hostname_ +
2992
+ '/sniiptransactionapi.SniipTransactionAPIService/PayBillAsGuest',
2993
+ request,
2994
+ metadata || {},
2995
+ methodDescriptor_SniipTransactionAPIService_PayBillAsGuest);
2996
+ };
2997
+
2998
+
2938
2999
  /**
2939
3000
  * @const
2940
3001
  * @type {!grpc.web.MethodDescriptor<
@@ -116,6 +116,8 @@ goog.exportSymbol('proto.sniiptransactionapi.LoyaltyTierInfo', null, global);
116
116
  goog.exportSymbol('proto.sniiptransactionapi.LoyaltyTiersBulkItem', null, global);
117
117
  goog.exportSymbol('proto.sniiptransactionapi.MaskedCreditCard', null, global);
118
118
  goog.exportSymbol('proto.sniiptransactionapi.MbillingSubscription', null, global);
119
+ goog.exportSymbol('proto.sniiptransactionapi.PayBillAsGuestData', null, global);
120
+ goog.exportSymbol('proto.sniiptransactionapi.PayBillAsGuestRequest', null, global);
119
121
  goog.exportSymbol('proto.sniiptransactionapi.PayBillCreditCardInternalRequest', null, global);
120
122
  goog.exportSymbol('proto.sniiptransactionapi.PayBillInternalResponse', null, global);
121
123
  goog.exportSymbol('proto.sniiptransactionapi.PayBillRequest', null, global);
@@ -1982,6 +1984,48 @@ if (goog.DEBUG && !COMPILED) {
1982
1984
  */
1983
1985
  proto.sniiptransactionapi.PayBillCreditCardInternalRequest.displayName = 'proto.sniiptransactionapi.PayBillCreditCardInternalRequest';
1984
1986
  }
1987
+ /**
1988
+ * Generated by JsPbCodeGenerator.
1989
+ * @param {Array=} opt_data Optional initial data array, typically from a
1990
+ * server response, or constructed directly in Javascript. The array is used
1991
+ * in place and becomes part of the constructed object. It is not cloned.
1992
+ * If no data is provided, the constructed object will be empty, but still
1993
+ * valid.
1994
+ * @extends {jspb.Message}
1995
+ * @constructor
1996
+ */
1997
+ proto.sniiptransactionapi.PayBillAsGuestRequest = function(opt_data) {
1998
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1999
+ };
2000
+ goog.inherits(proto.sniiptransactionapi.PayBillAsGuestRequest, jspb.Message);
2001
+ if (goog.DEBUG && !COMPILED) {
2002
+ /**
2003
+ * @public
2004
+ * @override
2005
+ */
2006
+ proto.sniiptransactionapi.PayBillAsGuestRequest.displayName = 'proto.sniiptransactionapi.PayBillAsGuestRequest';
2007
+ }
2008
+ /**
2009
+ * Generated by JsPbCodeGenerator.
2010
+ * @param {Array=} opt_data Optional initial data array, typically from a
2011
+ * server response, or constructed directly in Javascript. The array is used
2012
+ * in place and becomes part of the constructed object. It is not cloned.
2013
+ * If no data is provided, the constructed object will be empty, but still
2014
+ * valid.
2015
+ * @extends {jspb.Message}
2016
+ * @constructor
2017
+ */
2018
+ proto.sniiptransactionapi.PayBillAsGuestData = function(opt_data) {
2019
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2020
+ };
2021
+ goog.inherits(proto.sniiptransactionapi.PayBillAsGuestData, jspb.Message);
2022
+ if (goog.DEBUG && !COMPILED) {
2023
+ /**
2024
+ * @public
2025
+ * @override
2026
+ */
2027
+ proto.sniiptransactionapi.PayBillAsGuestData.displayName = 'proto.sniiptransactionapi.PayBillAsGuestData';
2028
+ }
1985
2029
  /**
1986
2030
  * Generated by JsPbCodeGenerator.
1987
2031
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -21791,6 +21835,617 @@ proto.sniiptransactionapi.PayBillCreditCardInternalRequest.prototype.hasData = f
21791
21835
 
21792
21836
 
21793
21837
 
21838
+ if (jspb.Message.GENERATE_TO_OBJECT) {
21839
+ /**
21840
+ * Creates an object representation of this proto.
21841
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
21842
+ * Optional fields that are not set will be set to undefined.
21843
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
21844
+ * For the list of reserved names please see:
21845
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
21846
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
21847
+ * JSPB instance for transitional soy proto support:
21848
+ * http://goto/soy-param-migration
21849
+ * @return {!Object}
21850
+ */
21851
+ proto.sniiptransactionapi.PayBillAsGuestRequest.prototype.toObject = function(opt_includeInstance) {
21852
+ return proto.sniiptransactionapi.PayBillAsGuestRequest.toObject(opt_includeInstance, this);
21853
+ };
21854
+
21855
+
21856
+ /**
21857
+ * Static version of the {@see toObject} method.
21858
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
21859
+ * the JSPB instance for transitional soy proto support:
21860
+ * http://goto/soy-param-migration
21861
+ * @param {!proto.sniiptransactionapi.PayBillAsGuestRequest} msg The msg instance to transform.
21862
+ * @return {!Object}
21863
+ * @suppress {unusedLocalVariables} f is only used for nested messages
21864
+ */
21865
+ proto.sniiptransactionapi.PayBillAsGuestRequest.toObject = function(includeInstance, msg) {
21866
+ var f, obj = {
21867
+ data: (f = msg.getData()) && proto.sniiptransactionapi.PayBillAsGuestData.toObject(includeInstance, f)
21868
+ };
21869
+
21870
+ if (includeInstance) {
21871
+ obj.$jspbMessageInstance = msg;
21872
+ }
21873
+ return obj;
21874
+ };
21875
+ }
21876
+
21877
+
21878
+ /**
21879
+ * Deserializes binary data (in protobuf wire format).
21880
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
21881
+ * @return {!proto.sniiptransactionapi.PayBillAsGuestRequest}
21882
+ */
21883
+ proto.sniiptransactionapi.PayBillAsGuestRequest.deserializeBinary = function(bytes) {
21884
+ var reader = new jspb.BinaryReader(bytes);
21885
+ var msg = new proto.sniiptransactionapi.PayBillAsGuestRequest;
21886
+ return proto.sniiptransactionapi.PayBillAsGuestRequest.deserializeBinaryFromReader(msg, reader);
21887
+ };
21888
+
21889
+
21890
+ /**
21891
+ * Deserializes binary data (in protobuf wire format) from the
21892
+ * given reader into the given message object.
21893
+ * @param {!proto.sniiptransactionapi.PayBillAsGuestRequest} msg The message object to deserialize into.
21894
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
21895
+ * @return {!proto.sniiptransactionapi.PayBillAsGuestRequest}
21896
+ */
21897
+ proto.sniiptransactionapi.PayBillAsGuestRequest.deserializeBinaryFromReader = function(msg, reader) {
21898
+ while (reader.nextField()) {
21899
+ if (reader.isEndGroup()) {
21900
+ break;
21901
+ }
21902
+ var field = reader.getFieldNumber();
21903
+ switch (field) {
21904
+ case 1:
21905
+ var value = new proto.sniiptransactionapi.PayBillAsGuestData;
21906
+ reader.readMessage(value,proto.sniiptransactionapi.PayBillAsGuestData.deserializeBinaryFromReader);
21907
+ msg.setData(value);
21908
+ break;
21909
+ default:
21910
+ reader.skipField();
21911
+ break;
21912
+ }
21913
+ }
21914
+ return msg;
21915
+ };
21916
+
21917
+
21918
+ /**
21919
+ * Serializes the message to binary data (in protobuf wire format).
21920
+ * @return {!Uint8Array}
21921
+ */
21922
+ proto.sniiptransactionapi.PayBillAsGuestRequest.prototype.serializeBinary = function() {
21923
+ var writer = new jspb.BinaryWriter();
21924
+ proto.sniiptransactionapi.PayBillAsGuestRequest.serializeBinaryToWriter(this, writer);
21925
+ return writer.getResultBuffer();
21926
+ };
21927
+
21928
+
21929
+ /**
21930
+ * Serializes the given message to binary data (in protobuf wire
21931
+ * format), writing to the given BinaryWriter.
21932
+ * @param {!proto.sniiptransactionapi.PayBillAsGuestRequest} message
21933
+ * @param {!jspb.BinaryWriter} writer
21934
+ * @suppress {unusedLocalVariables} f is only used for nested messages
21935
+ */
21936
+ proto.sniiptransactionapi.PayBillAsGuestRequest.serializeBinaryToWriter = function(message, writer) {
21937
+ var f = undefined;
21938
+ f = message.getData();
21939
+ if (f != null) {
21940
+ writer.writeMessage(
21941
+ 1,
21942
+ f,
21943
+ proto.sniiptransactionapi.PayBillAsGuestData.serializeBinaryToWriter
21944
+ );
21945
+ }
21946
+ };
21947
+
21948
+
21949
+ /**
21950
+ * optional PayBillAsGuestData data = 1;
21951
+ * @return {?proto.sniiptransactionapi.PayBillAsGuestData}
21952
+ */
21953
+ proto.sniiptransactionapi.PayBillAsGuestRequest.prototype.getData = function() {
21954
+ return /** @type{?proto.sniiptransactionapi.PayBillAsGuestData} */ (
21955
+ jspb.Message.getWrapperField(this, proto.sniiptransactionapi.PayBillAsGuestData, 1));
21956
+ };
21957
+
21958
+
21959
+ /**
21960
+ * @param {?proto.sniiptransactionapi.PayBillAsGuestData|undefined} value
21961
+ * @return {!proto.sniiptransactionapi.PayBillAsGuestRequest} returns this
21962
+ */
21963
+ proto.sniiptransactionapi.PayBillAsGuestRequest.prototype.setData = function(value) {
21964
+ return jspb.Message.setWrapperField(this, 1, value);
21965
+ };
21966
+
21967
+
21968
+ /**
21969
+ * Clears the message field making it undefined.
21970
+ * @return {!proto.sniiptransactionapi.PayBillAsGuestRequest} returns this
21971
+ */
21972
+ proto.sniiptransactionapi.PayBillAsGuestRequest.prototype.clearData = function() {
21973
+ return this.setData(undefined);
21974
+ };
21975
+
21976
+
21977
+ /**
21978
+ * Returns whether this field is set.
21979
+ * @return {boolean}
21980
+ */
21981
+ proto.sniiptransactionapi.PayBillAsGuestRequest.prototype.hasData = function() {
21982
+ return jspb.Message.getField(this, 1) != null;
21983
+ };
21984
+
21985
+
21986
+
21987
+
21988
+
21989
+ if (jspb.Message.GENERATE_TO_OBJECT) {
21990
+ /**
21991
+ * Creates an object representation of this proto.
21992
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
21993
+ * Optional fields that are not set will be set to undefined.
21994
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
21995
+ * For the list of reserved names please see:
21996
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
21997
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
21998
+ * JSPB instance for transitional soy proto support:
21999
+ * http://goto/soy-param-migration
22000
+ * @return {!Object}
22001
+ */
22002
+ proto.sniiptransactionapi.PayBillAsGuestData.prototype.toObject = function(opt_includeInstance) {
22003
+ return proto.sniiptransactionapi.PayBillAsGuestData.toObject(opt_includeInstance, this);
22004
+ };
22005
+
22006
+
22007
+ /**
22008
+ * Static version of the {@see toObject} method.
22009
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
22010
+ * the JSPB instance for transitional soy proto support:
22011
+ * http://goto/soy-param-migration
22012
+ * @param {!proto.sniiptransactionapi.PayBillAsGuestData} msg The msg instance to transform.
22013
+ * @return {!Object}
22014
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22015
+ */
22016
+ proto.sniiptransactionapi.PayBillAsGuestData.toObject = function(includeInstance, msg) {
22017
+ var f, obj = {
22018
+ userid: jspb.Message.getFieldWithDefault(msg, 1, 0),
22019
+ billid: jspb.Message.getFieldWithDefault(msg, 2, 0),
22020
+ paymentmethodid: jspb.Message.getFieldWithDefault(msg, 3, 0),
22021
+ paymentmethodaccesskey: jspb.Message.getFieldWithDefault(msg, 4, ""),
22022
+ uniquepaymentguid: jspb.Message.getFieldWithDefault(msg, 5, ""),
22023
+ ipaddress: jspb.Message.getFieldWithDefault(msg, 6, ""),
22024
+ amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
22025
+ allowoverpayment: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
22026
+ validatecvv: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
22027
+ cvv: jspb.Message.getFieldWithDefault(msg, 12, ""),
22028
+ processpayment: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
22029
+ throwerroronfailedtransaction: jspb.Message.getBooleanFieldWithDefault(msg, 11, false)
22030
+ };
22031
+
22032
+ if (includeInstance) {
22033
+ obj.$jspbMessageInstance = msg;
22034
+ }
22035
+ return obj;
22036
+ };
22037
+ }
22038
+
22039
+
22040
+ /**
22041
+ * Deserializes binary data (in protobuf wire format).
22042
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
22043
+ * @return {!proto.sniiptransactionapi.PayBillAsGuestData}
22044
+ */
22045
+ proto.sniiptransactionapi.PayBillAsGuestData.deserializeBinary = function(bytes) {
22046
+ var reader = new jspb.BinaryReader(bytes);
22047
+ var msg = new proto.sniiptransactionapi.PayBillAsGuestData;
22048
+ return proto.sniiptransactionapi.PayBillAsGuestData.deserializeBinaryFromReader(msg, reader);
22049
+ };
22050
+
22051
+
22052
+ /**
22053
+ * Deserializes binary data (in protobuf wire format) from the
22054
+ * given reader into the given message object.
22055
+ * @param {!proto.sniiptransactionapi.PayBillAsGuestData} msg The message object to deserialize into.
22056
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
22057
+ * @return {!proto.sniiptransactionapi.PayBillAsGuestData}
22058
+ */
22059
+ proto.sniiptransactionapi.PayBillAsGuestData.deserializeBinaryFromReader = function(msg, reader) {
22060
+ while (reader.nextField()) {
22061
+ if (reader.isEndGroup()) {
22062
+ break;
22063
+ }
22064
+ var field = reader.getFieldNumber();
22065
+ switch (field) {
22066
+ case 1:
22067
+ var value = /** @type {number} */ (reader.readInt64());
22068
+ msg.setUserid(value);
22069
+ break;
22070
+ case 2:
22071
+ var value = /** @type {number} */ (reader.readInt64());
22072
+ msg.setBillid(value);
22073
+ break;
22074
+ case 3:
22075
+ var value = /** @type {number} */ (reader.readInt64());
22076
+ msg.setPaymentmethodid(value);
22077
+ break;
22078
+ case 4:
22079
+ var value = /** @type {string} */ (reader.readString());
22080
+ msg.setPaymentmethodaccesskey(value);
22081
+ break;
22082
+ case 5:
22083
+ var value = /** @type {string} */ (reader.readString());
22084
+ msg.setUniquepaymentguid(value);
22085
+ break;
22086
+ case 6:
22087
+ var value = /** @type {string} */ (reader.readString());
22088
+ msg.setIpaddress(value);
22089
+ break;
22090
+ case 7:
22091
+ var value = /** @type {number} */ (reader.readDouble());
22092
+ msg.setAmount(value);
22093
+ break;
22094
+ case 8:
22095
+ var value = /** @type {boolean} */ (reader.readBool());
22096
+ msg.setAllowoverpayment(value);
22097
+ break;
22098
+ case 9:
22099
+ var value = /** @type {boolean} */ (reader.readBool());
22100
+ msg.setValidatecvv(value);
22101
+ break;
22102
+ case 12:
22103
+ var value = /** @type {string} */ (reader.readString());
22104
+ msg.setCvv(value);
22105
+ break;
22106
+ case 10:
22107
+ var value = /** @type {boolean} */ (reader.readBool());
22108
+ msg.setProcesspayment(value);
22109
+ break;
22110
+ case 11:
22111
+ var value = /** @type {boolean} */ (reader.readBool());
22112
+ msg.setThrowerroronfailedtransaction(value);
22113
+ break;
22114
+ default:
22115
+ reader.skipField();
22116
+ break;
22117
+ }
22118
+ }
22119
+ return msg;
22120
+ };
22121
+
22122
+
22123
+ /**
22124
+ * Serializes the message to binary data (in protobuf wire format).
22125
+ * @return {!Uint8Array}
22126
+ */
22127
+ proto.sniiptransactionapi.PayBillAsGuestData.prototype.serializeBinary = function() {
22128
+ var writer = new jspb.BinaryWriter();
22129
+ proto.sniiptransactionapi.PayBillAsGuestData.serializeBinaryToWriter(this, writer);
22130
+ return writer.getResultBuffer();
22131
+ };
22132
+
22133
+
22134
+ /**
22135
+ * Serializes the given message to binary data (in protobuf wire
22136
+ * format), writing to the given BinaryWriter.
22137
+ * @param {!proto.sniiptransactionapi.PayBillAsGuestData} message
22138
+ * @param {!jspb.BinaryWriter} writer
22139
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22140
+ */
22141
+ proto.sniiptransactionapi.PayBillAsGuestData.serializeBinaryToWriter = function(message, writer) {
22142
+ var f = undefined;
22143
+ f = message.getUserid();
22144
+ if (f !== 0) {
22145
+ writer.writeInt64(
22146
+ 1,
22147
+ f
22148
+ );
22149
+ }
22150
+ f = message.getBillid();
22151
+ if (f !== 0) {
22152
+ writer.writeInt64(
22153
+ 2,
22154
+ f
22155
+ );
22156
+ }
22157
+ f = message.getPaymentmethodid();
22158
+ if (f !== 0) {
22159
+ writer.writeInt64(
22160
+ 3,
22161
+ f
22162
+ );
22163
+ }
22164
+ f = message.getPaymentmethodaccesskey();
22165
+ if (f.length > 0) {
22166
+ writer.writeString(
22167
+ 4,
22168
+ f
22169
+ );
22170
+ }
22171
+ f = message.getUniquepaymentguid();
22172
+ if (f.length > 0) {
22173
+ writer.writeString(
22174
+ 5,
22175
+ f
22176
+ );
22177
+ }
22178
+ f = message.getIpaddress();
22179
+ if (f.length > 0) {
22180
+ writer.writeString(
22181
+ 6,
22182
+ f
22183
+ );
22184
+ }
22185
+ f = message.getAmount();
22186
+ if (f !== 0.0) {
22187
+ writer.writeDouble(
22188
+ 7,
22189
+ f
22190
+ );
22191
+ }
22192
+ f = message.getAllowoverpayment();
22193
+ if (f) {
22194
+ writer.writeBool(
22195
+ 8,
22196
+ f
22197
+ );
22198
+ }
22199
+ f = message.getValidatecvv();
22200
+ if (f) {
22201
+ writer.writeBool(
22202
+ 9,
22203
+ f
22204
+ );
22205
+ }
22206
+ f = message.getCvv();
22207
+ if (f.length > 0) {
22208
+ writer.writeString(
22209
+ 12,
22210
+ f
22211
+ );
22212
+ }
22213
+ f = message.getProcesspayment();
22214
+ if (f) {
22215
+ writer.writeBool(
22216
+ 10,
22217
+ f
22218
+ );
22219
+ }
22220
+ f = message.getThrowerroronfailedtransaction();
22221
+ if (f) {
22222
+ writer.writeBool(
22223
+ 11,
22224
+ f
22225
+ );
22226
+ }
22227
+ };
22228
+
22229
+
22230
+ /**
22231
+ * optional int64 userId = 1;
22232
+ * @return {number}
22233
+ */
22234
+ proto.sniiptransactionapi.PayBillAsGuestData.prototype.getUserid = function() {
22235
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
22236
+ };
22237
+
22238
+
22239
+ /**
22240
+ * @param {number} value
22241
+ * @return {!proto.sniiptransactionapi.PayBillAsGuestData} returns this
22242
+ */
22243
+ proto.sniiptransactionapi.PayBillAsGuestData.prototype.setUserid = function(value) {
22244
+ return jspb.Message.setProto3IntField(this, 1, value);
22245
+ };
22246
+
22247
+
22248
+ /**
22249
+ * optional int64 billId = 2;
22250
+ * @return {number}
22251
+ */
22252
+ proto.sniiptransactionapi.PayBillAsGuestData.prototype.getBillid = function() {
22253
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
22254
+ };
22255
+
22256
+
22257
+ /**
22258
+ * @param {number} value
22259
+ * @return {!proto.sniiptransactionapi.PayBillAsGuestData} returns this
22260
+ */
22261
+ proto.sniiptransactionapi.PayBillAsGuestData.prototype.setBillid = function(value) {
22262
+ return jspb.Message.setProto3IntField(this, 2, value);
22263
+ };
22264
+
22265
+
22266
+ /**
22267
+ * optional int64 paymentMethodId = 3;
22268
+ * @return {number}
22269
+ */
22270
+ proto.sniiptransactionapi.PayBillAsGuestData.prototype.getPaymentmethodid = function() {
22271
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
22272
+ };
22273
+
22274
+
22275
+ /**
22276
+ * @param {number} value
22277
+ * @return {!proto.sniiptransactionapi.PayBillAsGuestData} returns this
22278
+ */
22279
+ proto.sniiptransactionapi.PayBillAsGuestData.prototype.setPaymentmethodid = function(value) {
22280
+ return jspb.Message.setProto3IntField(this, 3, value);
22281
+ };
22282
+
22283
+
22284
+ /**
22285
+ * optional string paymentMethodAccessKey = 4;
22286
+ * @return {string}
22287
+ */
22288
+ proto.sniiptransactionapi.PayBillAsGuestData.prototype.getPaymentmethodaccesskey = function() {
22289
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
22290
+ };
22291
+
22292
+
22293
+ /**
22294
+ * @param {string} value
22295
+ * @return {!proto.sniiptransactionapi.PayBillAsGuestData} returns this
22296
+ */
22297
+ proto.sniiptransactionapi.PayBillAsGuestData.prototype.setPaymentmethodaccesskey = function(value) {
22298
+ return jspb.Message.setProto3StringField(this, 4, value);
22299
+ };
22300
+
22301
+
22302
+ /**
22303
+ * optional string uniquePaymentGuid = 5;
22304
+ * @return {string}
22305
+ */
22306
+ proto.sniiptransactionapi.PayBillAsGuestData.prototype.getUniquepaymentguid = function() {
22307
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
22308
+ };
22309
+
22310
+
22311
+ /**
22312
+ * @param {string} value
22313
+ * @return {!proto.sniiptransactionapi.PayBillAsGuestData} returns this
22314
+ */
22315
+ proto.sniiptransactionapi.PayBillAsGuestData.prototype.setUniquepaymentguid = function(value) {
22316
+ return jspb.Message.setProto3StringField(this, 5, value);
22317
+ };
22318
+
22319
+
22320
+ /**
22321
+ * optional string ipAddress = 6;
22322
+ * @return {string}
22323
+ */
22324
+ proto.sniiptransactionapi.PayBillAsGuestData.prototype.getIpaddress = function() {
22325
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
22326
+ };
22327
+
22328
+
22329
+ /**
22330
+ * @param {string} value
22331
+ * @return {!proto.sniiptransactionapi.PayBillAsGuestData} returns this
22332
+ */
22333
+ proto.sniiptransactionapi.PayBillAsGuestData.prototype.setIpaddress = function(value) {
22334
+ return jspb.Message.setProto3StringField(this, 6, value);
22335
+ };
22336
+
22337
+
22338
+ /**
22339
+ * optional double amount = 7;
22340
+ * @return {number}
22341
+ */
22342
+ proto.sniiptransactionapi.PayBillAsGuestData.prototype.getAmount = function() {
22343
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
22344
+ };
22345
+
22346
+
22347
+ /**
22348
+ * @param {number} value
22349
+ * @return {!proto.sniiptransactionapi.PayBillAsGuestData} returns this
22350
+ */
22351
+ proto.sniiptransactionapi.PayBillAsGuestData.prototype.setAmount = function(value) {
22352
+ return jspb.Message.setProto3FloatField(this, 7, value);
22353
+ };
22354
+
22355
+
22356
+ /**
22357
+ * optional bool allowOverpayment = 8;
22358
+ * @return {boolean}
22359
+ */
22360
+ proto.sniiptransactionapi.PayBillAsGuestData.prototype.getAllowoverpayment = function() {
22361
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
22362
+ };
22363
+
22364
+
22365
+ /**
22366
+ * @param {boolean} value
22367
+ * @return {!proto.sniiptransactionapi.PayBillAsGuestData} returns this
22368
+ */
22369
+ proto.sniiptransactionapi.PayBillAsGuestData.prototype.setAllowoverpayment = function(value) {
22370
+ return jspb.Message.setProto3BooleanField(this, 8, value);
22371
+ };
22372
+
22373
+
22374
+ /**
22375
+ * optional bool validateCvv = 9;
22376
+ * @return {boolean}
22377
+ */
22378
+ proto.sniiptransactionapi.PayBillAsGuestData.prototype.getValidatecvv = function() {
22379
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 9, false));
22380
+ };
22381
+
22382
+
22383
+ /**
22384
+ * @param {boolean} value
22385
+ * @return {!proto.sniiptransactionapi.PayBillAsGuestData} returns this
22386
+ */
22387
+ proto.sniiptransactionapi.PayBillAsGuestData.prototype.setValidatecvv = function(value) {
22388
+ return jspb.Message.setProto3BooleanField(this, 9, value);
22389
+ };
22390
+
22391
+
22392
+ /**
22393
+ * optional string cvv = 12;
22394
+ * @return {string}
22395
+ */
22396
+ proto.sniiptransactionapi.PayBillAsGuestData.prototype.getCvv = function() {
22397
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
22398
+ };
22399
+
22400
+
22401
+ /**
22402
+ * @param {string} value
22403
+ * @return {!proto.sniiptransactionapi.PayBillAsGuestData} returns this
22404
+ */
22405
+ proto.sniiptransactionapi.PayBillAsGuestData.prototype.setCvv = function(value) {
22406
+ return jspb.Message.setProto3StringField(this, 12, value);
22407
+ };
22408
+
22409
+
22410
+ /**
22411
+ * optional bool processPayment = 10;
22412
+ * @return {boolean}
22413
+ */
22414
+ proto.sniiptransactionapi.PayBillAsGuestData.prototype.getProcesspayment = function() {
22415
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 10, false));
22416
+ };
22417
+
22418
+
22419
+ /**
22420
+ * @param {boolean} value
22421
+ * @return {!proto.sniiptransactionapi.PayBillAsGuestData} returns this
22422
+ */
22423
+ proto.sniiptransactionapi.PayBillAsGuestData.prototype.setProcesspayment = function(value) {
22424
+ return jspb.Message.setProto3BooleanField(this, 10, value);
22425
+ };
22426
+
22427
+
22428
+ /**
22429
+ * optional bool throwErrorOnFailedTransaction = 11;
22430
+ * @return {boolean}
22431
+ */
22432
+ proto.sniiptransactionapi.PayBillAsGuestData.prototype.getThrowerroronfailedtransaction = function() {
22433
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false));
22434
+ };
22435
+
22436
+
22437
+ /**
22438
+ * @param {boolean} value
22439
+ * @return {!proto.sniiptransactionapi.PayBillAsGuestData} returns this
22440
+ */
22441
+ proto.sniiptransactionapi.PayBillAsGuestData.prototype.setThrowerroronfailedtransaction = function(value) {
22442
+ return jspb.Message.setProto3BooleanField(this, 11, value);
22443
+ };
22444
+
22445
+
22446
+
22447
+
22448
+
21794
22449
  if (jspb.Message.GENERATE_TO_OBJECT) {
21795
22450
  /**
21796
22451
  * Creates an object representation of this proto.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/transaction-service-client-grpcweb",
3
- "version": "26.8.15465",
3
+ "version": "26.8.15490",
4
4
  "description": "transaction-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",