@sniipwebmaster/checkout-service-client-grpcweb 26.6.437 → 26.6.451

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.
@@ -572,6 +572,67 @@ proto.checkoutserviceapi.CheckoutServicePromiseClient.prototype.makeTokenPayment
572
572
  };
573
573
 
574
574
 
575
+ /**
576
+ * @const
577
+ * @type {!grpc.web.MethodDescriptor<
578
+ * !proto.checkoutserviceapi.RefundRequest,
579
+ * !proto.checkoutserviceapi.RefundResponse>}
580
+ */
581
+ const methodDescriptor_CheckoutService_MakeRefund = new grpc.web.MethodDescriptor(
582
+ '/checkoutserviceapi.CheckoutService/MakeRefund',
583
+ grpc.web.MethodType.UNARY,
584
+ proto.checkoutserviceapi.RefundRequest,
585
+ proto.checkoutserviceapi.RefundResponse,
586
+ /**
587
+ * @param {!proto.checkoutserviceapi.RefundRequest} request
588
+ * @return {!Uint8Array}
589
+ */
590
+ function(request) {
591
+ return request.serializeBinary();
592
+ },
593
+ proto.checkoutserviceapi.RefundResponse.deserializeBinary
594
+ );
595
+
596
+
597
+ /**
598
+ * @param {!proto.checkoutserviceapi.RefundRequest} request The
599
+ * request proto
600
+ * @param {?Object<string, string>} metadata User defined
601
+ * call metadata
602
+ * @param {function(?grpc.web.RpcError, ?proto.checkoutserviceapi.RefundResponse)}
603
+ * callback The callback function(error, response)
604
+ * @return {!grpc.web.ClientReadableStream<!proto.checkoutserviceapi.RefundResponse>|undefined}
605
+ * The XHR Node Readable Stream
606
+ */
607
+ proto.checkoutserviceapi.CheckoutServiceClient.prototype.makeRefund =
608
+ function(request, metadata, callback) {
609
+ return this.client_.rpcCall(this.hostname_ +
610
+ '/checkoutserviceapi.CheckoutService/MakeRefund',
611
+ request,
612
+ metadata || {},
613
+ methodDescriptor_CheckoutService_MakeRefund,
614
+ callback);
615
+ };
616
+
617
+
618
+ /**
619
+ * @param {!proto.checkoutserviceapi.RefundRequest} request The
620
+ * request proto
621
+ * @param {?Object<string, string>=} metadata User defined
622
+ * call metadata
623
+ * @return {!Promise<!proto.checkoutserviceapi.RefundResponse>}
624
+ * Promise that resolves to the response
625
+ */
626
+ proto.checkoutserviceapi.CheckoutServicePromiseClient.prototype.makeRefund =
627
+ function(request, metadata) {
628
+ return this.client_.unaryCall(this.hostname_ +
629
+ '/checkoutserviceapi.CheckoutService/MakeRefund',
630
+ request,
631
+ metadata || {},
632
+ methodDescriptor_CheckoutService_MakeRefund);
633
+ };
634
+
635
+
575
636
  /**
576
637
  * @const
577
638
  * @type {!grpc.web.MethodDescriptor<
@@ -41,6 +41,8 @@ goog.exportSymbol('proto.checkoutserviceapi.PaymentStatusResponse', null, global
41
41
  goog.exportSymbol('proto.checkoutserviceapi.ProcessSettlementFileRequest', null, global);
42
42
  goog.exportSymbol('proto.checkoutserviceapi.PubSubMessage', null, global);
43
43
  goog.exportSymbol('proto.checkoutserviceapi.PubSubPushRequest', null, global);
44
+ goog.exportSymbol('proto.checkoutserviceapi.RefundRequest', null, global);
45
+ goog.exportSymbol('proto.checkoutserviceapi.RefundResponse', null, global);
44
46
  goog.exportSymbol('proto.checkoutserviceapi.ResponseCode', null, global);
45
47
  goog.exportSymbol('proto.checkoutserviceapi.Scope', null, global);
46
48
  goog.exportSymbol('proto.checkoutserviceapi.SettleFile', null, global);
@@ -277,6 +279,48 @@ if (goog.DEBUG && !COMPILED) {
277
279
  */
