protobuf-platform 1.2.502 → 1.2.504
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/package.json +1 -1
- package/payment/payment.proto +3 -0
- package/payment/payment_pb.js +146 -2
- package/user/user.proto +35 -0
- package/user/user_grpc_pb.js +33 -0
- package/user/user_pb.js +1414 -0
package/user/user_pb.js
CHANGED
|
@@ -137,6 +137,8 @@ goog.exportSymbol('proto.user.Role', null, global);
|
|
|
137
137
|
goog.exportSymbol('proto.user.RolePermissionRequest', null, global);
|
|
138
138
|
goog.exportSymbol('proto.user.RolePermissionStatusResponse', null, global);
|
|
139
139
|
goog.exportSymbol('proto.user.RolesItemsResponse', null, global);
|
|
140
|
+
goog.exportSymbol('proto.user.ScoreAntifraudPaymentEventRequest', null, global);
|
|
141
|
+
goog.exportSymbol('proto.user.ScoreAntifraudPaymentEventResponse', null, global);
|
|
140
142
|
goog.exportSymbol('proto.user.SegmentBetRuleItem', null, global);
|
|
141
143
|
goog.exportSymbol('proto.user.SegmentBetRuleRequest', null, global);
|
|
142
144
|
goog.exportSymbol('proto.user.SegmentGameRuleItem', null, global);
|
|
@@ -2852,6 +2854,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2852
2854
|
*/
|
|
2853
2855
|
proto.user.ProcessAntifraudProviderWebhookResponse.displayName = 'proto.user.ProcessAntifraudProviderWebhookResponse';
|
|
2854
2856
|
}
|
|
2857
|
+
/**
|
|
2858
|
+
* Generated by JsPbCodeGenerator.
|
|
2859
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2860
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2861
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2862
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2863
|
+
* valid.
|
|
2864
|
+
* @extends {jspb.Message}
|
|
2865
|
+
* @constructor
|
|
2866
|
+
*/
|
|
2867
|
+
proto.user.ScoreAntifraudPaymentEventRequest = function(opt_data) {
|
|
2868
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2869
|
+
};
|
|
2870
|
+
goog.inherits(proto.user.ScoreAntifraudPaymentEventRequest, jspb.Message);
|
|
2871
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2872
|
+
/**
|
|
2873
|
+
* @public
|
|
2874
|
+
* @override
|
|
2875
|
+
*/
|
|
2876
|
+
proto.user.ScoreAntifraudPaymentEventRequest.displayName = 'proto.user.ScoreAntifraudPaymentEventRequest';
|
|
2877
|
+
}
|
|
2878
|
+
/**
|
|
2879
|
+
* Generated by JsPbCodeGenerator.
|
|
2880
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2881
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2882
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2883
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2884
|
+
* valid.
|
|
2885
|
+
* @extends {jspb.Message}
|
|
2886
|
+
* @constructor
|
|
2887
|
+
*/
|
|
2888
|
+
proto.user.ScoreAntifraudPaymentEventResponse = function(opt_data) {
|
|
2889
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2890
|
+
};
|
|
2891
|
+
goog.inherits(proto.user.ScoreAntifraudPaymentEventResponse, jspb.Message);
|
|
2892
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2893
|
+
/**
|
|
2894
|
+
* @public
|
|
2895
|
+
* @override
|
|
2896
|
+
*/
|
|
2897
|
+
proto.user.ScoreAntifraudPaymentEventResponse.displayName = 'proto.user.ScoreAntifraudPaymentEventResponse';
|
|
2898
|
+
}
|
|
2855
2899
|
/**
|
|
2856
2900
|
* Generated by JsPbCodeGenerator.
|
|
2857
2901
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -52052,6 +52096,1376 @@ proto.user.ProcessAntifraudProviderWebhookResponse.prototype.setReasonCode = fun
|
|
|
52052
52096
|
|
|
52053
52097
|
|
|
52054
52098
|
|
|
52099
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
52100
|
+
/**
|
|
52101
|
+
* Creates an object representation of this proto.
|
|
52102
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
52103
|
+
* Optional fields that are not set will be set to undefined.
|
|
52104
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
52105
|
+
* For the list of reserved names please see:
|
|
52106
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
52107
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
52108
|
+
* JSPB instance for transitional soy proto support:
|
|
52109
|
+
* http://goto/soy-param-migration
|
|
52110
|
+
* @return {!Object}
|
|
52111
|
+
*/
|
|
52112
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.toObject = function(opt_includeInstance) {
|
|
52113
|
+
return proto.user.ScoreAntifraudPaymentEventRequest.toObject(opt_includeInstance, this);
|
|
52114
|
+
};
|
|
52115
|
+
|
|
52116
|
+
|
|
52117
|
+
/**
|
|
52118
|
+
* Static version of the {@see toObject} method.
|
|
52119
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
52120
|
+
* the JSPB instance for transitional soy proto support:
|
|
52121
|
+
* http://goto/soy-param-migration
|
|
52122
|
+
* @param {!proto.user.ScoreAntifraudPaymentEventRequest} msg The msg instance to transform.
|
|
52123
|
+
* @return {!Object}
|
|
52124
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
52125
|
+
*/
|
|
52126
|
+
proto.user.ScoreAntifraudPaymentEventRequest.toObject = function(includeInstance, msg) {
|
|
52127
|
+
var f, obj = {
|
|
52128
|
+
eventType: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
52129
|
+
userId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
52130
|
+
userPublicId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
52131
|
+
paymentOperationId: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
52132
|
+
paymentOperationPublicId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
52133
|
+
amountMinor: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
52134
|
+
currency: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
52135
|
+
currencyScale: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
52136
|
+
paymentMethod: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
52137
|
+
paymentChannel: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
52138
|
+
externalId: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
52139
|
+
antifraudSession: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
52140
|
+
ip: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
52141
|
+
userAgent: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
52142
|
+
occurredAt: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
52143
|
+
correlationId: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
52144
|
+
idempotencyKey: jspb.Message.getFieldWithDefault(msg, 17, "")
|
|
52145
|
+
};
|
|
52146
|
+
|
|
52147
|
+
if (includeInstance) {
|
|
52148
|
+
obj.$jspbMessageInstance = msg;
|
|
52149
|
+
}
|
|
52150
|
+
return obj;
|
|
52151
|
+
};
|
|
52152
|
+
}
|
|
52153
|
+
|
|
52154
|
+
|
|
52155
|
+
/**
|
|
52156
|
+
* Deserializes binary data (in protobuf wire format).
|
|
52157
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
52158
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventRequest}
|
|
52159
|
+
*/
|
|
52160
|
+
proto.user.ScoreAntifraudPaymentEventRequest.deserializeBinary = function(bytes) {
|
|
52161
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
52162
|
+
var msg = new proto.user.ScoreAntifraudPaymentEventRequest;
|
|
52163
|
+
return proto.user.ScoreAntifraudPaymentEventRequest.deserializeBinaryFromReader(msg, reader);
|
|
52164
|
+
};
|
|
52165
|
+
|
|
52166
|
+
|
|
52167
|
+
/**
|
|
52168
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
52169
|
+
* given reader into the given message object.
|
|
52170
|
+
* @param {!proto.user.ScoreAntifraudPaymentEventRequest} msg The message object to deserialize into.
|
|
52171
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
52172
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventRequest}
|
|
52173
|
+
*/
|
|
52174
|
+
proto.user.ScoreAntifraudPaymentEventRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
52175
|
+
while (reader.nextField()) {
|
|
52176
|
+
if (reader.isEndGroup()) {
|
|
52177
|
+
break;
|
|
52178
|
+
}
|
|
52179
|
+
var field = reader.getFieldNumber();
|
|
52180
|
+
switch (field) {
|
|
52181
|
+
case 1:
|
|
52182
|
+
var value = /** @type {string} */ (reader.readString());
|
|
52183
|
+
msg.setEventType(value);
|
|
52184
|
+
break;
|
|
52185
|
+
case 2:
|
|
52186
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
52187
|
+
msg.setUserId(value);
|
|
52188
|
+
break;
|
|
52189
|
+
case 3:
|
|
52190
|
+
var value = /** @type {string} */ (reader.readString());
|
|
52191
|
+
msg.setUserPublicId(value);
|
|
52192
|
+
break;
|
|
52193
|
+
case 4:
|
|
52194
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
52195
|
+
msg.setPaymentOperationId(value);
|
|
52196
|
+
break;
|
|
52197
|
+
case 5:
|
|
52198
|
+
var value = /** @type {string} */ (reader.readString());
|
|
52199
|
+
msg.setPaymentOperationPublicId(value);
|
|
52200
|
+
break;
|
|
52201
|
+
case 6:
|
|
52202
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
52203
|
+
msg.setAmountMinor(value);
|
|
52204
|
+
break;
|
|
52205
|
+
case 7:
|
|
52206
|
+
var value = /** @type {string} */ (reader.readString());
|
|
52207
|
+
msg.setCurrency(value);
|
|
52208
|
+
break;
|
|
52209
|
+
case 8:
|
|
52210
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
52211
|
+
msg.setCurrencyScale(value);
|
|
52212
|
+
break;
|
|
52213
|
+
case 9:
|
|
52214
|
+
var value = /** @type {string} */ (reader.readString());
|
|
52215
|
+
msg.setPaymentMethod(value);
|
|
52216
|
+
break;
|
|
52217
|
+
case 10:
|
|
52218
|
+
var value = /** @type {string} */ (reader.readString());
|
|
52219
|
+
msg.setPaymentChannel(value);
|
|
52220
|
+
break;
|
|
52221
|
+
case 11:
|
|
52222
|
+
var value = /** @type {string} */ (reader.readString());
|
|
52223
|
+
msg.setExternalId(value);
|
|
52224
|
+
break;
|
|
52225
|
+
case 12:
|
|
52226
|
+
var value = /** @type {string} */ (reader.readString());
|
|
52227
|
+
msg.setAntifraudSession(value);
|
|
52228
|
+
break;
|
|
52229
|
+
case 13:
|
|
52230
|
+
var value = /** @type {string} */ (reader.readString());
|
|
52231
|
+
msg.setIp(value);
|
|
52232
|
+
break;
|
|
52233
|
+
case 14:
|
|
52234
|
+
var value = /** @type {string} */ (reader.readString());
|
|
52235
|
+
msg.setUserAgent(value);
|
|
52236
|
+
break;
|
|
52237
|
+
case 15:
|
|
52238
|
+
var value = /** @type {string} */ (reader.readString());
|
|
52239
|
+
msg.setOccurredAt(value);
|
|
52240
|
+
break;
|
|
52241
|
+
case 16:
|
|
52242
|
+
var value = /** @type {string} */ (reader.readString());
|
|
52243
|
+
msg.setCorrelationId(value);
|
|
52244
|
+
break;
|
|
52245
|
+
case 17:
|
|
52246
|
+
var value = /** @type {string} */ (reader.readString());
|
|
52247
|
+
msg.setIdempotencyKey(value);
|
|
52248
|
+
break;
|
|
52249
|
+
default:
|
|
52250
|
+
reader.skipField();
|
|
52251
|
+
break;
|
|
52252
|
+
}
|
|
52253
|
+
}
|
|
52254
|
+
return msg;
|
|
52255
|
+
};
|
|
52256
|
+
|
|
52257
|
+
|
|
52258
|
+
/**
|
|
52259
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
52260
|
+
* @return {!Uint8Array}
|
|
52261
|
+
*/
|
|
52262
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.serializeBinary = function() {
|
|
52263
|
+
var writer = new jspb.BinaryWriter();
|
|
52264
|
+
proto.user.ScoreAntifraudPaymentEventRequest.serializeBinaryToWriter(this, writer);
|
|
52265
|
+
return writer.getResultBuffer();
|
|
52266
|
+
};
|
|
52267
|
+
|
|
52268
|
+
|
|
52269
|
+
/**
|
|
52270
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
52271
|
+
* format), writing to the given BinaryWriter.
|
|
52272
|
+
* @param {!proto.user.ScoreAntifraudPaymentEventRequest} message
|
|
52273
|
+
* @param {!jspb.BinaryWriter} writer
|
|
52274
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
52275
|
+
*/
|
|
52276
|
+
proto.user.ScoreAntifraudPaymentEventRequest.serializeBinaryToWriter = function(message, writer) {
|
|
52277
|
+
var f = undefined;
|
|
52278
|
+
f = message.getEventType();
|
|
52279
|
+
if (f.length > 0) {
|
|
52280
|
+
writer.writeString(
|
|
52281
|
+
1,
|
|
52282
|
+
f
|
|
52283
|
+
);
|
|
52284
|
+
}
|
|
52285
|
+
f = message.getUserId();
|
|
52286
|
+
if (f !== 0) {
|
|
52287
|
+
writer.writeInt32(
|
|
52288
|
+
2,
|
|
52289
|
+
f
|
|
52290
|
+
);
|
|
52291
|
+
}
|
|
52292
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
52293
|
+
if (f != null) {
|
|
52294
|
+
writer.writeString(
|
|
52295
|
+
3,
|
|
52296
|
+
f
|
|
52297
|
+
);
|
|
52298
|
+
}
|
|
52299
|
+
f = message.getPaymentOperationId();
|
|
52300
|
+
if (f !== 0) {
|
|
52301
|
+
writer.writeInt64(
|
|
52302
|
+
4,
|
|
52303
|
+
f
|
|
52304
|
+
);
|
|
52305
|
+
}
|
|
52306
|
+
f = message.getPaymentOperationPublicId();
|
|
52307
|
+
if (f.length > 0) {
|
|
52308
|
+
writer.writeString(
|
|
52309
|
+
5,
|
|
52310
|
+
f
|
|
52311
|
+
);
|
|
52312
|
+
}
|
|
52313
|
+
f = message.getAmountMinor();
|
|
52314
|
+
if (f !== 0) {
|
|
52315
|
+
writer.writeInt64(
|
|
52316
|
+
6,
|
|
52317
|
+
f
|
|
52318
|
+
);
|
|
52319
|
+
}
|
|
52320
|
+
f = message.getCurrency();
|
|
52321
|
+
if (f.length > 0) {
|
|
52322
|
+
writer.writeString(
|
|
52323
|
+
7,
|
|
52324
|
+
f
|
|
52325
|
+
);
|
|
52326
|
+
}
|
|
52327
|
+
f = message.getCurrencyScale();
|
|
52328
|
+
if (f !== 0) {
|
|
52329
|
+
writer.writeInt32(
|
|
52330
|
+
8,
|
|
52331
|
+
f
|
|
52332
|
+
);
|
|
52333
|
+
}
|
|
52334
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
|
52335
|
+
if (f != null) {
|
|
52336
|
+
writer.writeString(
|
|
52337
|
+
9,
|
|
52338
|
+
f
|
|
52339
|
+
);
|
|
52340
|
+
}
|
|
52341
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
|
52342
|
+
if (f != null) {
|
|
52343
|
+
writer.writeString(
|
|
52344
|
+
10,
|
|
52345
|
+
f
|
|
52346
|
+
);
|
|
52347
|
+
}
|
|
52348
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 11));
|
|
52349
|
+
if (f != null) {
|
|
52350
|
+
writer.writeString(
|
|
52351
|
+
11,
|
|
52352
|
+
f
|
|
52353
|
+
);
|
|
52354
|
+
}
|
|
52355
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 12));
|
|
52356
|
+
if (f != null) {
|
|
52357
|
+
writer.writeString(
|
|
52358
|
+
12,
|
|
52359
|
+
f
|
|
52360
|
+
);
|
|
52361
|
+
}
|
|
52362
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 13));
|
|
52363
|
+
if (f != null) {
|
|
52364
|
+
writer.writeString(
|
|
52365
|
+
13,
|
|
52366
|
+
f
|
|
52367
|
+
);
|
|
52368
|
+
}
|
|
52369
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 14));
|
|
52370
|
+
if (f != null) {
|
|
52371
|
+
writer.writeString(
|
|
52372
|
+
14,
|
|
52373
|
+
f
|
|
52374
|
+
);
|
|
52375
|
+
}
|
|
52376
|
+
f = message.getOccurredAt();
|
|
52377
|
+
if (f.length > 0) {
|
|
52378
|
+
writer.writeString(
|
|
52379
|
+
15,
|
|
52380
|
+
f
|
|
52381
|
+
);
|
|
52382
|
+
}
|
|
52383
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 16));
|
|
52384
|
+
if (f != null) {
|
|
52385
|
+
writer.writeString(
|
|
52386
|
+
16,
|
|
52387
|
+
f
|
|
52388
|
+
);
|
|
52389
|
+
}
|
|
52390
|
+
f = message.getIdempotencyKey();
|
|
52391
|
+
if (f.length > 0) {
|
|
52392
|
+
writer.writeString(
|
|
52393
|
+
17,
|
|
52394
|
+
f
|
|
52395
|
+
);
|
|
52396
|
+
}
|
|
52397
|
+
};
|
|
52398
|
+
|
|
52399
|
+
|
|
52400
|
+
/**
|
|
52401
|
+
* optional string event_type = 1;
|
|
52402
|
+
* @return {string}
|
|
52403
|
+
*/
|
|
52404
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.getEventType = function() {
|
|
52405
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
52406
|
+
};
|
|
52407
|
+
|
|
52408
|
+
|
|
52409
|
+
/**
|
|
52410
|
+
* @param {string} value
|
|
52411
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventRequest} returns this
|
|
52412
|
+
*/
|
|
52413
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.setEventType = function(value) {
|
|
52414
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
52415
|
+
};
|
|
52416
|
+
|
|
52417
|
+
|
|
52418
|
+
/**
|
|
52419
|
+
* optional int32 user_id = 2;
|
|
52420
|
+
* @return {number}
|
|
52421
|
+
*/
|
|
52422
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.getUserId = function() {
|
|
52423
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
52424
|
+
};
|
|
52425
|
+
|
|
52426
|
+
|
|
52427
|
+
/**
|
|
52428
|
+
* @param {number} value
|
|
52429
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventRequest} returns this
|
|
52430
|
+
*/
|
|
52431
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.setUserId = function(value) {
|
|
52432
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
52433
|
+
};
|
|
52434
|
+
|
|
52435
|
+
|
|
52436
|
+
/**
|
|
52437
|
+
* optional string user_public_id = 3;
|
|
52438
|
+
* @return {string}
|
|
52439
|
+
*/
|
|
52440
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.getUserPublicId = function() {
|
|
52441
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
52442
|
+
};
|
|
52443
|
+
|
|
52444
|
+
|
|
52445
|
+
/**
|
|
52446
|
+
* @param {string} value
|
|
52447
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventRequest} returns this
|
|
52448
|
+
*/
|
|
52449
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.setUserPublicId = function(value) {
|
|
52450
|
+
return jspb.Message.setField(this, 3, value);
|
|
52451
|
+
};
|
|
52452
|
+
|
|
52453
|
+
|
|
52454
|
+
/**
|
|
52455
|
+
* Clears the field making it undefined.
|
|
52456
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventRequest} returns this
|
|
52457
|
+
*/
|
|
52458
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.clearUserPublicId = function() {
|
|
52459
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
52460
|
+
};
|
|
52461
|
+
|
|
52462
|
+
|
|
52463
|
+
/**
|
|
52464
|
+
* Returns whether this field is set.
|
|
52465
|
+
* @return {boolean}
|
|
52466
|
+
*/
|
|
52467
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.hasUserPublicId = function() {
|
|
52468
|
+
return jspb.Message.getField(this, 3) != null;
|
|
52469
|
+
};
|
|
52470
|
+
|
|
52471
|
+
|
|
52472
|
+
/**
|
|
52473
|
+
* optional int64 payment_operation_id = 4;
|
|
52474
|
+
* @return {number}
|
|
52475
|
+
*/
|
|
52476
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.getPaymentOperationId = function() {
|
|
52477
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
52478
|
+
};
|
|
52479
|
+
|
|
52480
|
+
|
|
52481
|
+
/**
|
|
52482
|
+
* @param {number} value
|
|
52483
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventRequest} returns this
|
|
52484
|
+
*/
|
|
52485
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.setPaymentOperationId = function(value) {
|
|
52486
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
52487
|
+
};
|
|
52488
|
+
|
|
52489
|
+
|
|
52490
|
+
/**
|
|
52491
|
+
* optional string payment_operation_public_id = 5;
|
|
52492
|
+
* @return {string}
|
|
52493
|
+
*/
|
|
52494
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.getPaymentOperationPublicId = function() {
|
|
52495
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
52496
|
+
};
|
|
52497
|
+
|
|
52498
|
+
|
|
52499
|
+
/**
|
|
52500
|
+
* @param {string} value
|
|
52501
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventRequest} returns this
|
|
52502
|
+
*/
|
|
52503
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.setPaymentOperationPublicId = function(value) {
|
|
52504
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
52505
|
+
};
|
|
52506
|
+
|
|
52507
|
+
|
|
52508
|
+
/**
|
|
52509
|
+
* optional int64 amount_minor = 6;
|
|
52510
|
+
* @return {number}
|
|
52511
|
+
*/
|
|
52512
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.getAmountMinor = function() {
|
|
52513
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
52514
|
+
};
|
|
52515
|
+
|
|
52516
|
+
|
|
52517
|
+
/**
|
|
52518
|
+
* @param {number} value
|
|
52519
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventRequest} returns this
|
|
52520
|
+
*/
|
|
52521
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.setAmountMinor = function(value) {
|
|
52522
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
52523
|
+
};
|
|
52524
|
+
|
|
52525
|
+
|
|
52526
|
+
/**
|
|
52527
|
+
* optional string currency = 7;
|
|
52528
|
+
* @return {string}
|
|
52529
|
+
*/
|
|
52530
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.getCurrency = function() {
|
|
52531
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
52532
|
+
};
|
|
52533
|
+
|
|
52534
|
+
|
|
52535
|
+
/**
|
|
52536
|
+
* @param {string} value
|
|
52537
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventRequest} returns this
|
|
52538
|
+
*/
|
|
52539
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.setCurrency = function(value) {
|
|
52540
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
52541
|
+
};
|
|
52542
|
+
|
|
52543
|
+
|
|
52544
|
+
/**
|
|
52545
|
+
* optional int32 currency_scale = 8;
|
|
52546
|
+
* @return {number}
|
|
52547
|
+
*/
|
|
52548
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.getCurrencyScale = function() {
|
|
52549
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
52550
|
+
};
|
|
52551
|
+
|
|
52552
|
+
|
|
52553
|
+
/**
|
|
52554
|
+
* @param {number} value
|
|
52555
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventRequest} returns this
|
|
52556
|
+
*/
|
|
52557
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.setCurrencyScale = function(value) {
|
|
52558
|
+
return jspb.Message.setProto3IntField(this, 8, value);
|
|
52559
|
+
};
|
|
52560
|
+
|
|
52561
|
+
|
|
52562
|
+
/**
|
|
52563
|
+
* optional string payment_method = 9;
|
|
52564
|
+
* @return {string}
|
|
52565
|
+
*/
|
|
52566
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.getPaymentMethod = function() {
|
|
52567
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
52568
|
+
};
|
|
52569
|
+
|
|
52570
|
+
|
|
52571
|
+
/**
|
|
52572
|
+
* @param {string} value
|
|
52573
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventRequest} returns this
|
|
52574
|
+
*/
|
|
52575
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.setPaymentMethod = function(value) {
|
|
52576
|
+
return jspb.Message.setField(this, 9, value);
|
|
52577
|
+
};
|
|
52578
|
+
|
|
52579
|
+
|
|
52580
|
+
/**
|
|
52581
|
+
* Clears the field making it undefined.
|
|
52582
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventRequest} returns this
|
|
52583
|
+
*/
|
|
52584
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.clearPaymentMethod = function() {
|
|
52585
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
52586
|
+
};
|
|
52587
|
+
|
|
52588
|
+
|
|
52589
|
+
/**
|
|
52590
|
+
* Returns whether this field is set.
|
|
52591
|
+
* @return {boolean}
|
|
52592
|
+
*/
|
|
52593
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.hasPaymentMethod = function() {
|
|
52594
|
+
return jspb.Message.getField(this, 9) != null;
|
|
52595
|
+
};
|
|
52596
|
+
|
|
52597
|
+
|
|
52598
|
+
/**
|
|
52599
|
+
* optional string payment_channel = 10;
|
|
52600
|
+
* @return {string}
|
|
52601
|
+
*/
|
|
52602
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.getPaymentChannel = function() {
|
|
52603
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
52604
|
+
};
|
|
52605
|
+
|
|
52606
|
+
|
|
52607
|
+
/**
|
|
52608
|
+
* @param {string} value
|
|
52609
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventRequest} returns this
|
|
52610
|
+
*/
|
|
52611
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.setPaymentChannel = function(value) {
|
|
52612
|
+
return jspb.Message.setField(this, 10, value);
|
|
52613
|
+
};
|
|
52614
|
+
|
|
52615
|
+
|
|
52616
|
+
/**
|
|
52617
|
+
* Clears the field making it undefined.
|
|
52618
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventRequest} returns this
|
|
52619
|
+
*/
|
|
52620
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.clearPaymentChannel = function() {
|
|
52621
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
52622
|
+
};
|
|
52623
|
+
|
|
52624
|
+
|
|
52625
|
+
/**
|
|
52626
|
+
* Returns whether this field is set.
|
|
52627
|
+
* @return {boolean}
|
|
52628
|
+
*/
|
|
52629
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.hasPaymentChannel = function() {
|
|
52630
|
+
return jspb.Message.getField(this, 10) != null;
|
|
52631
|
+
};
|
|
52632
|
+
|
|
52633
|
+
|
|
52634
|
+
/**
|
|
52635
|
+
* optional string external_id = 11;
|
|
52636
|
+
* @return {string}
|
|
52637
|
+
*/
|
|
52638
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.getExternalId = function() {
|
|
52639
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
52640
|
+
};
|
|
52641
|
+
|
|
52642
|
+
|
|
52643
|
+
/**
|
|
52644
|
+
* @param {string} value
|
|
52645
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventRequest} returns this
|
|
52646
|
+
*/
|
|
52647
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.setExternalId = function(value) {
|
|
52648
|
+
return jspb.Message.setField(this, 11, value);
|
|
52649
|
+
};
|
|
52650
|
+
|
|
52651
|
+
|
|
52652
|
+
/**
|
|
52653
|
+
* Clears the field making it undefined.
|
|
52654
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventRequest} returns this
|
|
52655
|
+
*/
|
|
52656
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.clearExternalId = function() {
|
|
52657
|
+
return jspb.Message.setField(this, 11, undefined);
|
|
52658
|
+
};
|
|
52659
|
+
|
|
52660
|
+
|
|
52661
|
+
/**
|
|
52662
|
+
* Returns whether this field is set.
|
|
52663
|
+
* @return {boolean}
|
|
52664
|
+
*/
|
|
52665
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.hasExternalId = function() {
|
|
52666
|
+
return jspb.Message.getField(this, 11) != null;
|
|
52667
|
+
};
|
|
52668
|
+
|
|
52669
|
+
|
|
52670
|
+
/**
|
|
52671
|
+
* optional string antifraud_session = 12;
|
|
52672
|
+
* @return {string}
|
|
52673
|
+
*/
|
|
52674
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.getAntifraudSession = function() {
|
|
52675
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
52676
|
+
};
|
|
52677
|
+
|
|
52678
|
+
|
|
52679
|
+
/**
|
|
52680
|
+
* @param {string} value
|
|
52681
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventRequest} returns this
|
|
52682
|
+
*/
|
|
52683
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.setAntifraudSession = function(value) {
|
|
52684
|
+
return jspb.Message.setField(this, 12, value);
|
|
52685
|
+
};
|
|
52686
|
+
|
|
52687
|
+
|
|
52688
|
+
/**
|
|
52689
|
+
* Clears the field making it undefined.
|
|
52690
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventRequest} returns this
|
|
52691
|
+
*/
|
|
52692
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.clearAntifraudSession = function() {
|
|
52693
|
+
return jspb.Message.setField(this, 12, undefined);
|
|
52694
|
+
};
|
|
52695
|
+
|
|
52696
|
+
|
|
52697
|
+
/**
|
|
52698
|
+
* Returns whether this field is set.
|
|
52699
|
+
* @return {boolean}
|
|
52700
|
+
*/
|
|
52701
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.hasAntifraudSession = function() {
|
|
52702
|
+
return jspb.Message.getField(this, 12) != null;
|
|
52703
|
+
};
|
|
52704
|
+
|
|
52705
|
+
|
|
52706
|
+
/**
|
|
52707
|
+
* optional string ip = 13;
|
|
52708
|
+
* @return {string}
|
|
52709
|
+
*/
|
|
52710
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.getIp = function() {
|
|
52711
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
52712
|
+
};
|
|
52713
|
+
|
|
52714
|
+
|
|
52715
|
+
/**
|
|
52716
|
+
* @param {string} value
|
|
52717
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventRequest} returns this
|
|
52718
|
+
*/
|
|
52719
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.setIp = function(value) {
|
|
52720
|
+
return jspb.Message.setField(this, 13, value);
|
|
52721
|
+
};
|
|
52722
|
+
|
|
52723
|
+
|
|
52724
|
+
/**
|
|
52725
|
+
* Clears the field making it undefined.
|
|
52726
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventRequest} returns this
|
|
52727
|
+
*/
|
|
52728
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.clearIp = function() {
|
|
52729
|
+
return jspb.Message.setField(this, 13, undefined);
|
|
52730
|
+
};
|
|
52731
|
+
|
|
52732
|
+
|
|
52733
|
+
/**
|
|
52734
|
+
* Returns whether this field is set.
|
|
52735
|
+
* @return {boolean}
|
|
52736
|
+
*/
|
|
52737
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.hasIp = function() {
|
|
52738
|
+
return jspb.Message.getField(this, 13) != null;
|
|
52739
|
+
};
|
|
52740
|
+
|
|
52741
|
+
|
|
52742
|
+
/**
|
|
52743
|
+
* optional string user_agent = 14;
|
|
52744
|
+
* @return {string}
|
|
52745
|
+
*/
|
|
52746
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.getUserAgent = function() {
|
|
52747
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
52748
|
+
};
|
|
52749
|
+
|
|
52750
|
+
|
|
52751
|
+
/**
|
|
52752
|
+
* @param {string} value
|
|
52753
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventRequest} returns this
|
|
52754
|
+
*/
|
|
52755
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.setUserAgent = function(value) {
|
|
52756
|
+
return jspb.Message.setField(this, 14, value);
|
|
52757
|
+
};
|
|
52758
|
+
|
|
52759
|
+
|
|
52760
|
+
/**
|
|
52761
|
+
* Clears the field making it undefined.
|
|
52762
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventRequest} returns this
|
|
52763
|
+
*/
|
|
52764
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.clearUserAgent = function() {
|
|
52765
|
+
return jspb.Message.setField(this, 14, undefined);
|
|
52766
|
+
};
|
|
52767
|
+
|
|
52768
|
+
|
|
52769
|
+
/**
|
|
52770
|
+
* Returns whether this field is set.
|
|
52771
|
+
* @return {boolean}
|
|
52772
|
+
*/
|
|
52773
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.hasUserAgent = function() {
|
|
52774
|
+
return jspb.Message.getField(this, 14) != null;
|
|
52775
|
+
};
|
|
52776
|
+
|
|
52777
|
+
|
|
52778
|
+
/**
|
|
52779
|
+
* optional string occurred_at = 15;
|
|
52780
|
+
* @return {string}
|
|
52781
|
+
*/
|
|
52782
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.getOccurredAt = function() {
|
|
52783
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
52784
|
+
};
|
|
52785
|
+
|
|
52786
|
+
|
|
52787
|
+
/**
|
|
52788
|
+
* @param {string} value
|
|
52789
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventRequest} returns this
|
|
52790
|
+
*/
|
|
52791
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.setOccurredAt = function(value) {
|
|
52792
|
+
return jspb.Message.setProto3StringField(this, 15, value);
|
|
52793
|
+
};
|
|
52794
|
+
|
|
52795
|
+
|
|
52796
|
+
/**
|
|
52797
|
+
* optional string correlation_id = 16;
|
|
52798
|
+
* @return {string}
|
|
52799
|
+
*/
|
|
52800
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.getCorrelationId = function() {
|
|
52801
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
52802
|
+
};
|
|
52803
|
+
|
|
52804
|
+
|
|
52805
|
+
/**
|
|
52806
|
+
* @param {string} value
|
|
52807
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventRequest} returns this
|
|
52808
|
+
*/
|
|
52809
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.setCorrelationId = function(value) {
|
|
52810
|
+
return jspb.Message.setField(this, 16, value);
|
|
52811
|
+
};
|
|
52812
|
+
|
|
52813
|
+
|
|
52814
|
+
/**
|
|
52815
|
+
* Clears the field making it undefined.
|
|
52816
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventRequest} returns this
|
|
52817
|
+
*/
|
|
52818
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.clearCorrelationId = function() {
|
|
52819
|
+
return jspb.Message.setField(this, 16, undefined);
|
|
52820
|
+
};
|
|
52821
|
+
|
|
52822
|
+
|
|
52823
|
+
/**
|
|
52824
|
+
* Returns whether this field is set.
|
|
52825
|
+
* @return {boolean}
|
|
52826
|
+
*/
|
|
52827
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.hasCorrelationId = function() {
|
|
52828
|
+
return jspb.Message.getField(this, 16) != null;
|
|
52829
|
+
};
|
|
52830
|
+
|
|
52831
|
+
|
|
52832
|
+
/**
|
|
52833
|
+
* optional string idempotency_key = 17;
|
|
52834
|
+
* @return {string}
|
|
52835
|
+
*/
|
|
52836
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.getIdempotencyKey = function() {
|
|
52837
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
52838
|
+
};
|
|
52839
|
+
|
|
52840
|
+
|
|
52841
|
+
/**
|
|
52842
|
+
* @param {string} value
|
|
52843
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventRequest} returns this
|
|
52844
|
+
*/
|
|
52845
|
+
proto.user.ScoreAntifraudPaymentEventRequest.prototype.setIdempotencyKey = function(value) {
|
|
52846
|
+
return jspb.Message.setProto3StringField(this, 17, value);
|
|
52847
|
+
};
|
|
52848
|
+
|
|
52849
|
+
|
|
52850
|
+
|
|
52851
|
+
|
|
52852
|
+
|
|
52853
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
52854
|
+
/**
|
|
52855
|
+
* Creates an object representation of this proto.
|
|
52856
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
52857
|
+
* Optional fields that are not set will be set to undefined.
|
|
52858
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
52859
|
+
* For the list of reserved names please see:
|
|
52860
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
52861
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
52862
|
+
* JSPB instance for transitional soy proto support:
|
|
52863
|
+
* http://goto/soy-param-migration
|
|
52864
|
+
* @return {!Object}
|
|
52865
|
+
*/
|
|
52866
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.toObject = function(opt_includeInstance) {
|
|
52867
|
+
return proto.user.ScoreAntifraudPaymentEventResponse.toObject(opt_includeInstance, this);
|
|
52868
|
+
};
|
|
52869
|
+
|
|
52870
|
+
|
|
52871
|
+
/**
|
|
52872
|
+
* Static version of the {@see toObject} method.
|
|
52873
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
52874
|
+
* the JSPB instance for transitional soy proto support:
|
|
52875
|
+
* http://goto/soy-param-migration
|
|
52876
|
+
* @param {!proto.user.ScoreAntifraudPaymentEventResponse} msg The msg instance to transform.
|
|
52877
|
+
* @return {!Object}
|
|
52878
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
52879
|
+
*/
|
|
52880
|
+
proto.user.ScoreAntifraudPaymentEventResponse.toObject = function(includeInstance, msg) {
|
|
52881
|
+
var f, obj = {
|
|
52882
|
+
processed: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
52883
|
+
success: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
52884
|
+
skipped: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
52885
|
+
duplicate: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
52886
|
+
failOpen: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
|
52887
|
+
decision: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
52888
|
+
assessmentId: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
52889
|
+
requestId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
52890
|
+
providerEventId: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
52891
|
+
score: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
52892
|
+
riskType: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
52893
|
+
errorCode: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
52894
|
+
errorMessage: jspb.Message.getFieldWithDefault(msg, 13, "")
|
|
52895
|
+
};
|
|
52896
|
+
|
|
52897
|
+
if (includeInstance) {
|
|
52898
|
+
obj.$jspbMessageInstance = msg;
|
|
52899
|
+
}
|
|
52900
|
+
return obj;
|
|
52901
|
+
};
|
|
52902
|
+
}
|
|
52903
|
+
|
|
52904
|
+
|
|
52905
|
+
/**
|
|
52906
|
+
* Deserializes binary data (in protobuf wire format).
|
|
52907
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
52908
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventResponse}
|
|
52909
|
+
*/
|
|
52910
|
+
proto.user.ScoreAntifraudPaymentEventResponse.deserializeBinary = function(bytes) {
|
|
52911
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
52912
|
+
var msg = new proto.user.ScoreAntifraudPaymentEventResponse;
|
|
52913
|
+
return proto.user.ScoreAntifraudPaymentEventResponse.deserializeBinaryFromReader(msg, reader);
|
|
52914
|
+
};
|
|
52915
|
+
|
|
52916
|
+
|
|
52917
|
+
/**
|
|
52918
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
52919
|
+
* given reader into the given message object.
|
|
52920
|
+
* @param {!proto.user.ScoreAntifraudPaymentEventResponse} msg The message object to deserialize into.
|
|
52921
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
52922
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventResponse}
|
|
52923
|
+
*/
|
|
52924
|
+
proto.user.ScoreAntifraudPaymentEventResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
52925
|
+
while (reader.nextField()) {
|
|
52926
|
+
if (reader.isEndGroup()) {
|
|
52927
|
+
break;
|
|
52928
|
+
}
|
|
52929
|
+
var field = reader.getFieldNumber();
|
|
52930
|
+
switch (field) {
|
|
52931
|
+
case 1:
|
|
52932
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
52933
|
+
msg.setProcessed(value);
|
|
52934
|
+
break;
|
|
52935
|
+
case 2:
|
|
52936
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
52937
|
+
msg.setSuccess(value);
|
|
52938
|
+
break;
|
|
52939
|
+
case 3:
|
|
52940
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
52941
|
+
msg.setSkipped(value);
|
|
52942
|
+
break;
|
|
52943
|
+
case 4:
|
|
52944
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
52945
|
+
msg.setDuplicate(value);
|
|
52946
|
+
break;
|
|
52947
|
+
case 5:
|
|
52948
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
52949
|
+
msg.setFailOpen(value);
|
|
52950
|
+
break;
|
|
52951
|
+
case 6:
|
|
52952
|
+
var value = /** @type {string} */ (reader.readString());
|
|
52953
|
+
msg.setDecision(value);
|
|
52954
|
+
break;
|
|
52955
|
+
case 7:
|
|
52956
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
52957
|
+
msg.setAssessmentId(value);
|
|
52958
|
+
break;
|
|
52959
|
+
case 8:
|
|
52960
|
+
var value = /** @type {string} */ (reader.readString());
|
|
52961
|
+
msg.setRequestId(value);
|
|
52962
|
+
break;
|
|
52963
|
+
case 9:
|
|
52964
|
+
var value = /** @type {string} */ (reader.readString());
|
|
52965
|
+
msg.setProviderEventId(value);
|
|
52966
|
+
break;
|
|
52967
|
+
case 10:
|
|
52968
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
52969
|
+
msg.setScore(value);
|
|
52970
|
+
break;
|
|
52971
|
+
case 11:
|
|
52972
|
+
var value = /** @type {string} */ (reader.readString());
|
|
52973
|
+
msg.setRiskType(value);
|
|
52974
|
+
break;
|
|
52975
|
+
case 12:
|
|
52976
|
+
var value = /** @type {string} */ (reader.readString());
|
|
52977
|
+
msg.setErrorCode(value);
|
|
52978
|
+
break;
|
|
52979
|
+
case 13:
|
|
52980
|
+
var value = /** @type {string} */ (reader.readString());
|
|
52981
|
+
msg.setErrorMessage(value);
|
|
52982
|
+
break;
|
|
52983
|
+
default:
|
|
52984
|
+
reader.skipField();
|
|
52985
|
+
break;
|
|
52986
|
+
}
|
|
52987
|
+
}
|
|
52988
|
+
return msg;
|
|
52989
|
+
};
|
|
52990
|
+
|
|
52991
|
+
|
|
52992
|
+
/**
|
|
52993
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
52994
|
+
* @return {!Uint8Array}
|
|
52995
|
+
*/
|
|
52996
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.serializeBinary = function() {
|
|
52997
|
+
var writer = new jspb.BinaryWriter();
|
|
52998
|
+
proto.user.ScoreAntifraudPaymentEventResponse.serializeBinaryToWriter(this, writer);
|
|
52999
|
+
return writer.getResultBuffer();
|
|
53000
|
+
};
|
|
53001
|
+
|
|
53002
|
+
|
|
53003
|
+
/**
|
|
53004
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
53005
|
+
* format), writing to the given BinaryWriter.
|
|
53006
|
+
* @param {!proto.user.ScoreAntifraudPaymentEventResponse} message
|
|
53007
|
+
* @param {!jspb.BinaryWriter} writer
|
|
53008
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
53009
|
+
*/
|
|
53010
|
+
proto.user.ScoreAntifraudPaymentEventResponse.serializeBinaryToWriter = function(message, writer) {
|
|
53011
|
+
var f = undefined;
|
|
53012
|
+
f = message.getProcessed();
|
|
53013
|
+
if (f) {
|
|
53014
|
+
writer.writeBool(
|
|
53015
|
+
1,
|
|
53016
|
+
f
|
|
53017
|
+
);
|
|
53018
|
+
}
|
|
53019
|
+
f = message.getSuccess();
|
|
53020
|
+
if (f) {
|
|
53021
|
+
writer.writeBool(
|
|
53022
|
+
2,
|
|
53023
|
+
f
|
|
53024
|
+
);
|
|
53025
|
+
}
|
|
53026
|
+
f = message.getSkipped();
|
|
53027
|
+
if (f) {
|
|
53028
|
+
writer.writeBool(
|
|
53029
|
+
3,
|
|
53030
|
+
f
|
|
53031
|
+
);
|
|
53032
|
+
}
|
|
53033
|
+
f = message.getDuplicate();
|
|
53034
|
+
if (f) {
|
|
53035
|
+
writer.writeBool(
|
|
53036
|
+
4,
|
|
53037
|
+
f
|
|
53038
|
+
);
|
|
53039
|
+
}
|
|
53040
|
+
f = message.getFailOpen();
|
|
53041
|
+
if (f) {
|
|
53042
|
+
writer.writeBool(
|
|
53043
|
+
5,
|
|
53044
|
+
f
|
|
53045
|
+
);
|
|
53046
|
+
}
|
|
53047
|
+
f = message.getDecision();
|
|
53048
|
+
if (f.length > 0) {
|
|
53049
|
+
writer.writeString(
|
|
53050
|
+
6,
|
|
53051
|
+
f
|
|
53052
|
+
);
|
|
53053
|
+
}
|
|
53054
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
|
53055
|
+
if (f != null) {
|
|
53056
|
+
writer.writeInt64(
|
|
53057
|
+
7,
|
|
53058
|
+
f
|
|
53059
|
+
);
|
|
53060
|
+
}
|
|
53061
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
53062
|
+
if (f != null) {
|
|
53063
|
+
writer.writeString(
|
|
53064
|
+
8,
|
|
53065
|
+
f
|
|
53066
|
+
);
|
|
53067
|
+
}
|
|
53068
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
|
53069
|
+
if (f != null) {
|
|
53070
|
+
writer.writeString(
|
|
53071
|
+
9,
|
|
53072
|
+
f
|
|
53073
|
+
);
|
|
53074
|
+
}
|
|
53075
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 10));
|
|
53076
|
+
if (f != null) {
|
|
53077
|
+
writer.writeInt32(
|
|
53078
|
+
10,
|
|
53079
|
+
f
|
|
53080
|
+
);
|
|
53081
|
+
}
|
|
53082
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 11));
|
|
53083
|
+
if (f != null) {
|
|
53084
|
+
writer.writeString(
|
|
53085
|
+
11,
|
|
53086
|
+
f
|
|
53087
|
+
);
|
|
53088
|
+
}
|
|
53089
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 12));
|
|
53090
|
+
if (f != null) {
|
|
53091
|
+
writer.writeString(
|
|
53092
|
+
12,
|
|
53093
|
+
f
|
|
53094
|
+
);
|
|
53095
|
+
}
|
|
53096
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 13));
|
|
53097
|
+
if (f != null) {
|
|
53098
|
+
writer.writeString(
|
|
53099
|
+
13,
|
|
53100
|
+
f
|
|
53101
|
+
);
|
|
53102
|
+
}
|
|
53103
|
+
};
|
|
53104
|
+
|
|
53105
|
+
|
|
53106
|
+
/**
|
|
53107
|
+
* optional bool processed = 1;
|
|
53108
|
+
* @return {boolean}
|
|
53109
|
+
*/
|
|
53110
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.getProcessed = function() {
|
|
53111
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
53112
|
+
};
|
|
53113
|
+
|
|
53114
|
+
|
|
53115
|
+
/**
|
|
53116
|
+
* @param {boolean} value
|
|
53117
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventResponse} returns this
|
|
53118
|
+
*/
|
|
53119
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.setProcessed = function(value) {
|
|
53120
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
53121
|
+
};
|
|
53122
|
+
|
|
53123
|
+
|
|
53124
|
+
/**
|
|
53125
|
+
* optional bool success = 2;
|
|
53126
|
+
* @return {boolean}
|
|
53127
|
+
*/
|
|
53128
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.getSuccess = function() {
|
|
53129
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
53130
|
+
};
|
|
53131
|
+
|
|
53132
|
+
|
|
53133
|
+
/**
|
|
53134
|
+
* @param {boolean} value
|
|
53135
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventResponse} returns this
|
|
53136
|
+
*/
|
|
53137
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.setSuccess = function(value) {
|
|
53138
|
+
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
53139
|
+
};
|
|
53140
|
+
|
|
53141
|
+
|
|
53142
|
+
/**
|
|
53143
|
+
* optional bool skipped = 3;
|
|
53144
|
+
* @return {boolean}
|
|
53145
|
+
*/
|
|
53146
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.getSkipped = function() {
|
|
53147
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
53148
|
+
};
|
|
53149
|
+
|
|
53150
|
+
|
|
53151
|
+
/**
|
|
53152
|
+
* @param {boolean} value
|
|
53153
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventResponse} returns this
|
|
53154
|
+
*/
|
|
53155
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.setSkipped = function(value) {
|
|
53156
|
+
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
53157
|
+
};
|
|
53158
|
+
|
|
53159
|
+
|
|
53160
|
+
/**
|
|
53161
|
+
* optional bool duplicate = 4;
|
|
53162
|
+
* @return {boolean}
|
|
53163
|
+
*/
|
|
53164
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.getDuplicate = function() {
|
|
53165
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
53166
|
+
};
|
|
53167
|
+
|
|
53168
|
+
|
|
53169
|
+
/**
|
|
53170
|
+
* @param {boolean} value
|
|
53171
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventResponse} returns this
|
|
53172
|
+
*/
|
|
53173
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.setDuplicate = function(value) {
|
|
53174
|
+
return jspb.Message.setProto3BooleanField(this, 4, value);
|
|
53175
|
+
};
|
|
53176
|
+
|
|
53177
|
+
|
|
53178
|
+
/**
|
|
53179
|
+
* optional bool fail_open = 5;
|
|
53180
|
+
* @return {boolean}
|
|
53181
|
+
*/
|
|
53182
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.getFailOpen = function() {
|
|
53183
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
|
53184
|
+
};
|
|
53185
|
+
|
|
53186
|
+
|
|
53187
|
+
/**
|
|
53188
|
+
* @param {boolean} value
|
|
53189
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventResponse} returns this
|
|
53190
|
+
*/
|
|
53191
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.setFailOpen = function(value) {
|
|
53192
|
+
return jspb.Message.setProto3BooleanField(this, 5, value);
|
|
53193
|
+
};
|
|
53194
|
+
|
|
53195
|
+
|
|
53196
|
+
/**
|
|
53197
|
+
* optional string decision = 6;
|
|
53198
|
+
* @return {string}
|
|
53199
|
+
*/
|
|
53200
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.getDecision = function() {
|
|
53201
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
53202
|
+
};
|
|
53203
|
+
|
|
53204
|
+
|
|
53205
|
+
/**
|
|
53206
|
+
* @param {string} value
|
|
53207
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventResponse} returns this
|
|
53208
|
+
*/
|
|
53209
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.setDecision = function(value) {
|
|
53210
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
53211
|
+
};
|
|
53212
|
+
|
|
53213
|
+
|
|
53214
|
+
/**
|
|
53215
|
+
* optional int64 assessment_id = 7;
|
|
53216
|
+
* @return {number}
|
|
53217
|
+
*/
|
|
53218
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.getAssessmentId = function() {
|
|
53219
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
53220
|
+
};
|
|
53221
|
+
|
|
53222
|
+
|
|
53223
|
+
/**
|
|
53224
|
+
* @param {number} value
|
|
53225
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventResponse} returns this
|
|
53226
|
+
*/
|
|
53227
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.setAssessmentId = function(value) {
|
|
53228
|
+
return jspb.Message.setField(this, 7, value);
|
|
53229
|
+
};
|
|
53230
|
+
|
|
53231
|
+
|
|
53232
|
+
/**
|
|
53233
|
+
* Clears the field making it undefined.
|
|
53234
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventResponse} returns this
|
|
53235
|
+
*/
|
|
53236
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.clearAssessmentId = function() {
|
|
53237
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
53238
|
+
};
|
|
53239
|
+
|
|
53240
|
+
|
|
53241
|
+
/**
|
|
53242
|
+
* Returns whether this field is set.
|
|
53243
|
+
* @return {boolean}
|
|
53244
|
+
*/
|
|
53245
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.hasAssessmentId = function() {
|
|
53246
|
+
return jspb.Message.getField(this, 7) != null;
|
|
53247
|
+
};
|
|
53248
|
+
|
|
53249
|
+
|
|
53250
|
+
/**
|
|
53251
|
+
* optional string request_id = 8;
|
|
53252
|
+
* @return {string}
|
|
53253
|
+
*/
|
|
53254
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.getRequestId = function() {
|
|
53255
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
53256
|
+
};
|
|
53257
|
+
|
|
53258
|
+
|
|
53259
|
+
/**
|
|
53260
|
+
* @param {string} value
|
|
53261
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventResponse} returns this
|
|
53262
|
+
*/
|
|
53263
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.setRequestId = function(value) {
|
|
53264
|
+
return jspb.Message.setField(this, 8, value);
|
|
53265
|
+
};
|
|
53266
|
+
|
|
53267
|
+
|
|
53268
|
+
/**
|
|
53269
|
+
* Clears the field making it undefined.
|
|
53270
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventResponse} returns this
|
|
53271
|
+
*/
|
|
53272
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.clearRequestId = function() {
|
|
53273
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
53274
|
+
};
|
|
53275
|
+
|
|
53276
|
+
|
|
53277
|
+
/**
|
|
53278
|
+
* Returns whether this field is set.
|
|
53279
|
+
* @return {boolean}
|
|
53280
|
+
*/
|
|
53281
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.hasRequestId = function() {
|
|
53282
|
+
return jspb.Message.getField(this, 8) != null;
|
|
53283
|
+
};
|
|
53284
|
+
|
|
53285
|
+
|
|
53286
|
+
/**
|
|
53287
|
+
* optional string provider_event_id = 9;
|
|
53288
|
+
* @return {string}
|
|
53289
|
+
*/
|
|
53290
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.getProviderEventId = function() {
|
|
53291
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
53292
|
+
};
|
|
53293
|
+
|
|
53294
|
+
|
|
53295
|
+
/**
|
|
53296
|
+
* @param {string} value
|
|
53297
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventResponse} returns this
|
|
53298
|
+
*/
|
|
53299
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.setProviderEventId = function(value) {
|
|
53300
|
+
return jspb.Message.setField(this, 9, value);
|
|
53301
|
+
};
|
|
53302
|
+
|
|
53303
|
+
|
|
53304
|
+
/**
|
|
53305
|
+
* Clears the field making it undefined.
|
|
53306
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventResponse} returns this
|
|
53307
|
+
*/
|
|
53308
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.clearProviderEventId = function() {
|
|
53309
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
53310
|
+
};
|
|
53311
|
+
|
|
53312
|
+
|
|
53313
|
+
/**
|
|
53314
|
+
* Returns whether this field is set.
|
|
53315
|
+
* @return {boolean}
|
|
53316
|
+
*/
|
|
53317
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.hasProviderEventId = function() {
|
|
53318
|
+
return jspb.Message.getField(this, 9) != null;
|
|
53319
|
+
};
|
|
53320
|
+
|
|
53321
|
+
|
|
53322
|
+
/**
|
|
53323
|
+
* optional int32 score = 10;
|
|
53324
|
+
* @return {number}
|
|
53325
|
+
*/
|
|
53326
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.getScore = function() {
|
|
53327
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
|
53328
|
+
};
|
|
53329
|
+
|
|
53330
|
+
|
|
53331
|
+
/**
|
|
53332
|
+
* @param {number} value
|
|
53333
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventResponse} returns this
|
|
53334
|
+
*/
|
|
53335
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.setScore = function(value) {
|
|
53336
|
+
return jspb.Message.setField(this, 10, value);
|
|
53337
|
+
};
|
|
53338
|
+
|
|
53339
|
+
|
|
53340
|
+
/**
|
|
53341
|
+
* Clears the field making it undefined.
|
|
53342
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventResponse} returns this
|
|
53343
|
+
*/
|
|
53344
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.clearScore = function() {
|
|
53345
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
53346
|
+
};
|
|
53347
|
+
|
|
53348
|
+
|
|
53349
|
+
/**
|
|
53350
|
+
* Returns whether this field is set.
|
|
53351
|
+
* @return {boolean}
|
|
53352
|
+
*/
|
|
53353
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.hasScore = function() {
|
|
53354
|
+
return jspb.Message.getField(this, 10) != null;
|
|
53355
|
+
};
|
|
53356
|
+
|
|
53357
|
+
|
|
53358
|
+
/**
|
|
53359
|
+
* optional string risk_type = 11;
|
|
53360
|
+
* @return {string}
|
|
53361
|
+
*/
|
|
53362
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.getRiskType = function() {
|
|
53363
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
53364
|
+
};
|
|
53365
|
+
|
|
53366
|
+
|
|
53367
|
+
/**
|
|
53368
|
+
* @param {string} value
|
|
53369
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventResponse} returns this
|
|
53370
|
+
*/
|
|
53371
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.setRiskType = function(value) {
|
|
53372
|
+
return jspb.Message.setField(this, 11, value);
|
|
53373
|
+
};
|
|
53374
|
+
|
|
53375
|
+
|
|
53376
|
+
/**
|
|
53377
|
+
* Clears the field making it undefined.
|
|
53378
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventResponse} returns this
|
|
53379
|
+
*/
|
|
53380
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.clearRiskType = function() {
|
|
53381
|
+
return jspb.Message.setField(this, 11, undefined);
|
|
53382
|
+
};
|
|
53383
|
+
|
|
53384
|
+
|
|
53385
|
+
/**
|
|
53386
|
+
* Returns whether this field is set.
|
|
53387
|
+
* @return {boolean}
|
|
53388
|
+
*/
|
|
53389
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.hasRiskType = function() {
|
|
53390
|
+
return jspb.Message.getField(this, 11) != null;
|
|
53391
|
+
};
|
|
53392
|
+
|
|
53393
|
+
|
|
53394
|
+
/**
|
|
53395
|
+
* optional string error_code = 12;
|
|
53396
|
+
* @return {string}
|
|
53397
|
+
*/
|
|
53398
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.getErrorCode = function() {
|
|
53399
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
53400
|
+
};
|
|
53401
|
+
|
|
53402
|
+
|
|
53403
|
+
/**
|
|
53404
|
+
* @param {string} value
|
|
53405
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventResponse} returns this
|
|
53406
|
+
*/
|
|
53407
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.setErrorCode = function(value) {
|
|
53408
|
+
return jspb.Message.setField(this, 12, value);
|
|
53409
|
+
};
|
|
53410
|
+
|
|
53411
|
+
|
|
53412
|
+
/**
|
|
53413
|
+
* Clears the field making it undefined.
|
|
53414
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventResponse} returns this
|
|
53415
|
+
*/
|
|
53416
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.clearErrorCode = function() {
|
|
53417
|
+
return jspb.Message.setField(this, 12, undefined);
|
|
53418
|
+
};
|
|
53419
|
+
|
|
53420
|
+
|
|
53421
|
+
/**
|
|
53422
|
+
* Returns whether this field is set.
|
|
53423
|
+
* @return {boolean}
|
|
53424
|
+
*/
|
|
53425
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.hasErrorCode = function() {
|
|
53426
|
+
return jspb.Message.getField(this, 12) != null;
|
|
53427
|
+
};
|
|
53428
|
+
|
|
53429
|
+
|
|
53430
|
+
/**
|
|
53431
|
+
* optional string error_message = 13;
|
|
53432
|
+
* @return {string}
|
|
53433
|
+
*/
|
|
53434
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.getErrorMessage = function() {
|
|
53435
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
53436
|
+
};
|
|
53437
|
+
|
|
53438
|
+
|
|
53439
|
+
/**
|
|
53440
|
+
* @param {string} value
|
|
53441
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventResponse} returns this
|
|
53442
|
+
*/
|
|
53443
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.setErrorMessage = function(value) {
|
|
53444
|
+
return jspb.Message.setField(this, 13, value);
|
|
53445
|
+
};
|
|
53446
|
+
|
|
53447
|
+
|
|
53448
|
+
/**
|
|
53449
|
+
* Clears the field making it undefined.
|
|
53450
|
+
* @return {!proto.user.ScoreAntifraudPaymentEventResponse} returns this
|
|
53451
|
+
*/
|
|
53452
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.clearErrorMessage = function() {
|
|
53453
|
+
return jspb.Message.setField(this, 13, undefined);
|
|
53454
|
+
};
|
|
53455
|
+
|
|
53456
|
+
|
|
53457
|
+
/**
|
|
53458
|
+
* Returns whether this field is set.
|
|
53459
|
+
* @return {boolean}
|
|
53460
|
+
*/
|
|
53461
|
+
proto.user.ScoreAntifraudPaymentEventResponse.prototype.hasErrorMessage = function() {
|
|
53462
|
+
return jspb.Message.getField(this, 13) != null;
|
|
53463
|
+
};
|
|
53464
|
+
|
|
53465
|
+
|
|
53466
|
+
|
|
53467
|
+
|
|
53468
|
+
|
|
52055
53469
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
52056
53470
|
/**
|
|
52057
53471
|
* Creates an object representation of this proto.
|