@sniipwebmaster/payment-methods-client-grpcweb 0.2.1533 → 0.2.1550
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.
|
@@ -805,6 +805,61 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseC
|
|
|
805
805
|
};
|
|
806
806
|
|
|
807
807
|
|
|
808
|
+
/**
|
|
809
|
+
* @const
|
|
810
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
811
|
+
* !proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest,
|
|
812
|
+
* !proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse>}
|
|
813
|
+
*/
|
|
814
|
+
const methodInfo_SniipPaymentMethodsServiceAPIService_GetPaymentMethodsInternal = new grpc.web.AbstractClientBase.MethodInfo(
|
|
815
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse,
|
|
816
|
+
/** @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest} request */
|
|
817
|
+
function(request) {
|
|
818
|
+
return request.serializeBinary();
|
|
819
|
+
},
|
|
820
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.deserializeBinary
|
|
821
|
+
);
|
|
822
|
+
|
|
823
|
+
|
|
824
|
+
/**
|
|
825
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest} request The
|
|
826
|
+
* request proto
|
|
827
|
+
* @param {?Object<string, string>} metadata User defined
|
|
828
|
+
* call metadata
|
|
829
|
+
* @param {function(?grpc.web.Error, ?proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse)}
|
|
830
|
+
* callback The callback function(error, response)
|
|
831
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse>|undefined}
|
|
832
|
+
* The XHR Node Readable Stream
|
|
833
|
+
*/
|
|
834
|
+
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.prototype.getPaymentMethodsInternal =
|
|
835
|
+
function(request, metadata, callback) {
|
|
836
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
837
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetPaymentMethodsInternal',
|
|
838
|
+
request,
|
|
839
|
+
metadata || {},
|
|
840
|
+
methodInfo_SniipPaymentMethodsServiceAPIService_GetPaymentMethodsInternal,
|
|
841
|
+
callback);
|
|
842
|
+
};
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
/**
|
|
846
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest} request The
|
|
847
|
+
* request proto
|
|
848
|
+
* @param {?Object<string, string>} metadata User defined
|
|
849
|
+
* call metadata
|
|
850
|
+
* @return {!Promise<!proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse>}
|
|
851
|
+
* A native promise that resolves to the response
|
|
852
|
+
*/
|
|
853
|
+
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.getPaymentMethodsInternal =
|
|
854
|
+
function(request, metadata) {
|
|
855
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
856
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetPaymentMethodsInternal',
|
|
857
|
+
request,
|
|
858
|
+
metadata || {},
|
|
859
|
+
methodInfo_SniipPaymentMethodsServiceAPIService_GetPaymentMethodsInternal);
|
|
860
|
+
};
|
|
861
|
+
|
|
862
|
+
|
|
808
863
|
/**
|
|
809
864
|
* @const
|
|
810
865
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
@@ -36,6 +36,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymen
|
|
|
36
36
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodRequest', null, global);
|
|
37
37
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodResponse', null, global);
|
|
38
38
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodsForAuditRequest', null, global);
|
|
39
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest', null, global);
|
|
39
40
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodsRequest', null, global);
|
|
40
41
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest', null, global);
|
|
41
42
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.MaskedCreditCard', null, global);
|
|
@@ -46,6 +47,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentRe
|
|
|
46
47
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodResponse', null, global);
|
|
47
48
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest', null, global);
|
|
48
49
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest', null, global);
|
|
50
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest', null, global);
|
|
49
51
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse', null, global);
|
|
50
52
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.RemovePaymentMethodRequest', null, global);
|
|
51
53
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ResponseCode', null, global);
|
|
@@ -4982,6 +4984,165 @@ proto.sniippaymentmethodsserviceapi.GetPaymentMethodsForAuditRequest.prototype.h
|
|
|
4982
4984
|
|
|
4983
4985
|
|
|
4984
4986
|
|
|
4987
|
+
/**
|
|
4988
|
+
* Generated by JsPbCodeGenerator.
|
|
4989
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4990
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4991
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4992
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4993
|
+
* valid.
|
|
4994
|
+
* @extends {jspb.Message}
|
|
4995
|
+
* @constructor
|
|
4996
|
+
*/
|
|
4997
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest = function(opt_data) {
|
|
4998
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4999
|
+
};
|
|
5000
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest, jspb.Message);
|
|
5001
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5002
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest.displayName = 'proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest';
|
|
5003
|
+
}
|
|
5004
|
+
|
|
5005
|
+
|
|
5006
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5007
|
+
/**
|
|
5008
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
5009
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5010
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5011
|
+
* For the list of reserved names please see:
|
|
5012
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
5013
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
5014
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
5015
|
+
* @return {!Object}
|
|
5016
|
+
*/
|
|
5017
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest.prototype.toObject = function(opt_includeInstance) {
|
|
5018
|
+
return proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest.toObject(opt_includeInstance, this);
|
|
5019
|
+
};
|
|
5020
|
+
|
|
5021
|
+
|
|
5022
|
+
/**
|
|
5023
|
+
* Static version of the {@see toObject} method.
|
|
5024
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
5025
|
+
* instance for transitional soy proto support:
|
|
5026
|
+
* http://goto/soy-param-migration
|
|
5027
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest} msg The msg instance to transform.
|
|
5028
|
+
* @return {!Object}
|
|
5029
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5030
|
+
*/
|
|
5031
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest.toObject = function(includeInstance, msg) {
|
|
5032
|
+
var f, obj = {
|
|
5033
|
+
data: (f = msg.getData()) && proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest.toObject(includeInstance, f)
|
|
5034
|
+
};
|
|
5035
|
+
|
|
5036
|
+
if (includeInstance) {
|
|
5037
|
+
obj.$jspbMessageInstance = msg;
|
|
5038
|
+
}
|
|
5039
|
+
return obj;
|
|
5040
|
+
};
|
|
5041
|
+
}
|
|
5042
|
+
|
|
5043
|
+
|
|
5044
|
+
/**
|
|
5045
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5046
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5047
|
+
* @return {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest}
|
|
5048
|
+
*/
|
|
5049
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest.deserializeBinary = function(bytes) {
|
|
5050
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5051
|
+
var msg = new proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest;
|
|
5052
|
+
return proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest.deserializeBinaryFromReader(msg, reader);
|
|
5053
|
+
};
|
|
5054
|
+
|
|
5055
|
+
|
|
5056
|
+
/**
|
|
5057
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5058
|
+
* given reader into the given message object.
|
|
5059
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest} msg The message object to deserialize into.
|
|
5060
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5061
|
+
* @return {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest}
|
|
5062
|
+
*/
|
|
5063
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
5064
|
+
while (reader.nextField()) {
|
|
5065
|
+
if (reader.isEndGroup()) {
|
|
5066
|
+
break;
|
|
5067
|
+
}
|
|
5068
|
+
var field = reader.getFieldNumber();
|
|
5069
|
+
switch (field) {
|
|
5070
|
+
case 1:
|
|
5071
|
+
var value = new proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest;
|
|
5072
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest.deserializeBinaryFromReader);
|
|
5073
|
+
msg.setData(value);
|
|
5074
|
+
break;
|
|
5075
|
+
default:
|
|
5076
|
+
reader.skipField();
|
|
5077
|
+
break;
|
|
5078
|
+
}
|
|
5079
|
+
}
|
|
5080
|
+
return msg;
|
|
5081
|
+
};
|
|
5082
|
+
|
|
5083
|
+
|
|
5084
|
+
/**
|
|
5085
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5086
|
+
* @return {!Uint8Array}
|
|
5087
|
+
*/
|
|
5088
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest.prototype.serializeBinary = function() {
|
|
5089
|
+
var writer = new jspb.BinaryWriter();
|
|
5090
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest.serializeBinaryToWriter(this, writer);
|
|
5091
|
+
return writer.getResultBuffer();
|
|
5092
|
+
};
|
|
5093
|
+
|
|
5094
|
+
|
|
5095
|
+
/**
|
|
5096
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5097
|
+
* format), writing to the given BinaryWriter.
|
|
5098
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest} message
|
|
5099
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5100
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5101
|
+
*/
|
|
5102
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest.serializeBinaryToWriter = function(message, writer) {
|
|
5103
|
+
var f = undefined;
|
|
5104
|
+
f = message.getData();
|
|
5105
|
+
if (f != null) {
|
|
5106
|
+
writer.writeMessage(
|
|
5107
|
+
1,
|
|
5108
|
+
f,
|
|
5109
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest.serializeBinaryToWriter
|
|
5110
|
+
);
|
|
5111
|
+
}
|
|
5112
|
+
};
|
|
5113
|
+
|
|
5114
|
+
|
|
5115
|
+
/**
|
|
5116
|
+
* optional PaymentMethodsInternalGetRequest data = 1;
|
|
5117
|
+
* @return {?proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest}
|
|
5118
|
+
*/
|
|
5119
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest.prototype.getData = function() {
|
|
5120
|
+
return /** @type{?proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest} */ (
|
|
5121
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest, 1));
|
|
5122
|
+
};
|
|
5123
|
+
|
|
5124
|
+
|
|
5125
|
+
/** @param {?proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest|undefined} value */
|
|
5126
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest.prototype.setData = function(value) {
|
|
5127
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
5128
|
+
};
|
|
5129
|
+
|
|
5130
|
+
|
|
5131
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest.prototype.clearData = function() {
|
|
5132
|
+
this.setData(undefined);
|
|
5133
|
+
};
|
|
5134
|
+
|
|
5135
|
+
|
|
5136
|
+
/**
|
|
5137
|
+
* Returns whether this field is set.
|
|
5138
|
+
* @return {!boolean}
|
|
5139
|
+
*/
|
|
5140
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest.prototype.hasData = function() {
|
|
5141
|
+
return jspb.Message.getField(this, 1) != null;
|
|
5142
|
+
};
|
|
5143
|
+
|
|
5144
|
+
|
|
5145
|
+
|
|
4985
5146
|
/**
|
|
4986
5147
|
* Generated by JsPbCodeGenerator.
|
|
4987
5148
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -7506,6 +7667,148 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest.prototype.setU
|
|
|
7506
7667
|
|
|
7507
7668
|
|
|
7508
7669
|
|
|
7670
|
+
/**
|
|
7671
|
+
* Generated by JsPbCodeGenerator.
|
|
7672
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7673
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7674
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7675
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7676
|
+
* valid.
|
|
7677
|
+
* @extends {jspb.Message}
|
|
7678
|
+
* @constructor
|
|
7679
|
+
*/
|
|
7680
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest = function(opt_data) {
|
|
7681
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7682
|
+
};
|
|
7683
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest, jspb.Message);
|
|
7684
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7685
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest.displayName = 'proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest';
|
|
7686
|
+
}
|
|
7687
|
+
|
|
7688
|
+
|
|
7689
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7690
|
+
/**
|
|
7691
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
7692
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7693
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7694
|
+
* For the list of reserved names please see:
|
|
7695
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
7696
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
7697
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
7698
|
+
* @return {!Object}
|
|
7699
|
+
*/
|
|
7700
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest.prototype.toObject = function(opt_includeInstance) {
|
|
7701
|
+
return proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest.toObject(opt_includeInstance, this);
|
|
7702
|
+
};
|
|
7703
|
+
|
|
7704
|
+
|
|
7705
|
+
/**
|
|
7706
|
+
* Static version of the {@see toObject} method.
|
|
7707
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
7708
|
+
* instance for transitional soy proto support:
|
|
7709
|
+
* http://goto/soy-param-migration
|
|
7710
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest} msg The msg instance to transform.
|
|
7711
|
+
* @return {!Object}
|
|
7712
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7713
|
+
*/
|
|
7714
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest.toObject = function(includeInstance, msg) {
|
|
7715
|
+
var f, obj = {
|
|
7716
|
+
userid: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
7717
|
+
};
|
|
7718
|
+
|
|
7719
|
+
if (includeInstance) {
|
|
7720
|
+
obj.$jspbMessageInstance = msg;
|
|
7721
|
+
}
|
|
7722
|
+
return obj;
|
|
7723
|
+
};
|
|
7724
|
+
}
|
|
7725
|
+
|
|
7726
|
+
|
|
7727
|
+
/**
|
|
7728
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7729
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7730
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest}
|
|
7731
|
+
*/
|
|
7732
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest.deserializeBinary = function(bytes) {
|
|
7733
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7734
|
+
var msg = new proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest;
|
|
7735
|
+
return proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest.deserializeBinaryFromReader(msg, reader);
|
|
7736
|
+
};
|
|
7737
|
+
|
|
7738
|
+
|
|
7739
|
+
/**
|
|
7740
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7741
|
+
* given reader into the given message object.
|
|
7742
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest} msg The message object to deserialize into.
|
|
7743
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7744
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest}
|
|
7745
|
+
*/
|
|
7746
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
7747
|
+
while (reader.nextField()) {
|
|
7748
|
+
if (reader.isEndGroup()) {
|
|
7749
|
+
break;
|
|
7750
|
+
}
|
|
7751
|
+
var field = reader.getFieldNumber();
|
|
7752
|
+
switch (field) {
|
|
7753
|
+
case 1:
|
|
7754
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
7755
|
+
msg.setUserid(value);
|
|
7756
|
+
break;
|
|
7757
|
+
default:
|
|
7758
|
+
reader.skipField();
|
|
7759
|
+
break;
|
|
7760
|
+
}
|
|
7761
|
+
}
|
|
7762
|
+
return msg;
|
|
7763
|
+
};
|
|
7764
|
+
|
|
7765
|
+
|
|
7766
|
+
/**
|
|
7767
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7768
|
+
* @return {!Uint8Array}
|
|
7769
|
+
*/
|
|
7770
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest.prototype.serializeBinary = function() {
|
|
7771
|
+
var writer = new jspb.BinaryWriter();
|
|
7772
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest.serializeBinaryToWriter(this, writer);
|
|
7773
|
+
return writer.getResultBuffer();
|
|
7774
|
+
};
|
|
7775
|
+
|
|
7776
|
+
|
|
7777
|
+
/**
|
|
7778
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
7779
|
+
* format), writing to the given BinaryWriter.
|
|
7780
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest} message
|
|
7781
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7782
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7783
|
+
*/
|
|
7784
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest.serializeBinaryToWriter = function(message, writer) {
|
|
7785
|
+
var f = undefined;
|
|
7786
|
+
f = message.getUserid();
|
|
7787
|
+
if (f !== 0) {
|
|
7788
|
+
writer.writeInt64(
|
|
7789
|
+
1,
|
|
7790
|
+
f
|
|
7791
|
+
);
|
|
7792
|
+
}
|
|
7793
|
+
};
|
|
7794
|
+
|
|
7795
|
+
|
|
7796
|
+
/**
|
|
7797
|
+
* optional int64 userId = 1;
|
|
7798
|
+
* @return {number}
|
|
7799
|
+
*/
|
|
7800
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest.prototype.getUserid = function() {
|
|
7801
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
7802
|
+
};
|
|
7803
|
+
|
|
7804
|
+
|
|
7805
|
+
/** @param {number} value */
|
|
7806
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest.prototype.setUserid = function(value) {
|
|
7807
|
+
jspb.Message.setProto3IntField(this, 1, value);
|
|
7808
|
+
};
|
|
7809
|
+
|
|
7810
|
+
|
|
7811
|
+
|
|
7509
7812
|
/**
|
|
7510
7813
|
* Generated by JsPbCodeGenerator.
|
|
7511
7814
|
* @param {Array=} opt_data Optional initial data array, typically from a
|