@sniipwebmaster/transaction-service-client-grpcweb-ts 24.6.11245 → 24.6.11272
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.
|
@@ -1588,6 +1588,49 @@ export class SniipTransactionAPIServiceClient {
|
|
|
1588
1588
|
this.methodDescriptorHasPendingBankPaymentsForPaymentMethodId);
|
|
1589
1589
|
}
|
|
1590
1590
|
|
|
1591
|
+
methodDescriptorInternalResetSettledTransaction = new grpcWeb.MethodDescriptor(
|
|
1592
|
+
'/sniiptransactionapi.SniipTransactionAPIService/InternalResetSettledTransaction',
|
|
1593
|
+
grpcWeb.MethodType.UNARY,
|
|
1594
|
+
service_pb.InternalResetSettledTransactionRequest,
|
|
1595
|
+
service_pb.ResponseCode,
|
|
1596
|
+
(request: service_pb.InternalResetSettledTransactionRequest) => {
|
|
1597
|
+
return request.serializeBinary();
|
|
1598
|
+
},
|
|
1599
|
+
service_pb.ResponseCode.deserializeBinary
|
|
1600
|
+
);
|
|
1601
|
+
|
|
1602
|
+
internalResetSettledTransaction(
|
|
1603
|
+
request: service_pb.InternalResetSettledTransactionRequest,
|
|
1604
|
+
metadata: grpcWeb.Metadata | null): Promise<service_pb.ResponseCode>;
|
|
1605
|
+
|
|
1606
|
+
internalResetSettledTransaction(
|
|
1607
|
+
request: service_pb.InternalResetSettledTransactionRequest,
|
|
1608
|
+
metadata: grpcWeb.Metadata | null,
|
|
1609
|
+
callback: (err: grpcWeb.RpcError,
|
|
1610
|
+
response: service_pb.ResponseCode) => void): grpcWeb.ClientReadableStream<service_pb.ResponseCode>;
|
|
1611
|
+
|
|
1612
|
+
internalResetSettledTransaction(
|
|
1613
|
+
request: service_pb.InternalResetSettledTransactionRequest,
|
|
1614
|
+
metadata: grpcWeb.Metadata | null,
|
|
1615
|
+
callback?: (err: grpcWeb.RpcError,
|
|
1616
|
+
response: service_pb.ResponseCode) => void) {
|
|
1617
|
+
if (callback !== undefined) {
|
|
1618
|
+
return this.client_.rpcCall(
|
|
1619
|
+
this.hostname_ +
|
|
1620
|
+
'/sniiptransactionapi.SniipTransactionAPIService/InternalResetSettledTransaction',
|
|
1621
|
+
request,
|
|
1622
|
+
metadata || {},
|
|
1623
|
+
this.methodDescriptorInternalResetSettledTransaction,
|
|
1624
|
+
callback);
|
|
1625
|
+
}
|
|
1626
|
+
return this.client_.unaryCall(
|
|
1627
|
+
this.hostname_ +
|
|
1628
|
+
'/sniiptransactionapi.SniipTransactionAPIService/InternalResetSettledTransaction',
|
|
1629
|
+
request,
|
|
1630
|
+
metadata || {},
|
|
1631
|
+
this.methodDescriptorInternalResetSettledTransaction);
|
|
1632
|
+
}
|
|
1633
|
+
|
|
1591
1634
|
methodDescriptorPayBillCreditCardInternal = new grpcWeb.MethodDescriptor(
|
|
1592
1635
|
'/sniiptransactionapi.SniipTransactionAPIService/PayBillCreditCardInternal',
|
|
1593
1636
|
grpcWeb.MethodType.UNARY,
|
|
@@ -1716,6 +1716,26 @@ export namespace InternalBillPaymentHistoryResponse {
|
|
|
1716
1716
|
}
|
|
1717
1717
|
}
|
|
1718
1718
|
|
|
1719
|
+
export class InternalResetSettledTransactionRequest extends jspb.Message {
|
|
1720
|
+
getBody(): ResetSettledTransactionRequest | undefined;
|
|
1721
|
+
setBody(value?: ResetSettledTransactionRequest): InternalResetSettledTransactionRequest;
|
|
1722
|
+
hasBody(): boolean;
|
|
1723
|
+
clearBody(): InternalResetSettledTransactionRequest;
|
|
1724
|
+
|
|
1725
|
+
serializeBinary(): Uint8Array;
|
|
1726
|
+
toObject(includeInstance?: boolean): InternalResetSettledTransactionRequest.AsObject;
|
|
1727
|
+
static toObject(includeInstance: boolean, msg: InternalResetSettledTransactionRequest): InternalResetSettledTransactionRequest.AsObject;
|
|
1728
|
+
static serializeBinaryToWriter(message: InternalResetSettledTransactionRequest, writer: jspb.BinaryWriter): void;
|
|
1729
|
+
static deserializeBinary(bytes: Uint8Array): InternalResetSettledTransactionRequest;
|
|
1730
|
+
static deserializeBinaryFromReader(message: InternalResetSettledTransactionRequest, reader: jspb.BinaryReader): InternalResetSettledTransactionRequest;
|
|
1731
|
+
}
|
|
1732
|
+
|
|
1733
|
+
export namespace InternalResetSettledTransactionRequest {
|
|
1734
|
+
export type AsObject = {
|
|
1735
|
+
body?: ResetSettledTransactionRequest.AsObject,
|
|
1736
|
+
}
|
|
1737
|
+
}
|
|
1738
|
+
|
|
1719
1739
|
export class LatestTransactionForBillResponse extends jspb.Message {
|
|
1720
1740
|
getTransaction(): TransactionDetails | undefined;
|
|
1721
1741
|
setTransaction(value?: TransactionDetails): LatestTransactionForBillResponse;
|
|
@@ -3671,6 +3691,28 @@ export namespace RequestRefundTransactionRequest {
|
|
|
3671
3691
|
}
|
|
3672
3692
|
}
|
|
3673
3693
|
|
|
3694
|
+
export class ResetSettledTransactionRequest extends jspb.Message {
|
|
3695
|
+
getTransactionid(): number;
|
|
3696
|
+
setTransactionid(value: number): ResetSettledTransactionRequest;
|
|
3697
|
+
|
|
3698
|
+
getUserid(): number;
|
|
3699
|
+
setUserid(value: number): ResetSettledTransactionRequest;
|
|
3700
|
+
|
|
3701
|
+
serializeBinary(): Uint8Array;
|
|
3702
|
+
toObject(includeInstance?: boolean): ResetSettledTransactionRequest.AsObject;
|
|
3703
|
+
static toObject(includeInstance: boolean, msg: ResetSettledTransactionRequest): ResetSettledTransactionRequest.AsObject;
|
|
3704
|
+
static serializeBinaryToWriter(message: ResetSettledTransactionRequest, writer: jspb.BinaryWriter): void;
|
|
3705
|
+
static deserializeBinary(bytes: Uint8Array): ResetSettledTransactionRequest;
|
|
3706
|
+
static deserializeBinaryFromReader(message: ResetSettledTransactionRequest, reader: jspb.BinaryReader): ResetSettledTransactionRequest;
|
|
3707
|
+
}
|
|
3708
|
+
|
|
3709
|
+
export namespace ResetSettledTransactionRequest {
|
|
3710
|
+
export type AsObject = {
|
|
3711
|
+
transactionid: number,
|
|
3712
|
+
userid: number,
|
|
3713
|
+
}
|
|
3714
|
+
}
|
|
3715
|
+
|
|
3674
3716
|
export class ResponseCode extends jspb.Message {
|
|
3675
3717
|
getCode(): number;
|
|
3676
3718
|
setCode(value: number): ResponseCode;
|
|
@@ -82,6 +82,7 @@ goog.exportSymbol('proto.sniiptransactionapi.HasPendingBankPaymentsForBillIdRequ
|
|
|
82
82
|
goog.exportSymbol('proto.sniiptransactionapi.HasPendingBankPaymentsForPaymentMethodIdRequest', null, global);
|
|
83
83
|
goog.exportSymbol('proto.sniiptransactionapi.InactiveUsersResponse', null, global);
|
|
84
84
|
goog.exportSymbol('proto.sniiptransactionapi.InternalBillPaymentHistoryResponse', null, global);
|
|
85
|
+
goog.exportSymbol('proto.sniiptransactionapi.InternalResetSettledTransactionRequest', null, global);
|
|
85
86
|
goog.exportSymbol('proto.sniiptransactionapi.LatestTransactionForBillResponse', null, global);
|
|
86
87
|
goog.exportSymbol('proto.sniiptransactionapi.Leg', null, global);
|
|
87
88
|
goog.exportSymbol('proto.sniiptransactionapi.LegStatusUpdateRequest', null, global);
|
|
@@ -129,6 +130,7 @@ goog.exportSymbol('proto.sniiptransactionapi.RefundSuccessfulRequest', null, glo
|
|
|
129
130
|
goog.exportSymbol('proto.sniiptransactionapi.RefundSummary', null, global);
|
|
130
131
|
goog.exportSymbol('proto.sniiptransactionapi.RequestQuarantineTransactionRequest', null, global);
|
|
131
132
|
goog.exportSymbol('proto.sniiptransactionapi.RequestRefundTransactionRequest', null, global);
|
|
133
|
+
goog.exportSymbol('proto.sniiptransactionapi.ResetSettledTransactionRequest', null, global);
|
|
132
134
|
goog.exportSymbol('proto.sniiptransactionapi.ResponseCode', null, global);
|
|
133
135
|
goog.exportSymbol('proto.sniiptransactionapi.ShareBillReceiptEmailRequest', null, global);
|
|
134
136
|
goog.exportSymbol('proto.sniiptransactionapi.SwitchAndSaveDetail', null, global);
|
|
@@ -1530,6 +1532,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1530
1532
|
*/
|
|
1531
1533
|
proto.sniiptransactionapi.InternalBillPaymentHistoryResponse.displayName = 'proto.sniiptransactionapi.InternalBillPaymentHistoryResponse';
|
|
1532
1534
|
}
|
|
1535
|
+
/**
|
|
1536
|
+
* Generated by JsPbCodeGenerator.
|
|
1537
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1538
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1539
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1540
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1541
|
+
* valid.
|
|
1542
|
+
* @extends {jspb.Message}
|
|
1543
|
+
* @constructor
|
|
1544
|
+
*/
|
|
1545
|
+
proto.sniiptransactionapi.InternalResetSettledTransactionRequest = function(opt_data) {
|
|
1546
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1547
|
+
};
|
|
1548
|
+
goog.inherits(proto.sniiptransactionapi.InternalResetSettledTransactionRequest, jspb.Message);
|
|
1549
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1550
|
+
/**
|
|
1551
|
+
* @public
|
|
1552
|
+
* @override
|
|
1553
|
+
*/
|
|
1554
|
+
proto.sniiptransactionapi.InternalResetSettledTransactionRequest.displayName = 'proto.sniiptransactionapi.InternalResetSettledTransactionRequest';
|
|
1555
|
+
}
|
|
1533
1556
|
/**
|
|
1534
1557
|
* Generated by JsPbCodeGenerator.
|
|
1535
1558
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -2475,6 +2498,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2475
2498
|
*/
|
|
2476
2499
|
proto.sniiptransactionapi.RequestRefundTransactionRequest.displayName = 'proto.sniiptransactionapi.RequestRefundTransactionRequest';
|
|
2477
2500
|
}
|
|
2501
|
+
/**
|
|
2502
|
+
* Generated by JsPbCodeGenerator.
|
|
2503
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2504
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2505
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2506
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2507
|
+
* valid.
|
|
2508
|
+
* @extends {jspb.Message}
|
|
2509
|
+
* @constructor
|
|
2510
|
+
*/
|
|
2511
|
+
proto.sniiptransactionapi.ResetSettledTransactionRequest = function(opt_data) {
|
|
2512
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2513
|
+
};
|
|
2514
|
+
goog.inherits(proto.sniiptransactionapi.ResetSettledTransactionRequest, jspb.Message);
|
|
2515
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2516
|
+
/**
|
|
2517
|
+
* @public
|
|
2518
|
+
* @override
|
|
2519
|
+
*/
|
|
2520
|
+
proto.sniiptransactionapi.ResetSettledTransactionRequest.displayName = 'proto.sniiptransactionapi.ResetSettledTransactionRequest';
|
|
2521
|
+
}
|
|
2478
2522
|
/**
|
|
2479
2523
|
* Generated by JsPbCodeGenerator.
|
|
2480
2524
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -15632,6 +15676,157 @@ proto.sniiptransactionapi.InternalBillPaymentHistoryResponse.prototype.clearPaym
|
|
|
15632
15676
|
|
|
15633
15677
|
|
|
15634
15678
|
|
|
15679
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
15680
|
+
/**
|
|
15681
|
+
* Creates an object representation of this proto.
|
|
15682
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
15683
|
+
* Optional fields that are not set will be set to undefined.
|
|
15684
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
15685
|
+
* For the list of reserved names please see:
|
|
15686
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
15687
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
15688
|
+
* JSPB instance for transitional soy proto support:
|
|
15689
|
+
* http://goto/soy-param-migration
|
|
15690
|
+
* @return {!Object}
|
|
15691
|
+
*/
|
|
15692
|
+
proto.sniiptransactionapi.InternalResetSettledTransactionRequest.prototype.toObject = function(opt_includeInstance) {
|
|
15693
|
+
return proto.sniiptransactionapi.InternalResetSettledTransactionRequest.toObject(opt_includeInstance, this);
|
|
15694
|
+
};
|
|
15695
|
+
|
|
15696
|
+
|
|
15697
|
+
/**
|
|
15698
|
+
* Static version of the {@see toObject} method.
|
|
15699
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
15700
|
+
* the JSPB instance for transitional soy proto support:
|
|
15701
|
+
* http://goto/soy-param-migration
|
|
15702
|
+
* @param {!proto.sniiptransactionapi.InternalResetSettledTransactionRequest} msg The msg instance to transform.
|
|
15703
|
+
* @return {!Object}
|
|
15704
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15705
|
+
*/
|
|
15706
|
+
proto.sniiptransactionapi.InternalResetSettledTransactionRequest.toObject = function(includeInstance, msg) {
|
|
15707
|
+
var f, obj = {
|
|
15708
|
+
body: (f = msg.getBody()) && proto.sniiptransactionapi.ResetSettledTransactionRequest.toObject(includeInstance, f)
|
|
15709
|
+
};
|
|
15710
|
+
|
|
15711
|
+
if (includeInstance) {
|
|
15712
|
+
obj.$jspbMessageInstance = msg;
|
|
15713
|
+
}
|
|
15714
|
+
return obj;
|
|
15715
|
+
};
|
|
15716
|
+
}
|
|
15717
|
+
|
|
15718
|
+
|
|
15719
|
+
/**
|
|
15720
|
+
* Deserializes binary data (in protobuf wire format).
|
|
15721
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
15722
|
+
* @return {!proto.sniiptransactionapi.InternalResetSettledTransactionRequest}
|
|
15723
|
+
*/
|
|
15724
|
+
proto.sniiptransactionapi.InternalResetSettledTransactionRequest.deserializeBinary = function(bytes) {
|
|
15725
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
15726
|
+
var msg = new proto.sniiptransactionapi.InternalResetSettledTransactionRequest;
|
|
15727
|
+
return proto.sniiptransactionapi.InternalResetSettledTransactionRequest.deserializeBinaryFromReader(msg, reader);
|
|
15728
|
+
};
|
|
15729
|
+
|
|
15730
|
+
|
|
15731
|
+
/**
|
|
15732
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
15733
|
+
* given reader into the given message object.
|
|
15734
|
+
* @param {!proto.sniiptransactionapi.InternalResetSettledTransactionRequest} msg The message object to deserialize into.
|
|
15735
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
15736
|
+
* @return {!proto.sniiptransactionapi.InternalResetSettledTransactionRequest}
|
|
15737
|
+
*/
|
|
15738
|
+
proto.sniiptransactionapi.InternalResetSettledTransactionRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
15739
|
+
while (reader.nextField()) {
|
|
15740
|
+
if (reader.isEndGroup()) {
|
|
15741
|
+
break;
|
|
15742
|
+
}
|
|
15743
|
+
var field = reader.getFieldNumber();
|
|
15744
|
+
switch (field) {
|
|
15745
|
+
case 1:
|
|
15746
|
+
var value = new proto.sniiptransactionapi.ResetSettledTransactionRequest;
|
|
15747
|
+
reader.readMessage(value,proto.sniiptransactionapi.ResetSettledTransactionRequest.deserializeBinaryFromReader);
|
|
15748
|
+
msg.setBody(value);
|
|
15749
|
+
break;
|
|
15750
|
+
default:
|
|
15751
|
+
reader.skipField();
|
|
15752
|
+
break;
|
|
15753
|
+
}
|
|
15754
|
+
}
|
|
15755
|
+
return msg;
|
|
15756
|
+
};
|
|
15757
|
+
|
|
15758
|
+
|
|
15759
|
+
/**
|
|
15760
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
15761
|
+
* @return {!Uint8Array}
|
|
15762
|
+
*/
|
|
15763
|
+
proto.sniiptransactionapi.InternalResetSettledTransactionRequest.prototype.serializeBinary = function() {
|
|
15764
|
+
var writer = new jspb.BinaryWriter();
|
|
15765
|
+
proto.sniiptransactionapi.InternalResetSettledTransactionRequest.serializeBinaryToWriter(this, writer);
|
|
15766
|
+
return writer.getResultBuffer();
|
|
15767
|
+
};
|
|
15768
|
+
|
|
15769
|
+
|
|
15770
|
+
/**
|
|
15771
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
15772
|
+
* format), writing to the given BinaryWriter.
|
|
15773
|
+
* @param {!proto.sniiptransactionapi.InternalResetSettledTransactionRequest} message
|
|
15774
|
+
* @param {!jspb.BinaryWriter} writer
|
|
15775
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15776
|
+
*/
|
|
15777
|
+
proto.sniiptransactionapi.InternalResetSettledTransactionRequest.serializeBinaryToWriter = function(message, writer) {
|
|
15778
|
+
var f = undefined;
|
|
15779
|
+
f = message.getBody();
|
|
15780
|
+
if (f != null) {
|
|
15781
|
+
writer.writeMessage(
|
|
15782
|
+
1,
|
|
15783
|
+
f,
|
|
15784
|
+
proto.sniiptransactionapi.ResetSettledTransactionRequest.serializeBinaryToWriter
|
|
15785
|
+
);
|
|
15786
|
+
}
|
|
15787
|
+
};
|
|
15788
|
+
|
|
15789
|
+
|
|
15790
|
+
/**
|
|
15791
|
+
* optional ResetSettledTransactionRequest body = 1;
|
|
15792
|
+
* @return {?proto.sniiptransactionapi.ResetSettledTransactionRequest}
|
|
15793
|
+
*/
|
|
15794
|
+
proto.sniiptransactionapi.InternalResetSettledTransactionRequest.prototype.getBody = function() {
|
|
15795
|
+
return /** @type{?proto.sniiptransactionapi.ResetSettledTransactionRequest} */ (
|
|
15796
|
+
jspb.Message.getWrapperField(this, proto.sniiptransactionapi.ResetSettledTransactionRequest, 1));
|
|
15797
|
+
};
|
|
15798
|
+
|
|
15799
|
+
|
|
15800
|
+
/**
|
|
15801
|
+
* @param {?proto.sniiptransactionapi.ResetSettledTransactionRequest|undefined} value
|
|
15802
|
+
* @return {!proto.sniiptransactionapi.InternalResetSettledTransactionRequest} returns this
|
|
15803
|
+
*/
|
|
15804
|
+
proto.sniiptransactionapi.InternalResetSettledTransactionRequest.prototype.setBody = function(value) {
|
|
15805
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
15806
|
+
};
|
|
15807
|
+
|
|
15808
|
+
|
|
15809
|
+
/**
|
|
15810
|
+
* Clears the message field making it undefined.
|
|
15811
|
+
* @return {!proto.sniiptransactionapi.InternalResetSettledTransactionRequest} returns this
|
|
15812
|
+
*/
|
|
15813
|
+
proto.sniiptransactionapi.InternalResetSettledTransactionRequest.prototype.clearBody = function() {
|
|
15814
|
+
return this.setBody(undefined);
|
|
15815
|
+
};
|
|
15816
|
+
|
|
15817
|
+
|
|
15818
|
+
/**
|
|
15819
|
+
* Returns whether this field is set.
|
|
15820
|
+
* @return {boolean}
|
|
15821
|
+
*/
|
|
15822
|
+
proto.sniiptransactionapi.InternalResetSettledTransactionRequest.prototype.hasBody = function() {
|
|
15823
|
+
return jspb.Message.getField(this, 1) != null;
|
|
15824
|
+
};
|
|
15825
|
+
|
|
15826
|
+
|
|
15827
|
+
|
|
15828
|
+
|
|
15829
|
+
|
|
15635
15830
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
15636
15831
|
/**
|
|
15637
15832
|
* Creates an object representation of this proto.
|
|
@@ -30227,6 +30422,166 @@ proto.sniiptransactionapi.RequestRefundTransactionRequest.prototype.hasBody = fu
|
|
|
30227
30422
|
|
|
30228
30423
|
|
|
30229
30424
|
|
|
30425
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
30426
|
+
/**
|
|
30427
|
+
* Creates an object representation of this proto.
|
|
30428
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
30429
|
+
* Optional fields that are not set will be set to undefined.
|
|
30430
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
30431
|
+
* For the list of reserved names please see:
|
|
30432
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
30433
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
30434
|
+
* JSPB instance for transitional soy proto support:
|
|
30435
|
+
* http://goto/soy-param-migration
|
|
30436
|
+
* @return {!Object}
|
|
30437
|
+
*/
|
|
30438
|
+
proto.sniiptransactionapi.ResetSettledTransactionRequest.prototype.toObject = function(opt_includeInstance) {
|
|
30439
|
+
return proto.sniiptransactionapi.ResetSettledTransactionRequest.toObject(opt_includeInstance, this);
|
|
30440
|
+
};
|
|
30441
|
+
|
|
30442
|
+
|
|
30443
|
+
/**
|
|
30444
|
+
* Static version of the {@see toObject} method.
|
|
30445
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
30446
|
+
* the JSPB instance for transitional soy proto support:
|
|
30447
|
+
* http://goto/soy-param-migration
|
|
30448
|
+
* @param {!proto.sniiptransactionapi.ResetSettledTransactionRequest} msg The msg instance to transform.
|
|
30449
|
+
* @return {!Object}
|
|
30450
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
30451
|
+
*/
|
|
30452
|
+
proto.sniiptransactionapi.ResetSettledTransactionRequest.toObject = function(includeInstance, msg) {
|
|
30453
|
+
var f, obj = {
|
|
30454
|
+
transactionid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
30455
|
+
userid: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
30456
|
+
};
|
|
30457
|
+
|
|
30458
|
+
if (includeInstance) {
|
|
30459
|
+
obj.$jspbMessageInstance = msg;
|
|
30460
|
+
}
|
|
30461
|
+
return obj;
|
|
30462
|
+
};
|
|
30463
|
+
}
|
|
30464
|
+
|
|
30465
|
+
|
|
30466
|
+
/**
|
|
30467
|
+
* Deserializes binary data (in protobuf wire format).
|
|
30468
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
30469
|
+
* @return {!proto.sniiptransactionapi.ResetSettledTransactionRequest}
|
|
30470
|
+
*/
|
|
30471
|
+
proto.sniiptransactionapi.ResetSettledTransactionRequest.deserializeBinary = function(bytes) {
|
|
30472
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
30473
|
+
var msg = new proto.sniiptransactionapi.ResetSettledTransactionRequest;
|
|
30474
|
+
return proto.sniiptransactionapi.ResetSettledTransactionRequest.deserializeBinaryFromReader(msg, reader);
|
|
30475
|
+
};
|
|
30476
|
+
|
|
30477
|
+
|
|
30478
|
+
/**
|
|
30479
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
30480
|
+
* given reader into the given message object.
|
|
30481
|
+
* @param {!proto.sniiptransactionapi.ResetSettledTransactionRequest} msg The message object to deserialize into.
|
|
30482
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
30483
|
+
* @return {!proto.sniiptransactionapi.ResetSettledTransactionRequest}
|
|
30484
|
+
*/
|
|
30485
|
+
proto.sniiptransactionapi.ResetSettledTransactionRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
30486
|
+
while (reader.nextField()) {
|
|
30487
|
+
if (reader.isEndGroup()) {
|
|
30488
|
+
break;
|
|
30489
|
+
}
|
|
30490
|
+
var field = reader.getFieldNumber();
|
|
30491
|
+
switch (field) {
|
|
30492
|
+
case 1:
|
|
30493
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
30494
|
+
msg.setTransactionid(value);
|
|
30495
|
+
break;
|
|
30496
|
+
case 2:
|
|
30497
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
30498
|
+
msg.setUserid(value);
|
|
30499
|
+
break;
|
|
30500
|
+
default:
|
|
30501
|
+
reader.skipField();
|
|
30502
|
+
break;
|
|
30503
|
+
}
|
|
30504
|
+
}
|
|
30505
|
+
return msg;
|
|
30506
|
+
};
|
|
30507
|
+
|
|
30508
|
+
|
|
30509
|
+
/**
|
|
30510
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
30511
|
+
* @return {!Uint8Array}
|
|
30512
|
+
*/
|
|
30513
|
+
proto.sniiptransactionapi.ResetSettledTransactionRequest.prototype.serializeBinary = function() {
|
|
30514
|
+
var writer = new jspb.BinaryWriter();
|
|
30515
|
+
proto.sniiptransactionapi.ResetSettledTransactionRequest.serializeBinaryToWriter(this, writer);
|
|
30516
|
+
return writer.getResultBuffer();
|
|
30517
|
+
};
|
|
30518
|
+
|
|
30519
|
+
|
|
30520
|
+
/**
|
|
30521
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
30522
|
+
* format), writing to the given BinaryWriter.
|
|
30523
|
+
* @param {!proto.sniiptransactionapi.ResetSettledTransactionRequest} message
|
|
30524
|
+
* @param {!jspb.BinaryWriter} writer
|
|
30525
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
30526
|
+
*/
|
|
30527
|
+
proto.sniiptransactionapi.ResetSettledTransactionRequest.serializeBinaryToWriter = function(message, writer) {
|
|
30528
|
+
var f = undefined;
|
|
30529
|
+
f = message.getTransactionid();
|
|
30530
|
+
if (f !== 0) {
|
|
30531
|
+
writer.writeInt64(
|
|
30532
|
+
1,
|
|
30533
|
+
f
|
|
30534
|
+
);
|
|
30535
|
+
}
|
|
30536
|
+
f = message.getUserid();
|
|
30537
|
+
if (f !== 0) {
|
|
30538
|
+
writer.writeInt64(
|
|
30539
|
+
2,
|
|
30540
|
+
f
|
|
30541
|
+
);
|
|
30542
|
+
}
|
|
30543
|
+
};
|
|
30544
|
+
|
|
30545
|
+
|
|
30546
|
+
/**
|
|
30547
|
+
* optional int64 transactionId = 1;
|
|
30548
|
+
* @return {number}
|
|
30549
|
+
*/
|
|
30550
|
+
proto.sniiptransactionapi.ResetSettledTransactionRequest.prototype.getTransactionid = function() {
|
|
30551
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
30552
|
+
};
|
|
30553
|
+
|
|
30554
|
+
|
|
30555
|
+
/**
|
|
30556
|
+
* @param {number} value
|
|
30557
|
+
* @return {!proto.sniiptransactionapi.ResetSettledTransactionRequest} returns this
|
|
30558
|
+
*/
|
|
30559
|
+
proto.sniiptransactionapi.ResetSettledTransactionRequest.prototype.setTransactionid = function(value) {
|
|
30560
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
30561
|
+
};
|
|
30562
|
+
|
|
30563
|
+
|
|
30564
|
+
/**
|
|
30565
|
+
* optional int64 userId = 2;
|
|
30566
|
+
* @return {number}
|
|
30567
|
+
*/
|
|
30568
|
+
proto.sniiptransactionapi.ResetSettledTransactionRequest.prototype.getUserid = function() {
|
|
30569
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
30570
|
+
};
|
|
30571
|
+
|
|
30572
|
+
|
|
30573
|
+
/**
|
|
30574
|
+
* @param {number} value
|
|
30575
|
+
* @return {!proto.sniiptransactionapi.ResetSettledTransactionRequest} returns this
|
|
30576
|
+
*/
|
|
30577
|
+
proto.sniiptransactionapi.ResetSettledTransactionRequest.prototype.setUserid = function(value) {
|
|
30578
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
30579
|
+
};
|
|
30580
|
+
|
|
30581
|
+
|
|
30582
|
+
|
|
30583
|
+
|
|
30584
|
+
|
|
30230
30585
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
30231
30586
|
/**
|
|
30232
30587
|
* Creates an object representation of this proto.
|