@sniipwebmaster/payment-methods-client-grpcweb 0.2.1401 → 0.2.1410
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.
|
@@ -750,6 +750,61 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseC
|
|
|
750
750
|
};
|
|
751
751
|
|
|
752
752
|
|
|
753
|
+
/**
|
|
754
|
+
* @const
|
|
755
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
756
|
+
* !proto.sniippaymentmethodsserviceapi.GetPaymentMethodsForAuditRequest,
|
|
757
|
+
* !proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse>}
|
|
758
|
+
*/
|
|
759
|
+
const methodInfo_SniipPaymentMethodsServiceAPIService_GetPaymentMethodsForAudit = new grpc.web.AbstractClientBase.MethodInfo(
|
|
760
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse,
|
|
761
|
+
/** @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsForAuditRequest} request */
|
|
762
|
+
function(request) {
|
|
763
|
+
return request.serializeBinary();
|
|
764
|
+
},
|
|
765
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.deserializeBinary
|
|
766
|
+
);
|
|
767
|
+
|
|
768
|
+
|
|
769
|
+
/**
|
|
770
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsForAuditRequest} request The
|
|
771
|
+
* request proto
|
|
772
|
+
* @param {?Object<string, string>} metadata User defined
|
|
773
|
+
* call metadata
|
|
774
|
+
* @param {function(?grpc.web.Error, ?proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse)}
|
|
775
|
+
* callback The callback function(error, response)
|
|
776
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse>|undefined}
|
|
777
|
+
* The XHR Node Readable Stream
|
|
778
|
+
*/
|
|
779
|
+
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.prototype.getPaymentMethodsForAudit =
|
|
780
|
+
function(request, metadata, callback) {
|
|
781
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
782
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetPaymentMethodsForAudit',
|
|
783
|
+
request,
|
|
784
|
+
metadata || {},
|
|
785
|
+
methodInfo_SniipPaymentMethodsServiceAPIService_GetPaymentMethodsForAudit,
|
|
786
|
+
callback);
|
|
787
|
+
};
|
|
788
|
+
|
|
789
|
+
|
|
790
|
+
/**
|
|
791
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsForAuditRequest} request The
|
|
792
|
+
* request proto
|
|
793
|
+
* @param {?Object<string, string>} metadata User defined
|
|
794
|
+
* call metadata
|
|
795
|
+
* @return {!Promise<!proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse>}
|
|
796
|
+
* A native promise that resolves to the response
|
|
797
|
+
*/
|
|
798
|
+
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.getPaymentMethodsForAudit =
|
|
799
|
+
function(request, metadata) {
|
|
800
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
801
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetPaymentMethodsForAudit',
|
|
802
|
+
request,
|
|
803
|
+
metadata || {},
|
|
804
|
+
methodInfo_SniipPaymentMethodsServiceAPIService_GetPaymentMethodsForAudit);
|
|
805
|
+
};
|
|
806
|
+
|
|
807
|
+
|
|
753
808
|
/**
|
|
754
809
|
* @const
|
|
755
810
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
@@ -35,6 +35,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetCreditCardForPaymentRe
|
|
|
35
35
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest', null, global);
|
|
36
36
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodRequest', null, global);
|
|
37
37
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodResponse', null, global);
|
|
38
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodsForAuditRequest', null, global);
|
|
38
39
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodsRequest', null, global);
|
|
39
40
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest', null, global);
|
|
40
41
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.MaskedCreditCard', null, global);
|
|
@@ -44,6 +45,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentRe
|
|
|
44
45
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse', null, global);
|
|
45
46
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodResponse', null, global);
|
|
46
47
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest', null, global);
|
|
48
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest', null, global);
|
|
47
49
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse', null, global);
|
|
48
50
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.RemovePaymentMethodRequest', null, global);
|
|
49
51
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ResponseCode', null, global);
|
|
@@ -4763,6 +4765,165 @@ proto.sniippaymentmethodsserviceapi.GetPaymentMethodResponse.prototype.hasRespon
|
|
|
4763
4765
|
|
|
4764
4766
|
|
|
4765
4767
|
|
|
4768
|
+
/**
|
|
4769
|
+
* Generated by JsPbCodeGenerator.
|
|
4770
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4771
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4772
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4773
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4774
|
+
* valid.
|
|
4775
|
+
* @extends {jspb.Message}
|
|
4776
|
+
* @constructor
|
|
4777
|
+
*/
|
|
4778
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodsForAuditRequest = function(opt_data) {
|
|
4779
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4780
|
+
};
|
|
4781
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.GetPaymentMethodsForAuditRequest, jspb.Message);
|
|
4782
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4783
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodsForAuditRequest.displayName = 'proto.sniippaymentmethodsserviceapi.GetPaymentMethodsForAuditRequest';
|
|
4784
|
+
}
|
|
4785
|
+
|
|
4786
|
+
|
|
4787
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4788
|
+
/**
|
|
4789
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
4790
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4791
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4792
|
+
* For the list of reserved names please see:
|
|
4793
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
4794
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
4795
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
4796
|
+
* @return {!Object}
|
|
4797
|
+
*/
|
|
4798
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodsForAuditRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4799
|
+
return proto.sniippaymentmethodsserviceapi.GetPaymentMethodsForAuditRequest.toObject(opt_includeInstance, this);
|
|
4800
|
+
};
|
|
4801
|
+
|
|
4802
|
+
|
|
4803
|
+
/**
|
|
4804
|
+
* Static version of the {@see toObject} method.
|
|
4805
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
4806
|
+
* instance for transitional soy proto support:
|
|
4807
|
+
* http://goto/soy-param-migration
|
|
4808
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsForAuditRequest} msg The msg instance to transform.
|
|
4809
|
+
* @return {!Object}
|
|
4810
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4811
|
+
*/
|
|
4812
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodsForAuditRequest.toObject = function(includeInstance, msg) {
|
|
4813
|
+
var f, obj = {
|
|
4814
|
+
data: (f = msg.getData()) && proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest.toObject(includeInstance, f)
|
|
4815
|
+
};
|
|
4816
|
+
|
|
4817
|
+
if (includeInstance) {
|
|
4818
|
+
obj.$jspbMessageInstance = msg;
|
|
4819
|
+
}
|
|
4820
|
+
return obj;
|
|
4821
|
+
};
|
|
4822
|
+
}
|
|
4823
|
+
|
|
4824
|
+
|
|
4825
|
+
/**
|
|
4826
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4827
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4828
|
+
* @return {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsForAuditRequest}
|
|
4829
|
+
*/
|
|
4830
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodsForAuditRequest.deserializeBinary = function(bytes) {
|
|
4831
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4832
|
+
var msg = new proto.sniippaymentmethodsserviceapi.GetPaymentMethodsForAuditRequest;
|
|
4833
|
+
return proto.sniippaymentmethodsserviceapi.GetPaymentMethodsForAuditRequest.deserializeBinaryFromReader(msg, reader);
|
|
4834
|
+
};
|
|
4835
|
+
|
|
4836
|
+
|
|
4837
|
+
/**
|
|
4838
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4839
|
+
* given reader into the given message object.
|
|
4840
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsForAuditRequest} msg The message object to deserialize into.
|
|
4841
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4842
|
+
* @return {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsForAuditRequest}
|
|
4843
|
+
*/
|
|
4844
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodsForAuditRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4845
|
+
while (reader.nextField()) {
|
|
4846
|
+
if (reader.isEndGroup()) {
|
|
4847
|
+
break;
|
|
4848
|
+
}
|
|
4849
|
+
var field = reader.getFieldNumber();
|
|
4850
|
+
switch (field) {
|
|
4851
|
+
case 1:
|
|
4852
|
+
var value = new proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest;
|
|
4853
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest.deserializeBinaryFromReader);
|
|
4854
|
+
msg.setData(value);
|
|
4855
|
+
break;
|
|
4856
|
+
default:
|
|
4857
|
+
reader.skipField();
|
|
4858
|
+
break;
|
|
4859
|
+
}
|
|
4860
|
+
}
|
|
4861
|
+
return msg;
|
|
4862
|
+
};
|
|
4863
|
+
|
|
4864
|
+
|
|
4865
|
+
/**
|
|
4866
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4867
|
+
* @return {!Uint8Array}
|
|
4868
|
+
*/
|
|
4869
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodsForAuditRequest.prototype.serializeBinary = function() {
|
|
4870
|
+
var writer = new jspb.BinaryWriter();
|
|
4871
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodsForAuditRequest.serializeBinaryToWriter(this, writer);
|
|
4872
|
+
return writer.getResultBuffer();
|
|
4873
|
+
};
|
|
4874
|
+
|
|
4875
|
+
|
|
4876
|
+
/**
|
|
4877
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4878
|
+
* format), writing to the given BinaryWriter.
|
|
4879
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsForAuditRequest} message
|
|
4880
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4881
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4882
|
+
*/
|
|
4883
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodsForAuditRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4884
|
+
var f = undefined;
|
|
4885
|
+
f = message.getData();
|
|
4886
|
+
if (f != null) {
|
|
4887
|
+
writer.writeMessage(
|
|
4888
|
+
1,
|
|
4889
|
+
f,
|
|
4890
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest.serializeBinaryToWriter
|
|
4891
|
+
);
|
|
4892
|
+
}
|
|
4893
|
+
};
|
|
4894
|
+
|
|
4895
|
+
|
|
4896
|
+
/**
|
|
4897
|
+
* optional PaymentMethodsForAuditRequest data = 1;
|
|
4898
|
+
* @return {?proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest}
|
|
4899
|
+
*/
|
|
4900
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodsForAuditRequest.prototype.getData = function() {
|
|
4901
|
+
return /** @type{?proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest} */ (
|
|
4902
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest, 1));
|
|
4903
|
+
};
|
|
4904
|
+
|
|
4905
|
+
|
|
4906
|
+
/** @param {?proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest|undefined} value */
|
|
4907
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodsForAuditRequest.prototype.setData = function(value) {
|
|
4908
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
4909
|
+
};
|
|
4910
|
+
|
|
4911
|
+
|
|
4912
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodsForAuditRequest.prototype.clearData = function() {
|
|
4913
|
+
this.setData(undefined);
|
|
4914
|
+
};
|
|
4915
|
+
|
|
4916
|
+
|
|
4917
|
+
/**
|
|
4918
|
+
* Returns whether this field is set.
|
|
4919
|
+
* @return {!boolean}
|
|
4920
|
+
*/
|
|
4921
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodsForAuditRequest.prototype.hasData = function() {
|
|
4922
|
+
return jspb.Message.getField(this, 1) != null;
|
|
4923
|
+
};
|
|
4924
|
+
|
|
4925
|
+
|
|
4926
|
+
|
|
4766
4927
|
/**
|
|
4767
4928
|
* Generated by JsPbCodeGenerator.
|
|
4768
4929
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -5138,7 +5299,8 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.toObject = function(include
|
|
|
5138
5299
|
tokenisedcreditcardid: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
5139
5300
|
bankname: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
5140
5301
|
banklogoname: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
5141
|
-
colourscheme: (f = msg.getColourscheme()) && proto.sniippaymentmethodsserviceapi.ColourScheme.toObject(includeInstance, f)
|
|
5302
|
+
colourscheme: (f = msg.getColourscheme()) && proto.sniippaymentmethodsserviceapi.ColourScheme.toObject(includeInstance, f),
|
|
5303
|
+
isdeleted: jspb.Message.getFieldWithDefault(msg, 13, false)
|
|
5142
5304
|
};
|
|
5143
5305
|
|
|
5144
5306
|
if (includeInstance) {
|
|
@@ -5224,6 +5386,10 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.deserializeBinaryFromReader
|
|
|
5224
5386
|
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.ColourScheme.deserializeBinaryFromReader);
|
|
5225
5387
|
msg.setColourscheme(value);
|
|
5226
5388
|
break;
|
|
5389
|
+
case 13:
|
|
5390
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
5391
|
+
msg.setIsdeleted(value);
|
|
5392
|
+
break;
|
|
5227
5393
|
default:
|
|
5228
5394
|
reader.skipField();
|
|
5229
5395
|
break;
|
|
@@ -5338,6 +5504,13 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.serializeBinaryToWriter = f
|
|
|
5338
5504
|
proto.sniippaymentmethodsserviceapi.ColourScheme.serializeBinaryToWriter
|
|
5339
5505
|
);
|
|
5340
5506
|
}
|
|
5507
|
+
f = message.getIsdeleted();
|
|
5508
|
+
if (f) {
|
|
5509
|
+
writer.writeBool(
|
|
5510
|
+
13,
|
|
5511
|
+
f
|
|
5512
|
+
);
|
|
5513
|
+
}
|
|
5341
5514
|
};
|
|
5342
5515
|
|
|
5343
5516
|
|
|
@@ -5536,6 +5709,23 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.hasColourscheme =
|
|
|
5536
5709
|
};
|
|
5537
5710
|
|
|
5538
5711
|
|
|
5712
|
+
/**
|
|
5713
|
+
* optional bool isDeleted = 13;
|
|
5714
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
5715
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
5716
|
+
* @return {boolean}
|
|
5717
|
+
*/
|
|
5718
|
+
proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.getIsdeleted = function() {
|
|
5719
|
+
return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 13, false));
|
|
5720
|
+
};
|
|
5721
|
+
|
|
5722
|
+
|
|
5723
|
+
/** @param {boolean} value */
|
|
5724
|
+
proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.setIsdeleted = function(value) {
|
|
5725
|
+
jspb.Message.setProto3BooleanField(this, 13, value);
|
|
5726
|
+
};
|
|
5727
|
+
|
|
5728
|
+
|
|
5539
5729
|
|
|
5540
5730
|
/**
|
|
5541
5731
|
* Generated by JsPbCodeGenerator.
|
|
@@ -7058,6 +7248,148 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.setAcce
|
|
|
7058
7248
|
|
|
7059
7249
|
|
|
7060
7250
|
|
|
7251
|
+
/**
|
|
7252
|
+
* Generated by JsPbCodeGenerator.
|
|
7253
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7254
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7255
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7256
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7257
|
+
* valid.
|
|
7258
|
+
* @extends {jspb.Message}
|
|
7259
|
+
* @constructor
|
|
7260
|
+
*/
|
|
7261
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest = function(opt_data) {
|
|
7262
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7263
|
+
};
|
|
7264
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest, jspb.Message);
|
|
7265
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7266
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest.displayName = 'proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest';
|
|
7267
|
+
}
|
|
7268
|
+
|
|
7269
|
+
|
|
7270
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7271
|
+
/**
|
|
7272
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
7273
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7274
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7275
|
+
* For the list of reserved names please see:
|
|
7276
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
7277
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
7278
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
7279
|
+
* @return {!Object}
|
|
7280
|
+
*/
|
|
7281
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest.prototype.toObject = function(opt_includeInstance) {
|
|
7282
|
+
return proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest.toObject(opt_includeInstance, this);
|
|
7283
|
+
};
|
|
7284
|
+
|
|
7285
|
+
|
|
7286
|
+
/**
|
|
7287
|
+
* Static version of the {@see toObject} method.
|
|
7288
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
7289
|
+
* instance for transitional soy proto support:
|
|
7290
|
+
* http://goto/soy-param-migration
|
|
7291
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest} msg The msg instance to transform.
|
|
7292
|
+
* @return {!Object}
|
|
7293
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7294
|
+
*/
|
|
7295
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest.toObject = function(includeInstance, msg) {
|
|
7296
|
+
var f, obj = {
|
|
7297
|
+
userid: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
7298
|
+
};
|
|
7299
|
+
|
|
7300
|
+
if (includeInstance) {
|
|
7301
|
+
obj.$jspbMessageInstance = msg;
|
|
7302
|
+
}
|
|
7303
|
+
return obj;
|
|
7304
|
+
};
|
|
7305
|
+
}
|
|
7306
|
+
|
|
7307
|
+
|
|
7308
|
+
/**
|
|
7309
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7310
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7311
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest}
|
|
7312
|
+
*/
|
|
7313
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest.deserializeBinary = function(bytes) {
|
|
7314
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7315
|
+
var msg = new proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest;
|
|
7316
|
+
return proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest.deserializeBinaryFromReader(msg, reader);
|
|
7317
|
+
};
|
|
7318
|
+
|
|
7319
|
+
|
|
7320
|
+
/**
|
|
7321
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7322
|
+
* given reader into the given message object.
|
|
7323
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest} msg The message object to deserialize into.
|
|
7324
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7325
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest}
|
|
7326
|
+
*/
|
|
7327
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
7328
|
+
while (reader.nextField()) {
|
|
7329
|
+
if (reader.isEndGroup()) {
|
|
7330
|
+
break;
|
|
7331
|
+
}
|
|
7332
|
+
var field = reader.getFieldNumber();
|
|
7333
|
+
switch (field) {
|
|
7334
|
+
case 1:
|
|
7335
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
7336
|
+
msg.setUserid(value);
|
|
7337
|
+
break;
|
|
7338
|
+
default:
|
|
7339
|
+
reader.skipField();
|
|
7340
|
+
break;
|
|
7341
|
+
}
|
|
7342
|
+
}
|
|
7343
|
+
return msg;
|
|
7344
|
+
};
|
|
7345
|
+
|
|
7346
|
+
|
|
7347
|
+
/**
|
|
7348
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7349
|
+
* @return {!Uint8Array}
|
|
7350
|
+
*/
|
|
7351
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest.prototype.serializeBinary = function() {
|
|
7352
|
+
var writer = new jspb.BinaryWriter();
|
|
7353
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest.serializeBinaryToWriter(this, writer);
|
|
7354
|
+
return writer.getResultBuffer();
|
|
7355
|
+
};
|
|
7356
|
+
|
|
7357
|
+
|
|
7358
|
+
/**
|
|
7359
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
7360
|
+
* format), writing to the given BinaryWriter.
|
|
7361
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest} message
|
|
7362
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7363
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7364
|
+
*/
|
|
7365
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest.serializeBinaryToWriter = function(message, writer) {
|
|
7366
|
+
var f = undefined;
|
|
7367
|
+
f = message.getUserid();
|
|
7368
|
+
if (f !== 0) {
|
|
7369
|
+
writer.writeInt64(
|
|
7370
|
+
1,
|
|
7371
|
+
f
|
|
7372
|
+
);
|
|
7373
|
+
}
|
|
7374
|
+
};
|
|
7375
|
+
|
|
7376
|
+
|
|
7377
|
+
/**
|
|
7378
|
+
* optional int64 userId = 1;
|
|
7379
|
+
* @return {number}
|
|
7380
|
+
*/
|
|
7381
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest.prototype.getUserid = function() {
|
|
7382
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
7383
|
+
};
|
|
7384
|
+
|
|
7385
|
+
|
|
7386
|
+
/** @param {number} value */
|
|
7387
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest.prototype.setUserid = function(value) {
|
|
7388
|
+
jspb.Message.setProto3IntField(this, 1, value);
|
|
7389
|
+
};
|
|
7390
|
+
|
|
7391
|
+
|
|
7392
|
+
|
|
7061
7393
|
/**
|
|
7062
7394
|
* Generated by JsPbCodeGenerator.
|
|
7063
7395
|
* @param {Array=} opt_data Optional initial data array, typically from a
|