@sniipwebmaster/payment-methods-client-grpcweb 26.5.8461 → 26.5.8486
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.
- package/dependancies/service_pb.js +842 -30
- package/package.json +1 -1
|
@@ -43,6 +43,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.BankVerifyCodeResponse',
|
|
|
43
43
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.BillConfigForPayment', null, global);
|
|
44
44
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.BillConfigsForPaymentRequest', null, global);
|
|
45
45
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.BillConfigsForPaymentResponse', null, global);
|
|
46
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.BrowserInfo', null, global);
|
|
46
47
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentRequest', null, global);
|
|
47
48
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentResponse', null, global);
|
|
48
49
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CardHashRequest', null, global);
|
|
@@ -2349,6 +2350,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2349
2350
|
*/
|
|
2350
2351
|
proto.sniippaymentmethodsserviceapi.ZenithTokenAddResponse.displayName = 'proto.sniippaymentmethodsserviceapi.ZenithTokenAddResponse';
|
|
2351
2352
|
}
|
|
2353
|
+
/**
|
|
2354
|
+
* Generated by JsPbCodeGenerator.
|
|
2355
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2356
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2357
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2358
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2359
|
+
* valid.
|
|
2360
|
+
* @extends {jspb.Message}
|
|
2361
|
+
* @constructor
|
|
2362
|
+
*/
|
|
2363
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo = function(opt_data) {
|
|
2364
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2365
|
+
};
|
|
2366
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.BrowserInfo, jspb.Message);
|
|
2367
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2368
|
+
/**
|
|
2369
|
+
* @public
|
|
2370
|
+
* @override
|
|
2371
|
+
*/
|
|
2372
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.displayName = 'proto.sniippaymentmethodsserviceapi.BrowserInfo';
|
|
2373
|
+
}
|
|
2352
2374
|
/**
|
|
2353
2375
|
* Generated by JsPbCodeGenerator.
|
|
2354
2376
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -4460,7 +4482,9 @@ proto.sniippaymentmethodsserviceapi.AddPaymentMethod.toObject = function(include
|
|
|
4460
4482
|
wexcard: (f = msg.getWexcard()) && proto.sniippaymentmethodsserviceapi.WexCard.toObject(includeInstance, f),
|
|
4461
4483
|
alternativepaymentmethod: (f = msg.getAlternativepaymentmethod()) && proto.sniippaymentmethodsserviceapi.AlternativePaymentMethod.toObject(includeInstance, f),
|
|
4462
4484
|
paytobankaccount: (f = msg.getPaytobankaccount()) && proto.sniippaymentmethodsserviceapi.PaytoBankAccount.toObject(includeInstance, f),
|
|
4463
|
-
userid: jspb.Message.getFieldWithDefault(msg, 10, 0)
|
|
4485
|
+
userid: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
4486
|
+
platform: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
4487
|
+
browserinfo: (f = msg.getBrowserinfo()) && proto.sniippaymentmethodsserviceapi.BrowserInfo.toObject(includeInstance, f)
|
|
4464
4488
|
};
|
|
4465
4489
|
|
|
4466
4490
|
if (includeInstance) {
|
|
@@ -4544,6 +4568,15 @@ proto.sniippaymentmethodsserviceapi.AddPaymentMethod.deserializeBinaryFromReader
|
|
|
4544
4568
|
var value = /** @type {number} */ (reader.readInt64());
|
|
4545
4569
|
msg.setUserid(value);
|
|
4546
4570
|
break;
|
|
4571
|
+
case 11:
|
|
4572
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4573
|
+
msg.setPlatform(value);
|
|
4574
|
+
break;
|
|
4575
|
+
case 12:
|
|
4576
|
+
var value = new proto.sniippaymentmethodsserviceapi.BrowserInfo;
|
|
4577
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.BrowserInfo.deserializeBinaryFromReader);
|
|
4578
|
+
msg.setBrowserinfo(value);
|
|
4579
|
+
break;
|
|
4547
4580
|
default:
|
|
4548
4581
|
reader.skipField();
|
|
4549
4582
|
break;
|
|
@@ -4650,6 +4683,21 @@ proto.sniippaymentmethodsserviceapi.AddPaymentMethod.serializeBinaryToWriter = f
|
|
|
4650
4683
|
f
|
|
4651
4684
|
);
|
|
4652
4685
|
}
|
|
4686
|
+
f = message.getPlatform();
|
|
4687
|
+
if (f.length > 0) {
|
|
4688
|
+
writer.writeString(
|
|
4689
|
+
11,
|
|
4690
|
+
f
|
|
4691
|
+
);
|
|
4692
|
+
}
|
|
4693
|
+
f = message.getBrowserinfo();
|
|
4694
|
+
if (f != null) {
|
|
4695
|
+
writer.writeMessage(
|
|
4696
|
+
12,
|
|
4697
|
+
f,
|
|
4698
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.serializeBinaryToWriter
|
|
4699
|
+
);
|
|
4700
|
+
}
|
|
4653
4701
|
};
|
|
4654
4702
|
|
|
4655
4703
|
|
|
@@ -4966,6 +5014,61 @@ proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.setUserid = funct
|
|
|
4966
5014
|
};
|
|
4967
5015
|
|
|
4968
5016
|
|
|
5017
|
+
/**
|
|
5018
|
+
* optional string platform = 11;
|
|
5019
|
+
* @return {string}
|
|
5020
|
+
*/
|
|
5021
|
+
proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.getPlatform = function() {
|
|
5022
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
5023
|
+
};
|
|
5024
|
+
|
|
5025
|
+
|
|
5026
|
+
/**
|
|
5027
|
+
* @param {string} value
|
|
5028
|
+
* @return {!proto.sniippaymentmethodsserviceapi.AddPaymentMethod} returns this
|
|
5029
|
+
*/
|
|
5030
|
+
proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.setPlatform = function(value) {
|
|
5031
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
5032
|
+
};
|
|
5033
|
+
|
|
5034
|
+
|
|
5035
|
+
/**
|
|
5036
|
+
* optional BrowserInfo browserInfo = 12;
|
|
5037
|
+
* @return {?proto.sniippaymentmethodsserviceapi.BrowserInfo}
|
|
5038
|
+
*/
|
|
5039
|
+
proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.getBrowserinfo = function() {
|
|
5040
|
+
return /** @type{?proto.sniippaymentmethodsserviceapi.BrowserInfo} */ (
|
|
5041
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.BrowserInfo, 12));
|
|
5042
|
+
};
|
|
5043
|
+
|
|
5044
|
+
|
|
5045
|
+
/**
|
|
5046
|
+
* @param {?proto.sniippaymentmethodsserviceapi.BrowserInfo|undefined} value
|
|
5047
|
+
* @return {!proto.sniippaymentmethodsserviceapi.AddPaymentMethod} returns this
|
|
5048
|
+
*/
|
|
5049
|
+
proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.setBrowserinfo = function(value) {
|
|
5050
|
+
return jspb.Message.setWrapperField(this, 12, value);
|
|
5051
|
+
};
|
|
5052
|
+
|
|
5053
|
+
|
|
5054
|
+
/**
|
|
5055
|
+
* Clears the message field making it undefined.
|
|
5056
|
+
* @return {!proto.sniippaymentmethodsserviceapi.AddPaymentMethod} returns this
|
|
5057
|
+
*/
|
|
5058
|
+
proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.clearBrowserinfo = function() {
|
|
5059
|
+
return this.setBrowserinfo(undefined);
|
|
5060
|
+
};
|
|
5061
|
+
|
|
5062
|
+
|
|
5063
|
+
/**
|
|
5064
|
+
* Returns whether this field is set.
|
|
5065
|
+
* @return {boolean}
|
|
5066
|
+
*/
|
|
5067
|
+
proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.hasBrowserinfo = function() {
|
|
5068
|
+
return jspb.Message.getField(this, 12) != null;
|
|
5069
|
+
};
|
|
5070
|
+
|
|
5071
|
+
|
|
4969
5072
|
|
|
4970
5073
|
|
|
4971
5074
|
|
|
@@ -29864,8 +29967,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
29864
29967
|
* http://goto/soy-param-migration
|
|
29865
29968
|
* @return {!Object}
|
|
29866
29969
|
*/
|
|
29867
|
-
proto.sniippaymentmethodsserviceapi.
|
|
29868
|
-
return proto.sniippaymentmethodsserviceapi.
|
|
29970
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.toObject = function(opt_includeInstance) {
|
|
29971
|
+
return proto.sniippaymentmethodsserviceapi.BrowserInfo.toObject(opt_includeInstance, this);
|
|
29869
29972
|
};
|
|
29870
29973
|
|
|
29871
29974
|
|
|
@@ -29874,13 +29977,23 @@ proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest.prototype.toObjec
|
|
|
29874
29977
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
29875
29978
|
* the JSPB instance for transitional soy proto support:
|
|
29876
29979
|
* http://goto/soy-param-migration
|
|
29877
|
-
* @param {!proto.sniippaymentmethodsserviceapi.
|
|
29980
|
+
* @param {!proto.sniippaymentmethodsserviceapi.BrowserInfo} msg The msg instance to transform.
|
|
29878
29981
|
* @return {!Object}
|
|
29879
29982
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
29880
29983
|
*/
|
|
29881
|
-
proto.sniippaymentmethodsserviceapi.
|
|
29984
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.toObject = function(includeInstance, msg) {
|
|
29882
29985
|
var f, obj = {
|
|
29883
|
-
|
|
29986
|
+
useragent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
29987
|
+
acceptcontent: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
29988
|
+
language: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
29989
|
+
colordepth: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
29990
|
+
screenwidth: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
29991
|
+
screenheight: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
29992
|
+
timezoneoffsetminutes: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
29993
|
+
javaenabled: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
|
|
29994
|
+
javascriptenabled: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
|
|
29995
|
+
acswindowsize: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
29996
|
+
httpacceptbrowservalue: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
29884
29997
|
};
|
|
29885
29998
|
|
|
29886
29999
|
if (includeInstance) {
|
|
@@ -29894,23 +30007,23 @@ proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest.toObject = functi
|
|
|
29894
30007
|
/**
|
|
29895
30008
|
* Deserializes binary data (in protobuf wire format).
|
|
29896
30009
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
29897
|
-
* @return {!proto.sniippaymentmethodsserviceapi.
|
|
30010
|
+
* @return {!proto.sniippaymentmethodsserviceapi.BrowserInfo}
|
|
29898
30011
|
*/
|
|
29899
|
-
proto.sniippaymentmethodsserviceapi.
|
|
30012
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.deserializeBinary = function(bytes) {
|
|
29900
30013
|
var reader = new jspb.BinaryReader(bytes);
|
|
29901
|
-
var msg = new proto.sniippaymentmethodsserviceapi.
|
|
29902
|
-
return proto.sniippaymentmethodsserviceapi.
|
|
30014
|
+
var msg = new proto.sniippaymentmethodsserviceapi.BrowserInfo;
|
|
30015
|
+
return proto.sniippaymentmethodsserviceapi.BrowserInfo.deserializeBinaryFromReader(msg, reader);
|
|
29903
30016
|
};
|
|
29904
30017
|
|
|
29905
30018
|
|
|
29906
30019
|
/**
|
|
29907
30020
|
* Deserializes binary data (in protobuf wire format) from the
|
|
29908
30021
|
* given reader into the given message object.
|
|
29909
|
-
* @param {!proto.sniippaymentmethodsserviceapi.
|
|
30022
|
+
* @param {!proto.sniippaymentmethodsserviceapi.BrowserInfo} msg The message object to deserialize into.
|
|
29910
30023
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
29911
|
-
* @return {!proto.sniippaymentmethodsserviceapi.
|
|
30024
|
+
* @return {!proto.sniippaymentmethodsserviceapi.BrowserInfo}
|
|
29912
30025
|
*/
|
|
29913
|
-
proto.sniippaymentmethodsserviceapi.
|
|
30026
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.deserializeBinaryFromReader = function(msg, reader) {
|
|
29914
30027
|
while (reader.nextField()) {
|
|
29915
30028
|
if (reader.isEndGroup()) {
|
|
29916
30029
|
break;
|
|
@@ -29918,8 +30031,48 @@ proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest.deserializeBinary
|
|
|
29918
30031
|
var field = reader.getFieldNumber();
|
|
29919
30032
|
switch (field) {
|
|
29920
30033
|
case 1:
|
|
29921
|
-
var value = /** @type {
|
|
29922
|
-
msg.
|
|
30034
|
+
var value = /** @type {string} */ (reader.readString());
|
|
30035
|
+
msg.setUseragent(value);
|
|
30036
|
+
break;
|
|
30037
|
+
case 2:
|
|
30038
|
+
var value = /** @type {string} */ (reader.readString());
|
|
30039
|
+
msg.setAcceptcontent(value);
|
|
30040
|
+
break;
|
|
30041
|
+
case 3:
|
|
30042
|
+
var value = /** @type {string} */ (reader.readString());
|
|
30043
|
+
msg.setLanguage(value);
|
|
30044
|
+
break;
|
|
30045
|
+
case 4:
|
|
30046
|
+
var value = /** @type {string} */ (reader.readString());
|
|
30047
|
+
msg.setColordepth(value);
|
|
30048
|
+
break;
|
|
30049
|
+
case 5:
|
|
30050
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
30051
|
+
msg.setScreenwidth(value);
|
|
30052
|
+
break;
|
|
30053
|
+
case 6:
|
|
30054
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
30055
|
+
msg.setScreenheight(value);
|
|
30056
|
+
break;
|
|
30057
|
+
case 7:
|
|
30058
|
+
var value = /** @type {string} */ (reader.readString());
|
|
30059
|
+
msg.setTimezoneoffsetminutes(value);
|
|
30060
|
+
break;
|
|
30061
|
+
case 8:
|
|
30062
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
30063
|
+
msg.setJavaenabled(value);
|
|
30064
|
+
break;
|
|
30065
|
+
case 9:
|
|
30066
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
30067
|
+
msg.setJavascriptenabled(value);
|
|
30068
|
+
break;
|
|
30069
|
+
case 10:
|
|
30070
|
+
var value = /** @type {string} */ (reader.readString());
|
|
30071
|
+
msg.setAcswindowsize(value);
|
|
30072
|
+
break;
|
|
30073
|
+
case 11:
|
|
30074
|
+
var value = /** @type {string} */ (reader.readString());
|
|
30075
|
+
msg.setHttpacceptbrowservalue(value);
|
|
29923
30076
|
break;
|
|
29924
30077
|
default:
|
|
29925
30078
|
reader.skipField();
|
|
@@ -29934,9 +30087,9 @@ proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest.deserializeBinary
|
|
|
29934
30087
|
* Serializes the message to binary data (in protobuf wire format).
|
|
29935
30088
|
* @return {!Uint8Array}
|
|
29936
30089
|
*/
|
|
29937
|
-
proto.sniippaymentmethodsserviceapi.
|
|
30090
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.serializeBinary = function() {
|
|
29938
30091
|
var writer = new jspb.BinaryWriter();
|
|
29939
|
-
proto.sniippaymentmethodsserviceapi.
|
|
30092
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.serializeBinaryToWriter(this, writer);
|
|
29940
30093
|
return writer.getResultBuffer();
|
|
29941
30094
|
};
|
|
29942
30095
|
|
|
@@ -29944,37 +30097,696 @@ proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest.prototype.seriali
|
|
|
29944
30097
|
/**
|
|
29945
30098
|
* Serializes the given message to binary data (in protobuf wire
|
|
29946
30099
|
* format), writing to the given BinaryWriter.
|
|
29947
|
-
* @param {!proto.sniippaymentmethodsserviceapi.
|
|
30100
|
+
* @param {!proto.sniippaymentmethodsserviceapi.BrowserInfo} message
|
|
29948
30101
|
* @param {!jspb.BinaryWriter} writer
|
|
29949
30102
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
29950
30103
|
*/
|
|
29951
|
-
proto.sniippaymentmethodsserviceapi.
|
|
30104
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.serializeBinaryToWriter = function(message, writer) {
|
|
29952
30105
|
var f = undefined;
|
|
29953
|
-
f =
|
|
29954
|
-
if (f
|
|
29955
|
-
writer.
|
|
30106
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
30107
|
+
if (f != null) {
|
|
30108
|
+
writer.writeString(
|
|
29956
30109
|
1,
|
|
29957
30110
|
f
|
|
29958
30111
|
);
|
|
29959
30112
|
}
|
|
30113
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
30114
|
+
if (f != null) {
|
|
30115
|
+
writer.writeString(
|
|
30116
|
+
2,
|
|
30117
|
+
f
|
|
30118
|
+
);
|
|
30119
|
+
}
|
|
30120
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
30121
|
+
if (f != null) {
|
|
30122
|
+
writer.writeString(
|
|
30123
|
+
3,
|
|
30124
|
+
f
|
|
30125
|
+
);
|
|
30126
|
+
}
|
|
30127
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
30128
|
+
if (f != null) {
|
|
30129
|
+
writer.writeString(
|
|
30130
|
+
4,
|
|
30131
|
+
f
|
|
30132
|
+
);
|
|
30133
|
+
}
|
|
30134
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
|
30135
|
+
if (f != null) {
|
|
30136
|
+
writer.writeInt32(
|
|
30137
|
+
5,
|
|
30138
|
+
f
|
|
30139
|
+
);
|
|
30140
|
+
}
|
|
30141
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
|
30142
|
+
if (f != null) {
|
|
30143
|
+
writer.writeInt32(
|
|
30144
|
+
6,
|
|
30145
|
+
f
|
|
30146
|
+
);
|
|
30147
|
+
}
|
|
30148
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
30149
|
+
if (f != null) {
|
|
30150
|
+
writer.writeString(
|
|
30151
|
+
7,
|
|
30152
|
+
f
|
|
30153
|
+
);
|
|
30154
|
+
}
|
|
30155
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 8));
|
|
30156
|
+
if (f != null) {
|
|
30157
|
+
writer.writeBool(
|
|
30158
|
+
8,
|
|
30159
|
+
f
|
|
30160
|
+
);
|
|
30161
|
+
}
|
|
30162
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 9));
|
|
30163
|
+
if (f != null) {
|
|
30164
|
+
writer.writeBool(
|
|
30165
|
+
9,
|
|
30166
|
+
f
|
|
30167
|
+
);
|
|
30168
|
+
}
|
|
30169
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
|
30170
|
+
if (f != null) {
|
|
30171
|
+
writer.writeString(
|
|
30172
|
+
10,
|
|
30173
|
+
f
|
|
30174
|
+
);
|
|
30175
|
+
}
|
|
30176
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 11));
|
|
30177
|
+
if (f != null) {
|
|
30178
|
+
writer.writeString(
|
|
30179
|
+
11,
|
|
30180
|
+
f
|
|
30181
|
+
);
|
|
30182
|
+
}
|
|
29960
30183
|
};
|
|
29961
30184
|
|
|
29962
30185
|
|
|
29963
30186
|
/**
|
|
29964
|
-
* optional
|
|
29965
|
-
* @return {
|
|
30187
|
+
* optional string userAgent = 1;
|
|
30188
|
+
* @return {string}
|
|
29966
30189
|
*/
|
|
29967
|
-
proto.sniippaymentmethodsserviceapi.
|
|
29968
|
-
return /** @type {
|
|
30190
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.getUseragent = function() {
|
|
30191
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
29969
30192
|
};
|
|
29970
30193
|
|
|
29971
30194
|
|
|
29972
30195
|
/**
|
|
29973
|
-
* @param {
|
|
29974
|
-
* @return {!proto.sniippaymentmethodsserviceapi.
|
|
30196
|
+
* @param {string} value
|
|
30197
|
+
* @return {!proto.sniippaymentmethodsserviceapi.BrowserInfo} returns this
|
|
29975
30198
|
*/
|
|
29976
|
-
proto.sniippaymentmethodsserviceapi.
|
|
29977
|
-
return jspb.Message.
|
|
30199
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.setUseragent = function(value) {
|
|
30200
|
+
return jspb.Message.setField(this, 1, value);
|
|
30201
|
+
};
|
|
30202
|
+
|
|
30203
|
+
|
|
30204
|
+
/**
|
|
30205
|
+
* Clears the field making it undefined.
|
|
30206
|
+
* @return {!proto.sniippaymentmethodsserviceapi.BrowserInfo} returns this
|
|
30207
|
+
*/
|
|
30208
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.clearUseragent = function() {
|
|
30209
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
30210
|
+
};
|
|
30211
|
+
|
|
30212
|
+
|
|
30213
|
+
/**
|
|
30214
|
+
* Returns whether this field is set.
|
|
30215
|
+
* @return {boolean}
|
|
30216
|
+
*/
|
|
30217
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.hasUseragent = function() {
|
|
30218
|
+
return jspb.Message.getField(this, 1) != null;
|
|
30219
|
+
};
|
|
30220
|
+
|
|
30221
|
+
|
|
30222
|
+
/**
|
|
30223
|
+
* optional string acceptContent = 2;
|
|
30224
|
+
* @return {string}
|
|
30225
|
+
*/
|
|
30226
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.getAcceptcontent = function() {
|
|
30227
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
30228
|
+
};
|
|
30229
|
+
|
|
30230
|
+
|
|
30231
|
+
/**
|
|
30232
|
+
* @param {string} value
|
|
30233
|
+
* @return {!proto.sniippaymentmethodsserviceapi.BrowserInfo} returns this
|
|
30234
|
+
*/
|
|
30235
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.setAcceptcontent = function(value) {
|
|
30236
|
+
return jspb.Message.setField(this, 2, value);
|
|
30237
|
+
};
|
|
30238
|
+
|
|
30239
|
+
|
|
30240
|
+
/**
|
|
30241
|
+
* Clears the field making it undefined.
|
|
30242
|
+
* @return {!proto.sniippaymentmethodsserviceapi.BrowserInfo} returns this
|
|
30243
|
+
*/
|
|
30244
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.clearAcceptcontent = function() {
|
|
30245
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
30246
|
+
};
|
|
30247
|
+
|
|
30248
|
+
|
|
30249
|
+
/**
|
|
30250
|
+
* Returns whether this field is set.
|
|
30251
|
+
* @return {boolean}
|
|
30252
|
+
*/
|
|
30253
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.hasAcceptcontent = function() {
|
|
30254
|
+
return jspb.Message.getField(this, 2) != null;
|
|
30255
|
+
};
|
|
30256
|
+
|
|
30257
|
+
|
|
30258
|
+
/**
|
|
30259
|
+
* optional string language = 3;
|
|
30260
|
+
* @return {string}
|
|
30261
|
+
*/
|
|
30262
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.getLanguage = function() {
|
|
30263
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
30264
|
+
};
|
|
30265
|
+
|
|
30266
|
+
|
|
30267
|
+
/**
|
|
30268
|
+
* @param {string} value
|
|
30269
|
+
* @return {!proto.sniippaymentmethodsserviceapi.BrowserInfo} returns this
|
|
30270
|
+
*/
|
|
30271
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.setLanguage = function(value) {
|
|
30272
|
+
return jspb.Message.setField(this, 3, value);
|
|
30273
|
+
};
|
|
30274
|
+
|
|
30275
|
+
|
|
30276
|
+
/**
|
|
30277
|
+
* Clears the field making it undefined.
|
|
30278
|
+
* @return {!proto.sniippaymentmethodsserviceapi.BrowserInfo} returns this
|
|
30279
|
+
*/
|
|
30280
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.clearLanguage = function() {
|
|
30281
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
30282
|
+
};
|
|
30283
|
+
|
|
30284
|
+
|
|
30285
|
+
/**
|
|
30286
|
+
* Returns whether this field is set.
|
|
30287
|
+
* @return {boolean}
|
|
30288
|
+
*/
|
|
30289
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.hasLanguage = function() {
|
|
30290
|
+
return jspb.Message.getField(this, 3) != null;
|
|
30291
|
+
};
|
|
30292
|
+
|
|
30293
|
+
|
|
30294
|
+
/**
|
|
30295
|
+
* optional string colorDepth = 4;
|
|
30296
|
+
* @return {string}
|
|
30297
|
+
*/
|
|
30298
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.getColordepth = function() {
|
|
30299
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
30300
|
+
};
|
|
30301
|
+
|
|
30302
|
+
|
|
30303
|
+
/**
|
|
30304
|
+
* @param {string} value
|
|
30305
|
+
* @return {!proto.sniippaymentmethodsserviceapi.BrowserInfo} returns this
|
|
30306
|
+
*/
|
|
30307
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.setColordepth = function(value) {
|
|
30308
|
+
return jspb.Message.setField(this, 4, value);
|
|
30309
|
+
};
|
|
30310
|
+
|
|
30311
|
+
|
|
30312
|
+
/**
|
|
30313
|
+
* Clears the field making it undefined.
|
|
30314
|
+
* @return {!proto.sniippaymentmethodsserviceapi.BrowserInfo} returns this
|
|
30315
|
+
*/
|
|
30316
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.clearColordepth = function() {
|
|
30317
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
30318
|
+
};
|
|
30319
|
+
|
|
30320
|
+
|
|
30321
|
+
/**
|
|
30322
|
+
* Returns whether this field is set.
|
|
30323
|
+
* @return {boolean}
|
|
30324
|
+
*/
|
|
30325
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.hasColordepth = function() {
|
|
30326
|
+
return jspb.Message.getField(this, 4) != null;
|
|
30327
|
+
};
|
|
30328
|
+
|
|
30329
|
+
|
|
30330
|
+
/**
|
|
30331
|
+
* optional int32 screenWidth = 5;
|
|
30332
|
+
* @return {number}
|
|
30333
|
+
*/
|
|
30334
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.getScreenwidth = function() {
|
|
30335
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
30336
|
+
};
|
|
30337
|
+
|
|
30338
|
+
|
|
30339
|
+
/**
|
|
30340
|
+
* @param {number} value
|
|
30341
|
+
* @return {!proto.sniippaymentmethodsserviceapi.BrowserInfo} returns this
|
|
30342
|
+
*/
|
|
30343
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.setScreenwidth = function(value) {
|
|
30344
|
+
return jspb.Message.setField(this, 5, value);
|
|
30345
|
+
};
|
|
30346
|
+
|
|
30347
|
+
|
|
30348
|
+
/**
|
|
30349
|
+
* Clears the field making it undefined.
|
|
30350
|
+
* @return {!proto.sniippaymentmethodsserviceapi.BrowserInfo} returns this
|
|
30351
|
+
*/
|
|
30352
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.clearScreenwidth = function() {
|
|
30353
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
30354
|
+
};
|
|
30355
|
+
|
|
30356
|
+
|
|
30357
|
+
/**
|
|
30358
|
+
* Returns whether this field is set.
|
|
30359
|
+
* @return {boolean}
|
|
30360
|
+
*/
|
|
30361
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.hasScreenwidth = function() {
|
|
30362
|
+
return jspb.Message.getField(this, 5) != null;
|
|
30363
|
+
};
|
|
30364
|
+
|
|
30365
|
+
|
|
30366
|
+
/**
|
|
30367
|
+
* optional int32 screenHeight = 6;
|
|
30368
|
+
* @return {number}
|
|
30369
|
+
*/
|
|
30370
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.getScreenheight = function() {
|
|
30371
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
30372
|
+
};
|
|
30373
|
+
|
|
30374
|
+
|
|
30375
|
+
/**
|
|
30376
|
+
* @param {number} value
|
|
30377
|
+
* @return {!proto.sniippaymentmethodsserviceapi.BrowserInfo} returns this
|
|
30378
|
+
*/
|
|
30379
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.setScreenheight = function(value) {
|
|
30380
|
+
return jspb.Message.setField(this, 6, value);
|
|
30381
|
+
};
|
|
30382
|
+
|
|
30383
|
+
|
|
30384
|
+
/**
|
|
30385
|
+
* Clears the field making it undefined.
|
|
30386
|
+
* @return {!proto.sniippaymentmethodsserviceapi.BrowserInfo} returns this
|
|
30387
|
+
*/
|
|
30388
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.clearScreenheight = function() {
|
|
30389
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
30390
|
+
};
|
|
30391
|
+
|
|
30392
|
+
|
|
30393
|
+
/**
|
|
30394
|
+
* Returns whether this field is set.
|
|
30395
|
+
* @return {boolean}
|
|
30396
|
+
*/
|
|
30397
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.hasScreenheight = function() {
|
|
30398
|
+
return jspb.Message.getField(this, 6) != null;
|
|
30399
|
+
};
|
|
30400
|
+
|
|
30401
|
+
|
|
30402
|
+
/**
|
|
30403
|
+
* optional string timeZoneOffsetMinutes = 7;
|
|
30404
|
+
* @return {string}
|
|
30405
|
+
*/
|
|
30406
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.getTimezoneoffsetminutes = function() {
|
|
30407
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
30408
|
+
};
|
|
30409
|
+
|
|
30410
|
+
|
|
30411
|
+
/**
|
|
30412
|
+
* @param {string} value
|
|
30413
|
+
* @return {!proto.sniippaymentmethodsserviceapi.BrowserInfo} returns this
|
|
30414
|
+
*/
|
|
30415
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.setTimezoneoffsetminutes = function(value) {
|
|
30416
|
+
return jspb.Message.setField(this, 7, value);
|
|
30417
|
+
};
|
|
30418
|
+
|
|
30419
|
+
|
|
30420
|
+
/**
|
|
30421
|
+
* Clears the field making it undefined.
|
|
30422
|
+
* @return {!proto.sniippaymentmethodsserviceapi.BrowserInfo} returns this
|
|
30423
|
+
*/
|
|
30424
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.clearTimezoneoffsetminutes = function() {
|
|
30425
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
30426
|
+
};
|
|
30427
|
+
|
|
30428
|
+
|
|
30429
|
+
/**
|
|
30430
|
+
* Returns whether this field is set.
|
|
30431
|
+
* @return {boolean}
|
|
30432
|
+
*/
|
|
30433
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.hasTimezoneoffsetminutes = function() {
|
|
30434
|
+
return jspb.Message.getField(this, 7) != null;
|
|
30435
|
+
};
|
|
30436
|
+
|
|
30437
|
+
|
|
30438
|
+
/**
|
|
30439
|
+
* optional bool javaEnabled = 8;
|
|
30440
|
+
* @return {boolean}
|
|
30441
|
+
*/
|
|
30442
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.getJavaenabled = function() {
|
|
30443
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
|
|
30444
|
+
};
|
|
30445
|
+
|
|
30446
|
+
|
|
30447
|
+
/**
|
|
30448
|
+
* @param {boolean} value
|
|
30449
|
+
* @return {!proto.sniippaymentmethodsserviceapi.BrowserInfo} returns this
|
|
30450
|
+
*/
|
|
30451
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.setJavaenabled = function(value) {
|
|
30452
|
+
return jspb.Message.setField(this, 8, value);
|
|
30453
|
+
};
|
|
30454
|
+
|
|
30455
|
+
|
|
30456
|
+
/**
|
|
30457
|
+
* Clears the field making it undefined.
|
|
30458
|
+
* @return {!proto.sniippaymentmethodsserviceapi.BrowserInfo} returns this
|
|
30459
|
+
*/
|
|
30460
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.clearJavaenabled = function() {
|
|
30461
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
30462
|
+
};
|
|
30463
|
+
|
|
30464
|
+
|
|
30465
|
+
/**
|
|
30466
|
+
* Returns whether this field is set.
|
|
30467
|
+
* @return {boolean}
|
|
30468
|
+
*/
|
|
30469
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.hasJavaenabled = function() {
|
|
30470
|
+
return jspb.Message.getField(this, 8) != null;
|
|
30471
|
+
};
|
|
30472
|
+
|
|
30473
|
+
|
|
30474
|
+
/**
|
|
30475
|
+
* optional bool javaScriptEnabled = 9;
|
|
30476
|
+
* @return {boolean}
|
|
30477
|
+
*/
|
|
30478
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.getJavascriptenabled = function() {
|
|
30479
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 9, false));
|
|
30480
|
+
};
|
|
30481
|
+
|
|
30482
|
+
|
|
30483
|
+
/**
|
|
30484
|
+
* @param {boolean} value
|
|
30485
|
+
* @return {!proto.sniippaymentmethodsserviceapi.BrowserInfo} returns this
|
|
30486
|
+
*/
|
|
30487
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.setJavascriptenabled = function(value) {
|
|
30488
|
+
return jspb.Message.setField(this, 9, value);
|
|
30489
|
+
};
|
|
30490
|
+
|
|
30491
|
+
|
|
30492
|
+
/**
|
|
30493
|
+
* Clears the field making it undefined.
|
|
30494
|
+
* @return {!proto.sniippaymentmethodsserviceapi.BrowserInfo} returns this
|
|
30495
|
+
*/
|
|
30496
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.clearJavascriptenabled = function() {
|
|
30497
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
30498
|
+
};
|
|
30499
|
+
|
|
30500
|
+
|
|
30501
|
+
/**
|
|
30502
|
+
* Returns whether this field is set.
|
|
30503
|
+
* @return {boolean}
|
|
30504
|
+
*/
|
|
30505
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.hasJavascriptenabled = function() {
|
|
30506
|
+
return jspb.Message.getField(this, 9) != null;
|
|
30507
|
+
};
|
|
30508
|
+
|
|
30509
|
+
|
|
30510
|
+
/**
|
|
30511
|
+
* optional string acsWindowSize = 10;
|
|
30512
|
+
* @return {string}
|
|
30513
|
+
*/
|
|
30514
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.getAcswindowsize = function() {
|
|
30515
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
30516
|
+
};
|
|
30517
|
+
|
|
30518
|
+
|
|
30519
|
+
/**
|
|
30520
|
+
* @param {string} value
|
|
30521
|
+
* @return {!proto.sniippaymentmethodsserviceapi.BrowserInfo} returns this
|
|
30522
|
+
*/
|
|
30523
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.setAcswindowsize = function(value) {
|
|
30524
|
+
return jspb.Message.setField(this, 10, value);
|
|
30525
|
+
};
|
|
30526
|
+
|
|
30527
|
+
|
|
30528
|
+
/**
|
|
30529
|
+
* Clears the field making it undefined.
|
|
30530
|
+
* @return {!proto.sniippaymentmethodsserviceapi.BrowserInfo} returns this
|
|
30531
|
+
*/
|
|
30532
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.clearAcswindowsize = function() {
|
|
30533
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
30534
|
+
};
|
|
30535
|
+
|
|
30536
|
+
|
|
30537
|
+
/**
|
|
30538
|
+
* Returns whether this field is set.
|
|
30539
|
+
* @return {boolean}
|
|
30540
|
+
*/
|
|
30541
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.hasAcswindowsize = function() {
|
|
30542
|
+
return jspb.Message.getField(this, 10) != null;
|
|
30543
|
+
};
|
|
30544
|
+
|
|
30545
|
+
|
|
30546
|
+
/**
|
|
30547
|
+
* optional string httpAcceptBrowserValue = 11;
|
|
30548
|
+
* @return {string}
|
|
30549
|
+
*/
|
|
30550
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.getHttpacceptbrowservalue = function() {
|
|
30551
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
30552
|
+
};
|
|
30553
|
+
|
|
30554
|
+
|
|
30555
|
+
/**
|
|
30556
|
+
* @param {string} value
|
|
30557
|
+
* @return {!proto.sniippaymentmethodsserviceapi.BrowserInfo} returns this
|
|
30558
|
+
*/
|
|
30559
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.setHttpacceptbrowservalue = function(value) {
|
|
30560
|
+
return jspb.Message.setField(this, 11, value);
|
|
30561
|
+
};
|
|
30562
|
+
|
|
30563
|
+
|
|
30564
|
+
/**
|
|
30565
|
+
* Clears the field making it undefined.
|
|
30566
|
+
* @return {!proto.sniippaymentmethodsserviceapi.BrowserInfo} returns this
|
|
30567
|
+
*/
|
|
30568
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.clearHttpacceptbrowservalue = function() {
|
|
30569
|
+
return jspb.Message.setField(this, 11, undefined);
|
|
30570
|
+
};
|
|
30571
|
+
|
|
30572
|
+
|
|
30573
|
+
/**
|
|
30574
|
+
* Returns whether this field is set.
|
|
30575
|
+
* @return {boolean}
|
|
30576
|
+
*/
|
|
30577
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.prototype.hasHttpacceptbrowservalue = function() {
|
|
30578
|
+
return jspb.Message.getField(this, 11) != null;
|
|
30579
|
+
};
|
|
30580
|
+
|
|
30581
|
+
|
|
30582
|
+
|
|
30583
|
+
|
|
30584
|
+
|
|
30585
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
30586
|
+
/**
|
|
30587
|
+
* Creates an object representation of this proto.
|
|
30588
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
30589
|
+
* Optional fields that are not set will be set to undefined.
|
|
30590
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
30591
|
+
* For the list of reserved names please see:
|
|
30592
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
30593
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
30594
|
+
* JSPB instance for transitional soy proto support:
|
|
30595
|
+
* http://goto/soy-param-migration
|
|
30596
|
+
* @return {!Object}
|
|
30597
|
+
*/
|
|
30598
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
30599
|
+
return proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest.toObject(opt_includeInstance, this);
|
|
30600
|
+
};
|
|
30601
|
+
|
|
30602
|
+
|
|
30603
|
+
/**
|
|
30604
|
+
* Static version of the {@see toObject} method.
|
|
30605
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
30606
|
+
* the JSPB instance for transitional soy proto support:
|
|
30607
|
+
* http://goto/soy-param-migration
|
|
30608
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest} msg The msg instance to transform.
|
|
30609
|
+
* @return {!Object}
|
|
30610
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
30611
|
+
*/
|
|
30612
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest.toObject = function(includeInstance, msg) {
|
|
30613
|
+
var f, obj = {
|
|
30614
|
+
paymentmethodid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
30615
|
+
platform: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
30616
|
+
browserinfo: (f = msg.getBrowserinfo()) && proto.sniippaymentmethodsserviceapi.BrowserInfo.toObject(includeInstance, f)
|
|
30617
|
+
};
|
|
30618
|
+
|
|
30619
|
+
if (includeInstance) {
|
|
30620
|
+
obj.$jspbMessageInstance = msg;
|
|
30621
|
+
}
|
|
30622
|
+
return obj;
|
|
30623
|
+
};
|
|
30624
|
+
}
|
|
30625
|
+
|
|
30626
|
+
|
|
30627
|
+
/**
|
|
30628
|
+
* Deserializes binary data (in protobuf wire format).
|
|
30629
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
30630
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest}
|
|
30631
|
+
*/
|
|
30632
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest.deserializeBinary = function(bytes) {
|
|
30633
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
30634
|
+
var msg = new proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest;
|
|
30635
|
+
return proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest.deserializeBinaryFromReader(msg, reader);
|
|
30636
|
+
};
|
|
30637
|
+
|
|
30638
|
+
|
|
30639
|
+
/**
|
|
30640
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
30641
|
+
* given reader into the given message object.
|
|
30642
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest} msg The message object to deserialize into.
|
|
30643
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
30644
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest}
|
|
30645
|
+
*/
|
|
30646
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
30647
|
+
while (reader.nextField()) {
|
|
30648
|
+
if (reader.isEndGroup()) {
|
|
30649
|
+
break;
|
|
30650
|
+
}
|
|
30651
|
+
var field = reader.getFieldNumber();
|
|
30652
|
+
switch (field) {
|
|
30653
|
+
case 1:
|
|
30654
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
30655
|
+
msg.setPaymentmethodid(value);
|
|
30656
|
+
break;
|
|
30657
|
+
case 2:
|
|
30658
|
+
var value = /** @type {string} */ (reader.readString());
|
|
30659
|
+
msg.setPlatform(value);
|
|
30660
|
+
break;
|
|
30661
|
+
case 3:
|
|
30662
|
+
var value = new proto.sniippaymentmethodsserviceapi.BrowserInfo;
|
|
30663
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.BrowserInfo.deserializeBinaryFromReader);
|
|
30664
|
+
msg.setBrowserinfo(value);
|
|
30665
|
+
break;
|
|
30666
|
+
default:
|
|
30667
|
+
reader.skipField();
|
|
30668
|
+
break;
|
|
30669
|
+
}
|
|
30670
|
+
}
|
|
30671
|
+
return msg;
|
|
30672
|
+
};
|
|
30673
|
+
|
|
30674
|
+
|
|
30675
|
+
/**
|
|
30676
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
30677
|
+
* @return {!Uint8Array}
|
|
30678
|
+
*/
|
|
30679
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest.prototype.serializeBinary = function() {
|
|
30680
|
+
var writer = new jspb.BinaryWriter();
|
|
30681
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest.serializeBinaryToWriter(this, writer);
|
|
30682
|
+
return writer.getResultBuffer();
|
|
30683
|
+
};
|
|
30684
|
+
|
|
30685
|
+
|
|
30686
|
+
/**
|
|
30687
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
30688
|
+
* format), writing to the given BinaryWriter.
|
|
30689
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest} message
|
|
30690
|
+
* @param {!jspb.BinaryWriter} writer
|
|
30691
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
30692
|
+
*/
|
|
30693
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
30694
|
+
var f = undefined;
|
|
30695
|
+
f = message.getPaymentmethodid();
|
|
30696
|
+
if (f !== 0) {
|
|
30697
|
+
writer.writeInt64(
|
|
30698
|
+
1,
|
|
30699
|
+
f
|
|
30700
|
+
);
|
|
30701
|
+
}
|
|
30702
|
+
f = message.getPlatform();
|
|
30703
|
+
if (f.length > 0) {
|
|
30704
|
+
writer.writeString(
|
|
30705
|
+
2,
|
|
30706
|
+
f
|
|
30707
|
+
);
|
|
30708
|
+
}
|
|
30709
|
+
f = message.getBrowserinfo();
|
|
30710
|
+
if (f != null) {
|
|
30711
|
+
writer.writeMessage(
|
|
30712
|
+
3,
|
|
30713
|
+
f,
|
|
30714
|
+
proto.sniippaymentmethodsserviceapi.BrowserInfo.serializeBinaryToWriter
|
|
30715
|
+
);
|
|
30716
|
+
}
|
|
30717
|
+
};
|
|
30718
|
+
|
|
30719
|
+
|
|
30720
|
+
/**
|
|
30721
|
+
* optional int64 paymentMethodId = 1;
|
|
30722
|
+
* @return {number}
|
|
30723
|
+
*/
|
|
30724
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest.prototype.getPaymentmethodid = function() {
|
|
30725
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
30726
|
+
};
|
|
30727
|
+
|
|
30728
|
+
|
|
30729
|
+
/**
|
|
30730
|
+
* @param {number} value
|
|
30731
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest} returns this
|
|
30732
|
+
*/
|
|
30733
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest.prototype.setPaymentmethodid = function(value) {
|
|
30734
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
30735
|
+
};
|
|
30736
|
+
|
|
30737
|
+
|
|
30738
|
+
/**
|
|
30739
|
+
* optional string platform = 2;
|
|
30740
|
+
* @return {string}
|
|
30741
|
+
*/
|
|
30742
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest.prototype.getPlatform = function() {
|
|
30743
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
30744
|
+
};
|
|
30745
|
+
|
|
30746
|
+
|
|
30747
|
+
/**
|
|
30748
|
+
* @param {string} value
|
|
30749
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest} returns this
|
|
30750
|
+
*/
|
|
30751
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest.prototype.setPlatform = function(value) {
|
|
30752
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
30753
|
+
};
|
|
30754
|
+
|
|
30755
|
+
|
|
30756
|
+
/**
|
|
30757
|
+
* optional BrowserInfo browserInfo = 3;
|
|
30758
|
+
* @return {?proto.sniippaymentmethodsserviceapi.BrowserInfo}
|
|
30759
|
+
*/
|
|
30760
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest.prototype.getBrowserinfo = function() {
|
|
30761
|
+
return /** @type{?proto.sniippaymentmethodsserviceapi.BrowserInfo} */ (
|
|
30762
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.BrowserInfo, 3));
|
|
30763
|
+
};
|
|
30764
|
+
|
|
30765
|
+
|
|
30766
|
+
/**
|
|
30767
|
+
* @param {?proto.sniippaymentmethodsserviceapi.BrowserInfo|undefined} value
|
|
30768
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest} returns this
|
|
30769
|
+
*/
|
|
30770
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest.prototype.setBrowserinfo = function(value) {
|
|
30771
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
30772
|
+
};
|
|
30773
|
+
|
|
30774
|
+
|
|
30775
|
+
/**
|
|
30776
|
+
* Clears the message field making it undefined.
|
|
30777
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest} returns this
|
|
30778
|
+
*/
|
|
30779
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest.prototype.clearBrowserinfo = function() {
|
|
30780
|
+
return this.setBrowserinfo(undefined);
|
|
30781
|
+
};
|
|
30782
|
+
|
|
30783
|
+
|
|
30784
|
+
/**
|
|
30785
|
+
* Returns whether this field is set.
|
|
30786
|
+
* @return {boolean}
|
|
30787
|
+
*/
|
|
30788
|
+
proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest.prototype.hasBrowserinfo = function() {
|
|
30789
|
+
return jspb.Message.getField(this, 3) != null;
|
|
29978
30790
|
};
|
|
29979
30791
|
|
|
29980
30792
|
|