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

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,9 @@ 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.RefundReason', null, global);
45
+ goog.exportSymbol('proto.checkoutserviceapi.RefundRequest', null, global);
46
+ goog.exportSymbol('proto.checkoutserviceapi.RefundResponse', null, global);
44
47
  goog.exportSymbol('proto.checkoutserviceapi.ResponseCode', null, global);
45
48
  goog.exportSymbol('proto.checkoutserviceapi.Scope', null, global);
46
49
  goog.exportSymbol('proto.checkoutserviceapi.SettleFile', null, global);
@@ -277,6 +280,48 @@ if (goog.DEBUG && !COMPILED) {
277
280
  */
278
281
  proto.checkoutserviceapi.GetTransactionResponse.displayName = 'proto.checkoutserviceapi.GetTransactionResponse';
279
282
  }
283
+ /**
284
+ * Generated by JsPbCodeGenerator.
285
+ * @param {Array=} opt_data Optional initial data array, typically from a
286
+ * server response, or constructed directly in Javascript. The array is used
287
+ * in place and becomes part of the constructed object. It is not cloned.
288
+ * If no data is provided, the constructed object will be empty, but still
289
+ * valid.
290
+ * @extends {jspb.Message}
291
+ * @constructor
292
+ */
293
+ proto.checkoutserviceapi.RefundRequest = function(opt_data) {
294
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
295
+ };
296
+ goog.inherits(proto.checkoutserviceapi.RefundRequest, jspb.Message);
297
+ if (goog.DEBUG && !COMPILED) {
298
+ /**
299
+ * @public
300
+ * @override
301
+ */
302
+ proto.checkoutserviceapi.RefundRequest.displayName = 'proto.checkoutserviceapi.RefundRequest';
303
+ }
304
+ /**
305
+ * Generated by JsPbCodeGenerator.
306
+ * @param {Array=} opt_data Optional initial data array, typically from a
307
+ * server response, or constructed directly in Javascript. The array is used
308
+ * in place and becomes part of the constructed object. It is not cloned.
309
+ * If no data is provided, the constructed object will be empty, but still
310
+ * valid.
311
+ * @extends {jspb.Message}
312
+ * @constructor
313
+ */
314
+ proto.checkoutserviceapi.RefundResponse = function(opt_data) {
315
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
316
+ };
317
+ goog.inherits(proto.checkoutserviceapi.RefundResponse, jspb.Message);
318
+ if (goog.DEBUG && !COMPILED) {
319
+ /**
320
+ * @public
321
+ * @override
322
+ */
323
+ proto.checkoutserviceapi.RefundResponse.displayName = 'proto.checkoutserviceapi.RefundResponse';
324
+ }
280
325
  /**
281
326
  * Generated by JsPbCodeGenerator.
282
327
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -3677,71 +3722,553 @@ proto.checkoutserviceapi.GetTransactionRequest.deserializeBinary = function(byte
3677
3722
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3678
3723
  * @return {!proto.checkoutserviceapi.GetTransactionRequest}
3679
3724
  */
