protobuf-platform 1.2.662 → 1.2.663
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 +17 -0
- package/payment/payment_grpc_pb.js +55 -0
- package/payment/payment_pb.js +849 -120
package/package.json
CHANGED
package/payment/payment.proto
CHANGED
|
@@ -38,6 +38,8 @@ service Payment {
|
|
|
38
38
|
rpc getRedirectPaymentForm(DepositRedirectFormRequest) returns (DepositRedirectFormResponse);
|
|
39
39
|
//Withdrawal
|
|
40
40
|
rpc attemptWithdrawal(AttemptWithdrawalRequest) returns (WithdrawalResponse);
|
|
41
|
+
rpc prepareManualWithdrawal(PrepareManualWithdrawalRequest) returns (PreparedManualWithdrawalResponse);
|
|
42
|
+
rpc executeManualWithdrawal(ExecuteManualWithdrawalRequest) returns (WithdrawalResponse);
|
|
41
43
|
rpc changeWithdrawalStatus(GetWithdrawalRequest) returns (WithdrawalResponse);
|
|
42
44
|
rpc readListWithdrawals(PaginationRequest) returns (WithdrawalItemsResponse);
|
|
43
45
|
rpc readSingleWithdrawal(GetWithdrawalRequest) returns (WithdrawalResponse);
|
|
@@ -341,6 +343,7 @@ message OperationItem {
|
|
|
341
343
|
string currency = 8;
|
|
342
344
|
string external_ref = 9;
|
|
343
345
|
string created = 10;
|
|
346
|
+
optional string origin = 11;
|
|
344
347
|
}
|
|
345
348
|
message OperationItemsResponse {
|
|
346
349
|
repeated OperationItem items = 1;
|
|
@@ -386,6 +389,7 @@ message OperationDetailsItem {
|
|
|
386
389
|
optional string comment = 17;
|
|
387
390
|
optional string provider_code = 18;
|
|
388
391
|
optional ProviderOutcome provider_outcome = 19;
|
|
392
|
+
optional string origin = 20;
|
|
389
393
|
}
|
|
390
394
|
message OperationLedgerItem {
|
|
391
395
|
int32 id = 1;
|
|
@@ -546,6 +550,17 @@ message DepositRedirectFormResponse {
|
|
|
546
550
|
string content = 1;
|
|
547
551
|
}
|
|
548
552
|
//Withdrawal
|
|
553
|
+
message PrepareManualWithdrawalRequest {
|
|
554
|
+
AttemptWithdrawalRequest withdrawal = 1;
|
|
555
|
+
string reason = 2;
|
|
556
|
+
}
|
|
557
|
+
message PreparedManualWithdrawalResponse {
|
|
558
|
+
string action_reference = 1;
|
|
559
|
+
}
|
|
560
|
+
message ExecuteManualWithdrawalRequest {
|
|
561
|
+
string action_reference = 1;
|
|
562
|
+
int32 user_id = 2;
|
|
563
|
+
}
|
|
549
564
|
message AttemptWithdrawalRequest {
|
|
550
565
|
int32 payment_method_id = 1;
|
|
551
566
|
int32 user_id = 2;
|
|
@@ -616,6 +631,7 @@ message WithdrawalResponse {
|
|
|
616
631
|
optional string payment_provider_image_cdn = 18;
|
|
617
632
|
optional string payment_method_image = 19;
|
|
618
633
|
optional string payment_method_image_cdn = 20;
|
|
634
|
+
optional string origin = 21;
|
|
619
635
|
}
|
|
620
636
|
message WithdrawalItem {
|
|
621
637
|
int32 id = 1;
|
|
@@ -639,6 +655,7 @@ message WithdrawalItem {
|
|
|
639
655
|
optional string payment_method_image = 19;
|
|
640
656
|
optional string payment_method_image_cdn = 20;
|
|
641
657
|
optional string completed_at = 21;
|
|
658
|
+
optional string origin = 22;
|
|
642
659
|
}
|
|
643
660
|
message WithdrawalItemsResponse {
|
|
644
661
|
repeated WithdrawalItem items = 1;
|
|
@@ -323,6 +323,17 @@ function deserialize_payment_ExecuteGameplayPrecisionCommandRequest(buffer_arg)
|
|
|
323
323
|
return payment_pb.ExecuteGameplayPrecisionCommandRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
+
function serialize_payment_ExecuteManualWithdrawalRequest(arg) {
|
|
327
|
+
if (!(arg instanceof payment_pb.ExecuteManualWithdrawalRequest)) {
|
|
328
|
+
throw new Error('Expected argument of type payment.ExecuteManualWithdrawalRequest');
|
|
329
|
+
}
|
|
330
|
+
return Buffer.from(arg.serializeBinary());
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
function deserialize_payment_ExecuteManualWithdrawalRequest(buffer_arg) {
|
|
334
|
+
return payment_pb.ExecuteManualWithdrawalRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
335
|
+
}
|
|
336
|
+
|
|
326
337
|
function serialize_payment_File(arg) {
|
|
327
338
|
if (!(arg instanceof payment_pb.File)) {
|
|
328
339
|
throw new Error('Expected argument of type payment.File');
|
|
@@ -807,6 +818,28 @@ function deserialize_payment_PrepareGameplayPrecisionCommandResponse(buffer_arg)
|
|
|
807
818
|
return payment_pb.PrepareGameplayPrecisionCommandResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
808
819
|
}
|
|
809
820
|
|
|
821
|
+
function serialize_payment_PrepareManualWithdrawalRequest(arg) {
|
|
822
|
+
if (!(arg instanceof payment_pb.PrepareManualWithdrawalRequest)) {
|
|
823
|
+
throw new Error('Expected argument of type payment.PrepareManualWithdrawalRequest');
|
|
824
|
+
}
|
|
825
|
+
return Buffer.from(arg.serializeBinary());
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
function deserialize_payment_PrepareManualWithdrawalRequest(buffer_arg) {
|
|
829
|
+
return payment_pb.PrepareManualWithdrawalRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
function serialize_payment_PreparedManualWithdrawalResponse(arg) {
|
|
833
|
+
if (!(arg instanceof payment_pb.PreparedManualWithdrawalResponse)) {
|
|
834
|
+
throw new Error('Expected argument of type payment.PreparedManualWithdrawalResponse');
|
|
835
|
+
}
|
|
836
|
+
return Buffer.from(arg.serializeBinary());
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
function deserialize_payment_PreparedManualWithdrawalResponse(buffer_arg) {
|
|
840
|
+
return payment_pb.PreparedManualWithdrawalResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
841
|
+
}
|
|
842
|
+
|
|
810
843
|
function serialize_payment_ProcessedDepositResponse(arg) {
|
|
811
844
|
if (!(arg instanceof payment_pb.ProcessedDepositResponse)) {
|
|
812
845
|
throw new Error('Expected argument of type payment.ProcessedDepositResponse');
|
|
@@ -1387,6 +1420,28 @@ attemptWithdrawal: {
|
|
|
1387
1420
|
responseSerialize: serialize_payment_WithdrawalResponse,
|
|
1388
1421
|
responseDeserialize: deserialize_payment_WithdrawalResponse,
|
|
1389
1422
|
},
|
|
1423
|
+
prepareManualWithdrawal: {
|
|
1424
|
+
path: '/payment.Payment/prepareManualWithdrawal',
|
|
1425
|
+
requestStream: false,
|
|
1426
|
+
responseStream: false,
|
|
1427
|
+
requestType: payment_pb.PrepareManualWithdrawalRequest,
|
|
1428
|
+
responseType: payment_pb.PreparedManualWithdrawalResponse,
|
|
1429
|
+
requestSerialize: serialize_payment_PrepareManualWithdrawalRequest,
|
|
1430
|
+
requestDeserialize: deserialize_payment_PrepareManualWithdrawalRequest,
|
|
1431
|
+
responseSerialize: serialize_payment_PreparedManualWithdrawalResponse,
|
|
1432
|
+
responseDeserialize: deserialize_payment_PreparedManualWithdrawalResponse,
|
|
1433
|
+
},
|
|
1434
|
+
executeManualWithdrawal: {
|
|
1435
|
+
path: '/payment.Payment/executeManualWithdrawal',
|
|
1436
|
+
requestStream: false,
|
|
1437
|
+
responseStream: false,
|
|
1438
|
+
requestType: payment_pb.ExecuteManualWithdrawalRequest,
|
|
1439
|
+
responseType: payment_pb.WithdrawalResponse,
|
|
1440
|
+
requestSerialize: serialize_payment_ExecuteManualWithdrawalRequest,
|
|
1441
|
+
requestDeserialize: deserialize_payment_ExecuteManualWithdrawalRequest,
|
|
1442
|
+
responseSerialize: serialize_payment_WithdrawalResponse,
|
|
1443
|
+
responseDeserialize: deserialize_payment_WithdrawalResponse,
|
|
1444
|
+
},
|
|
1390
1445
|
changeWithdrawalStatus: {
|
|
1391
1446
|
path: '/payment.Payment/changeWithdrawalStatus',
|
|
1392
1447
|
requestStream: false,
|
package/payment/payment_pb.js
CHANGED
|
@@ -62,6 +62,7 @@ goog.exportSymbol('proto.payment.DepositStatus', null, global);
|
|
|
62
62
|
goog.exportSymbol('proto.payment.DepositStatusItemsResponse', null, global);
|
|
63
63
|
goog.exportSymbol('proto.payment.DepositWebHookRequest', null, global);
|
|
64
64
|
goog.exportSymbol('proto.payment.ExecuteGameplayPrecisionCommandRequest', null, global);
|
|
65
|
+
goog.exportSymbol('proto.payment.ExecuteManualWithdrawalRequest', null, global);
|
|
65
66
|
goog.exportSymbol('proto.payment.File', null, global);
|
|
66
67
|
goog.exportSymbol('proto.payment.FinancialOperationResponse', null, global);
|
|
67
68
|
goog.exportSymbol('proto.payment.GameplayPrecisionAccountingLeg', null, global);
|
|
@@ -119,6 +120,8 @@ goog.exportSymbol('proto.payment.PongResponse', null, global);
|
|
|
119
120
|
goog.exportSymbol('proto.payment.PoorMethodsRequest', null, global);
|
|
120
121
|
goog.exportSymbol('proto.payment.PrepareGameplayPrecisionCommandRequest', null, global);
|
|
121
122
|
goog.exportSymbol('proto.payment.PrepareGameplayPrecisionCommandResponse', null, global);
|
|
123
|
+
goog.exportSymbol('proto.payment.PrepareManualWithdrawalRequest', null, global);
|
|
124
|
+
goog.exportSymbol('proto.payment.PreparedManualWithdrawalResponse', null, global);
|
|
122
125
|
goog.exportSymbol('proto.payment.ProcessedDepositResponse', null, global);
|
|
123
126
|
goog.exportSymbol('proto.payment.ProcessedWithdrawalResponse', null, global);
|
|
124
127
|
goog.exportSymbol('proto.payment.ProviderItem', null, global);
|
|
@@ -1204,6 +1207,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1204
1207
|
*/
|
|
1205
1208
|
proto.payment.DepositRedirectFormResponse.displayName = 'proto.payment.DepositRedirectFormResponse';
|
|
1206
1209
|
}
|
|
1210
|
+
/**
|
|
1211
|
+
* Generated by JsPbCodeGenerator.
|
|
1212
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1213
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1214
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1215
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1216
|
+
* valid.
|
|
1217
|
+
* @extends {jspb.Message}
|
|
1218
|
+
* @constructor
|
|
1219
|
+
*/
|
|
1220
|
+
proto.payment.PrepareManualWithdrawalRequest = function(opt_data) {
|
|
1221
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1222
|
+
};
|
|
1223
|
+
goog.inherits(proto.payment.PrepareManualWithdrawalRequest, jspb.Message);
|
|
1224
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1225
|
+
/**
|
|
1226
|
+
* @public
|
|
1227
|
+
* @override
|
|
1228
|
+
*/
|
|
1229
|
+
proto.payment.PrepareManualWithdrawalRequest.displayName = 'proto.payment.PrepareManualWithdrawalRequest';
|
|
1230
|
+
}
|
|
1231
|
+
/**
|
|
1232
|
+
* Generated by JsPbCodeGenerator.
|
|
1233
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1234
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1235
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1236
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1237
|
+
* valid.
|
|
1238
|
+
* @extends {jspb.Message}
|
|
1239
|
+
* @constructor
|
|
1240
|
+
*/
|
|
1241
|
+
proto.payment.PreparedManualWithdrawalResponse = function(opt_data) {
|
|
1242
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1243
|
+
};
|
|
1244
|
+
goog.inherits(proto.payment.PreparedManualWithdrawalResponse, jspb.Message);
|
|
1245
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1246
|
+
/**
|
|
1247
|
+
* @public
|
|
1248
|
+
* @override
|
|
1249
|
+
*/
|
|
1250
|
+
proto.payment.PreparedManualWithdrawalResponse.displayName = 'proto.payment.PreparedManualWithdrawalResponse';
|
|
1251
|
+
}
|
|
1252
|
+
/**
|
|
1253
|
+
* Generated by JsPbCodeGenerator.
|
|
1254
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1255
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1256
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1257
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1258
|
+
* valid.
|
|
1259
|
+
* @extends {jspb.Message}
|
|
1260
|
+
* @constructor
|
|
1261
|
+
*/
|
|
1262
|
+
proto.payment.ExecuteManualWithdrawalRequest = function(opt_data) {
|
|
1263
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1264
|
+
};
|
|
1265
|
+
goog.inherits(proto.payment.ExecuteManualWithdrawalRequest, jspb.Message);
|
|
1266
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1267
|
+
/**
|
|
1268
|
+
* @public
|
|
1269
|
+
* @override
|
|
1270
|
+
*/
|
|
1271
|
+
proto.payment.ExecuteManualWithdrawalRequest.displayName = 'proto.payment.ExecuteManualWithdrawalRequest';
|
|
1272
|
+
}
|
|
1207
1273
|
/**
|
|
1208
1274
|
* Generated by JsPbCodeGenerator.
|
|
1209
1275
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -14169,7 +14235,8 @@ proto.payment.OperationItem.toObject = function(includeInstance, msg) {
|
|
|
14169
14235
|
amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
|
14170
14236
|
currency: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
14171
14237
|
externalRef: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
14172
|
-
created: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
14238
|
+
created: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
14239
|
+
origin: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
14173
14240
|
};
|
|
14174
14241
|
|
|
14175
14242
|
if (includeInstance) {
|
|
@@ -14246,6 +14313,10 @@ proto.payment.OperationItem.deserializeBinaryFromReader = function(msg, reader)
|
|
|
14246
14313
|
var value = /** @type {string} */ (reader.readString());
|
|
14247
14314
|
msg.setCreated(value);
|
|
14248
14315
|
break;
|
|
14316
|
+
case 11:
|
|
14317
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14318
|
+
msg.setOrigin(value);
|
|
14319
|
+
break;
|
|
14249
14320
|
default:
|
|
14250
14321
|
reader.skipField();
|
|
14251
14322
|
break;
|
|
@@ -14345,6 +14416,13 @@ proto.payment.OperationItem.serializeBinaryToWriter = function(message, writer)
|
|
|
14345
14416
|
f
|
|
14346
14417
|
);
|
|
14347
14418
|
}
|
|
14419
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 11));
|
|
14420
|
+
if (f != null) {
|
|
14421
|
+
writer.writeString(
|
|
14422
|
+
11,
|
|
14423
|
+
f
|
|
14424
|
+
);
|
|
14425
|
+
}
|
|
14348
14426
|
};
|
|
14349
14427
|
|
|
14350
14428
|
|
|
@@ -14528,6 +14606,42 @@ proto.payment.OperationItem.prototype.setCreated = function(value) {
|
|
|
14528
14606
|
};
|
|
14529
14607
|
|
|
14530
14608
|
|
|
14609
|
+
/**
|
|
14610
|
+
* optional string origin = 11;
|
|
14611
|
+
* @return {string}
|
|
14612
|
+
*/
|
|
14613
|
+
proto.payment.OperationItem.prototype.getOrigin = function() {
|
|
14614
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
14615
|
+
};
|
|
14616
|
+
|
|
14617
|
+
|
|
14618
|
+
/**
|
|
14619
|
+
* @param {string} value
|
|
14620
|
+
* @return {!proto.payment.OperationItem} returns this
|
|
14621
|
+
*/
|
|
14622
|
+
proto.payment.OperationItem.prototype.setOrigin = function(value) {
|
|
14623
|
+
return jspb.Message.setField(this, 11, value);
|
|
14624
|
+
};
|
|
14625
|
+
|
|
14626
|
+
|
|
14627
|
+
/**
|
|
14628
|
+
* Clears the field making it undefined.
|
|
14629
|
+
* @return {!proto.payment.OperationItem} returns this
|
|
14630
|
+
*/
|
|
14631
|
+
proto.payment.OperationItem.prototype.clearOrigin = function() {
|
|
14632
|
+
return jspb.Message.setField(this, 11, undefined);
|
|
14633
|
+
};
|
|
14634
|
+
|
|
14635
|
+
|
|
14636
|
+
/**
|
|
14637
|
+
* Returns whether this field is set.
|
|
14638
|
+
* @return {boolean}
|
|
14639
|
+
*/
|
|
14640
|
+
proto.payment.OperationItem.prototype.hasOrigin = function() {
|
|
14641
|
+
return jspb.Message.getField(this, 11) != null;
|
|
14642
|
+
};
|
|
14643
|
+
|
|
14644
|
+
|
|
14531
14645
|
|
|
14532
14646
|
/**
|
|
14533
14647
|
* List of repeated fields within this message type.
|
|
@@ -15750,7 +15864,8 @@ proto.payment.OperationDetailsItem.toObject = function(includeInstance, msg) {
|
|
|
15750
15864
|
completed: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
15751
15865
|
comment: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
15752
15866
|
providerCode: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
15753
|
-
providerOutcome: (f = msg.getProviderOutcome()) && proto.payment.ProviderOutcome.toObject(includeInstance, f)
|
|
15867
|
+
providerOutcome: (f = msg.getProviderOutcome()) && proto.payment.ProviderOutcome.toObject(includeInstance, f),
|
|
15868
|
+
origin: jspb.Message.getFieldWithDefault(msg, 20, "")
|
|
15754
15869
|
};
|
|
15755
15870
|
|
|
15756
15871
|
if (includeInstance) {
|
|
@@ -15864,6 +15979,10 @@ proto.payment.OperationDetailsItem.deserializeBinaryFromReader = function(msg, r
|
|
|
15864
15979
|
reader.readMessage(value,proto.payment.ProviderOutcome.deserializeBinaryFromReader);
|
|
15865
15980
|
msg.setProviderOutcome(value);
|
|
15866
15981
|
break;
|
|
15982
|
+
case 20:
|
|
15983
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15984
|
+
msg.setOrigin(value);
|
|
15985
|
+
break;
|
|
15867
15986
|
default:
|
|
15868
15987
|
reader.skipField();
|
|
15869
15988
|
break;
|
|
@@ -16027,6 +16146,13 @@ proto.payment.OperationDetailsItem.serializeBinaryToWriter = function(message, w
|
|
|
16027
16146
|
proto.payment.ProviderOutcome.serializeBinaryToWriter
|
|
16028
16147
|
);
|
|
16029
16148
|
}
|
|
16149
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 20));
|
|
16150
|
+
if (f != null) {
|
|
16151
|
+
writer.writeString(
|
|
16152
|
+
20,
|
|
16153
|
+
f
|
|
16154
|
+
);
|
|
16155
|
+
}
|
|
16030
16156
|
};
|
|
16031
16157
|
|
|
16032
16158
|
|
|
@@ -16427,6 +16553,42 @@ proto.payment.OperationDetailsItem.prototype.hasProviderOutcome = function() {
|
|
|
16427
16553
|
};
|
|
16428
16554
|
|
|
16429
16555
|
|
|
16556
|
+
/**
|
|
16557
|
+
* optional string origin = 20;
|
|
16558
|
+
* @return {string}
|
|
16559
|
+
*/
|
|
16560
|
+
proto.payment.OperationDetailsItem.prototype.getOrigin = function() {
|
|
16561
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
|
16562
|
+
};
|
|
16563
|
+
|
|
16564
|
+
|
|
16565
|
+
/**
|
|
16566
|
+
* @param {string} value
|
|
16567
|
+
* @return {!proto.payment.OperationDetailsItem} returns this
|
|
16568
|
+
*/
|
|
16569
|
+
proto.payment.OperationDetailsItem.prototype.setOrigin = function(value) {
|
|
16570
|
+
return jspb.Message.setField(this, 20, value);
|
|
16571
|
+
};
|
|
16572
|
+
|
|
16573
|
+
|
|
16574
|
+
/**
|
|
16575
|
+
* Clears the field making it undefined.
|
|
16576
|
+
* @return {!proto.payment.OperationDetailsItem} returns this
|
|
16577
|
+
*/
|
|
16578
|
+
proto.payment.OperationDetailsItem.prototype.clearOrigin = function() {
|
|
16579
|
+
return jspb.Message.setField(this, 20, undefined);
|
|
16580
|
+
};
|
|
16581
|
+
|
|
16582
|
+
|
|
16583
|
+
/**
|
|
16584
|
+
* Returns whether this field is set.
|
|
16585
|
+
* @return {boolean}
|
|
16586
|
+
*/
|
|
16587
|
+
proto.payment.OperationDetailsItem.prototype.hasOrigin = function() {
|
|
16588
|
+
return jspb.Message.getField(this, 20) != null;
|
|
16589
|
+
};
|
|
16590
|
+
|
|
16591
|
+
|
|
16430
16592
|
|
|
16431
16593
|
|
|
16432
16594
|
|
|
@@ -23539,8 +23701,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
23539
23701
|
* http://goto/soy-param-migration
|
|
23540
23702
|
* @return {!Object}
|
|
23541
23703
|
*/
|
|
23542
|
-
proto.payment.
|
|
23543
|
-
return proto.payment.
|
|
23704
|
+
proto.payment.PrepareManualWithdrawalRequest.prototype.toObject = function(opt_includeInstance) {
|
|
23705
|
+
return proto.payment.PrepareManualWithdrawalRequest.toObject(opt_includeInstance, this);
|
|
23544
23706
|
};
|
|
23545
23707
|
|
|
23546
23708
|
|
|
@@ -23549,53 +23711,14 @@ proto.payment.AttemptWithdrawalRequest.prototype.toObject = function(opt_include
|
|
|
23549
23711
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
23550
23712
|
* the JSPB instance for transitional soy proto support:
|
|
23551
23713
|
* http://goto/soy-param-migration
|
|
23552
|
-
* @param {!proto.payment.
|
|
23714
|
+
* @param {!proto.payment.PrepareManualWithdrawalRequest} msg The msg instance to transform.
|
|
23553
23715
|
* @return {!Object}
|
|
23554
23716
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23555
23717
|
*/
|
|
23556
|
-
proto.payment.
|
|
23718
|
+
proto.payment.PrepareManualWithdrawalRequest.toObject = function(includeInstance, msg) {
|
|
23557
23719
|
var f, obj = {
|
|
23558
|
-
|
|
23559
|
-
|
|
23560
|
-
amount: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
23561
|
-
userCurrency: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
23562
|
-
userCountry: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
23563
|
-
originCountry: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
23564
|
-
userIp: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
23565
|
-
userLocale: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
23566
|
-
userFirstName: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
23567
|
-
userLastName: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
23568
|
-
userEmail: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
23569
|
-
userPublicId: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
23570
|
-
destination: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
23571
|
-
destinationType: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
23572
|
-
destinationDetails: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
23573
|
-
tokenId: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
23574
|
-
userBirthday: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
23575
|
-
cardNumber: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
23576
|
-
cardHolder: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
23577
|
-
cardExpireMonth: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
23578
|
-
cardExpireYear: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
23579
|
-
country: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
23580
|
-
phoneNumber: jspb.Message.getFieldWithDefault(msg, 23, ""),
|
|
23581
|
-
countryCode: jspb.Message.getFieldWithDefault(msg, 24, ""),
|
|
23582
|
-
zipCode: jspb.Message.getFieldWithDefault(msg, 25, ""),
|
|
23583
|
-
documentId: jspb.Message.getFieldWithDefault(msg, 26, ""),
|
|
23584
|
-
nationality: jspb.Message.getFieldWithDefault(msg, 27, ""),
|
|
23585
|
-
address: jspb.Message.getFieldWithDefault(msg, 28, ""),
|
|
23586
|
-
city: jspb.Message.getFieldWithDefault(msg, 29, ""),
|
|
23587
|
-
state: jspb.Message.getFieldWithDefault(msg, 30, ""),
|
|
23588
|
-
beneficiaryName: jspb.Message.getFieldWithDefault(msg, 31, ""),
|
|
23589
|
-
bankName: jspb.Message.getFieldWithDefault(msg, 32, ""),
|
|
23590
|
-
bankAccount: jspb.Message.getFieldWithDefault(msg, 33, ""),
|
|
23591
|
-
iban: jspb.Message.getFieldWithDefault(msg, 34, ""),
|
|
23592
|
-
bankCode: jspb.Message.getFieldWithDefault(msg, 35, ""),
|
|
23593
|
-
bankBranch: jspb.Message.getFieldWithDefault(msg, 36, ""),
|
|
23594
|
-
ifsc: jspb.Message.getFieldWithDefault(msg, 37, ""),
|
|
23595
|
-
cryptoWallet: jspb.Message.getFieldWithDefault(msg, 38, ""),
|
|
23596
|
-
requestCurrency: jspb.Message.getFieldWithDefault(msg, 39, ""),
|
|
23597
|
-
antifraudSession: jspb.Message.getFieldWithDefault(msg, 40, ""),
|
|
23598
|
-
userAgent: jspb.Message.getFieldWithDefault(msg, 41, "")
|
|
23720
|
+
withdrawal: (f = msg.getWithdrawal()) && proto.payment.AttemptWithdrawalRequest.toObject(includeInstance, f),
|
|
23721
|
+
reason: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
23599
23722
|
};
|
|
23600
23723
|
|
|
23601
23724
|
if (includeInstance) {
|
|
@@ -23609,23 +23732,23 @@ proto.payment.AttemptWithdrawalRequest.toObject = function(includeInstance, msg)
|
|
|
23609
23732
|
/**
|
|
23610
23733
|
* Deserializes binary data (in protobuf wire format).
|
|
23611
23734
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
23612
|
-
* @return {!proto.payment.
|
|
23735
|
+
* @return {!proto.payment.PrepareManualWithdrawalRequest}
|
|
23613
23736
|
*/
|
|
23614
|
-
proto.payment.
|
|
23737
|
+
proto.payment.PrepareManualWithdrawalRequest.deserializeBinary = function(bytes) {
|
|
23615
23738
|
var reader = new jspb.BinaryReader(bytes);
|
|
23616
|
-
var msg = new proto.payment.
|
|
23617
|
-
return proto.payment.
|
|
23739
|
+
var msg = new proto.payment.PrepareManualWithdrawalRequest;
|
|
23740
|
+
return proto.payment.PrepareManualWithdrawalRequest.deserializeBinaryFromReader(msg, reader);
|
|
23618
23741
|
};
|
|
23619
23742
|
|
|
23620
23743
|
|
|
23621
23744
|
/**
|
|
23622
23745
|
* Deserializes binary data (in protobuf wire format) from the
|
|
23623
23746
|
* given reader into the given message object.
|
|
23624
|
-
* @param {!proto.payment.
|
|
23747
|
+
* @param {!proto.payment.PrepareManualWithdrawalRequest} msg The message object to deserialize into.
|
|
23625
23748
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
23626
|
-
* @return {!proto.payment.
|
|
23749
|
+
* @return {!proto.payment.PrepareManualWithdrawalRequest}
|
|
23627
23750
|
*/
|
|
23628
|
-
proto.payment.
|
|
23751
|
+
proto.payment.PrepareManualWithdrawalRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
23629
23752
|
while (reader.nextField()) {
|
|
23630
23753
|
if (reader.isEndGroup()) {
|
|
23631
23754
|
break;
|
|
@@ -23633,75 +23756,585 @@ proto.payment.AttemptWithdrawalRequest.deserializeBinaryFromReader = function(ms
|
|
|
23633
23756
|
var field = reader.getFieldNumber();
|
|
23634
23757
|
switch (field) {
|
|
23635
23758
|
case 1:
|
|
23636
|
-
var value =
|
|
23637
|
-
|
|
23759
|
+
var value = new proto.payment.AttemptWithdrawalRequest;
|
|
23760
|
+
reader.readMessage(value,proto.payment.AttemptWithdrawalRequest.deserializeBinaryFromReader);
|
|
23761
|
+
msg.setWithdrawal(value);
|
|
23638
23762
|
break;
|
|
23639
23763
|
case 2:
|
|
23640
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
23641
|
-
msg.setUserId(value);
|
|
23642
|
-
break;
|
|
23643
|
-
case 3:
|
|
23644
|
-
var value = /** @type {string} */ (reader.readString());
|
|
23645
|
-
msg.setAmount(value);
|
|
23646
|
-
break;
|
|
23647
|
-
case 4:
|
|
23648
|
-
var value = /** @type {string} */ (reader.readString());
|
|
23649
|
-
msg.setUserCurrency(value);
|
|
23650
|
-
break;
|
|
23651
|
-
case 5:
|
|
23652
|
-
var value = /** @type {string} */ (reader.readString());
|
|
23653
|
-
msg.setUserCountry(value);
|
|
23654
|
-
break;
|
|
23655
|
-
case 6:
|
|
23656
|
-
var value = /** @type {string} */ (reader.readString());
|
|
23657
|
-
msg.setOriginCountry(value);
|
|
23658
|
-
break;
|
|
23659
|
-
case 7:
|
|
23660
|
-
var value = /** @type {string} */ (reader.readString());
|
|
23661
|
-
msg.setUserIp(value);
|
|
23662
|
-
break;
|
|
23663
|
-
case 8:
|
|
23664
|
-
var value = /** @type {string} */ (reader.readString());
|
|
23665
|
-
msg.setUserLocale(value);
|
|
23666
|
-
break;
|
|
23667
|
-
case 9:
|
|
23668
|
-
var value = /** @type {string} */ (reader.readString());
|
|
23669
|
-
msg.setUserFirstName(value);
|
|
23670
|
-
break;
|
|
23671
|
-
case 10:
|
|
23672
|
-
var value = /** @type {string} */ (reader.readString());
|
|
23673
|
-
msg.setUserLastName(value);
|
|
23674
|
-
break;
|
|
23675
|
-
case 11:
|
|
23676
|
-
var value = /** @type {string} */ (reader.readString());
|
|
23677
|
-
msg.setUserEmail(value);
|
|
23678
|
-
break;
|
|
23679
|
-
case 12:
|
|
23680
|
-
var value = /** @type {string} */ (reader.readString());
|
|
23681
|
-
msg.setUserPublicId(value);
|
|
23682
|
-
break;
|
|
23683
|
-
case 13:
|
|
23684
|
-
var value = /** @type {string} */ (reader.readString());
|
|
23685
|
-
msg.setDestination(value);
|
|
23686
|
-
break;
|
|
23687
|
-
case 14:
|
|
23688
|
-
var value = /** @type {string} */ (reader.readString());
|
|
23689
|
-
msg.setDestinationType(value);
|
|
23690
|
-
break;
|
|
23691
|
-
case 15:
|
|
23692
|
-
var value = /** @type {string} */ (reader.readString());
|
|
23693
|
-
msg.setDestinationDetails(value);
|
|
23694
|
-
break;
|
|
23695
|
-
case 16:
|
|
23696
23764
|
var value = /** @type {string} */ (reader.readString());
|
|
23697
|
-
msg.
|
|
23765
|
+
msg.setReason(value);
|
|
23698
23766
|
break;
|
|
23699
|
-
|
|
23700
|
-
|
|
23701
|
-
msg.setUserBirthday(value);
|
|
23767
|
+
default:
|
|
23768
|
+
reader.skipField();
|
|
23702
23769
|
break;
|
|
23703
|
-
|
|
23704
|
-
|
|
23770
|
+
}
|
|
23771
|
+
}
|
|
23772
|
+
return msg;
|
|
23773
|
+
};
|
|
23774
|
+
|
|
23775
|
+
|
|
23776
|
+
/**
|
|
23777
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
23778
|
+
* @return {!Uint8Array}
|
|
23779
|
+
*/
|
|
23780
|
+
proto.payment.PrepareManualWithdrawalRequest.prototype.serializeBinary = function() {
|
|
23781
|
+
var writer = new jspb.BinaryWriter();
|
|
23782
|
+
proto.payment.PrepareManualWithdrawalRequest.serializeBinaryToWriter(this, writer);
|
|
23783
|
+
return writer.getResultBuffer();
|
|
23784
|
+
};
|
|
23785
|
+
|
|
23786
|
+
|
|
23787
|
+
/**
|
|
23788
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
23789
|
+
* format), writing to the given BinaryWriter.
|
|
23790
|
+
* @param {!proto.payment.PrepareManualWithdrawalRequest} message
|
|
23791
|
+
* @param {!jspb.BinaryWriter} writer
|
|
23792
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23793
|
+
*/
|
|
23794
|
+
proto.payment.PrepareManualWithdrawalRequest.serializeBinaryToWriter = function(message, writer) {
|
|
23795
|
+
var f = undefined;
|
|
23796
|
+
f = message.getWithdrawal();
|
|
23797
|
+
if (f != null) {
|
|
23798
|
+
writer.writeMessage(
|
|
23799
|
+
1,
|
|
23800
|
+
f,
|
|
23801
|
+
proto.payment.AttemptWithdrawalRequest.serializeBinaryToWriter
|
|
23802
|
+
);
|
|
23803
|
+
}
|
|
23804
|
+
f = message.getReason();
|
|
23805
|
+
if (f.length > 0) {
|
|
23806
|
+
writer.writeString(
|
|
23807
|
+
2,
|
|
23808
|
+
f
|
|
23809
|
+
);
|
|
23810
|
+
}
|
|
23811
|
+
};
|
|
23812
|
+
|
|
23813
|
+
|
|
23814
|
+
/**
|
|
23815
|
+
* optional AttemptWithdrawalRequest withdrawal = 1;
|
|
23816
|
+
* @return {?proto.payment.AttemptWithdrawalRequest}
|
|
23817
|
+
*/
|
|
23818
|
+
proto.payment.PrepareManualWithdrawalRequest.prototype.getWithdrawal = function() {
|
|
23819
|
+
return /** @type{?proto.payment.AttemptWithdrawalRequest} */ (
|
|
23820
|
+
jspb.Message.getWrapperField(this, proto.payment.AttemptWithdrawalRequest, 1));
|
|
23821
|
+
};
|
|
23822
|
+
|
|
23823
|
+
|
|
23824
|
+
/**
|
|
23825
|
+
* @param {?proto.payment.AttemptWithdrawalRequest|undefined} value
|
|
23826
|
+
* @return {!proto.payment.PrepareManualWithdrawalRequest} returns this
|
|
23827
|
+
*/
|
|
23828
|
+
proto.payment.PrepareManualWithdrawalRequest.prototype.setWithdrawal = function(value) {
|
|
23829
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
23830
|
+
};
|
|
23831
|
+
|
|
23832
|
+
|
|
23833
|
+
/**
|
|
23834
|
+
* Clears the message field making it undefined.
|
|
23835
|
+
* @return {!proto.payment.PrepareManualWithdrawalRequest} returns this
|
|
23836
|
+
*/
|
|
23837
|
+
proto.payment.PrepareManualWithdrawalRequest.prototype.clearWithdrawal = function() {
|
|
23838
|
+
return this.setWithdrawal(undefined);
|
|
23839
|
+
};
|
|
23840
|
+
|
|
23841
|
+
|
|
23842
|
+
/**
|
|
23843
|
+
* Returns whether this field is set.
|
|
23844
|
+
* @return {boolean}
|
|
23845
|
+
*/
|
|
23846
|
+
proto.payment.PrepareManualWithdrawalRequest.prototype.hasWithdrawal = function() {
|
|
23847
|
+
return jspb.Message.getField(this, 1) != null;
|
|
23848
|
+
};
|
|
23849
|
+
|
|
23850
|
+
|
|
23851
|
+
/**
|
|
23852
|
+
* optional string reason = 2;
|
|
23853
|
+
* @return {string}
|
|
23854
|
+
*/
|
|
23855
|
+
proto.payment.PrepareManualWithdrawalRequest.prototype.getReason = function() {
|
|
23856
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
23857
|
+
};
|
|
23858
|
+
|
|
23859
|
+
|
|
23860
|
+
/**
|
|
23861
|
+
* @param {string} value
|
|
23862
|
+
* @return {!proto.payment.PrepareManualWithdrawalRequest} returns this
|
|
23863
|
+
*/
|
|
23864
|
+
proto.payment.PrepareManualWithdrawalRequest.prototype.setReason = function(value) {
|
|
23865
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
23866
|
+
};
|
|
23867
|
+
|
|
23868
|
+
|
|
23869
|
+
|
|
23870
|
+
|
|
23871
|
+
|
|
23872
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
23873
|
+
/**
|
|
23874
|
+
* Creates an object representation of this proto.
|
|
23875
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
23876
|
+
* Optional fields that are not set will be set to undefined.
|
|
23877
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
23878
|
+
* For the list of reserved names please see:
|
|
23879
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
23880
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
23881
|
+
* JSPB instance for transitional soy proto support:
|
|
23882
|
+
* http://goto/soy-param-migration
|
|
23883
|
+
* @return {!Object}
|
|
23884
|
+
*/
|
|
23885
|
+
proto.payment.PreparedManualWithdrawalResponse.prototype.toObject = function(opt_includeInstance) {
|
|
23886
|
+
return proto.payment.PreparedManualWithdrawalResponse.toObject(opt_includeInstance, this);
|
|
23887
|
+
};
|
|
23888
|
+
|
|
23889
|
+
|
|
23890
|
+
/**
|
|
23891
|
+
* Static version of the {@see toObject} method.
|
|
23892
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
23893
|
+
* the JSPB instance for transitional soy proto support:
|
|
23894
|
+
* http://goto/soy-param-migration
|
|
23895
|
+
* @param {!proto.payment.PreparedManualWithdrawalResponse} msg The msg instance to transform.
|
|
23896
|
+
* @return {!Object}
|
|
23897
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23898
|
+
*/
|
|
23899
|
+
proto.payment.PreparedManualWithdrawalResponse.toObject = function(includeInstance, msg) {
|
|
23900
|
+
var f, obj = {
|
|
23901
|
+
actionReference: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
23902
|
+
};
|
|
23903
|
+
|
|
23904
|
+
if (includeInstance) {
|
|
23905
|
+
obj.$jspbMessageInstance = msg;
|
|
23906
|
+
}
|
|
23907
|
+
return obj;
|
|
23908
|
+
};
|
|
23909
|
+
}
|
|
23910
|
+
|
|
23911
|
+
|
|
23912
|
+
/**
|
|
23913
|
+
* Deserializes binary data (in protobuf wire format).
|
|
23914
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
23915
|
+
* @return {!proto.payment.PreparedManualWithdrawalResponse}
|
|
23916
|
+
*/
|
|
23917
|
+
proto.payment.PreparedManualWithdrawalResponse.deserializeBinary = function(bytes) {
|
|
23918
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
23919
|
+
var msg = new proto.payment.PreparedManualWithdrawalResponse;
|
|
23920
|
+
return proto.payment.PreparedManualWithdrawalResponse.deserializeBinaryFromReader(msg, reader);
|
|
23921
|
+
};
|
|
23922
|
+
|
|
23923
|
+
|
|
23924
|
+
/**
|
|
23925
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
23926
|
+
* given reader into the given message object.
|
|
23927
|
+
* @param {!proto.payment.PreparedManualWithdrawalResponse} msg The message object to deserialize into.
|
|
23928
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
23929
|
+
* @return {!proto.payment.PreparedManualWithdrawalResponse}
|
|
23930
|
+
*/
|
|
23931
|
+
proto.payment.PreparedManualWithdrawalResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
23932
|
+
while (reader.nextField()) {
|
|
23933
|
+
if (reader.isEndGroup()) {
|
|
23934
|
+
break;
|
|
23935
|
+
}
|
|
23936
|
+
var field = reader.getFieldNumber();
|
|
23937
|
+
switch (field) {
|
|
23938
|
+
case 1:
|
|
23939
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23940
|
+
msg.setActionReference(value);
|
|
23941
|
+
break;
|
|
23942
|
+
default:
|
|
23943
|
+
reader.skipField();
|
|
23944
|
+
break;
|
|
23945
|
+
}
|
|
23946
|
+
}
|
|
23947
|
+
return msg;
|
|
23948
|
+
};
|
|
23949
|
+
|
|
23950
|
+
|
|
23951
|
+
/**
|
|
23952
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
23953
|
+
* @return {!Uint8Array}
|
|
23954
|
+
*/
|
|
23955
|
+
proto.payment.PreparedManualWithdrawalResponse.prototype.serializeBinary = function() {
|
|
23956
|
+
var writer = new jspb.BinaryWriter();
|
|
23957
|
+
proto.payment.PreparedManualWithdrawalResponse.serializeBinaryToWriter(this, writer);
|
|
23958
|
+
return writer.getResultBuffer();
|
|
23959
|
+
};
|
|
23960
|
+
|
|
23961
|
+
|
|
23962
|
+
/**
|
|
23963
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
23964
|
+
* format), writing to the given BinaryWriter.
|
|
23965
|
+
* @param {!proto.payment.PreparedManualWithdrawalResponse} message
|
|
23966
|
+
* @param {!jspb.BinaryWriter} writer
|
|
23967
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23968
|
+
*/
|
|
23969
|
+
proto.payment.PreparedManualWithdrawalResponse.serializeBinaryToWriter = function(message, writer) {
|
|
23970
|
+
var f = undefined;
|
|
23971
|
+
f = message.getActionReference();
|
|
23972
|
+
if (f.length > 0) {
|
|
23973
|
+
writer.writeString(
|
|
23974
|
+
1,
|
|
23975
|
+
f
|
|
23976
|
+
);
|
|
23977
|
+
}
|
|
23978
|
+
};
|
|
23979
|
+
|
|
23980
|
+
|
|
23981
|
+
/**
|
|
23982
|
+
* optional string action_reference = 1;
|
|
23983
|
+
* @return {string}
|
|
23984
|
+
*/
|
|
23985
|
+
proto.payment.PreparedManualWithdrawalResponse.prototype.getActionReference = function() {
|
|
23986
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
23987
|
+
};
|
|
23988
|
+
|
|
23989
|
+
|
|
23990
|
+
/**
|
|
23991
|
+
* @param {string} value
|
|
23992
|
+
* @return {!proto.payment.PreparedManualWithdrawalResponse} returns this
|
|
23993
|
+
*/
|
|
23994
|
+
proto.payment.PreparedManualWithdrawalResponse.prototype.setActionReference = function(value) {
|
|
23995
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
23996
|
+
};
|
|
23997
|
+
|
|
23998
|
+
|
|
23999
|
+
|
|
24000
|
+
|
|
24001
|
+
|
|
24002
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
24003
|
+
/**
|
|
24004
|
+
* Creates an object representation of this proto.
|
|
24005
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
24006
|
+
* Optional fields that are not set will be set to undefined.
|
|
24007
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
24008
|
+
* For the list of reserved names please see:
|
|
24009
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
24010
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
24011
|
+
* JSPB instance for transitional soy proto support:
|
|
24012
|
+
* http://goto/soy-param-migration
|
|
24013
|
+
* @return {!Object}
|
|
24014
|
+
*/
|
|
24015
|
+
proto.payment.ExecuteManualWithdrawalRequest.prototype.toObject = function(opt_includeInstance) {
|
|
24016
|
+
return proto.payment.ExecuteManualWithdrawalRequest.toObject(opt_includeInstance, this);
|
|
24017
|
+
};
|
|
24018
|
+
|
|
24019
|
+
|
|
24020
|
+
/**
|
|
24021
|
+
* Static version of the {@see toObject} method.
|
|
24022
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
24023
|
+
* the JSPB instance for transitional soy proto support:
|
|
24024
|
+
* http://goto/soy-param-migration
|
|
24025
|
+
* @param {!proto.payment.ExecuteManualWithdrawalRequest} msg The msg instance to transform.
|
|
24026
|
+
* @return {!Object}
|
|
24027
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
24028
|
+
*/
|
|
24029
|
+
proto.payment.ExecuteManualWithdrawalRequest.toObject = function(includeInstance, msg) {
|
|
24030
|
+
var f, obj = {
|
|
24031
|
+
actionReference: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
24032
|
+
userId: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
24033
|
+
};
|
|
24034
|
+
|
|
24035
|
+
if (includeInstance) {
|
|
24036
|
+
obj.$jspbMessageInstance = msg;
|
|
24037
|
+
}
|
|
24038
|
+
return obj;
|
|
24039
|
+
};
|
|
24040
|
+
}
|
|
24041
|
+
|
|
24042
|
+
|
|
24043
|
+
/**
|
|
24044
|
+
* Deserializes binary data (in protobuf wire format).
|
|
24045
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
24046
|
+
* @return {!proto.payment.ExecuteManualWithdrawalRequest}
|
|
24047
|
+
*/
|
|
24048
|
+
proto.payment.ExecuteManualWithdrawalRequest.deserializeBinary = function(bytes) {
|
|
24049
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
24050
|
+
var msg = new proto.payment.ExecuteManualWithdrawalRequest;
|
|
24051
|
+
return proto.payment.ExecuteManualWithdrawalRequest.deserializeBinaryFromReader(msg, reader);
|
|
24052
|
+
};
|
|
24053
|
+
|
|
24054
|
+
|
|
24055
|
+
/**
|
|
24056
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
24057
|
+
* given reader into the given message object.
|
|
24058
|
+
* @param {!proto.payment.ExecuteManualWithdrawalRequest} msg The message object to deserialize into.
|
|
24059
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
24060
|
+
* @return {!proto.payment.ExecuteManualWithdrawalRequest}
|
|
24061
|
+
*/
|
|
24062
|
+
proto.payment.ExecuteManualWithdrawalRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
24063
|
+
while (reader.nextField()) {
|
|
24064
|
+
if (reader.isEndGroup()) {
|
|
24065
|
+
break;
|
|
24066
|
+
}
|
|
24067
|
+
var field = reader.getFieldNumber();
|
|
24068
|
+
switch (field) {
|
|
24069
|
+
case 1:
|
|
24070
|
+
var value = /** @type {string} */ (reader.readString());
|
|
24071
|
+
msg.setActionReference(value);
|
|
24072
|
+
break;
|
|
24073
|
+
case 2:
|
|
24074
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
24075
|
+
msg.setUserId(value);
|
|
24076
|
+
break;
|
|
24077
|
+
default:
|
|
24078
|
+
reader.skipField();
|
|
24079
|
+
break;
|
|
24080
|
+
}
|
|
24081
|
+
}
|
|
24082
|
+
return msg;
|
|
24083
|
+
};
|
|
24084
|
+
|
|
24085
|
+
|
|
24086
|
+
/**
|
|
24087
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
24088
|
+
* @return {!Uint8Array}
|
|
24089
|
+
*/
|
|
24090
|
+
proto.payment.ExecuteManualWithdrawalRequest.prototype.serializeBinary = function() {
|
|
24091
|
+
var writer = new jspb.BinaryWriter();
|
|
24092
|
+
proto.payment.ExecuteManualWithdrawalRequest.serializeBinaryToWriter(this, writer);
|
|
24093
|
+
return writer.getResultBuffer();
|
|
24094
|
+
};
|
|
24095
|
+
|
|
24096
|
+
|
|
24097
|
+
/**
|
|
24098
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
24099
|
+
* format), writing to the given BinaryWriter.
|
|
24100
|
+
* @param {!proto.payment.ExecuteManualWithdrawalRequest} message
|
|
24101
|
+
* @param {!jspb.BinaryWriter} writer
|
|
24102
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
24103
|
+
*/
|
|
24104
|
+
proto.payment.ExecuteManualWithdrawalRequest.serializeBinaryToWriter = function(message, writer) {
|
|
24105
|
+
var f = undefined;
|
|
24106
|
+
f = message.getActionReference();
|
|
24107
|
+
if (f.length > 0) {
|
|
24108
|
+
writer.writeString(
|
|
24109
|
+
1,
|
|
24110
|
+
f
|
|
24111
|
+
);
|
|
24112
|
+
}
|
|
24113
|
+
f = message.getUserId();
|
|
24114
|
+
if (f !== 0) {
|
|
24115
|
+
writer.writeInt32(
|
|
24116
|
+
2,
|
|
24117
|
+
f
|
|
24118
|
+
);
|
|
24119
|
+
}
|
|
24120
|
+
};
|
|
24121
|
+
|
|
24122
|
+
|
|
24123
|
+
/**
|
|
24124
|
+
* optional string action_reference = 1;
|
|
24125
|
+
* @return {string}
|
|
24126
|
+
*/
|
|
24127
|
+
proto.payment.ExecuteManualWithdrawalRequest.prototype.getActionReference = function() {
|
|
24128
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
24129
|
+
};
|
|
24130
|
+
|
|
24131
|
+
|
|
24132
|
+
/**
|
|
24133
|
+
* @param {string} value
|
|
24134
|
+
* @return {!proto.payment.ExecuteManualWithdrawalRequest} returns this
|
|
24135
|
+
*/
|
|
24136
|
+
proto.payment.ExecuteManualWithdrawalRequest.prototype.setActionReference = function(value) {
|
|
24137
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
24138
|
+
};
|
|
24139
|
+
|
|
24140
|
+
|
|
24141
|
+
/**
|
|
24142
|
+
* optional int32 user_id = 2;
|
|
24143
|
+
* @return {number}
|
|
24144
|
+
*/
|
|
24145
|
+
proto.payment.ExecuteManualWithdrawalRequest.prototype.getUserId = function() {
|
|
24146
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
24147
|
+
};
|
|
24148
|
+
|
|
24149
|
+
|
|
24150
|
+
/**
|
|
24151
|
+
* @param {number} value
|
|
24152
|
+
* @return {!proto.payment.ExecuteManualWithdrawalRequest} returns this
|
|
24153
|
+
*/
|
|
24154
|
+
proto.payment.ExecuteManualWithdrawalRequest.prototype.setUserId = function(value) {
|
|
24155
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
24156
|
+
};
|
|
24157
|
+
|
|
24158
|
+
|
|
24159
|
+
|
|
24160
|
+
|
|
24161
|
+
|
|
24162
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
24163
|
+
/**
|
|
24164
|
+
* Creates an object representation of this proto.
|
|
24165
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
24166
|
+
* Optional fields that are not set will be set to undefined.
|
|
24167
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
24168
|
+
* For the list of reserved names please see:
|
|
24169
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
24170
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
24171
|
+
* JSPB instance for transitional soy proto support:
|
|
24172
|
+
* http://goto/soy-param-migration
|
|
24173
|
+
* @return {!Object}
|
|
24174
|
+
*/
|
|
24175
|
+
proto.payment.AttemptWithdrawalRequest.prototype.toObject = function(opt_includeInstance) {
|
|
24176
|
+
return proto.payment.AttemptWithdrawalRequest.toObject(opt_includeInstance, this);
|
|
24177
|
+
};
|
|
24178
|
+
|
|
24179
|
+
|
|
24180
|
+
/**
|
|
24181
|
+
* Static version of the {@see toObject} method.
|
|
24182
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
24183
|
+
* the JSPB instance for transitional soy proto support:
|
|
24184
|
+
* http://goto/soy-param-migration
|
|
24185
|
+
* @param {!proto.payment.AttemptWithdrawalRequest} msg The msg instance to transform.
|
|
24186
|
+
* @return {!Object}
|
|
24187
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
24188
|
+
*/
|
|
24189
|
+
proto.payment.AttemptWithdrawalRequest.toObject = function(includeInstance, msg) {
|
|
24190
|
+
var f, obj = {
|
|
24191
|
+
paymentMethodId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
24192
|
+
userId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
24193
|
+
amount: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
24194
|
+
userCurrency: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
24195
|
+
userCountry: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
24196
|
+
originCountry: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
24197
|
+
userIp: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
24198
|
+
userLocale: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
24199
|
+
userFirstName: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
24200
|
+
userLastName: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
24201
|
+
userEmail: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
24202
|
+
userPublicId: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
24203
|
+
destination: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
24204
|
+
destinationType: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
24205
|
+
destinationDetails: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
24206
|
+
tokenId: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
24207
|
+
userBirthday: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
24208
|
+
cardNumber: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
24209
|
+
cardHolder: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
24210
|
+
cardExpireMonth: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
24211
|
+
cardExpireYear: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
24212
|
+
country: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
24213
|
+
phoneNumber: jspb.Message.getFieldWithDefault(msg, 23, ""),
|
|
24214
|
+
countryCode: jspb.Message.getFieldWithDefault(msg, 24, ""),
|
|
24215
|
+
zipCode: jspb.Message.getFieldWithDefault(msg, 25, ""),
|
|
24216
|
+
documentId: jspb.Message.getFieldWithDefault(msg, 26, ""),
|
|
24217
|
+
nationality: jspb.Message.getFieldWithDefault(msg, 27, ""),
|
|
24218
|
+
address: jspb.Message.getFieldWithDefault(msg, 28, ""),
|
|
24219
|
+
city: jspb.Message.getFieldWithDefault(msg, 29, ""),
|
|
24220
|
+
state: jspb.Message.getFieldWithDefault(msg, 30, ""),
|
|
24221
|
+
beneficiaryName: jspb.Message.getFieldWithDefault(msg, 31, ""),
|
|
24222
|
+
bankName: jspb.Message.getFieldWithDefault(msg, 32, ""),
|
|
24223
|
+
bankAccount: jspb.Message.getFieldWithDefault(msg, 33, ""),
|
|
24224
|
+
iban: jspb.Message.getFieldWithDefault(msg, 34, ""),
|
|
24225
|
+
bankCode: jspb.Message.getFieldWithDefault(msg, 35, ""),
|
|
24226
|
+
bankBranch: jspb.Message.getFieldWithDefault(msg, 36, ""),
|
|
24227
|
+
ifsc: jspb.Message.getFieldWithDefault(msg, 37, ""),
|
|
24228
|
+
cryptoWallet: jspb.Message.getFieldWithDefault(msg, 38, ""),
|
|
24229
|
+
requestCurrency: jspb.Message.getFieldWithDefault(msg, 39, ""),
|
|
24230
|
+
antifraudSession: jspb.Message.getFieldWithDefault(msg, 40, ""),
|
|
24231
|
+
userAgent: jspb.Message.getFieldWithDefault(msg, 41, "")
|
|
24232
|
+
};
|
|
24233
|
+
|
|
24234
|
+
if (includeInstance) {
|
|
24235
|
+
obj.$jspbMessageInstance = msg;
|
|
24236
|
+
}
|
|
24237
|
+
return obj;
|
|
24238
|
+
};
|
|
24239
|
+
}
|
|
24240
|
+
|
|
24241
|
+
|
|
24242
|
+
/**
|
|
24243
|
+
* Deserializes binary data (in protobuf wire format).
|
|
24244
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
24245
|
+
* @return {!proto.payment.AttemptWithdrawalRequest}
|
|
24246
|
+
*/
|
|
24247
|
+
proto.payment.AttemptWithdrawalRequest.deserializeBinary = function(bytes) {
|
|
24248
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
24249
|
+
var msg = new proto.payment.AttemptWithdrawalRequest;
|
|
24250
|
+
return proto.payment.AttemptWithdrawalRequest.deserializeBinaryFromReader(msg, reader);
|
|
24251
|
+
};
|
|
24252
|
+
|
|
24253
|
+
|
|
24254
|
+
/**
|
|
24255
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
24256
|
+
* given reader into the given message object.
|
|
24257
|
+
* @param {!proto.payment.AttemptWithdrawalRequest} msg The message object to deserialize into.
|
|
24258
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
24259
|
+
* @return {!proto.payment.AttemptWithdrawalRequest}
|
|
24260
|
+
*/
|
|
24261
|
+
proto.payment.AttemptWithdrawalRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
24262
|
+
while (reader.nextField()) {
|
|
24263
|
+
if (reader.isEndGroup()) {
|
|
24264
|
+
break;
|
|
24265
|
+
}
|
|
24266
|
+
var field = reader.getFieldNumber();
|
|
24267
|
+
switch (field) {
|
|
24268
|
+
case 1:
|
|
24269
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
24270
|
+
msg.setPaymentMethodId(value);
|
|
24271
|
+
break;
|
|
24272
|
+
case 2:
|
|
24273
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
24274
|
+
msg.setUserId(value);
|
|
24275
|
+
break;
|
|
24276
|
+
case 3:
|
|
24277
|
+
var value = /** @type {string} */ (reader.readString());
|
|
24278
|
+
msg.setAmount(value);
|
|
24279
|
+
break;
|
|
24280
|
+
case 4:
|
|
24281
|
+
var value = /** @type {string} */ (reader.readString());
|
|
24282
|
+
msg.setUserCurrency(value);
|
|
24283
|
+
break;
|
|
24284
|
+
case 5:
|
|
24285
|
+
var value = /** @type {string} */ (reader.readString());
|
|
24286
|
+
msg.setUserCountry(value);
|
|
24287
|
+
break;
|
|
24288
|
+
case 6:
|
|
24289
|
+
var value = /** @type {string} */ (reader.readString());
|
|
24290
|
+
msg.setOriginCountry(value);
|
|
24291
|
+
break;
|
|
24292
|
+
case 7:
|
|
24293
|
+
var value = /** @type {string} */ (reader.readString());
|
|
24294
|
+
msg.setUserIp(value);
|
|
24295
|
+
break;
|
|
24296
|
+
case 8:
|
|
24297
|
+
var value = /** @type {string} */ (reader.readString());
|
|
24298
|
+
msg.setUserLocale(value);
|
|
24299
|
+
break;
|
|
24300
|
+
case 9:
|
|
24301
|
+
var value = /** @type {string} */ (reader.readString());
|
|
24302
|
+
msg.setUserFirstName(value);
|
|
24303
|
+
break;
|
|
24304
|
+
case 10:
|
|
24305
|
+
var value = /** @type {string} */ (reader.readString());
|
|
24306
|
+
msg.setUserLastName(value);
|
|
24307
|
+
break;
|
|
24308
|
+
case 11:
|
|
24309
|
+
var value = /** @type {string} */ (reader.readString());
|
|
24310
|
+
msg.setUserEmail(value);
|
|
24311
|
+
break;
|
|
24312
|
+
case 12:
|
|
24313
|
+
var value = /** @type {string} */ (reader.readString());
|
|
24314
|
+
msg.setUserPublicId(value);
|
|
24315
|
+
break;
|
|
24316
|
+
case 13:
|
|
24317
|
+
var value = /** @type {string} */ (reader.readString());
|
|
24318
|
+
msg.setDestination(value);
|
|
24319
|
+
break;
|
|
24320
|
+
case 14:
|
|
24321
|
+
var value = /** @type {string} */ (reader.readString());
|
|
24322
|
+
msg.setDestinationType(value);
|
|
24323
|
+
break;
|
|
24324
|
+
case 15:
|
|
24325
|
+
var value = /** @type {string} */ (reader.readString());
|
|
24326
|
+
msg.setDestinationDetails(value);
|
|
24327
|
+
break;
|
|
24328
|
+
case 16:
|
|
24329
|
+
var value = /** @type {string} */ (reader.readString());
|
|
24330
|
+
msg.setTokenId(value);
|
|
24331
|
+
break;
|
|
24332
|
+
case 17:
|
|
24333
|
+
var value = /** @type {string} */ (reader.readString());
|
|
24334
|
+
msg.setUserBirthday(value);
|
|
24335
|
+
break;
|
|
24336
|
+
case 18:
|
|
24337
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23705
24338
|
msg.setCardNumber(value);
|
|
23706
24339
|
break;
|
|
23707
24340
|
case 19:
|
|
@@ -25862,7 +26495,8 @@ proto.payment.WithdrawalResponse.toObject = function(includeInstance, msg) {
|
|
|
25862
26495
|
paymentProviderTitle: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
25863
26496
|
paymentProviderImageCdn: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
25864
26497
|
paymentMethodImage: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
25865
|
-
paymentMethodImageCdn: jspb.Message.getFieldWithDefault(msg, 20, "")
|
|
26498
|
+
paymentMethodImageCdn: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
26499
|
+
origin: jspb.Message.getFieldWithDefault(msg, 21, "")
|
|
25866
26500
|
};
|
|
25867
26501
|
|
|
25868
26502
|
if (includeInstance) {
|
|
@@ -25979,6 +26613,10 @@ proto.payment.WithdrawalResponse.deserializeBinaryFromReader = function(msg, rea
|
|
|
25979
26613
|
var value = /** @type {string} */ (reader.readString());
|
|
25980
26614
|
msg.setPaymentMethodImageCdn(value);
|
|
25981
26615
|
break;
|
|
26616
|
+
case 21:
|
|
26617
|
+
var value = /** @type {string} */ (reader.readString());
|
|
26618
|
+
msg.setOrigin(value);
|
|
26619
|
+
break;
|
|
25982
26620
|
default:
|
|
25983
26621
|
reader.skipField();
|
|
25984
26622
|
break;
|
|
@@ -26148,6 +26786,13 @@ proto.payment.WithdrawalResponse.serializeBinaryToWriter = function(message, wri
|
|
|
26148
26786
|
f
|
|
26149
26787
|
);
|
|
26150
26788
|
}
|
|
26789
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 21));
|
|
26790
|
+
if (f != null) {
|
|
26791
|
+
writer.writeString(
|
|
26792
|
+
21,
|
|
26793
|
+
f
|
|
26794
|
+
);
|
|
26795
|
+
}
|
|
26151
26796
|
};
|
|
26152
26797
|
|
|
26153
26798
|
|
|
@@ -26853,6 +27498,42 @@ proto.payment.WithdrawalResponse.prototype.hasPaymentMethodImageCdn = function()
|
|
|
26853
27498
|
};
|
|
26854
27499
|
|
|
26855
27500
|
|
|
27501
|
+
/**
|
|
27502
|
+
* optional string origin = 21;
|
|
27503
|
+
* @return {string}
|
|
27504
|
+
*/
|
|
27505
|
+
proto.payment.WithdrawalResponse.prototype.getOrigin = function() {
|
|
27506
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
|
27507
|
+
};
|
|
27508
|
+
|
|
27509
|
+
|
|
27510
|
+
/**
|
|
27511
|
+
* @param {string} value
|
|
27512
|
+
* @return {!proto.payment.WithdrawalResponse} returns this
|
|
27513
|
+
*/
|
|
27514
|
+
proto.payment.WithdrawalResponse.prototype.setOrigin = function(value) {
|
|
27515
|
+
return jspb.Message.setField(this, 21, value);
|
|
27516
|
+
};
|
|
27517
|
+
|
|
27518
|
+
|
|
27519
|
+
/**
|
|
27520
|
+
* Clears the field making it undefined.
|
|
27521
|
+
* @return {!proto.payment.WithdrawalResponse} returns this
|
|
27522
|
+
*/
|
|
27523
|
+
proto.payment.WithdrawalResponse.prototype.clearOrigin = function() {
|
|
27524
|
+
return jspb.Message.setField(this, 21, undefined);
|
|
27525
|
+
};
|
|
27526
|
+
|
|
27527
|
+
|
|
27528
|
+
/**
|
|
27529
|
+
* Returns whether this field is set.
|
|
27530
|
+
* @return {boolean}
|
|
27531
|
+
*/
|
|
27532
|
+
proto.payment.WithdrawalResponse.prototype.hasOrigin = function() {
|
|
27533
|
+
return jspb.Message.getField(this, 21) != null;
|
|
27534
|
+
};
|
|
27535
|
+
|
|
27536
|
+
|
|
26856
27537
|
|
|
26857
27538
|
|
|
26858
27539
|
|
|
@@ -26905,7 +27586,8 @@ proto.payment.WithdrawalItem.toObject = function(includeInstance, msg) {
|
|
|
26905
27586
|
paymentProviderImageCdn: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
26906
27587
|
paymentMethodImage: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
26907
27588
|
paymentMethodImageCdn: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
26908
|
-
completedAt: jspb.Message.getFieldWithDefault(msg, 21, "")
|
|
27589
|
+
completedAt: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
27590
|
+
origin: jspb.Message.getFieldWithDefault(msg, 22, "")
|
|
26909
27591
|
};
|
|
26910
27592
|
|
|
26911
27593
|
if (includeInstance) {
|
|
@@ -27026,6 +27708,10 @@ proto.payment.WithdrawalItem.deserializeBinaryFromReader = function(msg, reader)
|
|
|
27026
27708
|
var value = /** @type {string} */ (reader.readString());
|
|
27027
27709
|
msg.setCompletedAt(value);
|
|
27028
27710
|
break;
|
|
27711
|
+
case 22:
|
|
27712
|
+
var value = /** @type {string} */ (reader.readString());
|
|
27713
|
+
msg.setOrigin(value);
|
|
27714
|
+
break;
|
|
27029
27715
|
default:
|
|
27030
27716
|
reader.skipField();
|
|
27031
27717
|
break;
|
|
@@ -27202,6 +27888,13 @@ proto.payment.WithdrawalItem.serializeBinaryToWriter = function(message, writer)
|
|
|
27202
27888
|
f
|
|
27203
27889
|
);
|
|
27204
27890
|
}
|
|
27891
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 22));
|
|
27892
|
+
if (f != null) {
|
|
27893
|
+
writer.writeString(
|
|
27894
|
+
22,
|
|
27895
|
+
f
|
|
27896
|
+
);
|
|
27897
|
+
}
|
|
27205
27898
|
};
|
|
27206
27899
|
|
|
27207
27900
|
|
|
@@ -27853,6 +28546,42 @@ proto.payment.WithdrawalItem.prototype.hasCompletedAt = function() {
|
|
|
27853
28546
|
};
|
|
27854
28547
|
|
|
27855
28548
|
|
|
28549
|
+
/**
|
|
28550
|
+
* optional string origin = 22;
|
|
28551
|
+
* @return {string}
|
|
28552
|
+
*/
|
|
28553
|
+
proto.payment.WithdrawalItem.prototype.getOrigin = function() {
|
|
28554
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
|
|
28555
|
+
};
|
|
28556
|
+
|
|
28557
|
+
|
|
28558
|
+
/**
|
|
28559
|
+
* @param {string} value
|
|
28560
|
+
* @return {!proto.payment.WithdrawalItem} returns this
|
|
28561
|
+
*/
|
|
28562
|
+
proto.payment.WithdrawalItem.prototype.setOrigin = function(value) {
|
|
28563
|
+
return jspb.Message.setField(this, 22, value);
|
|
28564
|
+
};
|
|
28565
|
+
|
|
28566
|
+
|
|
28567
|
+
/**
|
|
28568
|
+
* Clears the field making it undefined.
|
|
28569
|
+
* @return {!proto.payment.WithdrawalItem} returns this
|
|
28570
|
+
*/
|
|
28571
|
+
proto.payment.WithdrawalItem.prototype.clearOrigin = function() {
|
|
28572
|
+
return jspb.Message.setField(this, 22, undefined);
|
|
28573
|
+
};
|
|
28574
|
+
|
|
28575
|
+
|
|
28576
|
+
/**
|
|
28577
|
+
* Returns whether this field is set.
|
|
28578
|
+
* @return {boolean}
|
|
28579
|
+
*/
|
|
28580
|
+
proto.payment.WithdrawalItem.prototype.hasOrigin = function() {
|
|
28581
|
+
return jspb.Message.getField(this, 22) != null;
|
|
28582
|
+
};
|
|
28583
|
+
|
|
28584
|
+
|
|
27856
28585
|
|
|
27857
28586
|
/**
|
|
27858
28587
|
* List of repeated fields within this message type.
|