@sniipwebmaster/transaction-service-client-grpcweb 26.7.15193 → 26.7.15215
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.
|
@@ -3366,13 +3366,13 @@ proto.sniiptransactionapi.SniipTransactionAPIServicePromiseClient.prototype.requ
|
|
|
3366
3366
|
* @const
|
|
3367
3367
|
* @type {!grpc.web.MethodDescriptor<
|
|
3368
3368
|
* !proto.sniiptransactionapi.RequestRefundTransactionRequest,
|
|
3369
|
-
* !proto.sniiptransactionapi.
|
|
3369
|
+
* !proto.sniiptransactionapi.RequestRefundTransactionResponse>}
|
|
3370
3370
|
*/
|
|
3371
3371
|
const methodDescriptor_SniipTransactionAPIService_RequestRefundTransaction = new grpc.web.MethodDescriptor(
|
|
3372
3372
|
'/sniiptransactionapi.SniipTransactionAPIService/RequestRefundTransaction',
|
|
3373
3373
|
grpc.web.MethodType.UNARY,
|
|
3374
3374
|
proto.sniiptransactionapi.RequestRefundTransactionRequest,
|
|
3375
|
-
proto.sniiptransactionapi.
|
|
3375
|
+
proto.sniiptransactionapi.RequestRefundTransactionResponse,
|
|
3376
3376
|
/**
|
|
3377
3377
|
* @param {!proto.sniiptransactionapi.RequestRefundTransactionRequest} request
|
|
3378
3378
|
* @return {!Uint8Array}
|
|
@@ -3380,7 +3380,7 @@ const methodDescriptor_SniipTransactionAPIService_RequestRefundTransaction = new
|
|
|
3380
3380
|
function(request) {
|
|
3381
3381
|
return request.serializeBinary();
|
|
3382
3382
|
},
|
|
3383
|
-
proto.sniiptransactionapi.
|
|
3383
|
+
proto.sniiptransactionapi.RequestRefundTransactionResponse.deserializeBinary
|
|
3384
3384
|
);
|
|
3385
3385
|
|
|
3386
3386
|
|
|
@@ -3389,9 +3389,9 @@ const methodDescriptor_SniipTransactionAPIService_RequestRefundTransaction = new
|
|
|
3389
3389
|
* request proto
|
|
3390
3390
|
* @param {?Object<string, string>} metadata User defined
|
|
3391
3391
|
* call metadata
|
|
3392
|
-
* @param {function(?grpc.web.RpcError, ?proto.sniiptransactionapi.
|
|
3392
|
+
* @param {function(?grpc.web.RpcError, ?proto.sniiptransactionapi.RequestRefundTransactionResponse)}
|
|
3393
3393
|
* callback The callback function(error, response)
|
|
3394
|
-
* @return {!grpc.web.ClientReadableStream<!proto.sniiptransactionapi.
|
|
3394
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniiptransactionapi.RequestRefundTransactionResponse>|undefined}
|
|
3395
3395
|
* The XHR Node Readable Stream
|
|
3396
3396
|
*/
|
|
3397
3397
|
proto.sniiptransactionapi.SniipTransactionAPIServiceClient.prototype.requestRefundTransaction =
|
|
@@ -3410,7 +3410,7 @@ proto.sniiptransactionapi.SniipTransactionAPIServiceClient.prototype.requestRefu
|
|
|
3410
3410
|
* request proto
|
|
3411
3411
|
* @param {?Object<string, string>=} metadata User defined
|
|
3412
3412
|
* call metadata
|
|
3413
|
-
* @return {!Promise<!proto.sniiptransactionapi.
|
|
3413
|
+
* @return {!Promise<!proto.sniiptransactionapi.RequestRefundTransactionResponse>}
|
|
3414
3414
|
* Promise that resolves to the response
|
|
3415
3415
|
*/
|
|
3416
3416
|
proto.sniiptransactionapi.SniipTransactionAPIServicePromiseClient.prototype.requestRefundTransaction =
|
|
@@ -157,6 +157,7 @@ goog.exportSymbol('proto.sniiptransactionapi.RefundSuccessfulRequest', null, glo
|
|
|
157
157
|
goog.exportSymbol('proto.sniiptransactionapi.RefundSummary', null, global);
|
|
158
158
|
goog.exportSymbol('proto.sniiptransactionapi.RequestQuarantineTransactionRequest', null, global);
|
|
159
159
|
goog.exportSymbol('proto.sniiptransactionapi.RequestRefundTransactionRequest', null, global);
|
|
160
|
+
goog.exportSymbol('proto.sniiptransactionapi.RequestRefundTransactionResponse', null, global);
|
|
160
161
|
goog.exportSymbol('proto.sniiptransactionapi.ResetSettledTransactionRequest', null, global);
|
|
161
162
|
goog.exportSymbol('proto.sniiptransactionapi.ResponseCode', null, global);
|
|
162
163
|
goog.exportSymbol('proto.sniiptransactionapi.ShareBillReceiptEmailRequest', null, global);
|
|
@@ -3010,6 +3011,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
3010
3011
|
*/
|
|
3011
3012
|
proto.sniiptransactionapi.TransactionRequestQuarantineRequest.displayName = 'proto.sniiptransactionapi.TransactionRequestQuarantineRequest';
|
|
3012
3013
|
}
|
|
3014
|
+
/**
|
|
3015
|
+
* Generated by JsPbCodeGenerator.
|
|
3016
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3017
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3018
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3019
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3020
|
+
* valid.
|
|
3021
|
+
* @extends {jspb.Message}
|
|
3022
|
+
* @constructor
|
|
3023
|
+
*/
|
|
3024
|
+
proto.sniiptransactionapi.RequestRefundTransactionResponse = function(opt_data) {
|
|
3025
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3026
|
+
};
|
|
3027
|
+
goog.inherits(proto.sniiptransactionapi.RequestRefundTransactionResponse, jspb.Message);
|
|
3028
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3029
|
+
/**
|
|
3030
|
+
* @public
|
|
3031
|
+
* @override
|
|
3032
|
+
*/
|
|
3033
|
+
proto.sniiptransactionapi.RequestRefundTransactionResponse.displayName = 'proto.sniiptransactionapi.RequestRefundTransactionResponse';
|
|
3034
|
+
}
|
|
3013
3035
|
/**
|
|
3014
3036
|
* Generated by JsPbCodeGenerator.
|
|
3015
3037
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -41566,6 +41588,187 @@ proto.sniiptransactionapi.TransactionRequestQuarantineRequest.prototype.setIssue
|
|
|
41566
41588
|
|
|
41567
41589
|
|
|
41568
41590
|
|
|
41591
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
41592
|
+
/**
|
|
41593
|
+
* Creates an object representation of this proto.
|
|
41594
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
41595
|
+
* Optional fields that are not set will be set to undefined.
|
|
41596
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
41597
|
+
* For the list of reserved names please see:
|
|
41598
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
41599
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
41600
|
+
* JSPB instance for transitional soy proto support:
|
|
41601
|
+
* http://goto/soy-param-migration
|
|
41602
|
+
* @return {!Object}
|
|
41603
|
+
*/
|
|
41604
|
+
proto.sniiptransactionapi.RequestRefundTransactionResponse.prototype.toObject = function(opt_includeInstance) {
|
|
41605
|
+
return proto.sniiptransactionapi.RequestRefundTransactionResponse.toObject(opt_includeInstance, this);
|
|
41606
|
+
};
|
|
41607
|
+
|
|
41608
|
+
|
|
41609
|
+
/**
|
|
41610
|
+
* Static version of the {@see toObject} method.
|
|
41611
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
41612
|
+
* the JSPB instance for transitional soy proto support:
|
|
41613
|
+
* http://goto/soy-param-migration
|
|
41614
|
+
* @param {!proto.sniiptransactionapi.RequestRefundTransactionResponse} msg The msg instance to transform.
|
|
41615
|
+
* @return {!Object}
|
|
41616
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
41617
|
+
*/
|
|
41618
|
+
proto.sniiptransactionapi.RequestRefundTransactionResponse.toObject = function(includeInstance, msg) {
|
|
41619
|
+
var f, obj = {
|
|
41620
|
+
responsecode: (f = msg.getResponsecode()) && proto.sniiptransactionapi.ResponseCode.toObject(includeInstance, f),
|
|
41621
|
+
refundtransactionid: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
41622
|
+
};
|
|
41623
|
+
|
|
41624
|
+
if (includeInstance) {
|
|
41625
|
+
obj.$jspbMessageInstance = msg;
|
|
41626
|
+
}
|
|
41627
|
+
return obj;
|
|
41628
|
+
};
|
|
41629
|
+
}
|
|
41630
|
+
|
|
41631
|
+
|
|
41632
|
+
/**
|
|
41633
|
+
* Deserializes binary data (in protobuf wire format).
|
|
41634
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
41635
|
+
* @return {!proto.sniiptransactionapi.RequestRefundTransactionResponse}
|
|
41636
|
+
*/
|
|
41637
|
+
proto.sniiptransactionapi.RequestRefundTransactionResponse.deserializeBinary = function(bytes) {
|
|
41638
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
41639
|
+
var msg = new proto.sniiptransactionapi.RequestRefundTransactionResponse;
|
|
41640
|
+
return proto.sniiptransactionapi.RequestRefundTransactionResponse.deserializeBinaryFromReader(msg, reader);
|
|
41641
|
+
};
|
|
41642
|
+
|
|
41643
|
+
|
|
41644
|
+
/**
|
|
41645
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
41646
|
+
* given reader into the given message object.
|
|
41647
|
+
* @param {!proto.sniiptransactionapi.RequestRefundTransactionResponse} msg The message object to deserialize into.
|
|
41648
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
41649
|
+
* @return {!proto.sniiptransactionapi.RequestRefundTransactionResponse}
|
|
41650
|
+
*/
|
|
41651
|
+
proto.sniiptransactionapi.RequestRefundTransactionResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
41652
|
+
while (reader.nextField()) {
|
|
41653
|
+
if (reader.isEndGroup()) {
|
|
41654
|
+
break;
|
|
41655
|
+
}
|
|
41656
|
+
var field = reader.getFieldNumber();
|
|
41657
|
+
switch (field) {
|
|
41658
|
+
case 1:
|
|
41659
|
+
var value = new proto.sniiptransactionapi.ResponseCode;
|
|
41660
|
+
reader.readMessage(value,proto.sniiptransactionapi.ResponseCode.deserializeBinaryFromReader);
|
|
41661
|
+
msg.setResponsecode(value);
|
|
41662
|
+
break;
|
|
41663
|
+
case 2:
|
|
41664
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
41665
|
+
msg.setRefundtransactionid(value);
|
|
41666
|
+
break;
|
|
41667
|
+
default:
|
|
41668
|
+
reader.skipField();
|
|
41669
|
+
break;
|
|
41670
|
+
}
|
|
41671
|
+
}
|
|
41672
|
+
return msg;
|
|
41673
|
+
};
|
|
41674
|
+
|
|
41675
|
+
|
|
41676
|
+
/**
|
|
41677
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
41678
|
+
* @return {!Uint8Array}
|
|
41679
|
+
*/
|
|
41680
|
+
proto.sniiptransactionapi.RequestRefundTransactionResponse.prototype.serializeBinary = function() {
|
|
41681
|
+
var writer = new jspb.BinaryWriter();
|
|
41682
|
+
proto.sniiptransactionapi.RequestRefundTransactionResponse.serializeBinaryToWriter(this, writer);
|
|
41683
|
+
return writer.getResultBuffer();
|
|
41684
|
+
};
|
|
41685
|
+
|
|
41686
|
+
|
|
41687
|
+
/**
|
|
41688
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
41689
|
+
* format), writing to the given BinaryWriter.
|
|
41690
|
+
* @param {!proto.sniiptransactionapi.RequestRefundTransactionResponse} message
|
|
41691
|
+
* @param {!jspb.BinaryWriter} writer
|
|
41692
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
41693
|
+
*/
|
|
41694
|
+
proto.sniiptransactionapi.RequestRefundTransactionResponse.serializeBinaryToWriter = function(message, writer) {
|
|
41695
|
+
var f = undefined;
|
|
41696
|
+
f = message.getResponsecode();
|
|
41697
|
+
if (f != null) {
|
|
41698
|
+
writer.writeMessage(
|
|
41699
|
+
1,
|
|
41700
|
+
f,
|
|
41701
|
+
proto.sniiptransactionapi.ResponseCode.serializeBinaryToWriter
|
|
41702
|
+
);
|
|
41703
|
+
}
|
|
41704
|
+
f = message.getRefundtransactionid();
|
|
41705
|
+
if (f !== 0) {
|
|
41706
|
+
writer.writeInt64(
|
|
41707
|
+
2,
|
|
41708
|
+
f
|
|
41709
|
+
);
|
|
41710
|
+
}
|
|
41711
|
+
};
|
|
41712
|
+
|
|
41713
|
+
|
|
41714
|
+
/**
|
|
41715
|
+
* optional ResponseCode responseCode = 1;
|
|
41716
|
+
* @return {?proto.sniiptransactionapi.ResponseCode}
|
|
41717
|
+
*/
|
|
41718
|
+
proto.sniiptransactionapi.RequestRefundTransactionResponse.prototype.getResponsecode = function() {
|
|
41719
|
+
return /** @type{?proto.sniiptransactionapi.ResponseCode} */ (
|
|
41720
|
+
jspb.Message.getWrapperField(this, proto.sniiptransactionapi.ResponseCode, 1));
|
|
41721
|
+
};
|
|
41722
|
+
|
|
41723
|
+
|
|
41724
|
+
/**
|
|
41725
|
+
* @param {?proto.sniiptransactionapi.ResponseCode|undefined} value
|
|
41726
|
+
* @return {!proto.sniiptransactionapi.RequestRefundTransactionResponse} returns this
|
|
41727
|
+
*/
|
|
41728
|
+
proto.sniiptransactionapi.RequestRefundTransactionResponse.prototype.setResponsecode = function(value) {
|
|
41729
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
41730
|
+
};
|
|
41731
|
+
|
|
41732
|
+
|
|
41733
|
+
/**
|
|
41734
|
+
* Clears the message field making it undefined.
|
|
41735
|
+
* @return {!proto.sniiptransactionapi.RequestRefundTransactionResponse} returns this
|
|
41736
|
+
*/
|
|
41737
|
+
proto.sniiptransactionapi.RequestRefundTransactionResponse.prototype.clearResponsecode = function() {
|
|
41738
|
+
return this.setResponsecode(undefined);
|
|
41739
|
+
};
|
|
41740
|
+
|
|
41741
|
+
|
|
41742
|
+
/**
|
|
41743
|
+
* Returns whether this field is set.
|
|
41744
|
+
* @return {boolean}
|
|
41745
|
+
*/
|
|
41746
|
+
proto.sniiptransactionapi.RequestRefundTransactionResponse.prototype.hasResponsecode = function() {
|
|
41747
|
+
return jspb.Message.getField(this, 1) != null;
|
|
41748
|
+
};
|
|
41749
|
+
|
|
41750
|
+
|
|
41751
|
+
/**
|
|
41752
|
+
* optional int64 refundTransactionId = 2;
|
|
41753
|
+
* @return {number}
|
|
41754
|
+
*/
|
|
41755
|
+
proto.sniiptransactionapi.RequestRefundTransactionResponse.prototype.getRefundtransactionid = function() {
|
|
41756
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
41757
|
+
};
|
|
41758
|
+
|
|
41759
|
+
|
|
41760
|
+
/**
|
|
41761
|
+
* @param {number} value
|
|
41762
|
+
* @return {!proto.sniiptransactionapi.RequestRefundTransactionResponse} returns this
|
|
41763
|
+
*/
|
|
41764
|
+
proto.sniiptransactionapi.RequestRefundTransactionResponse.prototype.setRefundtransactionid = function(value) {
|
|
41765
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
41766
|
+
};
|
|
41767
|
+
|
|
41768
|
+
|
|
41769
|
+
|
|
41770
|
+
|
|
41771
|
+
|
|
41569
41772
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
41570
41773
|
/**
|
|
41571
41774
|
* Creates an object representation of this proto.
|