3680
- proto.checkoutserviceapi.GetTransactionRequest.deserializeBinaryFromReader = function(msg, reader) {
3681
- while (reader.nextField()) {
3682
- if (reader.isEndGroup()) {
3683
- break;
3684
- }
3685
- var field = reader.getFieldNumber();
3686
- switch (field) {
3687
- case 2:
3688
- var value = /** @type {number} */ (reader.readInt64());
3689
- msg.setTransactionid(value);
3690
- break;
3691
- default:
3692
- reader.skipField();
3693
- break;
3694
- }
3695
- }
3696
- return msg;
3725
+ proto.checkoutserviceapi.GetTransactionRequest.deserializeBinaryFromReader = function(msg, reader) {
3726
+ while (reader.nextField()) {
3727
+ if (reader.isEndGroup()) {
3728
+ break;
3729
+ }
3730
+ var field = reader.getFieldNumber();
3731
+ switch (field) {
3732
+ case 2:
3733
+ var value = /** @type {number} */ (reader.readInt64());
3734
+ msg.setTransactionid(value);
3735
+ break;
3736
+ default:
3737
+ reader.skipField();
3738
+ break;
3739
+ }
3740
+ }
3741
+ return msg;
3742
+ };
3743
+
3744
+
3745
+ /**
3746
+ * Serializes the message to binary data (in protobuf wire format).
3747
+ * @return {!Uint8Array}
3748
+ */
3749
+ proto.checkoutserviceapi.GetTransactionRequest.prototype.serializeBinary = function() {
3750
+ var writer = new jspb.BinaryWriter();
3751
+ proto.checkoutserviceapi.GetTransactionRequest.serializeBinaryToWriter(this, writer);
3752
+ return writer.getResultBuffer();
3753
+ };
3754
+
3755
+
3756
+ /**
3757
+ * Serializes the given message to binary data (in protobuf wire
3758
+ * format), writing to the given BinaryWriter.
3759
+ * @param {!proto.checkoutserviceapi.GetTransactionRequest} message
3760
+ * @param {!jspb.BinaryWriter} writer
3761
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3762
+ */
3763
+ proto.checkoutserviceapi.GetTransactionRequest.serializeBinaryToWriter = function(message, writer) {
3764
+ var f = undefined;
3765
+ f = message.getTransactionid();
3766
+ if (f !== 0) {
3767
+ writer.writeInt64(
3768
+ 2,
3769
+ f
3770
+ );
3771
+ }
3772
+ };
3773
+
3774
+
3775
+ /**
3776
+ * optional int64 transactionId = 2;
3777
+ * @return {number}
3778
+ */
3779
+ proto.checkoutserviceapi.GetTransactionRequest.prototype.getTransactionid = function() {
3780
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
3781
+ };
3782
+
3783
+
3784
+ /**
3785
+ * @param {number} value
3786
+ * @return {!proto.checkoutserviceapi.GetTransactionRequest} returns this
3787
+ */
3788
+ proto.checkoutserviceapi.GetTransactionRequest.prototype.setTransactionid = function(value) {
3789
+ return jspb.Message.setProto3IntField(this, 2, value);
3790
+ };
3791
+
3792
+
3793
+
3794
+
3795
+
3796
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3797
+ /**
3798
+ * Creates an object representation of this proto.
3799
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3800
+ * Optional fields that are not set will be set to undefined.
3801
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3802
+ * For the list of reserved names please see:
3803
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3804
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3805
+ * JSPB instance for transitional soy proto support:
3806
+ * http://goto/soy-param-migration
3807
+ * @return {!Object}
3808
+ */
3809
+ proto.checkoutserviceapi.GetTransactionResponse.prototype.toObject = function(opt_includeInstance) {
3810
+ return proto.checkoutserviceapi.GetTransactionResponse.toObject(opt_includeInstance, this);
3811
+ };
3812
+
3813
+
3814
+ /**
3815
+ * Static version of the {@see toObject} method.
3816
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3817
+ * the JSPB instance for transitional soy proto support:
3818
+ * http://goto/soy-param-migration
3819
+ * @param {!proto.checkoutserviceapi.GetTransactionResponse} msg The msg instance to transform.
3820
+ * @return {!Object}
3821
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3822
+ */
3823
+ proto.checkoutserviceapi.GetTransactionResponse.toObject = function(includeInstance, msg) {
3824
+ var f, obj = {
3825
+ transactionid: jspb.Message.getFieldWithDefault(msg, 1, 0),
3826
+ checkoutpaymentid: jspb.Message.getFieldWithDefault(msg, 2, ""),
3827
+ responsecode: (f = msg.getResponsecode()) && proto.checkoutserviceapi.ResponseCode.toObject(includeInstance, f)
3828
+ };
3829
+
3830
+ if (includeInstance) {
3831
+ obj.$jspbMessageInstance = msg;
3832
+ }
3833
+ return obj;
3834
+ };
3835
+ }
3836
+
3837
+
3838
+ /**
3839
+ * Deserializes binary data (in protobuf wire format).
3840
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3841
+ * @return {!proto.checkoutserviceapi.GetTransactionResponse}
3842
+ */
3843
+ proto.checkoutserviceapi.GetTransactionResponse.deserializeBinary = function(bytes) {
3844
+ var reader = new jspb.BinaryReader(bytes);
3845
+ var msg = new proto.checkoutserviceapi.GetTransactionResponse;
3846
+ return proto.checkoutserviceapi.GetTransactionResponse.deserializeBinaryFromReader(msg, reader);
3847
+ };
3848
+
3849
+
3850
+ /**
3851
+ * Deserializes binary data (in protobuf wire format) from the
3852
+ * given reader into the given message object.
3853
+ * @param {!proto.checkoutserviceapi.GetTransactionResponse} msg The message object to deserialize into.
3854
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3855
+ * @return {!proto.checkoutserviceapi.GetTransactionResponse}
3856
+ */
3857
+ proto.checkoutserviceapi.GetTransactionResponse.deserializeBinaryFromReader = function(msg, reader) {
3858
+ while (reader.nextField()) {
3859
+ if (reader.isEndGroup()) {
3860
+ break;
3861
+ }
3862
+ var field = reader.getFieldNumber();
3863
+ switch (field) {
3864
+ case 1:
3865
+ var value = /** @type {number} */ (reader.readInt64());
3866
+ msg.setTransactionid(value);
3867
+ break;
3868
+ case 2:
3869
+ var value = /** @type {string} */ (reader.readString());
3870
+ msg.setCheckoutpaymentid(value);
3871
+ break;
3872
+ case 3:
3873
+ var value = new proto.checkoutserviceapi.ResponseCode;
3874
+ reader.readMessage(value,proto.checkoutserviceapi.ResponseCode.deserializeBinaryFromReader);
3875
+ msg.setResponsecode(value);
3876
+ break;
3877
+ default:
3878
+ reader.skipField();
3879
+ break;
3880
+ }
3881
+ }
3882
+ return msg;
3883
+ };
3884
+
3885
+
3886
+ /**
3887
+ * Serializes the message to binary data (in protobuf wire format).
3888
+ * @return {!Uint8Array}
3889
+ */
3890
+ proto.checkoutserviceapi.GetTransactionResponse.prototype.serializeBinary = function() {
3891
+ var writer = new jspb.BinaryWriter();
3892
+ proto.checkoutserviceapi.GetTransactionResponse.serializeBinaryToWriter(this, writer);
3893
+ return writer.getResultBuffer();
3894
+ };
3895
+
3896
+
3897
+ /**
3898
+ * Serializes the given message to binary data (in protobuf wire
3899
+ * format), writing to the given BinaryWriter.
3900
+ * @param {!proto.checkoutserviceapi.GetTransactionResponse} message
3901
+ * @param {!jspb.BinaryWriter} writer
3902
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3903
+ */
3904
+ proto.checkoutserviceapi.GetTransactionResponse.serializeBinaryToWriter = function(message, writer) {
3905
+ var f = undefined;
3906
+ f = message.getTransactionid();
3907
+ if (f !== 0) {
3908
+ writer.writeInt64(
3909
+ 1,
3910
+ f
3911
+ );
3912
+ }
3913
+ f = message.getCheckoutpaymentid();
3914
+ if (f.length > 0) {
3915
+ writer.writeString(
3916
+ 2,
3917
+ f
3918
+ );
3919
+ }
3920
+ f = message.getResponsecode();
3921
+ if (f != null) {
3922
+ writer.writeMessage(
3923
+ 3,
3924
+ f,
3925
+ proto.checkoutserviceapi.ResponseCode.serializeBinaryToWriter
3926
+ );
3927
+ }
3928
+ };
3929
+
3930
+
3931
+ /**
3932
+ * optional int64 transactionId = 1;
3933
+ * @return {number}
3934
+ */
3935
+ proto.checkoutserviceapi.GetTransactionResponse.prototype.getTransactionid = function() {
3936
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
3937
+ };
3938
+
3939
+
3940
+ /**
3941
+ * @param {number} value
3942
+ * @return {!proto.checkoutserviceapi.GetTransactionResponse} returns this
3943
+ */
3944
+ proto.checkoutserviceapi.GetTransactionResponse.prototype.setTransactionid = function(value) {
3945
+ return jspb.Message.setProto3IntField(this, 1, value);
3946
+ };
3947
+
3948
+
3949
+ /**
3950
+ * optional string checkoutPaymentId = 2;
3951
+ * @return {string}
3952
+ */
3953
+ proto.checkoutserviceapi.GetTransactionResponse.prototype.getCheckoutpaymentid = function() {
3954
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3955
+ };
3956
+
3957
+
3958
+ /**
3959
+ * @param {string} value
3960
+ * @return {!proto.checkoutserviceapi.GetTransactionResponse} returns this
3961
+ */
3962
+ proto.checkoutserviceapi.GetTransactionResponse.prototype.setCheckoutpaymentid = function(value) {
3963
+ return jspb.Message.setProto3StringField(this, 2, value);
3964
+ };
3965
+
3966
+
3967
+ /**
3968
+ * optional ResponseCode ResponseCode = 3;
3969
+ * @return {?proto.checkoutserviceapi.ResponseCode}
3970
+ */
3971
+ proto.checkoutserviceapi.GetTransactionResponse.prototype.getResponsecode = function() {
3972
+ return /** @type{?proto.checkoutserviceapi.ResponseCode} */ (
3973
+ jspb.Message.getWrapperField(this, proto.checkoutserviceapi.ResponseCode, 3));
3974
+ };
3975
+
3976
+
3977
+ /**
3978
+ * @param {?proto.checkoutserviceapi.ResponseCode|undefined} value
3979
+ * @return {!proto.checkoutserviceapi.GetTransactionResponse} returns this
3980
+ */
3981
+ proto.checkoutserviceapi.GetTransactionResponse.prototype.setResponsecode = function(value) {
3982
+ return jspb.Message.setWrapperField(this, 3, value);
3983
+ };
3984
+
3985
+
3986
+ /**
3987
+ * Clears the message field making it undefined.
3988
+ * @return {!proto.checkoutserviceapi.GetTransactionResponse} returns this
3989
+ */
3990
+ proto.checkoutserviceapi.GetTransactionResponse.prototype.clearResponsecode = function() {
3991
+ return this.setResponsecode(undefined);
3992
+ };
3993
+
3994
+
3995
+ /**
3996
+ * Returns whether this field is set.
3997
+ * @return {boolean}
3998
+ */
3999
+ proto.checkoutserviceapi.GetTransactionResponse.prototype.hasResponsecode = function() {
4000
+ return jspb.Message.getField(this, 3) != null;
4001
+ };
4002
+
4003
+
4004
+
4005
+
4006
+
4007
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4008
+ /**
4009
+ * Creates an object representation of this proto.
4010
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4011
+ * Optional fields that are not set will be set to undefined.
4012
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4013
+ * For the list of reserved names please see:
4014
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4015
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4016
+ * JSPB instance for transitional soy proto support:
4017
+ * http://goto/soy-param-migration
4018
+ * @return {!Object}
4019
+ */
4020
+ proto.checkoutserviceapi.RefundRequest.prototype.toObject = function(opt_includeInstance) {
4021
+ return proto.checkoutserviceapi.RefundRequest.toObject(opt_includeInstance, this);
4022
+ };
4023
+
4024
+
4025
+ /**
4026
+ * Static version of the {@see toObject} method.
4027
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4028
+ * the JSPB instance for transitional soy proto support:
4029
+ * http://goto/soy-param-migration
4030
+ * @param {!proto.checkoutserviceapi.RefundRequest} msg The msg instance to transform.
4031
+ * @return {!Object}
4032
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4033
+ */
4034
+ proto.checkoutserviceapi.RefundRequest.toObject = function(includeInstance, msg) {
4035
+ var f, obj = {
4036
+ originalsniiptransactionid: jspb.Message.getFieldWithDefault(msg, 1, 0),
4037
+ refundtransactionid: jspb.Message.getFieldWithDefault(msg, 2, 0),
4038
+ refundamount: (f = msg.getRefundamount()) && google_type_decimal_pb.Decimal.toObject(includeInstance, f),
4039
+ reason: jspb.Message.getFieldWithDefault(msg, 4, 0),
4040
+ reference: jspb.Message.getFieldWithDefault(msg, 5, "")
4041
+ };
4042
+
4043
+ if (includeInstance) {
4044
+ obj.$jspbMessageInstance = msg;
4045
+ }
4046
+ return obj;
4047
+ };
4048
+ }
4049
+
4050
+
4051
+ /**
4052
+ * Deserializes binary data (in protobuf wire format).
4053
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4054
+ * @return {!proto.checkoutserviceapi.RefundRequest}
4055
+ */
4056
+ proto.checkoutserviceapi.RefundRequest.deserializeBinary = function(bytes) {
4057
+ var reader = new jspb.BinaryReader(bytes);
4058
+ var msg = new proto.checkoutserviceapi.RefundRequest;
4059
+ return proto.checkoutserviceapi.RefundRequest.deserializeBinaryFromReader(msg, reader);
4060
+ };
4061
+
4062
+
4063
+ /**
4064
+ * Deserializes binary data (in protobuf wire format) from the
4065
+ * given reader into the given message object.
4066
+ * @param {!proto.checkoutserviceapi.RefundRequest} msg The message object to deserialize into.
4067
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4068
+ * @return {!proto.checkoutserviceapi.RefundRequest}
4069
+ */
4070
+ proto.checkoutserviceapi.RefundRequest.deserializeBinaryFromReader = function(msg, reader) {
4071
+ while (reader.nextField()) {
4072
+ if (reader.isEndGroup()) {
4073
+ break;
4074
+ }
4075
+ var field = reader.getFieldNumber();
4076
+ switch (field) {
4077
+ case 1:
4078
+ var value = /** @type {number} */ (reader.readInt64());
4079
+ msg.setOriginalsniiptransactionid(value);
4080
+ break;
4081
+ case 2:
4082
+ var value = /** @type {number} */ (reader.readInt64());
4083
+ msg.setRefundtransactionid(value);
4084
+ break;
4085
+ case 3:
4086
+ var value = new google_type_decimal_pb.Decimal;
4087
+ reader.readMessage(value,google_type_decimal_pb.Decimal.deserializeBinaryFromReader);
4088
+ msg.setRefundamount(value);
4089
+ break;
4090
+ case 4:
4091
+ var value = /** @type {!proto.checkoutserviceapi.RefundReason} */ (reader.readEnum());
4092
+ msg.setReason(value);
4093
+ break;
4094
+ case 5:
4095
+ var value = /** @type {string} */ (reader.readString());
4096
+ msg.setReference(value);
4097
+ break;
4098
+ default:
4099
+ reader.skipField();
4100
+ break;
4101
+ }
4102
+ }
4103
+ return msg;
4104
+ };
4105
+
4106
+
4107
+ /**
4108
+ * Serializes the message to binary data (in protobuf wire format).
4109
+ * @return {!Uint8Array}
4110
+ */
4111
+ proto.checkoutserviceapi.RefundRequest.prototype.serializeBinary = function() {
4112
+ var writer = new jspb.BinaryWriter();
4113
+ proto.checkoutserviceapi.RefundRequest.serializeBinaryToWriter(this, writer);
4114
+ return writer.getResultBuffer();
4115
+ };
4116
+
4117
+
4118
+ /**
4119
+ * Serializes the given message to binary data (in protobuf wire
4120
+ * format), writing to the given BinaryWriter.
4121
+ * @param {!proto.checkoutserviceapi.RefundRequest} message
4122
+ * @param {!jspb.BinaryWriter} writer
4123
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4124
+ */
4125
+ proto.checkoutserviceapi.RefundRequest.serializeBinaryToWriter = function(message, writer) {
4126
+ var f = undefined;
4127
+ f = message.getOriginalsniiptransactionid();
4128
+ if (f !== 0) {
4129
+ writer.writeInt64(
4130
+ 1,
4131
+ f
4132
+ );
4133
+ }
4134
+ f = message.getRefundtransactionid();
4135
+ if (f !== 0) {
4136
+ writer.writeInt64(
4137
+ 2,
4138
+ f
4139
+ );
4140
+ }
4141
+ f = message.getRefundamount();
4142
+ if (f != null) {
4143
+ writer.writeMessage(
4144
+ 3,
4145
+ f,
4146
+ google_type_decimal_pb.Decimal.serializeBinaryToWriter
4147
+ );
4148
+ }
4149
+ f = message.getReason();
4150
+ if (f !== 0.0) {
4151
+ writer.writeEnum(
4152
+ 4,
4153
+ f
4154
+ );
4155
+ }
4156
+ f = message.getReference();
4157
+ if (f.length > 0) {
4158
+ writer.writeString(
4159
+ 5,
4160
+ f
4161
+ );
4162
+ }
4163
+ };
4164
+
4165
+
4166
+ /**
4167
+ * optional int64 originalSniipTransactionId = 1;
4168
+ * @return {number}
4169
+ */
4170
+ proto.checkoutserviceapi.RefundRequest.prototype.getOriginalsniiptransactionid = function() {
4171
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
4172
+ };
4173
+
4174
+
4175
+ /**
4176
+ * @param {number} value
4177
+ * @return {!proto.checkoutserviceapi.RefundRequest} returns this
4178
+ */
4179
+ proto.checkoutserviceapi.RefundRequest.prototype.setOriginalsniiptransactionid = function(value) {
4180
+ return jspb.Message.setProto3IntField(this, 1, value);
4181
+ };
4182
+
4183
+
4184
+ /**
4185
+ * optional int64 refundTransactionId = 2;
4186
+ * @return {number}
4187
+ */
4188
+ proto.checkoutserviceapi.RefundRequest.prototype.getRefundtransactionid = function() {
4189
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
4190
+ };
4191
+
4192
+
4193
+ /**
4194
+ * @param {number} value
4195
+ * @return {!proto.checkoutserviceapi.RefundRequest} returns this
4196
+ */
4197
+ proto.checkoutserviceapi.RefundRequest.prototype.setRefundtransactionid = function(value) {
4198
+ return jspb.Message.setProto3IntField(this, 2, value);
4199
+ };
4200
+
4201
+
4202
+ /**
4203
+ * optional google.type.Decimal refundAmount = 3;
4204
+ * @return {?proto.google.type.Decimal}
4205
+ */
4206
+ proto.checkoutserviceapi.RefundRequest.prototype.getRefundamount = function() {
4207
+ return /** @type{?proto.google.type.Decimal} */ (
4208
+ jspb.Message.getWrapperField(this, google_type_decimal_pb.Decimal, 3));
4209
+ };
4210
+
4211
+
4212
+ /**
4213
+ * @param {?proto.google.type.Decimal|undefined} value
4214
+ * @return {!proto.checkoutserviceapi.RefundRequest} returns this
4215
+ */
4216
+ proto.checkoutserviceapi.RefundRequest.prototype.setRefundamount = function(value) {
4217
+ return jspb.Message.setWrapperField(this, 3, value);
4218
+ };
4219
+
4220
+
4221
+ /**
4222
+ * Clears the message field making it undefined.
4223
+ * @return {!proto.checkoutserviceapi.RefundRequest} returns this
4224
+ */
4225
+ proto.checkoutserviceapi.RefundRequest.prototype.clearRefundamount = function() {
4226
+ return this.setRefundamount(undefined);
4227
+ };
4228
+
4229
+
4230
+ /**
4231
+ * Returns whether this field is set.
4232
+ * @return {boolean}
4233
+ */
4234
+ proto.checkoutserviceapi.RefundRequest.prototype.hasRefundamount = function() {
4235
+ return jspb.Message.getField(this, 3) != null;
3697
4236
  };