278
280
  proto.checkoutserviceapi.GetTransactionResponse.displayName = 'proto.checkoutserviceapi.GetTransactionResponse';
279
281
  }
282
+ /**
283
+ * Generated by JsPbCodeGenerator.
284
+ * @param {Array=} opt_data Optional initial data array, typically from a
285
+ * server response, or constructed directly in Javascript. The array is used
286
+ * in place and becomes part of the constructed object. It is not cloned.
287
+ * If no data is provided, the constructed object will be empty, but still
288
+ * valid.
289
+ * @extends {jspb.Message}
290
+ * @constructor
291
+ */
292
+ proto.checkoutserviceapi.RefundRequest = function(opt_data) {
293
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
294
+ };
295
+ goog.inherits(proto.checkoutserviceapi.RefundRequest, jspb.Message);
296
+ if (goog.DEBUG && !COMPILED) {
297
+ /**
298
+ * @public
299
+ * @override
300
+ */
301
+ proto.checkoutserviceapi.RefundRequest.displayName = 'proto.checkoutserviceapi.RefundRequest';
302
+ }
303
+ /**
304
+ * Generated by JsPbCodeGenerator.
305
+ * @param {Array=} opt_data Optional initial data array, typically from a
306
+ * server response, or constructed directly in Javascript. The array is used
307
+ * in place and becomes part of the constructed object. It is not cloned.
308
+ * If no data is provided, the constructed object will be empty, but still
309
+ * valid.
310
+ * @extends {jspb.Message}
311
+ * @constructor
312
+ */
313
+ proto.checkoutserviceapi.RefundResponse = function(opt_data) {
314
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
315
+ };
316
+ goog.inherits(proto.checkoutserviceapi.RefundResponse, jspb.Message);
317
+ if (goog.DEBUG && !COMPILED) {
318
+ /**
319
+ * @public
320
+ * @override
321
+ */
322
+ proto.checkoutserviceapi.RefundResponse.displayName = 'proto.checkoutserviceapi.RefundResponse';
323
+ }
280
324
  /**
281
325
  * Generated by JsPbCodeGenerator.
282
326
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -3959,6 +4003,578 @@ proto.checkoutserviceapi.GetTransactionResponse.prototype.hasResponsecode = func
3959
4003
 
3960
4004
 
3961
4005
 
4006
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4007
+ /**
4008
+ * Creates an object representation of this proto.
4009
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4010
+ * Optional fields that are not set will be set to undefined.
4011
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4012
+ * For the list of reserved names please see:
4013
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4014
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4015
+ * JSPB instance for transitional soy proto support:
4016
+ * http://goto/soy-param-migration
4017
+ * @return {!Object}
4018
+ */
4019
+ proto.checkoutserviceapi.RefundRequest.prototype.toObject = function(opt_includeInstance) {
4020
+ return proto.checkoutserviceapi.RefundRequest.toObject(opt_includeInstance, this);
4021
+ };
4022
+
4023
+
4024
+ /**
4025
+ * Static version of the {@see toObject} method.
4026
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4027
+ * the JSPB instance for transitional soy proto support:
4028
+ * http://goto/soy-param-migration
4029
+ * @param {!proto.checkoutserviceapi.RefundRequest} msg The msg instance to transform.
4030
+ * @return {!Object}
4031
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4032
+ */
4033
+ proto.checkoutserviceapi.RefundRequest.toObject = function(includeInstance, msg) {
4034
+ var f, obj = {
4035
+ originalsniiptransactionid: jspb.Message.getFieldWithDefault(msg, 1, 0),
4036
+ refundtransactionid: jspb.Message.getFieldWithDefault(msg, 2, 0),
4037
+ refundamount: (f = msg.getRefundamount()) && google_type_decimal_pb.Decimal.toObject(includeInstance, f),
4038
+ reference: jspb.Message.getFieldWithDefault(msg, 5, "")
4039
+ };
4040
+
4041
+ if (includeInstance) {
4042
+ obj.$jspbMessageInstance = msg;
4043
+ }
4044
+ return obj;
4045
+ };
4046
+ }
4047
+
4048
+
4049
+ /**
4050
+ * Deserializes binary data (in protobuf wire format).
4051
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4052
+ * @return {!proto.checkoutserviceapi.RefundRequest}
4053
+ */
4054
+ proto.checkoutserviceapi.RefundRequest.deserializeBinary = function(bytes) {
4055
+ var reader = new jspb.BinaryReader(bytes);
4056
+ var msg = new proto.checkoutserviceapi.RefundRequest;
4057
+ return proto.checkoutserviceapi.RefundRequest.deserializeBinaryFromReader(msg, reader);
4058
+ };
4059
+
4060
+
4061
+ /**
4062
+ * Deserializes binary data (in protobuf wire format) from the
4063
+ * given reader into the given message object.
4064
+ * @param {!proto.checkoutserviceapi.RefundRequest} msg The message object to deserialize into.
4065
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4066
+ * @return {!proto.checkoutserviceapi.RefundRequest}
4067
+ */
4068
+ proto.checkoutserviceapi.RefundRequest.deserializeBinaryFromReader = function(msg, reader) {
4069
+ while (reader.nextField()) {
4070
+ if (reader.isEndGroup()) {
4071
+ break;
4072
+ }
4073
+ var field = reader.getFieldNumber();
4074
+ switch (field) {
4075
+ case 1:
4076
+ var value = /** @type {number} */ (reader.readInt64());
4077
+ msg.setOriginalsniiptransactionid(value);
4078
+ break;
4079
+ case 2:
4080
+ var value = /** @type {number} */ (reader.readInt64());
4081
+ msg.setRefundtransactionid(value);
4082
+ break;
4083
+ case 3:
4084
+ var value = new google_type_decimal_pb.Decimal;
4085
+ reader.readMessage(value,google_type_decimal_pb.Decimal.deserializeBinaryFromReader);
4086
+ msg.setRefundamount(value);
4087
+ break;
4088
+ case 5:
4089
+ var value = /** @type {string} */ (reader.readString());
4090
+ msg.setReference(value);
4091
+ break;
4092
+ default:
4093
+ reader.skipField();
4094
+ break;
4095
+ }
4096
+ }
4097
+ return msg;
4098
+ };
4099
+
4100
+
4101
+ /**
4102
+ * Serializes the message to binary data (in protobuf wire format).
4103
+ * @return {!Uint8Array}
4104
+ */
4105
+ proto.checkoutserviceapi.RefundRequest.prototype.serializeBinary = function() {
4106
+ var writer = new jspb.BinaryWriter();
4107
+ proto.checkoutserviceapi.RefundRequest.serializeBinaryToWriter(this, writer);
4108
+ return writer.getResultBuffer();
4109
+ };
4110
+
4111
+
4112
+ /**
4113
+ * Serializes the given message to binary data (in protobuf wire
4114
+ * format), writing to the given BinaryWriter.
4115
+ * @param {!proto.checkoutserviceapi.RefundRequest} message
4116
+ * @param {!jspb.BinaryWriter} writer
4117
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4118
+ */
4119
+ proto.checkoutserviceapi.RefundRequest.serializeBinaryToWriter = function(message, writer) {
4120
+ var f = undefined;
4121
+ f = message.getOriginalsniiptransactionid();
4122
+ if (f !== 0) {
4123
+ writer.writeInt64(
4124
+ 1,
4125
+ f
4126
+ );
4127
+ }
4128
+ f = message.getRefundtransactionid();
4129
+ if (f !== 0) {
4130
+ writer.writeInt64(
4131
+ 2,
4132
+ f
4133
+ );
4134
+ }
4135
+ f = message.getRefundamount();
4136
+ if (f != null) {
4137
+ writer.writeMessage(
4138
+ 3,
4139
+ f,
4140
+ google_type_decimal_pb.Decimal.serializeBinaryToWriter
4141
+ );
4142
+ }
4143
+ f = message.getReference();
4144
+ if (f.length > 0) {
4145
+ writer.writeString(
4146
+ 5,
4147
+ f
4148
+ );
4149
+ }
4150
+ };
4151
+
4152
+
4153
+ /**
4154
+ * optional int64 originalSniipTransactionId = 1;
4155
+ * @return {number}
4156
+ */
4157
+ proto.checkoutserviceapi.RefundRequest.prototype.getOriginalsniiptransactionid = function() {
4158
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
4159
+ };
4160
+
4161
+
4162
+ /**
4163
+ * @param {number} value
4164
+ * @return {!proto.checkoutserviceapi.RefundRequest} returns this
4165
+ */
4166
+ proto.checkoutserviceapi.RefundRequest.prototype.setOriginalsniiptransactionid = function(value) {
4167
+ return jspb.Message.setProto3IntField(this, 1, value);
4168
+ };
4169
+
4170
+
4171
+ /**
4172
+ * optional int64 refundTransactionId = 2;
4173
+ * @return {number}
4174
+ */
4175
+ proto.checkoutserviceapi.RefundRequest.prototype.getRefundtransactionid = function() {
4176
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
4177
+ };
4178
+
4179
+
4180
+ /**
4181
+ * @param {number} value
4182
+ * @return {!proto.checkoutserviceapi.RefundRequest} returns this
4183
+ */
4184
+ proto.checkoutserviceapi.RefundRequest.prototype.setRefundtransactionid = function(value) {
4185
+ return jspb.Message.setProto3IntField(this, 2, value);
4186
+ };
4187
+
4188
+
4189
+ /**
4190
+ * optional google.type.Decimal refundAmount = 3;
4191
+ * @return {?proto.google.type.Decimal}
4192
+ */
4193
+ proto.checkoutserviceapi.RefundRequest.prototype.getRefundamount = function() {
4194
+ return /** @type{?proto.google.type.Decimal} */ (
4195
+ jspb.Message.getWrapperField(this, google_type_decimal_pb.Decimal, 3));
4196
+ };
4197
+
4198
+
4199
+ /**
4200
+ * @param {?proto.google.type.Decimal|undefined} value
4201
+ * @return {!proto.checkoutserviceapi.RefundRequest} returns this
4202
+ */
4203
+ proto.checkoutserviceapi.RefundRequest.prototype.setRefundamount = function(value) {
4204
+ return jspb.Message.setWrapperField(this, 3, value);
4205
+ };
4206
+
4207
+
4208
+ /**
4209
+ * Clears the message field making it undefined.
4210
+ * @return {!proto.checkoutserviceapi.RefundRequest} returns this
4211
+ */
4212
+ proto.checkoutserviceapi.RefundRequest.prototype.clearRefundamount = function() {
4213
+ return this.setRefundamount(undefined);
4214
+ };
4215
+
4216
+
4217
+ /**
4218
+ * Returns whether this field is set.
4219
+ * @return {boolean}
4220
+ */
4221
+ proto.checkoutserviceapi.RefundRequest.prototype.hasRefundamount = function() {
4222
+ return jspb.Message.getField(this, 3) != null;
4223
+ };
4224
+
4225
+
4226
+ /**
4227
+ * optional string reference = 5;
4228
+ * @return {string}
4229
+ */
4230
+ proto.checkoutserviceapi.RefundRequest.prototype.getReference = function() {
4231
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
4232
+ };
4233
+
4234
+
4235
+ /**
4236
+ * @param {string} value
4237
+ * @return {!proto.checkoutserviceapi.RefundRequest} returns this
4238
+ */
4239
+ proto.checkoutserviceapi.RefundRequest.prototype.setReference = function(value) {
4240
+ return jspb.Message.setProto3StringField(this, 5, value);
4241
+ };
4242
+
4243
+
4244
+
4245
+
4246
+
4247
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4248
+ /**
4249
+ * Creates an object representation of this proto.
4250
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4251
+ * Optional fields that are not set will be set to undefined.
4252
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4253
+ * For the list of reserved names please see:
4254
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4255
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4256
+ * JSPB instance for transitional soy proto support:
4257
+ * http://goto/soy-param-migration
4258
+ * @return {!Object}
4259
+ */
4260
+ proto.checkoutserviceapi.RefundResponse.prototype.toObject = function(opt_includeInstance) {
4261
+ return proto.checkoutserviceapi.RefundResponse.toObject(opt_includeInstance, this);
4262
+ };
4263
+
4264
+
4265
+ /**
4266
+ * Static version of the {@see toObject} method.
4267
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4268
+ * the JSPB instance for transitional soy proto support:
4269
+ * http://goto/soy-param-migration
4270
+ * @param {!proto.checkoutserviceapi.RefundResponse} msg The msg instance to transform.
4271
+ * @return {!Object}
4272
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4273
+ */
4274
+ proto.checkoutserviceapi.RefundResponse.toObject = function(includeInstance, msg) {
4275
+ var f, obj = {
4276
+ responsecode: (f = msg.getResponsecode()) && proto.checkoutserviceapi.ResponseCode.toObject(includeInstance, f),
4277
+ status: jspb.Message.getFieldWithDefault(msg, 2, ""),
4278
+ actionid: jspb.Message.getFieldWithDefault(msg, 3, ""),
4279
+ gatewaytransactionid: jspb.Message.getFieldWithDefault(msg, 4, ""),
4280
+ response: jspb.Message.getFieldWithDefault(msg, 5, ""),
4281
+ gatewaybankresponsecode: jspb.Message.getFieldWithDefault(msg, 6, 0),
4282
+ gatewayresponsemessage: jspb.Message.getFieldWithDefault(msg, 7, "")
4283
+ };
4284
+
4285
+ if (includeInstance) {
4286
+ obj.$jspbMessageInstance = msg;
4287
+ }
4288
+ return obj;
4289
+ };
4290
+ }
4291
+
4292
+
4293
+ /**
4294
+ * Deserializes binary data (in protobuf wire format).
4295
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4296
+ * @return {!proto.checkoutserviceapi.RefundResponse}
4297
+ */
4298
+ proto.checkoutserviceapi.RefundResponse.deserializeBinary = function(bytes) {
4299
+ var reader = new jspb.BinaryReader(bytes);
4300
+ var msg = new proto.checkoutserviceapi.RefundResponse;
4301
+ return proto.checkoutserviceapi.RefundResponse.deserializeBinaryFromReader(msg, reader);
4302
+ };
4303
+
4304
+
4305
+ /**
4306
+ * Deserializes binary data (in protobuf wire format) from the
4307
+ * given reader into the given message object.
4308
+ * @param {!proto.checkoutserviceapi.RefundResponse} msg The message object to deserialize into.
4309
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4310
+ * @return {!proto.checkoutserviceapi.RefundResponse}
4311
+ */
4312
+ proto.checkoutserviceapi.RefundResponse.deserializeBinaryFromReader = function(msg, reader) {
4313
+ while (reader.nextField()) {
4314
+ if (reader.isEndGroup()) {
4315
+ break;
4316
+ }
4317
+ var field = reader.getFieldNumber();
4318
+ switch (field) {
4319
+ case 1:
4320
+ var value = new proto.checkoutserviceapi.ResponseCode;
4321
+ reader.readMessage(value,proto.checkoutserviceapi.ResponseCode.deserializeBinaryFromReader);
4322
+ msg.setResponsecode(value);
4323
+ break;
4324
+ case 2:
4325
+ var value = /** @type {string} */ (reader.readString());
4326
+ msg.setStatus(value);
4327
+ break;
4328
+ case 3:
4329
+ var value = /** @type {string} */ (reader.readString());
4330
+ msg.setActionid(value);
4331
+ break;
4332
+ case 4:
4333
+ var value = /** @type {string} */ (reader.readString());
4334
+ msg.setGatewaytransactionid(value);
4335
+ break;
4336
+ case 5:
4337
+ var value = /** @type {string} */ (reader.readString());
4338
+ msg.setResponse(value);
4339
+ break;
4340
+ case 6:
4341
+ var value = /** @type {number} */ (reader.readInt32());
4342
+ msg.setGatewaybankresponsecode(value);
4343
+ break;
4344
+ case 7:
4345
+ var value = /** @type {string} */ (reader.readString());
4346
+ msg.setGatewayresponsemessage(value);
4347
+ break;
4348
+ default:
4349
+ reader.skipField();
4350
+ break;
4351
+ }
4352
+ }
4353
+ return msg;
4354
+ };
4355
+
4356
+
4357
+ /**
4358
+ * Serializes the message to binary data (in protobuf wire format).
4359
+ * @return {!Uint8Array}
4360
+ */
4361
+ proto.checkoutserviceapi.RefundResponse.prototype.serializeBinary = function() {
4362
+ var writer = new jspb.BinaryWriter();
4363
+ proto.checkoutserviceapi.RefundResponse.serializeBinaryToWriter(this, writer);
4364
+ return writer.getResultBuffer();
4365
+ };
4366
+
4367
+
4368
+ /**
4369
+ * Serializes the given message to binary data (in protobuf wire
4370
+ * format), writing to the given BinaryWriter.
4371
+ * @param {!proto.checkoutserviceapi.RefundResponse} message
4372
+ * @param {!jspb.BinaryWriter} writer
4373
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4374
+ */
4375
+ proto.checkoutserviceapi.RefundResponse.serializeBinaryToWriter = function(message, writer) {
4376
+ var f = undefined;
4377
+ f = message.getResponsecode();
4378
+ if (f != null) {
4379
+ writer.writeMessage(
4380
+ 1,
4381
+ f,
4382
+ proto.checkoutserviceapi.ResponseCode.serializeBinaryToWriter
4383
+ );
4384
+ }
4385
+ f = message.getStatus();
4386
+ if (f.length > 0) {
4387
+ writer.writeString(
4388
+ 2,
4389
+ f
4390
+ );
4391
+ }
4392
+ f = message.getActionid();
4393
+ if (f.length > 0) {
4394
+ writer.writeString(
4395
+ 3,
4396
+ f
4397
+ );
4398
+ }
4399
+ f = message.getGatewaytransactionid();
4400
+ if (f.length > 0) {
4401
+ writer.writeString(
4402
+ 4,
4403
+ f
4404
+ );
4405
+ }
4406
+ f = message.getResponse();
4407
+ if (f.length > 0) {
4408
+ writer.writeString(
4409
+ 5,
4410
+ f
4411
+ );
4412
+ }
4413
+ f = message.getGatewaybankresponsecode();
4414
+ if (f !== 0) {
4415
+ writer.writeInt32(
4416
+ 6,
4417
+ f
4418
+ );
4419
+ }
4420
+ f = message.getGatewayresponsemessage();
4421
+ if (f.length > 0) {
4422
+ writer.writeString(
4423
+ 7,
4424
+ f
4425
+ );
4426
+ }
4427
+ };
4428
+
4429
+
4430
+ /**
4431
+ * optional ResponseCode responseCode = 1;
4432
+ * @return {?proto.checkoutserviceapi.ResponseCode}
4433
+ */
4434
+ proto.checkoutserviceapi.RefundResponse.prototype.getResponsecode = function() {
4435
+ return /** @type{?proto.checkoutserviceapi.ResponseCode} */ (
4436
+ jspb.Message.getWrapperField(this, proto.checkoutserviceapi.ResponseCode, 1));
4437
+ };
4438
+
4439
+
4440
+ /**
4441
+ * @param {?proto.checkoutserviceapi.ResponseCode|undefined} value
4442
+ * @return {!proto.checkoutserviceapi.RefundResponse} returns this
4443
+ */
4444
+ proto.checkoutserviceapi.RefundResponse.prototype.setResponsecode = function(value) {
4445
+ return jspb.Message.setWrapperField(this, 1, value);
4446
+ };
4447
+
4448
+
4449
+ /**
4450
+ * Clears the message field making it undefined.
4451
+ * @return {!proto.checkoutserviceapi.RefundResponse} returns this
4452
+ */
4453
+ proto.checkoutserviceapi.RefundResponse.prototype.clearResponsecode = function() {
4454
+ return this.setResponsecode(undefined);
4455
+ };
4456
+
4457
+
4458
+ /**
4459
+ * Returns whether this field is set.
4460
+ * @return {boolean}
4461
+ */
4462
+ proto.checkoutserviceapi.RefundResponse.prototype.hasResponsecode = function() {
4463
+ return jspb.Message.getField(this, 1) != null;
4464
+ };
4465
+
4466
+
4467
+ /**
4468
+ * optional string status = 2;
4469
+ * @return {string}
4470
+ */
4471
+ proto.checkoutserviceapi.RefundResponse.prototype.getStatus = function() {
4472
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
4473
+ };
4474
+
4475
+
4476
+ /**
4477
+ * @param {string} value
4478
+ * @return {!proto.checkoutserviceapi.RefundResponse} returns this
4479
+ */
4480
+ proto.checkoutserviceapi.RefundResponse.prototype.setStatus = function(value) {
4481
+ return jspb.Message.setProto3StringField(this, 2, value);
4482
+ };
4483
+
4484
+
4485
+ /**
4486
+ * optional string actionId = 3;
4487
+ * @return {string}
4488
+ */
4489
+ proto.checkoutserviceapi.RefundResponse.prototype.getActionid = function() {
4490
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
4491
+ };
4492
+
4493
+
4494
+ /**
4495
+ * @param {string} value
4496
+ * @return {!proto.checkoutserviceapi.RefundResponse} returns this
4497
+ */
4498
+ proto.checkoutserviceapi.RefundResponse.prototype.setActionid = function(value) {
4499
+ return jspb.Message.setProto3StringField(this, 3, value);
4500
+ };
4501
+
4502
+
4503
+ /**
4504
+ * optional string gatewayTransactionId = 4;
4505
+ * @return {string}
4506
+ */
4507
+ proto.checkoutserviceapi.RefundResponse.prototype.getGatewaytransactionid = function() {
4508
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
4509
+ };
4510
+
4511
+
4512
+ /**
4513
+ * @param {string} value
4514
+ * @return {!proto.checkoutserviceapi.RefundResponse} returns this
4515
+ */
4516
+ proto.checkoutserviceapi.RefundResponse.prototype.setGatewaytransactionid = function(value) {
4517
+ return jspb.Message.setProto3StringField(this, 4, value);
4518
+ };
4519
+
4520
+
4521
+ /**
4522
+ * optional string response = 5;
4523
+ * @return {string}
4524
+ */
4525
+ proto.checkoutserviceapi.RefundResponse.prototype.getResponse = function() {
4526
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
4527
+ };
4528
+
4529
+
4530
+ /**
4531
+ * @param {string} value
4532
+ * @return {!proto.checkoutserviceapi.RefundResponse} returns this
4533
+ */
4534
+ proto.checkoutserviceapi.RefundResponse.prototype.setResponse = function(value) {
4535
+ return jspb.Message.setProto3StringField(this, 5, value);
4536
+ };
4537
+
4538
+
4539
+ /**
4540
+ * optional int32 gatewayBankResponseCode = 6;
4541
+ * @return {number}
4542
+ */
4543
+ proto.checkoutserviceapi.RefundResponse.prototype.getGatewaybankresponsecode = function() {
4544
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
4545
+ };
4546
+
4547
+
4548
+ /**
4549
+ * @param {number} value
4550
+ * @return {!proto.checkoutserviceapi.RefundResponse} returns this
4551
+ */
4552
+ proto.checkoutserviceapi.RefundResponse.prototype.setGatewaybankresponsecode = function(value) {
4553
+ return jspb.Message.setProto3IntField(this, 6, value);
4554
+ };
4555
+
4556
+
4557
+ /**
4558
+ * optional string gatewayResponseMessage = 7;
4559
+ * @return {string}
4560
+ */
4561
+ proto.checkoutserviceapi.RefundResponse.prototype.getGatewayresponsemessage = function() {
4562
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
4563
+ };
4564
+
4565
+
4566
+ /**
4567
+ * @param {string} value
4568
+ * @return {!proto.checkoutserviceapi.RefundResponse} returns this
4569
+ */
4570
+ proto.checkoutserviceapi.RefundResponse.prototype.setGatewayresponsemessage = function(value) {
4571
+ return jspb.Message.setProto3StringField(this, 7, value);
4572
+ };
4573
+
4574
+
4575
+
4576
+
4577
+
3962
4578
  if (jspb.Message.GENERATE_TO_OBJECT) {
3963
4579
  /**
3964
4580
  * Creates an object representation of this proto.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/checkout-service-client-grpcweb",
3
- "version": "26.6.437",
3
+ "version": "26.6.451",
4
4
  "description": "checkout-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",