@sniipwebmaster/checkout-service-client-grpcweb 26.1.195 → 26.1.201
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.
|
@@ -145,6 +145,67 @@ proto.checkoutserviceapi.CheckoutServicePromiseClient.prototype.getPaymentStatus
|
|
|
145
145
|
};
|
|
146
146
|
|
|
147
147
|
|
|
148
|
+
/**
|
|
149
|
+
* @const
|
|
150
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
151
|
+
* !proto.checkoutserviceapi.SettlementFilesRequest,
|
|
152
|
+
* !proto.checkoutserviceapi.SettleFilesResponse>}
|
|
153
|
+
*/
|
|
154
|
+
const methodDescriptor_CheckoutService_SettlementFiles = new grpc.web.MethodDescriptor(
|
|
155
|
+
'/checkoutserviceapi.CheckoutService/SettlementFiles',
|
|
156
|
+
grpc.web.MethodType.UNARY,
|
|
157
|
+
proto.checkoutserviceapi.SettlementFilesRequest,
|
|
158
|
+
proto.checkoutserviceapi.SettleFilesResponse,
|
|
159
|
+
/**
|
|
160
|
+
* @param {!proto.checkoutserviceapi.SettlementFilesRequest} request
|
|
161
|
+
* @return {!Uint8Array}
|
|
162
|
+
*/
|
|
163
|
+
function(request) {
|
|
164
|
+
return request.serializeBinary();
|
|
165
|
+
},
|
|
166
|
+
proto.checkoutserviceapi.SettleFilesResponse.deserializeBinary
|
|
167
|
+
);
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* @param {!proto.checkoutserviceapi.SettlementFilesRequest} request The
|
|
172
|
+
* request proto
|
|
173
|
+
* @param {?Object<string, string>} metadata User defined
|
|
174
|
+
* call metadata
|
|
175
|
+
* @param {function(?grpc.web.RpcError, ?proto.checkoutserviceapi.SettleFilesResponse)}
|
|
176
|
+
* callback The callback function(error, response)
|
|
177
|
+
* @return {!grpc.web.ClientReadableStream<!proto.checkoutserviceapi.SettleFilesResponse>|undefined}
|
|
178
|
+
* The XHR Node Readable Stream
|
|
179
|
+
*/
|
|
180
|
+
proto.checkoutserviceapi.CheckoutServiceClient.prototype.settlementFiles =
|
|
181
|
+
function(request, metadata, callback) {
|
|
182
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
183
|
+
'/checkoutserviceapi.CheckoutService/SettlementFiles',
|
|
184
|
+
request,
|
|
185
|
+
metadata || {},
|
|
186
|
+
methodDescriptor_CheckoutService_SettlementFiles,
|
|
187
|
+
callback);
|
|
188
|
+
};
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* @param {!proto.checkoutserviceapi.SettlementFilesRequest} request The
|
|
193
|
+
* request proto
|
|
194
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
195
|
+
* call metadata
|
|
196
|
+
* @return {!Promise<!proto.checkoutserviceapi.SettleFilesResponse>}
|
|
197
|
+
* Promise that resolves to the response
|
|
198
|
+
*/
|
|
199
|
+
proto.checkoutserviceapi.CheckoutServicePromiseClient.prototype.settlementFiles =
|
|
200
|
+
function(request, metadata) {
|
|
201
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
202
|
+
'/checkoutserviceapi.CheckoutService/SettlementFiles',
|
|
203
|
+
request,
|
|
204
|
+
metadata || {},
|
|
205
|
+
methodDescriptor_CheckoutService_SettlementFiles);
|
|
206
|
+
};
|
|
207
|
+
|
|
208
|
+
|
|
148
209
|
/**
|
|
149
210
|
* @const
|
|
150
211
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -40,6 +40,9 @@ goog.exportSymbol('proto.checkoutserviceapi.PaymentStatusRequest', null, global)
|
|
|
40
40
|
goog.exportSymbol('proto.checkoutserviceapi.PaymentStatusResponse', null, global);
|
|
41
41
|
goog.exportSymbol('proto.checkoutserviceapi.ResponseCode', null, global);
|
|
42
42
|
goog.exportSymbol('proto.checkoutserviceapi.Scope', null, global);
|
|
43
|
+
goog.exportSymbol('proto.checkoutserviceapi.SettleFile', null, global);
|
|
44
|
+
goog.exportSymbol('proto.checkoutserviceapi.SettleFilesResponse', null, global);
|
|
45
|
+
goog.exportSymbol('proto.checkoutserviceapi.SettlementFilesRequest', null, global);
|
|
43
46
|
goog.exportSymbol('proto.checkoutserviceapi.WalletToken', null, global);
|
|
44
47
|
goog.exportSymbol('proto.checkoutserviceapi.Webhook3DS', null, global);
|
|
45
48
|
goog.exportSymbol('proto.checkoutserviceapi.WebhookBalances', null, global);
|
|
@@ -600,6 +603,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
600
603
|
*/
|
|
601
604
|
proto.checkoutserviceapi.CardPayouts.displayName = 'proto.checkoutserviceapi.CardPayouts';
|
|
602
605
|
}
|
|
606
|
+
/**
|
|
607
|
+
* Generated by JsPbCodeGenerator.
|
|
608
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
609
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
610
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
611
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
612
|
+
* valid.
|
|
613
|
+
* @extends {jspb.Message}
|
|
614
|
+
* @constructor
|
|
615
|
+
*/
|
|
616
|
+
proto.checkoutserviceapi.SettlementFilesRequest = function(opt_data) {
|
|
617
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
618
|
+
};
|
|
619
|
+
goog.inherits(proto.checkoutserviceapi.SettlementFilesRequest, jspb.Message);
|
|
620
|
+
if (goog.DEBUG && !COMPILED) {
|
|
621
|
+
/**
|
|
622
|
+
* @public
|
|
623
|
+
* @override
|
|
624
|
+
*/
|
|
625
|
+
proto.checkoutserviceapi.SettlementFilesRequest.displayName = 'proto.checkoutserviceapi.SettlementFilesRequest';
|
|
626
|
+
}
|
|
627
|
+
/**
|
|
628
|
+
* Generated by JsPbCodeGenerator.
|
|
629
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
630
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
631
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
632
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
633
|
+
* valid.
|
|
634
|
+
* @extends {jspb.Message}
|
|
635
|
+
* @constructor
|
|
636
|
+
*/
|
|
637
|
+
proto.checkoutserviceapi.SettleFilesResponse = function(opt_data) {
|
|
638
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.checkoutserviceapi.SettleFilesResponse.repeatedFields_, null);
|
|
639
|
+
};
|
|
640
|
+
goog.inherits(proto.checkoutserviceapi.SettleFilesResponse, jspb.Message);
|
|
641
|
+
if (goog.DEBUG && !COMPILED) {
|
|
642
|
+
/**
|
|
643
|
+
* @public
|
|
644
|
+
* @override
|
|
645
|
+
*/
|
|
646
|
+
proto.checkoutserviceapi.SettleFilesResponse.displayName = 'proto.checkoutserviceapi.SettleFilesResponse';
|
|
647
|
+
}
|
|
648
|
+
/**
|
|
649
|
+
* Generated by JsPbCodeGenerator.
|
|
650
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
651
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
652
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
653
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
654
|
+
* valid.
|
|
655
|
+
* @extends {jspb.Message}
|
|
656
|
+
* @constructor
|
|
657
|
+
*/
|
|
658
|
+
proto.checkoutserviceapi.SettleFile = function(opt_data) {
|
|
659
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
660
|
+
};
|
|
661
|
+
goog.inherits(proto.checkoutserviceapi.SettleFile, jspb.Message);
|
|
662
|
+
if (goog.DEBUG && !COMPILED) {
|
|
663
|
+
/**
|
|
664
|
+
* @public
|
|
665
|
+
* @override
|
|
666
|
+
*/
|
|
667
|
+
proto.checkoutserviceapi.SettleFile.displayName = 'proto.checkoutserviceapi.SettleFile';
|
|
668
|
+
}
|
|
603
669
|
|
|
604
670
|
|
|
605
671
|
|
|
@@ -8651,6 +8717,597 @@ proto.checkoutserviceapi.CardPayouts.prototype.setCrossBorderMoneyTransfer = fun
|
|
|
8651
8717
|
};
|
|
8652
8718
|
|
|
8653
8719
|
|
|
8720
|
+
|
|
8721
|
+
|
|
8722
|
+
|
|
8723
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8724
|
+
/**
|
|
8725
|
+
* Creates an object representation of this proto.
|
|
8726
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
8727
|
+
* Optional fields that are not set will be set to undefined.
|
|
8728
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
8729
|
+
* For the list of reserved names please see:
|
|
8730
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
8731
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
8732
|
+
* JSPB instance for transitional soy proto support:
|
|
8733
|
+
* http://goto/soy-param-migration
|
|
8734
|
+
* @return {!Object}
|
|
8735
|
+
*/
|
|
8736
|
+
proto.checkoutserviceapi.SettlementFilesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
8737
|
+
return proto.checkoutserviceapi.SettlementFilesRequest.toObject(opt_includeInstance, this);
|
|
8738
|
+
};
|
|
8739
|
+
|
|
8740
|
+
|
|
8741
|
+
/**
|
|
8742
|
+
* Static version of the {@see toObject} method.
|
|
8743
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8744
|
+
* the JSPB instance for transitional soy proto support:
|
|
8745
|
+
* http://goto/soy-param-migration
|
|
8746
|
+
* @param {!proto.checkoutserviceapi.SettlementFilesRequest} msg The msg instance to transform.
|
|
8747
|
+
* @return {!Object}
|
|
8748
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8749
|
+
*/
|
|
8750
|
+
proto.checkoutserviceapi.SettlementFilesRequest.toObject = function(includeInstance, msg) {
|
|
8751
|
+
var f, obj = {
|
|
8752
|
+
paymentprocessor: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
8753
|
+
scope: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
8754
|
+
};
|
|
8755
|
+
|
|
8756
|
+
if (includeInstance) {
|
|
8757
|
+
obj.$jspbMessageInstance = msg;
|
|
8758
|
+
}
|
|
8759
|
+
return obj;
|
|
8760
|
+
};
|
|
8761
|
+
}
|
|
8762
|
+
|
|
8763
|
+
|
|
8764
|
+
/**
|
|
8765
|
+
* Deserializes binary data (in protobuf wire format).
|
|
8766
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8767
|
+
* @return {!proto.checkoutserviceapi.SettlementFilesRequest}
|
|
8768
|
+
*/
|
|
8769
|
+
proto.checkoutserviceapi.SettlementFilesRequest.deserializeBinary = function(bytes) {
|
|
8770
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
8771
|
+
var msg = new proto.checkoutserviceapi.SettlementFilesRequest;
|
|
8772
|
+
return proto.checkoutserviceapi.SettlementFilesRequest.deserializeBinaryFromReader(msg, reader);
|
|
8773
|
+
};
|
|
8774
|
+
|
|
8775
|
+
|
|
8776
|
+
/**
|
|
8777
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
8778
|
+
* given reader into the given message object.
|
|
8779
|
+
* @param {!proto.checkoutserviceapi.SettlementFilesRequest} msg The message object to deserialize into.
|
|
8780
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8781
|
+
* @return {!proto.checkoutserviceapi.SettlementFilesRequest}
|
|
8782
|
+
*/
|
|
8783
|
+
proto.checkoutserviceapi.SettlementFilesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
8784
|
+
while (reader.nextField()) {
|
|
8785
|
+
if (reader.isEndGroup()) {
|
|
8786
|
+
break;
|
|
8787
|
+
}
|
|
8788
|
+
var field = reader.getFieldNumber();
|
|
8789
|
+
switch (field) {
|
|
8790
|
+
case 1:
|
|
8791
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8792
|
+
msg.setPaymentprocessor(value);
|
|
8793
|
+
break;
|
|
8794
|
+
case 2:
|
|
8795
|
+
var value = /** @type {!proto.checkoutserviceapi.Scope} */ (reader.readEnum());
|
|
8796
|
+
msg.setScope(value);
|
|
8797
|
+
break;
|
|
8798
|
+
default:
|
|
8799
|
+
reader.skipField();
|
|
8800
|
+
break;
|
|
8801
|
+
}
|
|
8802
|
+
}
|
|
8803
|
+
return msg;
|
|
8804
|
+
};
|
|
8805
|
+
|
|
8806
|
+
|
|
8807
|
+
/**
|
|
8808
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
8809
|
+
* @return {!Uint8Array}
|
|
8810
|
+
*/
|
|
8811
|
+
proto.checkoutserviceapi.SettlementFilesRequest.prototype.serializeBinary = function() {
|
|
8812
|
+
var writer = new jspb.BinaryWriter();
|
|
8813
|
+
proto.checkoutserviceapi.SettlementFilesRequest.serializeBinaryToWriter(this, writer);
|
|
8814
|
+
return writer.getResultBuffer();
|
|
8815
|
+
};
|
|
8816
|
+
|
|
8817
|
+
|
|
8818
|
+
/**
|
|
8819
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
8820
|
+
* format), writing to the given BinaryWriter.
|
|
8821
|
+
* @param {!proto.checkoutserviceapi.SettlementFilesRequest} message
|
|
8822
|
+
* @param {!jspb.BinaryWriter} writer
|
|
8823
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8824
|
+
*/
|
|
8825
|
+
proto.checkoutserviceapi.SettlementFilesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
8826
|
+
var f = undefined;
|
|
8827
|
+
f = message.getPaymentprocessor();
|
|
8828
|
+
if (f.length > 0) {
|
|
8829
|
+
writer.writeString(
|
|
8830
|
+
1,
|
|
8831
|
+
f
|
|
8832
|
+
);
|
|
8833
|
+
}
|
|
8834
|
+
f = message.getScope();
|
|
8835
|
+
if (f !== 0.0) {
|
|
8836
|
+
writer.writeEnum(
|
|
8837
|
+
2,
|
|
8838
|
+
f
|
|
8839
|
+
);
|
|
8840
|
+
}
|
|
8841
|
+
};
|
|
8842
|
+
|
|
8843
|
+
|
|
8844
|
+
/**
|
|
8845
|
+
* optional string paymentProcessor = 1;
|
|
8846
|
+
* @return {string}
|
|
8847
|
+
*/
|
|
8848
|
+
proto.checkoutserviceapi.SettlementFilesRequest.prototype.getPaymentprocessor = function() {
|
|
8849
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
8850
|
+
};
|
|
8851
|
+
|
|
8852
|
+
|
|
8853
|
+
/**
|
|
8854
|
+
* @param {string} value
|
|
8855
|
+
* @return {!proto.checkoutserviceapi.SettlementFilesRequest} returns this
|
|
8856
|
+
*/
|
|
8857
|
+
proto.checkoutserviceapi.SettlementFilesRequest.prototype.setPaymentprocessor = function(value) {
|
|
8858
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
8859
|
+
};
|
|
8860
|
+
|
|
8861
|
+
|
|
8862
|
+
/**
|
|
8863
|
+
* optional Scope scope = 2;
|
|
8864
|
+
* @return {!proto.checkoutserviceapi.Scope}
|
|
8865
|
+
*/
|
|
8866
|
+
proto.checkoutserviceapi.SettlementFilesRequest.prototype.getScope = function() {
|
|
8867
|
+
return /** @type {!proto.checkoutserviceapi.Scope} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
8868
|
+
};
|
|
8869
|
+
|
|
8870
|
+
|
|
8871
|
+
/**
|
|
8872
|
+
* @param {!proto.checkoutserviceapi.Scope} value
|
|
8873
|
+
* @return {!proto.checkoutserviceapi.SettlementFilesRequest} returns this
|
|
8874
|
+
*/
|
|
8875
|
+
proto.checkoutserviceapi.SettlementFilesRequest.prototype.setScope = function(value) {
|
|
8876
|
+
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
8877
|
+
};
|
|
8878
|
+
|
|
8879
|
+
|
|
8880
|
+
|
|
8881
|
+
/**
|
|
8882
|
+
* List of repeated fields within this message type.
|
|
8883
|
+
* @private {!Array<number>}
|
|
8884
|
+
* @const
|
|
8885
|
+
*/
|
|
8886
|
+
proto.checkoutserviceapi.SettleFilesResponse.repeatedFields_ = [2];
|
|
8887
|
+
|
|
8888
|
+
|
|
8889
|
+
|
|
8890
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8891
|
+
/**
|
|
8892
|
+
* Creates an object representation of this proto.
|
|
8893
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
8894
|
+
* Optional fields that are not set will be set to undefined.
|
|
8895
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
8896
|
+
* For the list of reserved names please see:
|
|
8897
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
8898
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
8899
|
+
* JSPB instance for transitional soy proto support:
|
|
8900
|
+
* http://goto/soy-param-migration
|
|
8901
|
+
* @return {!Object}
|
|
8902
|
+
*/
|
|
8903
|
+
proto.checkoutserviceapi.SettleFilesResponse.prototype.toObject = function(opt_includeInstance) {
|
|
8904
|
+
return proto.checkoutserviceapi.SettleFilesResponse.toObject(opt_includeInstance, this);
|
|
8905
|
+
};
|
|
8906
|
+
|
|
8907
|
+
|
|
8908
|
+
/**
|
|
8909
|
+
* Static version of the {@see toObject} method.
|
|
8910
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8911
|
+
* the JSPB instance for transitional soy proto support:
|
|
8912
|
+
* http://goto/soy-param-migration
|
|
8913
|
+
* @param {!proto.checkoutserviceapi.SettleFilesResponse} msg The msg instance to transform.
|
|
8914
|
+
* @return {!Object}
|
|
8915
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8916
|
+
*/
|
|
8917
|
+
proto.checkoutserviceapi.SettleFilesResponse.toObject = function(includeInstance, msg) {
|
|
8918
|
+
var f, obj = {
|
|
8919
|
+
responsecode: (f = msg.getResponsecode()) && proto.checkoutserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
8920
|
+
settlementfilesList: jspb.Message.toObjectList(msg.getSettlementfilesList(),
|
|
8921
|
+
proto.checkoutserviceapi.SettleFile.toObject, includeInstance)
|
|
8922
|
+
};
|
|
8923
|
+
|
|
8924
|
+
if (includeInstance) {
|
|
8925
|
+
obj.$jspbMessageInstance = msg;
|
|
8926
|
+
}
|
|
8927
|
+
return obj;
|
|
8928
|
+
};
|
|
8929
|
+
}
|
|
8930
|
+
|
|
8931
|
+
|
|
8932
|
+
/**
|
|
8933
|
+
* Deserializes binary data (in protobuf wire format).
|
|
8934
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8935
|
+
* @return {!proto.checkoutserviceapi.SettleFilesResponse}
|
|
8936
|
+
*/
|
|
8937
|
+
proto.checkoutserviceapi.SettleFilesResponse.deserializeBinary = function(bytes) {
|
|
8938
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
8939
|
+
var msg = new proto.checkoutserviceapi.SettleFilesResponse;
|
|
8940
|
+
return proto.checkoutserviceapi.SettleFilesResponse.deserializeBinaryFromReader(msg, reader);
|
|
8941
|
+
};
|
|
8942
|
+
|
|
8943
|
+
|
|
8944
|
+
/**
|
|
8945
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
8946
|
+
* given reader into the given message object.
|
|
8947
|
+
* @param {!proto.checkoutserviceapi.SettleFilesResponse} msg The message object to deserialize into.
|
|
8948
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8949
|
+
* @return {!proto.checkoutserviceapi.SettleFilesResponse}
|
|
8950
|
+
*/
|
|
8951
|
+
proto.checkoutserviceapi.SettleFilesResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
8952
|
+
while (reader.nextField()) {
|
|
8953
|
+
if (reader.isEndGroup()) {
|
|
8954
|
+
break;
|
|
8955
|
+
}
|
|
8956
|
+
var field = reader.getFieldNumber();
|
|
8957
|
+
switch (field) {
|
|
8958
|
+
case 1:
|
|
8959
|
+
var value = new proto.checkoutserviceapi.ResponseCode;
|
|
8960
|
+
reader.readMessage(value,proto.checkoutserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
8961
|
+
msg.setResponsecode(value);
|
|
8962
|
+
break;
|
|
8963
|
+
case 2:
|
|
8964
|
+
var value = new proto.checkoutserviceapi.SettleFile;
|
|
8965
|
+
reader.readMessage(value,proto.checkoutserviceapi.SettleFile.deserializeBinaryFromReader);
|
|
8966
|
+
msg.addSettlementfiles(value);
|
|
8967
|
+
break;
|
|
8968
|
+
default:
|
|
8969
|
+
reader.skipField();
|
|
8970
|
+
break;
|
|
8971
|
+
}
|
|
8972
|
+
}
|
|
8973
|
+
return msg;
|
|
8974
|
+
};
|
|
8975
|
+
|
|
8976
|
+
|
|
8977
|
+
/**
|
|
8978
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
8979
|
+
* @return {!Uint8Array}
|
|
8980
|
+
*/
|
|
8981
|
+
proto.checkoutserviceapi.SettleFilesResponse.prototype.serializeBinary = function() {
|
|
8982
|
+
var writer = new jspb.BinaryWriter();
|
|
8983
|
+
proto.checkoutserviceapi.SettleFilesResponse.serializeBinaryToWriter(this, writer);
|
|
8984
|
+
return writer.getResultBuffer();
|
|
8985
|
+
};
|
|
8986
|
+
|
|
8987
|
+
|
|
8988
|
+
/**
|
|
8989
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
8990
|
+
* format), writing to the given BinaryWriter.
|
|
8991
|
+
* @param {!proto.checkoutserviceapi.SettleFilesResponse} message
|
|
8992
|
+
* @param {!jspb.BinaryWriter} writer
|
|
8993
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8994
|
+
*/
|
|
8995
|
+
proto.checkoutserviceapi.SettleFilesResponse.serializeBinaryToWriter = function(message, writer) {
|
|
8996
|
+
var f = undefined;
|
|
8997
|
+
f = message.getResponsecode();
|
|
8998
|
+
if (f != null) {
|
|
8999
|
+
writer.writeMessage(
|
|
9000
|
+
1,
|
|
9001
|
+
f,
|
|
9002
|
+
proto.checkoutserviceapi.ResponseCode.serializeBinaryToWriter
|
|
9003
|
+
);
|
|
9004
|
+
}
|
|
9005
|
+
f = message.getSettlementfilesList();
|
|
9006
|
+
if (f.length > 0) {
|
|
9007
|
+
writer.writeRepeatedMessage(
|
|
9008
|
+
2,
|
|
9009
|
+
f,
|
|
9010
|
+
proto.checkoutserviceapi.SettleFile.serializeBinaryToWriter
|
|
9011
|
+
);
|
|
9012
|
+
}
|
|
9013
|
+
};
|
|
9014
|
+
|
|
9015
|
+
|
|
9016
|
+
/**
|
|
9017
|
+
* optional ResponseCode responseCode = 1;
|
|
9018
|
+
* @return {?proto.checkoutserviceapi.ResponseCode}
|
|
9019
|
+
*/
|
|
9020
|
+
proto.checkoutserviceapi.SettleFilesResponse.prototype.getResponsecode = function() {
|
|
9021
|
+
return /** @type{?proto.checkoutserviceapi.ResponseCode} */ (
|
|
9022
|
+
jspb.Message.getWrapperField(this, proto.checkoutserviceapi.ResponseCode, 1));
|
|
9023
|
+
};
|
|
9024
|
+
|
|
9025
|
+
|
|
9026
|
+
/**
|
|
9027
|
+
* @param {?proto.checkoutserviceapi.ResponseCode|undefined} value
|
|
9028
|
+
* @return {!proto.checkoutserviceapi.SettleFilesResponse} returns this
|
|
9029
|
+
*/
|
|
9030
|
+
proto.checkoutserviceapi.SettleFilesResponse.prototype.setResponsecode = function(value) {
|
|
9031
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
9032
|
+
};
|
|
9033
|
+
|
|
9034
|
+
|
|
9035
|
+
/**
|
|
9036
|
+
* Clears the message field making it undefined.
|
|
9037
|
+
* @return {!proto.checkoutserviceapi.SettleFilesResponse} returns this
|
|
9038
|
+
*/
|
|
9039
|
+
proto.checkoutserviceapi.SettleFilesResponse.prototype.clearResponsecode = function() {
|
|
9040
|
+
return this.setResponsecode(undefined);
|
|
9041
|
+
};
|
|
9042
|
+
|
|
9043
|
+
|
|
9044
|
+
/**
|
|
9045
|
+
* Returns whether this field is set.
|
|
9046
|
+
* @return {boolean}
|
|
9047
|
+
*/
|
|
9048
|
+
proto.checkoutserviceapi.SettleFilesResponse.prototype.hasResponsecode = function() {
|
|
9049
|
+
return jspb.Message.getField(this, 1) != null;
|
|
9050
|
+
};
|
|
9051
|
+
|
|
9052
|
+
|
|
9053
|
+
/**
|
|
9054
|
+
* repeated SettleFile settlementFiles = 2;
|
|
9055
|
+
* @return {!Array<!proto.checkoutserviceapi.SettleFile>}
|
|
9056
|
+
*/
|
|
9057
|
+
proto.checkoutserviceapi.SettleFilesResponse.prototype.getSettlementfilesList = function() {
|
|
9058
|
+
return /** @type{!Array<!proto.checkoutserviceapi.SettleFile>} */ (
|
|
9059
|
+
jspb.Message.getRepeatedWrapperField(this, proto.checkoutserviceapi.SettleFile, 2));
|
|
9060
|
+
};
|
|
9061
|
+
|
|
9062
|
+
|
|
9063
|
+
/**
|
|
9064
|
+
* @param {!Array<!proto.checkoutserviceapi.SettleFile>} value
|
|
9065
|
+
* @return {!proto.checkoutserviceapi.SettleFilesResponse} returns this
|
|
9066
|
+
*/
|
|
9067
|
+
proto.checkoutserviceapi.SettleFilesResponse.prototype.setSettlementfilesList = function(value) {
|
|
9068
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
9069
|
+
};
|
|
9070
|
+
|
|
9071
|
+
|
|
9072
|
+
/**
|
|
9073
|
+
* @param {!proto.checkoutserviceapi.SettleFile=} opt_value
|
|
9074
|
+
* @param {number=} opt_index
|
|
9075
|
+
* @return {!proto.checkoutserviceapi.SettleFile}
|
|
9076
|
+
*/
|
|
9077
|
+
proto.checkoutserviceapi.SettleFilesResponse.prototype.addSettlementfiles = function(opt_value, opt_index) {
|
|
9078
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.checkoutserviceapi.SettleFile, opt_index);
|
|
9079
|
+
};
|
|
9080
|
+
|
|
9081
|
+
|
|
9082
|
+
/**
|
|
9083
|
+
* Clears the list making it empty but non-null.
|
|
9084
|
+
* @return {!proto.checkoutserviceapi.SettleFilesResponse} returns this
|
|
9085
|
+
*/
|
|
9086
|
+
proto.checkoutserviceapi.SettleFilesResponse.prototype.clearSettlementfilesList = function() {
|
|
9087
|
+
return this.setSettlementfilesList([]);
|
|
9088
|
+
};
|
|
9089
|
+
|
|
9090
|
+
|
|
9091
|
+
|
|
9092
|
+
|
|
9093
|
+
|
|
9094
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
9095
|
+
/**
|
|
9096
|
+
* Creates an object representation of this proto.
|
|
9097
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
9098
|
+
* Optional fields that are not set will be set to undefined.
|
|
9099
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
9100
|
+
* For the list of reserved names please see:
|
|
9101
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
9102
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
9103
|
+
* JSPB instance for transitional soy proto support:
|
|
9104
|
+
* http://goto/soy-param-migration
|
|
9105
|
+
* @return {!Object}
|
|
9106
|
+
*/
|
|
9107
|
+
proto.checkoutserviceapi.SettleFile.prototype.toObject = function(opt_includeInstance) {
|
|
9108
|
+
return proto.checkoutserviceapi.SettleFile.toObject(opt_includeInstance, this);
|
|
9109
|
+
};
|
|
9110
|
+
|
|
9111
|
+
|
|
9112
|
+
/**
|
|
9113
|
+
* Static version of the {@see toObject} method.
|
|
9114
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
9115
|
+
* the JSPB instance for transitional soy proto support:
|
|
9116
|
+
* http://goto/soy-param-migration
|
|
9117
|
+
* @param {!proto.checkoutserviceapi.SettleFile} msg The msg instance to transform.
|
|
9118
|
+
* @return {!Object}
|
|
9119
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9120
|
+
*/
|
|
9121
|
+
proto.checkoutserviceapi.SettleFile.toObject = function(includeInstance, msg) {
|
|
9122
|
+
var f, obj = {
|
|
9123
|
+
processdate: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
9124
|
+
creationtimestamp: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
9125
|
+
settlementfileid: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
9126
|
+
paymentprocessor: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
9127
|
+
};
|
|
9128
|
+
|
|
9129
|
+
if (includeInstance) {
|
|
9130
|
+
obj.$jspbMessageInstance = msg;
|
|
9131
|
+
}
|
|
9132
|
+
return obj;
|
|
9133
|
+
};
|
|
9134
|
+
}
|
|
9135
|
+
|
|
9136
|
+
|
|
9137
|
+
/**
|
|
9138
|
+
* Deserializes binary data (in protobuf wire format).
|
|
9139
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
9140
|
+
* @return {!proto.checkoutserviceapi.SettleFile}
|
|
9141
|
+
*/
|
|
9142
|
+
proto.checkoutserviceapi.SettleFile.deserializeBinary = function(bytes) {
|
|
9143
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
9144
|
+
var msg = new proto.checkoutserviceapi.SettleFile;
|
|
9145
|
+
return proto.checkoutserviceapi.SettleFile.deserializeBinaryFromReader(msg, reader);
|
|
9146
|
+
};
|
|
9147
|
+
|
|
9148
|
+
|
|
9149
|
+
/**
|
|
9150
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
9151
|
+
* given reader into the given message object.
|
|
9152
|
+
* @param {!proto.checkoutserviceapi.SettleFile} msg The message object to deserialize into.
|
|
9153
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
9154
|
+
* @return {!proto.checkoutserviceapi.SettleFile}
|
|
9155
|
+
*/
|
|
9156
|
+
proto.checkoutserviceapi.SettleFile.deserializeBinaryFromReader = function(msg, reader) {
|
|
9157
|
+
while (reader.nextField()) {
|
|
9158
|
+
if (reader.isEndGroup()) {
|
|
9159
|
+
break;
|
|
9160
|
+
}
|
|
9161
|
+
var field = reader.getFieldNumber();
|
|
9162
|
+
switch (field) {
|
|
9163
|
+
case 2:
|
|
9164
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9165
|
+
msg.setProcessdate(value);
|
|
9166
|
+
break;
|
|
9167
|
+
case 3:
|
|
9168
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9169
|
+
msg.setCreationtimestamp(value);
|
|
9170
|
+
break;
|
|
9171
|
+
case 4:
|
|
9172
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
9173
|
+
msg.setSettlementfileid(value);
|
|
9174
|
+
break;
|
|
9175
|
+
case 5:
|
|
9176
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9177
|
+
msg.setPaymentprocessor(value);
|
|
9178
|
+
break;
|
|
9179
|
+
default:
|
|
9180
|
+
reader.skipField();
|
|
9181
|
+
break;
|
|
9182
|
+
}
|
|
9183
|
+
}
|
|
9184
|
+
return msg;
|
|
9185
|
+
};
|
|
9186
|
+
|
|
9187
|
+
|
|
9188
|
+
/**
|
|
9189
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
9190
|
+
* @return {!Uint8Array}
|
|
9191
|
+
*/
|
|
9192
|
+
proto.checkoutserviceapi.SettleFile.prototype.serializeBinary = function() {
|
|
9193
|
+
var writer = new jspb.BinaryWriter();
|
|
9194
|
+
proto.checkoutserviceapi.SettleFile.serializeBinaryToWriter(this, writer);
|
|
9195
|
+
return writer.getResultBuffer();
|
|
9196
|
+
};
|
|
9197
|
+
|
|
9198
|
+
|
|
9199
|
+
/**
|
|
9200
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
9201
|
+
* format), writing to the given BinaryWriter.
|
|
9202
|
+
* @param {!proto.checkoutserviceapi.SettleFile} message
|
|
9203
|
+
* @param {!jspb.BinaryWriter} writer
|
|
9204
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9205
|
+
*/
|
|
9206
|
+
proto.checkoutserviceapi.SettleFile.serializeBinaryToWriter = function(message, writer) {
|
|
9207
|
+
var f = undefined;
|
|
9208
|
+
f = message.getProcessdate();
|
|
9209
|
+
if (f.length > 0) {
|
|
9210
|
+
writer.writeString(
|
|
9211
|
+
2,
|
|
9212
|
+
f
|
|
9213
|
+
);
|
|
9214
|
+
}
|
|
9215
|
+
f = message.getCreationtimestamp();
|
|
9216
|
+
if (f.length > 0) {
|
|
9217
|
+
writer.writeString(
|
|
9218
|
+
3,
|
|
9219
|
+
f
|
|
9220
|
+
);
|
|
9221
|
+
}
|
|
9222
|
+
f = message.getSettlementfileid();
|
|
9223
|
+
if (f !== 0) {
|
|
9224
|
+
writer.writeInt64(
|
|
9225
|
+
4,
|
|
9226
|
+
f
|
|
9227
|
+
);
|
|
9228
|
+
}
|
|
9229
|
+
f = message.getPaymentprocessor();
|
|
9230
|
+
if (f.length > 0) {
|
|
9231
|
+
writer.writeString(
|
|
9232
|
+
5,
|
|
9233
|
+
f
|
|
9234
|
+
);
|
|
9235
|
+
}
|
|
9236
|
+
};
|
|
9237
|
+
|
|
9238
|
+
|
|
9239
|
+
/**
|
|
9240
|
+
* optional string processDate = 2;
|
|
9241
|
+
* @return {string}
|
|
9242
|
+
*/
|
|
9243
|
+
proto.checkoutserviceapi.SettleFile.prototype.getProcessdate = function() {
|
|
9244
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
9245
|
+
};
|
|
9246
|
+
|
|
9247
|
+
|
|
9248
|
+
/**
|
|
9249
|
+
* @param {string} value
|
|
9250
|
+
* @return {!proto.checkoutserviceapi.SettleFile} returns this
|
|
9251
|
+
*/
|
|
9252
|
+
proto.checkoutserviceapi.SettleFile.prototype.setProcessdate = function(value) {
|
|
9253
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
9254
|
+
};
|
|
9255
|
+
|
|
9256
|
+
|
|
9257
|
+
/**
|
|
9258
|
+
* optional string creationTimeStamp = 3;
|
|
9259
|
+
* @return {string}
|
|
9260
|
+
*/
|
|
9261
|
+
proto.checkoutserviceapi.SettleFile.prototype.getCreationtimestamp = function() {
|
|
9262
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
9263
|
+
};
|
|
9264
|
+
|
|
9265
|
+
|
|
9266
|
+
/**
|
|
9267
|
+
* @param {string} value
|
|
9268
|
+
* @return {!proto.checkoutserviceapi.SettleFile} returns this
|
|
9269
|
+
*/
|
|
9270
|
+
proto.checkoutserviceapi.SettleFile.prototype.setCreationtimestamp = function(value) {
|
|
9271
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
9272
|
+
};
|
|
9273
|
+
|
|
9274
|
+
|
|
9275
|
+
/**
|
|
9276
|
+
* optional int64 settlementFileId = 4;
|
|
9277
|
+
* @return {number}
|
|
9278
|
+
*/
|
|
9279
|
+
proto.checkoutserviceapi.SettleFile.prototype.getSettlementfileid = function() {
|
|
9280
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
9281
|
+
};
|
|
9282
|
+
|
|
9283
|
+
|
|
9284
|
+
/**
|
|
9285
|
+
* @param {number} value
|
|
9286
|
+
* @return {!proto.checkoutserviceapi.SettleFile} returns this
|
|
9287
|
+
*/
|
|
9288
|
+
proto.checkoutserviceapi.SettleFile.prototype.setSettlementfileid = function(value) {
|
|
9289
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
9290
|
+
};
|
|
9291
|
+
|
|
9292
|
+
|
|
9293
|
+
/**
|
|
9294
|
+
* optional string paymentProcessor = 5;
|
|
9295
|
+
* @return {string}
|
|
9296
|
+
*/
|
|
9297
|
+
proto.checkoutserviceapi.SettleFile.prototype.getPaymentprocessor = function() {
|
|
9298
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
9299
|
+
};
|
|
9300
|
+
|
|
9301
|
+
|
|
9302
|
+
/**
|
|
9303
|
+
* @param {string} value
|
|
9304
|
+
* @return {!proto.checkoutserviceapi.SettleFile} returns this
|
|
9305
|
+
*/
|
|
9306
|
+
proto.checkoutserviceapi.SettleFile.prototype.setPaymentprocessor = function(value) {
|
|
9307
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
9308
|
+
};
|
|
9309
|
+
|
|
9310
|
+
|
|
8654
9311
|
/**
|
|
8655
9312
|
* @enum {number}
|
|
8656
9313
|
*/
|