3698
4237
 
3699
4238
 
3700
4239
  /**
3701
- * Serializes the message to binary data (in protobuf wire format).
3702
- * @return {!Uint8Array}
4240
+ * optional RefundReason reason = 4;
4241
+ * @return {!proto.checkoutserviceapi.RefundReason}
3703
4242
  */
3704
- proto.checkoutserviceapi.GetTransactionRequest.prototype.serializeBinary = function() {
3705
- var writer = new jspb.BinaryWriter();
3706
- proto.checkoutserviceapi.GetTransactionRequest.serializeBinaryToWriter(this, writer);
3707
- return writer.getResultBuffer();
4243
+ proto.checkoutserviceapi.RefundRequest.prototype.getReason = function() {
4244
+ return /** @type {!proto.checkoutserviceapi.RefundReason} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
3708
4245
  };
3709
4246
 
3710
4247
 
3711
4248
  /**
3712
- * Serializes the given message to binary data (in protobuf wire
3713
- * format), writing to the given BinaryWriter.
3714
- * @param {!proto.checkoutserviceapi.GetTransactionRequest} message
3715
- * @param {!jspb.BinaryWriter} writer
3716
- * @suppress {unusedLocalVariables} f is only used for nested messages
4249
+ * @param {!proto.checkoutserviceapi.RefundReason} value
4250
+ * @return {!proto.checkoutserviceapi.RefundRequest} returns this
3717
4251
  */
3718
- proto.checkoutserviceapi.GetTransactionRequest.serializeBinaryToWriter = function(message, writer) {
3719
- var f = undefined;
3720
- f = message.getTransactionid();
3721
- if (f !== 0) {
3722
- writer.writeInt64(
3723
- 2,
3724
- f
3725
- );
3726
- }
4252
+ proto.checkoutserviceapi.RefundRequest.prototype.setReason = function(value) {
4253
+ return jspb.Message.setProto3EnumField(this, 4, value);
3727
4254
  };
3728
4255
 
3729
4256
 
3730
4257
  /**
3731
- * optional int64 transactionId = 2;
3732
- * @return {number}
4258
+ * optional string reference = 5;
4259
+ * @return {string}
3733
4260
  */
3734
- proto.checkoutserviceapi.GetTransactionRequest.prototype.getTransactionid = function() {
3735
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
4261
+ proto.checkoutserviceapi.RefundRequest.prototype.getReference = function() {
4262
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
3736
4263
  };
3737
4264
 
3738
4265
 
3739
4266
  /**
3740
- * @param {number} value
3741
- * @return {!proto.checkoutserviceapi.GetTransactionRequest} returns this
4267
+ * @param {string} value
4268
+ * @return {!proto.checkoutserviceapi.RefundRequest} returns this
3742
4269
  */
3743
- proto.checkoutserviceapi.GetTransactionRequest.prototype.setTransactionid = function(value) {
3744
- return jspb.Message.setProto3IntField(this, 2, value);
4270
+ proto.checkoutserviceapi.RefundRequest.prototype.setReference = function(value) {
4271
+ return jspb.Message.setProto3StringField(this, 5, value);
3745
4272
  };
3746
4273
 
3747
4274
 
@@ -3761,8 +4288,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
3761
4288
  * http://goto/soy-param-migration
3762
4289
  * @return {!Object}
3763
4290
  */
3764
- proto.checkoutserviceapi.GetTransactionResponse.prototype.toObject = function(opt_includeInstance) {
3765
- return proto.checkoutserviceapi.GetTransactionResponse.toObject(opt_includeInstance, this);
4291
+ proto.checkoutserviceapi.RefundResponse.prototype.toObject = function(opt_includeInstance) {
4292
+ return proto.checkoutserviceapi.RefundResponse.toObject(opt_includeInstance, this);
3766
4293
  };
3767
4294
 
3768
4295
 
@@ -3771,15 +4298,19 @@ proto.checkoutserviceapi.GetTransactionResponse.prototype.toObject = function(op
3771
4298
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3772
4299
  * the JSPB instance for transitional soy proto support:
3773
4300
  * http://goto/soy-param-migration
3774
- * @param {!proto.checkoutserviceapi.GetTransactionResponse} msg The msg instance to transform.
4301
+ * @param {!proto.checkoutserviceapi.RefundResponse} msg The msg instance to transform.
3775
4302
  * @return {!Object}
3776
4303
  * @suppress {unusedLocalVariables} f is only used for nested messages
3777
4304
  */
3778
- proto.checkoutserviceapi.GetTransactionResponse.toObject = function(includeInstance, msg) {
4305
+ proto.checkoutserviceapi.RefundResponse.toObject = function(includeInstance, msg) {
3779
4306
  var f, obj = {
3780
- transactionid: jspb.Message.getFieldWithDefault(msg, 1, 0),
3781
- checkoutpaymentid: jspb.Message.getFieldWithDefault(msg, 2, ""),
3782
- responsecode: (f = msg.getResponsecode()) && proto.checkoutserviceapi.ResponseCode.toObject(includeInstance, f)
4307
+ responsecode: (f = msg.getResponsecode()) && proto.checkoutserviceapi.ResponseCode.toObject(includeInstance, f),
4308
+ status: jspb.Message.getFieldWithDefault(msg, 2, ""),
4309
+ actionid: jspb.Message.getFieldWithDefault(msg, 3, ""),
4310
+ gatewaytransactionid: jspb.Message.getFieldWithDefault(msg, 4, ""),
4311
+ response: jspb.Message.getFieldWithDefault(msg, 5, ""),
4312
+ gatewaybankresponsecode: jspb.Message.getFieldWithDefault(msg, 6, 0),
4313
+ gatewayresponsemessage: jspb.Message.getFieldWithDefault(msg, 7, "")
3783
4314
  };
3784
4315
 
3785
4316
  if (includeInstance) {
@@ -3793,23 +4324,23 @@ proto.checkoutserviceapi.GetTransactionResponse.toObject = function(includeInsta
3793
4324
  /**
3794
4325
  * Deserializes binary data (in protobuf wire format).
3795
4326
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
3796
- * @return {!proto.checkoutserviceapi.GetTransactionResponse}
4327
+ * @return {!proto.checkoutserviceapi.RefundResponse}
3797
4328
  */
3798
- proto.checkoutserviceapi.GetTransactionResponse.deserializeBinary = function(bytes) {
4329
+ proto.checkoutserviceapi.RefundResponse.deserializeBinary = function(bytes) {
3799
4330
  var reader = new jspb.BinaryReader(bytes);
3800
- var msg = new proto.checkoutserviceapi.GetTransactionResponse;
3801
- return proto.checkoutserviceapi.GetTransactionResponse.deserializeBinaryFromReader(msg, reader);
4331
+ var msg = new proto.checkoutserviceapi.RefundResponse;
4332
+ return proto.checkoutserviceapi.RefundResponse.deserializeBinaryFromReader(msg, reader);
3802
4333
  };
3803
4334
 
3804
4335
 
3805
4336
  /**
3806
4337
  * Deserializes binary data (in protobuf wire format) from the
3807
4338
  * given reader into the given message object.
3808
- * @param {!proto.checkoutserviceapi.GetTransactionResponse} msg The message object to deserialize into.
4339
+ * @param {!proto.checkoutserviceapi.RefundResponse} msg The message object to deserialize into.
3809
4340
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3810
- * @return {!proto.checkoutserviceapi.GetTransactionResponse}
4341
+ * @return {!proto.checkoutserviceapi.RefundResponse}
3811
4342
  */
3812
- proto.checkoutserviceapi.GetTransactionResponse.deserializeBinaryFromReader = function(msg, reader) {
4343
+ proto.checkoutserviceapi.RefundResponse.deserializeBinaryFromReader = function(msg, reader) {
3813
4344
  while (reader.nextField()) {
3814
4345
  if (reader.isEndGroup()) {
3815
4346
  break;
@@ -3817,17 +4348,33 @@ proto.checkoutserviceapi.GetTransactionResponse.deserializeBinaryFromReader = fu
3817
4348
  var field = reader.getFieldNumber();
3818
4349
  switch (field) {
3819
4350
  case 1:
3820
- var value = /** @type {number} */ (reader.readInt64());
3821
- msg.setTransactionid(value);
4351
+ var value = new proto.checkoutserviceapi.ResponseCode;
4352
+ reader.readMessage(value,proto.checkoutserviceapi.ResponseCode.deserializeBinaryFromReader);
4353
+ msg.setResponsecode(value);
3822
4354
  break;
3823
4355
  case 2:
3824
4356
  var value = /** @type {string} */ (reader.readString());
3825
- msg.setCheckoutpaymentid(value);
4357
+ msg.setStatus(value);
3826
4358
  break;
3827
4359
  case 3:
3828
- var value = new proto.checkoutserviceapi.ResponseCode;
3829
- reader.readMessage(value,proto.checkoutserviceapi.ResponseCode.deserializeBinaryFromReader);
3830
- msg.setResponsecode(value);
4360
+ var value = /** @type {string} */ (reader.readString());
4361
+ msg.setActionid(value);
4362
+ break;
4363
+ case 4:
4364
+ var value = /** @type {string} */ (reader.readString());
4365
+ msg.setGatewaytransactionid(value);
4366
+ break;
4367
+ case 5:
4368
+ var value = /** @type {string} */ (reader.readString());
4369
+ msg.setResponse(value);
4370
+ break;
4371
+ case 6:
4372
+ var value = /** @type {number} */ (reader.readInt32());
4373
+ msg.setGatewaybankresponsecode(value);
4374
+ break;
4375
+ case 7:
4376
+ var value = /** @type {string} */ (reader.readString());
4377
+ msg.setGatewayresponsemessage(value);
3831
4378
  break;
3832
4379
  default:
3833
4380
  reader.skipField();
@@ -3842,9 +4389,9 @@ proto.checkoutserviceapi.GetTransactionResponse.deserializeBinaryFromReader = fu
3842
4389
  * Serializes the message to binary data (in protobuf wire format).
3843
4390
  * @return {!Uint8Array}
3844
4391
  */
3845
- proto.checkoutserviceapi.GetTransactionResponse.prototype.serializeBinary = function() {
4392
+ proto.checkoutserviceapi.RefundResponse.prototype.serializeBinary = function() {
3846
4393
  var writer = new jspb.BinaryWriter();
3847
- proto.checkoutserviceapi.GetTransactionResponse.serializeBinaryToWriter(this, writer);
4394
+ proto.checkoutserviceapi.RefundResponse.serializeBinaryToWriter(this, writer);
3848
4395
  return writer.getResultBuffer();
3849
4396
  };
3850
4397
 
@@ -3852,107 +4399,207 @@ proto.checkoutserviceapi.GetTransactionResponse.prototype.serializeBinary = func
3852
4399
  /**
3853
4400
  * Serializes the given message to binary data (in protobuf wire
3854
4401
  * format), writing to the given BinaryWriter.
3855
- * @param {!proto.checkoutserviceapi.GetTransactionResponse} message
4402
+ * @param {!proto.checkoutserviceapi.RefundResponse} message
3856
4403
  * @param {!jspb.BinaryWriter} writer
3857
4404
  * @suppress {unusedLocalVariables} f is only used for nested messages
3858
4405
  */
3859
- proto.checkoutserviceapi.GetTransactionResponse.serializeBinaryToWriter = function(message, writer) {
4406
+ proto.checkoutserviceapi.RefundResponse.serializeBinaryToWriter = function(message, writer) {
3860
4407
  var f = undefined;
3861
- f = message.getTransactionid();
3862
- if (f !== 0) {
3863
- writer.writeInt64(
4408
+ f = message.getResponsecode();
4409
+ if (f != null) {
4410
+ writer.writeMessage(
3864
4411
  1,
3865
- f
4412
+ f,
4413
+ proto.checkoutserviceapi.ResponseCode.serializeBinaryToWriter
3866
4414
  );
3867
4415
  }
3868
- f = message.getCheckoutpaymentid();
4416
+ f = message.getStatus();
3869
4417
  if (f.length > 0) {
3870
4418
  writer.writeString(
3871
4419
  2,
3872
4420
  f
3873
4421
  );
3874
4422
  }
3875
- f = message.getResponsecode();
3876
- if (f != null) {
3877
- writer.writeMessage(
4423
+ f = message.getActionid();
4424
+ if (f.length > 0) {
4425
+ writer.writeString(
3878
4426
  3,
3879
- f,
3880
- proto.checkoutserviceapi.ResponseCode.serializeBinaryToWriter
4427
+ f
4428
+ );
4429
+ }
4430
+ f = message.getGatewaytransactionid();
4431
+ if (f.length > 0) {
4432
+ writer.writeString(
4433
+ 4,
4434
+ f
4435
+ );
4436
+ }
4437
+ f = message.getResponse();
4438
+ if (f.length > 0) {
4439
+ writer.writeString(
4440
+ 5,
4441
+ f
4442
+ );
4443
+ }
4444
+ f = message.getGatewaybankresponsecode();
4445
+ if (f !== 0) {
4446
+ writer.writeInt32(
4447
+ 6,
4448
+ f
4449
+ );
4450
+ }
4451
+ f = message.getGatewayresponsemessage();
4452
+ if (f.length > 0) {
4453
+ writer.writeString(
4454
+ 7,
4455
+ f
3881
4456
  );
3882
4457
  }
3883
4458
  };
3884
4459
 
3885
4460
 
3886
4461
  /**
3887
- * optional int64 transactionId = 1;
3888
- * @return {number}
4462
+ * optional ResponseCode responseCode = 1;
4463
+ * @return {?proto.checkoutserviceapi.ResponseCode}
3889
4464
  */
3890
- proto.checkoutserviceapi.GetTransactionResponse.prototype.getTransactionid = function() {
3891
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
4465
+ proto.checkoutserviceapi.RefundResponse.prototype.getResponsecode = function() {
4466
+ return /** @type{?proto.checkoutserviceapi.ResponseCode} */ (
4467
+ jspb.Message.getWrapperField(this, proto.checkoutserviceapi.ResponseCode, 1));
3892
4468
  };
3893
4469
 
3894
4470
 
3895
4471
  /**
3896
- * @param {number} value
3897
- * @return {!proto.checkoutserviceapi.GetTransactionResponse} returns this
4472
+ * @param {?proto.checkoutserviceapi.ResponseCode|undefined} value
4473
+ * @return {!proto.checkoutserviceapi.RefundResponse} returns this
4474
+ */
4475
+ proto.checkoutserviceapi.RefundResponse.prototype.setResponsecode = function(value) {
4476
+ return jspb.Message.setWrapperField(this, 1, value);
4477
+ };
4478
+
4479
+
4480
+ /**
4481
+ * Clears the message field making it undefined.
4482
+ * @return {!proto.checkoutserviceapi.RefundResponse} returns this
3898
4483
  */
3899
- proto.checkoutserviceapi.GetTransactionResponse.prototype.setTransactionid = function(value) {
3900
- return jspb.Message.setProto3IntField(this, 1, value);
4484
+ proto.checkoutserviceapi.RefundResponse.prototype.clearResponsecode = function() {
4485
+ return this.setResponsecode(undefined);
3901
4486
  };
3902
4487
 
3903
4488
 
3904
4489
  /**
3905
- * optional string checkoutPaymentId = 2;
4490
+ * Returns whether this field is set.
4491
+ * @return {boolean}
4492
+ */
4493
+ proto.checkoutserviceapi.RefundResponse.prototype.hasResponsecode = function() {
4494
+ return jspb.Message.getField(this, 1) != null;
4495
+ };
4496
+
4497
+
4498
+ /**
4499
+ * optional string status = 2;
3906
4500
  * @return {string}
3907
4501
  */
3908
- proto.checkoutserviceapi.GetTransactionResponse.prototype.getCheckoutpaymentid = function() {
4502
+ proto.checkoutserviceapi.RefundResponse.prototype.getStatus = function() {
3909
4503
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3910
4504
  };
3911
4505
 
3912
4506
 
3913
4507
  /**
3914
4508
  * @param {string} value
3915
- * @return {!proto.checkoutserviceapi.GetTransactionResponse} returns this
4509
+ * @return {!proto.checkoutserviceapi.RefundResponse} returns this
3916
4510
  */
3917
- proto.checkoutserviceapi.GetTransactionResponse.prototype.setCheckoutpaymentid = function(value) {
4511
+ proto.checkoutserviceapi.RefundResponse.prototype.setStatus = function(value) {
3918
4512
  return jspb.Message.setProto3StringField(this, 2, value);
3919
4513
  };
3920
4514
 
3921
4515
 
3922
4516
  /**
3923
- * optional ResponseCode ResponseCode = 3;
3924
- * @return {?proto.checkoutserviceapi.ResponseCode}
4517
+ * optional string actionId = 3;
4518
+ * @return {string}
3925
4519
  */
3926
- proto.checkoutserviceapi.GetTransactionResponse.prototype.getResponsecode = function() {
3927
- return /** @type{?proto.checkoutserviceapi.ResponseCode} */ (
3928
- jspb.Message.getWrapperField(this, proto.checkoutserviceapi.ResponseCode, 3));
4520
+ proto.checkoutserviceapi.RefundResponse.prototype.getActionid = function() {
4521
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
3929
4522
  };
3930
4523
 
3931
4524
 
3932
4525
  /**
3933
- * @param {?proto.checkoutserviceapi.ResponseCode|undefined} value
3934
- * @return {!proto.checkoutserviceapi.GetTransactionResponse} returns this
3935
- */
3936
- proto.checkoutserviceapi.GetTransactionResponse.prototype.setResponsecode = function(value) {
3937
- return jspb.Message.setWrapperField(this, 3, value);
4526
+ * @param {string} value
4527
+ * @return {!proto.checkoutserviceapi.RefundResponse} returns this
4528
+ */
4529
+ proto.checkoutserviceapi.RefundResponse.prototype.setActionid = function(value) {
4530
+ return jspb.Message.setProto3StringField(this, 3, value);
3938
4531
  };
3939
4532
 
3940
4533
 
3941
4534
  /**
3942
- * Clears the message field making it undefined.
3943
- * @return {!proto.checkoutserviceapi.GetTransactionResponse} returns this
4535
+ * optional string gatewayTransactionId = 4;
4536
+ * @return {string}
3944
4537
  */
3945
- proto.checkoutserviceapi.GetTransactionResponse.prototype.clearResponsecode = function() {
3946
- return this.setResponsecode(undefined);
4538
+ proto.checkoutserviceapi.RefundResponse.prototype.getGatewaytransactionid = function() {
4539
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
3947
4540
  };
3948
4541
 
3949
4542
 
3950
4543
  /**
3951
- * Returns whether this field is set.
3952
- * @return {boolean}
4544
+ * @param {string} value
4545
+ * @return {!proto.checkoutserviceapi.RefundResponse} returns this
3953
4546
  */
3954
- proto.checkoutserviceapi.GetTransactionResponse.prototype.hasResponsecode = function() {
3955
- return jspb.Message.getField(this, 3) != null;
4547
+ proto.checkoutserviceapi.RefundResponse.prototype.setGatewaytransactionid = function(value) {
4548
+ return jspb.Message.setProto3StringField(this, 4, value);
4549
+ };
4550
+
4551
+
4552
+ /**
4553
+ * optional string response = 5;
4554
+ * @return {string}
4555
+ */
4556
+ proto.checkoutserviceapi.RefundResponse.prototype.getResponse = function() {
4557
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
4558
+ };
4559
+
4560
+
4561
+ /**
4562
+ * @param {string} value
4563
+ * @return {!proto.checkoutserviceapi.RefundResponse} returns this
4564
+ */
4565
+ proto.checkoutserviceapi.RefundResponse.prototype.setResponse = function(value) {
4566
+ return jspb.Message.setProto3StringField(this, 5, value);
4567
+ };
4568
+
4569
+
4570
+ /**
4571
+ * optional int32 gatewayBankResponseCode = 6;
4572
+ * @return {number}
4573
+ */
4574
+ proto.checkoutserviceapi.RefundResponse.prototype.getGatewaybankresponsecode = function() {
4575
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
4576
+ };
4577
+
4578
+
4579
+ /**
4580
+ * @param {number} value
4581
+ * @return {!proto.checkoutserviceapi.RefundResponse} returns this
4582
+ */
4583
+ proto.checkoutserviceapi.RefundResponse.prototype.setGatewaybankresponsecode = function(value) {
4584
+ return jspb.Message.setProto3IntField(this, 6, value);
4585
+ };
4586
+
4587
+
4588
+ /**
4589
+ * optional string gatewayResponseMessage = 7;
4590
+ * @return {string}
4591
+ */
4592
+ proto.checkoutserviceapi.RefundResponse.prototype.getGatewayresponsemessage = function() {
4593
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
4594
+ };
4595
+
4596
+
4597
+ /**
4598
+ * @param {string} value
4599
+ * @return {!proto.checkoutserviceapi.RefundResponse} returns this
4600
+ */
4601
+ proto.checkoutserviceapi.RefundResponse.prototype.setGatewayresponsemessage = function(value) {
4602
+ return jspb.Message.setProto3StringField(this, 7, value);
3956
4603
  };
3957
4604
 
3958
4605
 
@@ -12550,4 +13197,14 @@ proto.checkoutserviceapi.CheckoutPaymentType = {
12550
13197
  CHECKOUT_PAYMENT_TYPE_GOOGLE_PAY: 3
12551
13198
  };
12552
13199
 
13200
+ /**
13201
+ * @enum {number}
13202
+ */
13203
+ proto.checkoutserviceapi.RefundReason = {
13204
+ REFUND_REASON_UNSPECIFIED: 0,
13205
+ REFUND_REASON_REQUESTED_BY_CUSTOMER: 1,
13206
+ REFUND_REASON_DUPLICATE: 2,
13207
+ REFUND_REASON_FRAUDULENT: 3
13208
+ };
13209
+
12553
13210
  goog.object.extend(exports, proto.checkoutserviceapi);
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.445",
4
4
  "description": "checkout-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",