hs-playlib 0.5.0 → 0.6.0

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.
@@ -21895,11 +21895,11 @@ $root.types = (function() {
21895
21895
 
21896
21896
  /**
21897
21897
  * Identification
21898
- * @member {string|null|undefined} connectorTransactionId
21898
+ * @member {string} connectorTransactionId
21899
21899
  * @memberof types.PaymentServiceGetResponse
21900
21900
  * @instance
21901
21901
  */
21902
- PaymentServiceGetResponse.prototype.connectorTransactionId = null;
21902
+ PaymentServiceGetResponse.prototype.connectorTransactionId = "";
21903
21903
 
21904
21904
  /**
21905
21905
  * Status Information
@@ -22112,12 +22112,6 @@ $root.types = (function() {
22112
22112
  // OneOf field names bound to virtual getters and setters
22113
22113
  var $oneOfFields;
22114
22114
 
22115
- // Virtual OneOf for proto3 optional field
22116
- Object.defineProperty(PaymentServiceGetResponse.prototype, "_connectorTransactionId", {
22117
- get: $util.oneOfGetter($oneOfFields = ["connectorTransactionId"]),
22118
- set: $util.oneOfSetter($oneOfFields)
22119
- });
22120
-
22121
22115
  // Virtual OneOf for proto3 optional field
22122
22116
  Object.defineProperty(PaymentServiceGetResponse.prototype, "_error", {
22123
22117
  get: $util.oneOfGetter($oneOfFields = ["error"]),
@@ -22505,11 +22499,9 @@ $root.types = (function() {
22505
22499
  if (typeof message !== "object" || message === null)
22506
22500
  return "object expected";
22507
22501
  var properties = {};
22508
- if (message.connectorTransactionId != null && message.hasOwnProperty("connectorTransactionId")) {
22509
- properties._connectorTransactionId = 1;
22502
+ if (message.connectorTransactionId != null && message.hasOwnProperty("connectorTransactionId"))
22510
22503
  if (!$util.isString(message.connectorTransactionId))
22511
22504
  return "connectorTransactionId: string expected";
22512
- }
22513
22505
  if (message.status != null && message.hasOwnProperty("status"))
22514
22506
  switch (message.status) {
22515
22507
  default:
@@ -23256,7 +23248,7 @@ $root.types = (function() {
23256
23248
  * @property {types.IErrorInfo|null} [error] PaymentServiceVoidResponse error
23257
23249
  * @property {number|null} [statusCode] PaymentServiceVoidResponse statusCode
23258
23250
  * @property {Object.<string,string>|null} [responseHeaders] PaymentServiceVoidResponse responseHeaders
23259
- * @property {string|null} [merchantTransactionId] Reference
23251
+ * @property {string|null} [merchantVoidId] Reference
23260
23252
  * @property {types.IConnectorState|null} [state] State Information
23261
23253
  * @property {types.ISecretString|null} [rawConnectorRequest] Raw Request for debugging
23262
23254
  * @property {types.IMandateReference|null} [mandateReference] Mandate Details
@@ -23282,11 +23274,11 @@ $root.types = (function() {
23282
23274
 
23283
23275
  /**
23284
23276
  * Identification
23285
- * @member {string|null|undefined} connectorTransactionId
23277
+ * @member {string} connectorTransactionId
23286
23278
  * @memberof types.PaymentServiceVoidResponse
23287
23279
  * @instance
23288
23280
  */
23289
- PaymentServiceVoidResponse.prototype.connectorTransactionId = null;
23281
+ PaymentServiceVoidResponse.prototype.connectorTransactionId = "";
23290
23282
 
23291
23283
  /**
23292
23284
  * Status Information
@@ -23322,11 +23314,11 @@ $root.types = (function() {
23322
23314
 
23323
23315
  /**
23324
23316
  * Reference
23325
- * @member {string|null|undefined} merchantTransactionId
23317
+ * @member {string|null|undefined} merchantVoidId
23326
23318
  * @memberof types.PaymentServiceVoidResponse
23327
23319
  * @instance
23328
23320
  */
23329
- PaymentServiceVoidResponse.prototype.merchantTransactionId = null;
23321
+ PaymentServiceVoidResponse.prototype.merchantVoidId = null;
23330
23322
 
23331
23323
  /**
23332
23324
  * State Information
@@ -23371,12 +23363,6 @@ $root.types = (function() {
23371
23363
  // OneOf field names bound to virtual getters and setters
23372
23364
  var $oneOfFields;
23373
23365
 
23374
- // Virtual OneOf for proto3 optional field
23375
- Object.defineProperty(PaymentServiceVoidResponse.prototype, "_connectorTransactionId", {
23376
- get: $util.oneOfGetter($oneOfFields = ["connectorTransactionId"]),
23377
- set: $util.oneOfSetter($oneOfFields)
23378
- });
23379
-
23380
23366
  // Virtual OneOf for proto3 optional field
23381
23367
  Object.defineProperty(PaymentServiceVoidResponse.prototype, "_error", {
23382
23368
  get: $util.oneOfGetter($oneOfFields = ["error"]),
@@ -23384,8 +23370,8 @@ $root.types = (function() {
23384
23370
  });
23385
23371
 
23386
23372
  // Virtual OneOf for proto3 optional field
23387
- Object.defineProperty(PaymentServiceVoidResponse.prototype, "_merchantTransactionId", {
23388
- get: $util.oneOfGetter($oneOfFields = ["merchantTransactionId"]),
23373
+ Object.defineProperty(PaymentServiceVoidResponse.prototype, "_merchantVoidId", {
23374
+ get: $util.oneOfGetter($oneOfFields = ["merchantVoidId"]),
23389
23375
  set: $util.oneOfSetter($oneOfFields)
23390
23376
  });
23391
23377
 
@@ -23454,8 +23440,8 @@ $root.types = (function() {
23454
23440
  if (message.responseHeaders != null && Object.hasOwnProperty.call(message, "responseHeaders"))
23455
23441
  for (var keys = Object.keys(message.responseHeaders), i = 0; i < keys.length; ++i)
23456
23442
  writer.uint32(/* id 5, wireType 2 =*/42).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.responseHeaders[keys[i]]).ldelim();
23457
- if (message.merchantTransactionId != null && Object.hasOwnProperty.call(message, "merchantTransactionId"))
23458
- writer.uint32(/* id 6, wireType 2 =*/50).string(message.merchantTransactionId);
23443
+ if (message.merchantVoidId != null && Object.hasOwnProperty.call(message, "merchantVoidId"))
23444
+ writer.uint32(/* id 6, wireType 2 =*/50).string(message.merchantVoidId);
23459
23445
  if (message.state != null && Object.hasOwnProperty.call(message, "state"))
23460
23446
  $root.types.ConnectorState.encode(message.state, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
23461
23447
  if (message.rawConnectorRequest != null && Object.hasOwnProperty.call(message, "rawConnectorRequest"))
@@ -23529,7 +23515,7 @@ $root.types = (function() {
23529
23515
  break;
23530
23516
  }
23531
23517
  case 6: {
23532
- message.merchantTransactionId = reader.string();
23518
+ message.merchantVoidId = reader.string();
23533
23519
  break;
23534
23520
  }
23535
23521
  case 7: {
@@ -23572,11 +23558,9 @@ $root.types = (function() {
23572
23558
  if (typeof message !== "object" || message === null)
23573
23559
  return "object expected";
23574
23560
  var properties = {};
23575
- if (message.connectorTransactionId != null && message.hasOwnProperty("connectorTransactionId")) {
23576
- properties._connectorTransactionId = 1;
23561
+ if (message.connectorTransactionId != null && message.hasOwnProperty("connectorTransactionId"))
23577
23562
  if (!$util.isString(message.connectorTransactionId))
23578
23563
  return "connectorTransactionId: string expected";
23579
- }
23580
23564
  if (message.status != null && message.hasOwnProperty("status"))
23581
23565
  switch (message.status) {
23582
23566
  default:
@@ -23630,10 +23614,10 @@ $root.types = (function() {
23630
23614
  if (!$util.isString(message.responseHeaders[key[i]]))
23631
23615
  return "responseHeaders: string{k:string} expected";
23632
23616
  }
23633
- if (message.merchantTransactionId != null && message.hasOwnProperty("merchantTransactionId")) {
23634
- properties._merchantTransactionId = 1;
23635
- if (!$util.isString(message.merchantTransactionId))
23636
- return "merchantTransactionId: string expected";
23617
+ if (message.merchantVoidId != null && message.hasOwnProperty("merchantVoidId")) {
23618
+ properties._merchantVoidId = 1;
23619
+ if (!$util.isString(message.merchantVoidId))
23620
+ return "merchantVoidId: string expected";
23637
23621
  }
23638
23622
  if (message.state != null && message.hasOwnProperty("state")) {
23639
23623
  properties._state = 1;
@@ -23725,11 +23709,11 @@ $root.types = (function() {
23725
23709
 
23726
23710
  /**
23727
23711
  * Identification
23728
- * @member {string} merchantReverseId
23712
+ * @member {string|null|undefined} merchantReverseId
23729
23713
  * @memberof types.PaymentServiceReverseRequest
23730
23714
  * @instance
23731
23715
  */
23732
- PaymentServiceReverseRequest.prototype.merchantReverseId = "";
23716
+ PaymentServiceReverseRequest.prototype.merchantReverseId = null;
23733
23717
 
23734
23718
  /**
23735
23719
  * PaymentServiceReverseRequest connectorTransactionId.
@@ -23782,6 +23766,12 @@ $root.types = (function() {
23782
23766
  // OneOf field names bound to virtual getters and setters
23783
23767
  var $oneOfFields;
23784
23768
 
23769
+ // Virtual OneOf for proto3 optional field
23770
+ Object.defineProperty(PaymentServiceReverseRequest.prototype, "_merchantReverseId", {
23771
+ get: $util.oneOfGetter($oneOfFields = ["merchantReverseId"]),
23772
+ set: $util.oneOfSetter($oneOfFields)
23773
+ });
23774
+
23785
23775
  // Virtual OneOf for proto3 optional field
23786
23776
  Object.defineProperty(PaymentServiceReverseRequest.prototype, "_cancellationReason", {
23787
23777
  get: $util.oneOfGetter($oneOfFields = ["cancellationReason"]),
@@ -23921,9 +23911,11 @@ $root.types = (function() {
23921
23911
  if (typeof message !== "object" || message === null)
23922
23912
  return "object expected";
23923
23913
  var properties = {};
23924
- if (message.merchantReverseId != null && message.hasOwnProperty("merchantReverseId"))
23914
+ if (message.merchantReverseId != null && message.hasOwnProperty("merchantReverseId")) {
23915
+ properties._merchantReverseId = 1;
23925
23916
  if (!$util.isString(message.merchantReverseId))
23926
23917
  return "merchantReverseId: string expected";
23918
+ }
23927
23919
  if (message.connectorTransactionId != null && message.hasOwnProperty("connectorTransactionId"))
23928
23920
  if (!$util.isString(message.connectorTransactionId))
23929
23921
  return "connectorTransactionId: string expected";
@@ -24014,11 +24006,11 @@ $root.types = (function() {
24014
24006
 
24015
24007
  /**
24016
24008
  * Identification
24017
- * @member {string|null|undefined} connectorTransactionId
24009
+ * @member {string} connectorTransactionId
24018
24010
  * @memberof types.PaymentServiceReverseResponse
24019
24011
  * @instance
24020
24012
  */
24021
- PaymentServiceReverseResponse.prototype.connectorTransactionId = null;
24013
+ PaymentServiceReverseResponse.prototype.connectorTransactionId = "";
24022
24014
 
24023
24015
  /**
24024
24016
  * Status Information
@@ -24063,12 +24055,6 @@ $root.types = (function() {
24063
24055
  // OneOf field names bound to virtual getters and setters
24064
24056
  var $oneOfFields;
24065
24057
 
24066
- // Virtual OneOf for proto3 optional field
24067
- Object.defineProperty(PaymentServiceReverseResponse.prototype, "_connectorTransactionId", {
24068
- get: $util.oneOfGetter($oneOfFields = ["connectorTransactionId"]),
24069
- set: $util.oneOfSetter($oneOfFields)
24070
- });
24071
-
24072
24058
  // Virtual OneOf for proto3 optional field
24073
24059
  Object.defineProperty(PaymentServiceReverseResponse.prototype, "_error", {
24074
24060
  get: $util.oneOfGetter($oneOfFields = ["error"]),
@@ -24204,11 +24190,9 @@ $root.types = (function() {
24204
24190
  if (typeof message !== "object" || message === null)
24205
24191
  return "object expected";
24206
24192
  var properties = {};
24207
- if (message.connectorTransactionId != null && message.hasOwnProperty("connectorTransactionId")) {
24208
- properties._connectorTransactionId = 1;
24193
+ if (message.connectorTransactionId != null && message.hasOwnProperty("connectorTransactionId"))
24209
24194
  if (!$util.isString(message.connectorTransactionId))
24210
24195
  return "connectorTransactionId: string expected";
24211
- }
24212
24196
  if (message.status != null && message.hasOwnProperty("status"))
24213
24197
  switch (message.status) {
24214
24198
  default:
@@ -24964,11 +24948,11 @@ $root.types = (function() {
24964
24948
 
24965
24949
  /**
24966
24950
  * Identification
24967
- * @member {string} merchantSessionId
24951
+ * @member {string|null|undefined} merchantSessionId
24968
24952
  * @memberof types.MerchantAuthenticationServiceCreateSessionTokenRequest
24969
24953
  * @instance
24970
24954
  */
24971
- MerchantAuthenticationServiceCreateSessionTokenRequest.prototype.merchantSessionId = "";
24955
+ MerchantAuthenticationServiceCreateSessionTokenRequest.prototype.merchantSessionId = null;
24972
24956
 
24973
24957
  /**
24974
24958
  * Amount Information
@@ -25021,6 +25005,12 @@ $root.types = (function() {
25021
25005
  // OneOf field names bound to virtual getters and setters
25022
25006
  var $oneOfFields;
25023
25007
 
25008
+ // Virtual OneOf for proto3 optional field
25009
+ Object.defineProperty(MerchantAuthenticationServiceCreateSessionTokenRequest.prototype, "_merchantSessionId", {
25010
+ get: $util.oneOfGetter($oneOfFields = ["merchantSessionId"]),
25011
+ set: $util.oneOfSetter($oneOfFields)
25012
+ });
25013
+
25024
25014
  // Virtual OneOf for proto3 optional field
25025
25015
  Object.defineProperty(MerchantAuthenticationServiceCreateSessionTokenRequest.prototype, "_metadata", {
25026
25016
  get: $util.oneOfGetter($oneOfFields = ["metadata"]),
@@ -25160,9 +25150,11 @@ $root.types = (function() {
25160
25150
  if (typeof message !== "object" || message === null)
25161
25151
  return "object expected";
25162
25152
  var properties = {};
25163
- if (message.merchantSessionId != null && message.hasOwnProperty("merchantSessionId"))
25153
+ if (message.merchantSessionId != null && message.hasOwnProperty("merchantSessionId")) {
25154
+ properties._merchantSessionId = 1;
25164
25155
  if (!$util.isString(message.merchantSessionId))
25165
25156
  return "merchantSessionId: string expected";
25157
+ }
25166
25158
  if (message.amount != null && message.hasOwnProperty("amount")) {
25167
25159
  var error = $root.types.Money.verify(message.amount);
25168
25160
  if (error)
@@ -26793,11 +26785,11 @@ $root.types = (function() {
26793
26785
 
26794
26786
  /**
26795
26787
  * Identification
26796
- * @member {string|null|undefined} connectorTransactionId
26788
+ * @member {string} connectorTransactionId
26797
26789
  * @memberof types.PaymentServiceCaptureResponse
26798
26790
  * @instance
26799
26791
  */
26800
- PaymentServiceCaptureResponse.prototype.connectorTransactionId = null;
26792
+ PaymentServiceCaptureResponse.prototype.connectorTransactionId = "";
26801
26793
 
26802
26794
  /**
26803
26795
  * Status Information
@@ -26890,12 +26882,6 @@ $root.types = (function() {
26890
26882
  // OneOf field names bound to virtual getters and setters
26891
26883
  var $oneOfFields;
26892
26884
 
26893
- // Virtual OneOf for proto3 optional field
26894
- Object.defineProperty(PaymentServiceCaptureResponse.prototype, "_connectorTransactionId", {
26895
- get: $util.oneOfGetter($oneOfFields = ["connectorTransactionId"]),
26896
- set: $util.oneOfSetter($oneOfFields)
26897
- });
26898
-
26899
26885
  // Virtual OneOf for proto3 optional field
26900
26886
  Object.defineProperty(PaymentServiceCaptureResponse.prototype, "_error", {
26901
26887
  get: $util.oneOfGetter($oneOfFields = ["error"]),
@@ -27097,11 +27083,9 @@ $root.types = (function() {
27097
27083
  if (typeof message !== "object" || message === null)
27098
27084
  return "object expected";
27099
27085
  var properties = {};
27100
- if (message.connectorTransactionId != null && message.hasOwnProperty("connectorTransactionId")) {
27101
- properties._connectorTransactionId = 1;
27086
+ if (message.connectorTransactionId != null && message.hasOwnProperty("connectorTransactionId"))
27102
27087
  if (!$util.isString(message.connectorTransactionId))
27103
27088
  return "connectorTransactionId: string expected";
27104
- }
27105
27089
  if (message.status != null && message.hasOwnProperty("status"))
27106
27090
  switch (message.status) {
27107
27091
  default:
@@ -27253,11 +27237,11 @@ $root.types = (function() {
27253
27237
 
27254
27238
  /**
27255
27239
  * Identification
27256
- * @member {string} merchantOrderId
27240
+ * @member {string|null|undefined} merchantOrderId
27257
27241
  * @memberof types.PaymentServiceCreateOrderRequest
27258
27242
  * @instance
27259
27243
  */
27260
- PaymentServiceCreateOrderRequest.prototype.merchantOrderId = "";
27244
+ PaymentServiceCreateOrderRequest.prototype.merchantOrderId = null;
27261
27245
 
27262
27246
  /**
27263
27247
  * Amount Information
@@ -27318,6 +27302,12 @@ $root.types = (function() {
27318
27302
  // OneOf field names bound to virtual getters and setters
27319
27303
  var $oneOfFields;
27320
27304
 
27305
+ // Virtual OneOf for proto3 optional field
27306
+ Object.defineProperty(PaymentServiceCreateOrderRequest.prototype, "_merchantOrderId", {
27307
+ get: $util.oneOfGetter($oneOfFields = ["merchantOrderId"]),
27308
+ set: $util.oneOfSetter($oneOfFields)
27309
+ });
27310
+
27321
27311
  // Virtual OneOf for proto3 optional field
27322
27312
  Object.defineProperty(PaymentServiceCreateOrderRequest.prototype, "_webhookUrl", {
27323
27313
  get: $util.oneOfGetter($oneOfFields = ["webhookUrl"]),
@@ -27469,9 +27459,11 @@ $root.types = (function() {
27469
27459
  if (typeof message !== "object" || message === null)
27470
27460
  return "object expected";
27471
27461
  var properties = {};
27472
- if (message.merchantOrderId != null && message.hasOwnProperty("merchantOrderId"))
27462
+ if (message.merchantOrderId != null && message.hasOwnProperty("merchantOrderId")) {
27463
+ properties._merchantOrderId = 1;
27473
27464
  if (!$util.isString(message.merchantOrderId))
27474
27465
  return "merchantOrderId: string expected";
27466
+ }
27475
27467
  if (message.amount != null && message.hasOwnProperty("amount")) {
27476
27468
  var error = $root.types.Money.verify(message.amount);
27477
27469
  if (error)
@@ -28076,11 +28068,11 @@ $root.types = (function() {
28076
28068
 
28077
28069
  /**
28078
28070
  * Identification
28079
- * @member {string} merchantRefundId
28071
+ * @member {string|null|undefined} merchantRefundId
28080
28072
  * @memberof types.PaymentServiceRefundRequest
28081
28073
  * @instance
28082
28074
  */
28083
- PaymentServiceRefundRequest.prototype.merchantRefundId = "";
28075
+ PaymentServiceRefundRequest.prototype.merchantRefundId = null;
28084
28076
 
28085
28077
  /**
28086
28078
  * PaymentServiceRefundRequest connectorTransactionId.
@@ -28205,6 +28197,12 @@ $root.types = (function() {
28205
28197
  // OneOf field names bound to virtual getters and setters
28206
28198
  var $oneOfFields;
28207
28199
 
28200
+ // Virtual OneOf for proto3 optional field
28201
+ Object.defineProperty(PaymentServiceRefundRequest.prototype, "_merchantRefundId", {
28202
+ get: $util.oneOfGetter($oneOfFields = ["merchantRefundId"]),
28203
+ set: $util.oneOfSetter($oneOfFields)
28204
+ });
28205
+
28208
28206
  // Virtual OneOf for proto3 optional field
28209
28207
  Object.defineProperty(PaymentServiceRefundRequest.prototype, "_reason", {
28210
28208
  get: $util.oneOfGetter($oneOfFields = ["reason"]),
@@ -28440,9 +28438,11 @@ $root.types = (function() {
28440
28438
  if (typeof message !== "object" || message === null)
28441
28439
  return "object expected";
28442
28440
  var properties = {};
28443
- if (message.merchantRefundId != null && message.hasOwnProperty("merchantRefundId"))
28441
+ if (message.merchantRefundId != null && message.hasOwnProperty("merchantRefundId")) {
28442
+ properties._merchantRefundId = 1;
28444
28443
  if (!$util.isString(message.merchantRefundId))
28445
28444
  return "merchantRefundId: string expected";
28445
+ }
28446
28446
  if (message.connectorTransactionId != null && message.hasOwnProperty("connectorTransactionId"))
28447
28447
  if (!$util.isString(message.connectorTransactionId))
28448
28448
  return "connectorTransactionId: string expected";
@@ -29408,11 +29408,11 @@ $root.types = (function() {
29408
29408
 
29409
29409
  /**
29410
29410
  * Identification
29411
- * @member {string} merchantDisputeId
29411
+ * @member {string|null|undefined} merchantDisputeId
29412
29412
  * @memberof types.PaymentServiceDisputeRequest
29413
29413
  * @instance
29414
29414
  */
29415
- PaymentServiceDisputeRequest.prototype.merchantDisputeId = "";
29415
+ PaymentServiceDisputeRequest.prototype.merchantDisputeId = null;
29416
29416
 
29417
29417
  /**
29418
29418
  * Transaction ID to raise the dispute for
@@ -29433,6 +29433,12 @@ $root.types = (function() {
29433
29433
  // OneOf field names bound to virtual getters and setters
29434
29434
  var $oneOfFields;
29435
29435
 
29436
+ // Virtual OneOf for proto3 optional field
29437
+ Object.defineProperty(PaymentServiceDisputeRequest.prototype, "_merchantDisputeId", {
29438
+ get: $util.oneOfGetter($oneOfFields = ["merchantDisputeId"]),
29439
+ set: $util.oneOfSetter($oneOfFields)
29440
+ });
29441
+
29436
29442
  // Virtual OneOf for proto3 optional field
29437
29443
  Object.defineProperty(PaymentServiceDisputeRequest.prototype, "_state", {
29438
29444
  get: $util.oneOfGetter($oneOfFields = ["state"]),
@@ -29524,9 +29530,11 @@ $root.types = (function() {
29524
29530
  if (typeof message !== "object" || message === null)
29525
29531
  return "object expected";
29526
29532
  var properties = {};
29527
- if (message.merchantDisputeId != null && message.hasOwnProperty("merchantDisputeId"))
29533
+ if (message.merchantDisputeId != null && message.hasOwnProperty("merchantDisputeId")) {
29534
+ properties._merchantDisputeId = 1;
29528
29535
  if (!$util.isString(message.merchantDisputeId))
29529
29536
  return "merchantDisputeId: string expected";
29537
+ }
29530
29538
  if (message.connectorTransactionId != null && message.hasOwnProperty("connectorTransactionId"))
29531
29539
  if (!$util.isString(message.connectorTransactionId))
29532
29540
  return "connectorTransactionId: string expected";
@@ -31182,7 +31190,7 @@ $root.types = (function() {
31182
31190
  * Properties of a PaymentServiceSetupRecurringResponse.
31183
31191
  * @memberof types
31184
31192
  * @interface IPaymentServiceSetupRecurringResponse
31185
- * @property {string|null} [connectorRegistrationId] Identification
31193
+ * @property {string|null} [connectorRecurringPaymentId] Identification
31186
31194
  * @property {types.PaymentStatus|null} [status] Status Information
31187
31195
  * @property {types.IErrorInfo|null} [error] PaymentServiceSetupRecurringResponse error
31188
31196
  * @property {number|null} [statusCode] HTTP status code from the connector
@@ -31217,11 +31225,11 @@ $root.types = (function() {
31217
31225
 
31218
31226
  /**
31219
31227
  * Identification
31220
- * @member {string|null|undefined} connectorRegistrationId
31228
+ * @member {string|null|undefined} connectorRecurringPaymentId
31221
31229
  * @memberof types.PaymentServiceSetupRecurringResponse
31222
31230
  * @instance
31223
31231
  */
31224
- PaymentServiceSetupRecurringResponse.prototype.connectorRegistrationId = null;
31232
+ PaymentServiceSetupRecurringResponse.prototype.connectorRecurringPaymentId = null;
31225
31233
 
31226
31234
  /**
31227
31235
  * Status Information
@@ -31281,11 +31289,11 @@ $root.types = (function() {
31281
31289
 
31282
31290
  /**
31283
31291
  * PaymentServiceSetupRecurringResponse merchantRecurringPaymentId.
31284
- * @member {string|null|undefined} merchantRecurringPaymentId
31292
+ * @member {string} merchantRecurringPaymentId
31285
31293
  * @memberof types.PaymentServiceSetupRecurringResponse
31286
31294
  * @instance
31287
31295
  */
31288
- PaymentServiceSetupRecurringResponse.prototype.merchantRecurringPaymentId = null;
31296
+ PaymentServiceSetupRecurringResponse.prototype.merchantRecurringPaymentId = "";
31289
31297
 
31290
31298
  /**
31291
31299
  * Various data regarding the response from connector
@@ -31339,8 +31347,8 @@ $root.types = (function() {
31339
31347
  var $oneOfFields;
31340
31348
 
31341
31349
  // Virtual OneOf for proto3 optional field
31342
- Object.defineProperty(PaymentServiceSetupRecurringResponse.prototype, "_connectorRegistrationId", {
31343
- get: $util.oneOfGetter($oneOfFields = ["connectorRegistrationId"]),
31350
+ Object.defineProperty(PaymentServiceSetupRecurringResponse.prototype, "_connectorRecurringPaymentId", {
31351
+ get: $util.oneOfGetter($oneOfFields = ["connectorRecurringPaymentId"]),
31344
31352
  set: $util.oneOfSetter($oneOfFields)
31345
31353
  });
31346
31354
 
@@ -31362,12 +31370,6 @@ $root.types = (function() {
31362
31370
  set: $util.oneOfSetter($oneOfFields)
31363
31371
  });
31364
31372
 
31365
- // Virtual OneOf for proto3 optional field
31366
- Object.defineProperty(PaymentServiceSetupRecurringResponse.prototype, "_merchantRecurringPaymentId", {
31367
- get: $util.oneOfGetter($oneOfFields = ["merchantRecurringPaymentId"]),
31368
- set: $util.oneOfSetter($oneOfFields)
31369
- });
31370
-
31371
31373
  // Virtual OneOf for proto3 optional field
31372
31374
  Object.defineProperty(PaymentServiceSetupRecurringResponse.prototype, "_connectorResponse", {
31373
31375
  get: $util.oneOfGetter($oneOfFields = ["connectorResponse"]),
@@ -31428,8 +31430,8 @@ $root.types = (function() {
31428
31430
  PaymentServiceSetupRecurringResponse.encode = function encode(message, writer) {
31429
31431
  if (!writer)
31430
31432
  writer = $Writer.create();
31431
- if (message.connectorRegistrationId != null && Object.hasOwnProperty.call(message, "connectorRegistrationId"))
31432
- writer.uint32(/* id 1, wireType 2 =*/10).string(message.connectorRegistrationId);
31433
+ if (message.connectorRecurringPaymentId != null && Object.hasOwnProperty.call(message, "connectorRecurringPaymentId"))
31434
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.connectorRecurringPaymentId);
31433
31435
  if (message.status != null && Object.hasOwnProperty.call(message, "status"))
31434
31436
  writer.uint32(/* id 2, wireType 0 =*/16).int32(message.status);
31435
31437
  if (message.error != null && Object.hasOwnProperty.call(message, "error"))
@@ -31483,7 +31485,7 @@ $root.types = (function() {
31483
31485
  break;
31484
31486
  switch (tag >>> 3) {
31485
31487
  case 1: {
31486
- message.connectorRegistrationId = reader.string();
31488
+ message.connectorRecurringPaymentId = reader.string();
31487
31489
  break;
31488
31490
  }
31489
31491
  case 2: {
@@ -31581,10 +31583,10 @@ $root.types = (function() {
31581
31583
  if (typeof message !== "object" || message === null)
31582
31584
  return "object expected";
31583
31585
  var properties = {};
31584
- if (message.connectorRegistrationId != null && message.hasOwnProperty("connectorRegistrationId")) {
31585
- properties._connectorRegistrationId = 1;
31586
- if (!$util.isString(message.connectorRegistrationId))
31587
- return "connectorRegistrationId: string expected";
31586
+ if (message.connectorRecurringPaymentId != null && message.hasOwnProperty("connectorRecurringPaymentId")) {
31587
+ properties._connectorRecurringPaymentId = 1;
31588
+ if (!$util.isString(message.connectorRecurringPaymentId))
31589
+ return "connectorRecurringPaymentId: string expected";
31588
31590
  }
31589
31591
  if (message.status != null && message.hasOwnProperty("status"))
31590
31592
  switch (message.status) {
@@ -31657,11 +31659,9 @@ $root.types = (function() {
31657
31659
  if (!$util.isString(message.networkTransactionId))
31658
31660
  return "networkTransactionId: string expected";
31659
31661
  }
31660
- if (message.merchantRecurringPaymentId != null && message.hasOwnProperty("merchantRecurringPaymentId")) {
31661
- properties._merchantRecurringPaymentId = 1;
31662
+ if (message.merchantRecurringPaymentId != null && message.hasOwnProperty("merchantRecurringPaymentId"))
31662
31663
  if (!$util.isString(message.merchantRecurringPaymentId))
31663
31664
  return "merchantRecurringPaymentId: string expected";
31664
- }
31665
31665
  if (message.connectorResponse != null && message.hasOwnProperty("connectorResponse")) {
31666
31666
  properties._connectorResponse = 1;
31667
31667
  {
@@ -31732,7 +31732,7 @@ $root.types = (function() {
31732
31732
  * @memberof types
31733
31733
  * @interface IRecurringPaymentServiceChargeRequest
31734
31734
  * @property {string|null} [merchantChargeId] Identification
31735
- * @property {types.IMandateReference|null} [mandateReferenceId] Mandate Information (for MIT)
31735
+ * @property {types.IMandateReference|null} [connectorRecurringPaymentId] Mandate Information (for MIT)
31736
31736
  * @property {types.IMoney|null} [amount] Amount Information
31737
31737
  * @property {types.IPaymentMethod|null} [paymentMethod] Optional payment Method Information (for network transaction flows)
31738
31738
  * @property {string|null} [merchantOrderId] Optional fields
@@ -31789,11 +31789,11 @@ $root.types = (function() {
31789
31789
 
31790
31790
  /**
31791
31791
  * Mandate Information (for MIT)
31792
- * @member {types.IMandateReference|null|undefined} mandateReferenceId
31792
+ * @member {types.IMandateReference|null|undefined} connectorRecurringPaymentId
31793
31793
  * @memberof types.RecurringPaymentServiceChargeRequest
31794
31794
  * @instance
31795
31795
  */
31796
- RecurringPaymentServiceChargeRequest.prototype.mandateReferenceId = null;
31796
+ RecurringPaymentServiceChargeRequest.prototype.connectorRecurringPaymentId = null;
31797
31797
 
31798
31798
  /**
31799
31799
  * Amount Information
@@ -32037,8 +32037,8 @@ $root.types = (function() {
32037
32037
  });
32038
32038
 
32039
32039
  // Virtual OneOf for proto3 optional field
32040
- Object.defineProperty(RecurringPaymentServiceChargeRequest.prototype, "_mandateReferenceId", {
32041
- get: $util.oneOfGetter($oneOfFields = ["mandateReferenceId"]),
32040
+ Object.defineProperty(RecurringPaymentServiceChargeRequest.prototype, "_connectorRecurringPaymentId", {
32041
+ get: $util.oneOfGetter($oneOfFields = ["connectorRecurringPaymentId"]),
32042
32042
  set: $util.oneOfSetter($oneOfFields)
32043
32043
  });
32044
32044
 
@@ -32236,8 +32236,8 @@ $root.types = (function() {
32236
32236
  writer = $Writer.create();
32237
32237
  if (message.merchantChargeId != null && Object.hasOwnProperty.call(message, "merchantChargeId"))
32238
32238
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.merchantChargeId);
32239
- if (message.mandateReferenceId != null && Object.hasOwnProperty.call(message, "mandateReferenceId"))
32240
- $root.types.MandateReference.encode(message.mandateReferenceId, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
32239
+ if (message.connectorRecurringPaymentId != null && Object.hasOwnProperty.call(message, "connectorRecurringPaymentId"))
32240
+ $root.types.MandateReference.encode(message.connectorRecurringPaymentId, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
32241
32241
  if (message.amount != null && Object.hasOwnProperty.call(message, "amount"))
32242
32242
  $root.types.Money.encode(message.amount, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
32243
32243
  if (message.paymentMethod != null && Object.hasOwnProperty.call(message, "paymentMethod"))
@@ -32324,7 +32324,7 @@ $root.types = (function() {
32324
32324
  break;
32325
32325
  }
32326
32326
  case 2: {
32327
- message.mandateReferenceId = $root.types.MandateReference.decode(reader, reader.uint32());
32327
+ message.connectorRecurringPaymentId = $root.types.MandateReference.decode(reader, reader.uint32());
32328
32328
  break;
32329
32329
  }
32330
32330
  case 3: {
@@ -32468,12 +32468,12 @@ $root.types = (function() {
32468
32468
  if (!$util.isString(message.merchantChargeId))
32469
32469
  return "merchantChargeId: string expected";
32470
32470
  }
32471
- if (message.mandateReferenceId != null && message.hasOwnProperty("mandateReferenceId")) {
32472
- properties._mandateReferenceId = 1;
32471
+ if (message.connectorRecurringPaymentId != null && message.hasOwnProperty("connectorRecurringPaymentId")) {
32472
+ properties._connectorRecurringPaymentId = 1;
32473
32473
  {
32474
- var error = $root.types.MandateReference.verify(message.mandateReferenceId);
32474
+ var error = $root.types.MandateReference.verify(message.connectorRecurringPaymentId);
32475
32475
  if (error)
32476
- return "mandateReferenceId." + error;
32476
+ return "connectorRecurringPaymentId." + error;
32477
32477
  }
32478
32478
  }
32479
32479
  if (message.amount != null && message.hasOwnProperty("amount")) {
@@ -33556,11 +33556,11 @@ $root.types = (function() {
33556
33556
 
33557
33557
  /**
33558
33558
  * Identification
33559
- * @member {string} merchantRevokeId
33559
+ * @member {string|null|undefined} merchantRevokeId
33560
33560
  * @memberof types.RecurringPaymentServiceRevokeRequest
33561
33561
  * @instance
33562
33562
  */
33563
- RecurringPaymentServiceRevokeRequest.prototype.merchantRevokeId = "";
33563
+ RecurringPaymentServiceRevokeRequest.prototype.merchantRevokeId = null;
33564
33564
 
33565
33565
  /**
33566
33566
  * Mandate Details
@@ -33581,6 +33581,12 @@ $root.types = (function() {
33581
33581
  // OneOf field names bound to virtual getters and setters
33582
33582
  var $oneOfFields;
33583
33583
 
33584
+ // Virtual OneOf for proto3 optional field
33585
+ Object.defineProperty(RecurringPaymentServiceRevokeRequest.prototype, "_merchantRevokeId", {
33586
+ get: $util.oneOfGetter($oneOfFields = ["merchantRevokeId"]),
33587
+ set: $util.oneOfSetter($oneOfFields)
33588
+ });
33589
+
33584
33590
  // Virtual OneOf for proto3 optional field
33585
33591
  Object.defineProperty(RecurringPaymentServiceRevokeRequest.prototype, "_connectorMandateId", {
33586
33592
  get: $util.oneOfGetter($oneOfFields = ["connectorMandateId"]),
@@ -33672,9 +33678,11 @@ $root.types = (function() {
33672
33678
  if (typeof message !== "object" || message === null)
33673
33679
  return "object expected";
33674
33680
  var properties = {};
33675
- if (message.merchantRevokeId != null && message.hasOwnProperty("merchantRevokeId"))
33681
+ if (message.merchantRevokeId != null && message.hasOwnProperty("merchantRevokeId")) {
33682
+ properties._merchantRevokeId = 1;
33676
33683
  if (!$util.isString(message.merchantRevokeId))
33677
33684
  return "merchantRevokeId: string expected";
33685
+ }
33678
33686
  if (message.mandateId != null && message.hasOwnProperty("mandateId"))
33679
33687
  if (!$util.isString(message.mandateId))
33680
33688
  return "mandateId: string expected";
@@ -34085,11 +34093,11 @@ $root.types = (function() {
34085
34093
 
34086
34094
  /**
34087
34095
  * Payment Identification
34088
- * @member {string} merchantOrderId
34096
+ * @member {string|null|undefined} merchantOrderId
34089
34097
  * @memberof types.PaymentMethodAuthenticationServicePreAuthenticateRequest
34090
34098
  * @instance
34091
34099
  */
34092
- PaymentMethodAuthenticationServicePreAuthenticateRequest.prototype.merchantOrderId = "";
34100
+ PaymentMethodAuthenticationServicePreAuthenticateRequest.prototype.merchantOrderId = null;
34093
34101
 
34094
34102
  /**
34095
34103
  * Amount Information
@@ -34198,6 +34206,12 @@ $root.types = (function() {
34198
34206
  // OneOf field names bound to virtual getters and setters
34199
34207
  var $oneOfFields;
34200
34208
 
34209
+ // Virtual OneOf for proto3 optional field
34210
+ Object.defineProperty(PaymentMethodAuthenticationServicePreAuthenticateRequest.prototype, "_merchantOrderId", {
34211
+ get: $util.oneOfGetter($oneOfFields = ["merchantOrderId"]),
34212
+ set: $util.oneOfSetter($oneOfFields)
34213
+ });
34214
+
34201
34215
  // Virtual OneOf for proto3 optional field
34202
34216
  Object.defineProperty(PaymentMethodAuthenticationServicePreAuthenticateRequest.prototype, "_customer", {
34203
34217
  get: $util.oneOfGetter($oneOfFields = ["customer"]),
@@ -34403,9 +34417,11 @@ $root.types = (function() {
34403
34417
  if (typeof message !== "object" || message === null)
34404
34418
  return "object expected";
34405
34419
  var properties = {};
34406
- if (message.merchantOrderId != null && message.hasOwnProperty("merchantOrderId"))
34420
+ if (message.merchantOrderId != null && message.hasOwnProperty("merchantOrderId")) {
34421
+ properties._merchantOrderId = 1;
34407
34422
  if (!$util.isString(message.merchantOrderId))
34408
34423
  return "merchantOrderId: string expected";
34424
+ }
34409
34425
  if (message.amount != null && message.hasOwnProperty("amount")) {
34410
34426
  var error = $root.types.Money.verify(message.amount);
34411
34427
  if (error)
@@ -35030,11 +35046,11 @@ $root.types = (function() {
35030
35046
 
35031
35047
  /**
35032
35048
  * Payment Identification
35033
- * @member {string} merchantOrderId
35049
+ * @member {string|null|undefined} merchantOrderId
35034
35050
  * @memberof types.PaymentMethodAuthenticationServiceAuthenticateRequest
35035
35051
  * @instance
35036
35052
  */
35037
- PaymentMethodAuthenticationServiceAuthenticateRequest.prototype.merchantOrderId = "";
35053
+ PaymentMethodAuthenticationServiceAuthenticateRequest.prototype.merchantOrderId = null;
35038
35054
 
35039
35055
  /**
35040
35056
  * Amount Information
@@ -35143,6 +35159,12 @@ $root.types = (function() {
35143
35159
  // OneOf field names bound to virtual getters and setters
35144
35160
  var $oneOfFields;
35145
35161
 
35162
+ // Virtual OneOf for proto3 optional field
35163
+ Object.defineProperty(PaymentMethodAuthenticationServiceAuthenticateRequest.prototype, "_merchantOrderId", {
35164
+ get: $util.oneOfGetter($oneOfFields = ["merchantOrderId"]),
35165
+ set: $util.oneOfSetter($oneOfFields)
35166
+ });
35167
+
35146
35168
  // Virtual OneOf for proto3 optional field
35147
35169
  Object.defineProperty(PaymentMethodAuthenticationServiceAuthenticateRequest.prototype, "_customer", {
35148
35170
  get: $util.oneOfGetter($oneOfFields = ["customer"]),
@@ -35354,9 +35376,11 @@ $root.types = (function() {
35354
35376
  if (typeof message !== "object" || message === null)
35355
35377
  return "object expected";
35356
35378
  var properties = {};
35357
- if (message.merchantOrderId != null && message.hasOwnProperty("merchantOrderId"))
35379
+ if (message.merchantOrderId != null && message.hasOwnProperty("merchantOrderId")) {
35380
+ properties._merchantOrderId = 1;
35358
35381
  if (!$util.isString(message.merchantOrderId))
35359
35382
  return "merchantOrderId: string expected";
35383
+ }
35360
35384
  if (message.amount != null && message.hasOwnProperty("amount")) {
35361
35385
  var error = $root.types.Money.verify(message.amount);
35362
35386
  if (error)
@@ -35989,11 +36013,11 @@ $root.types = (function() {
35989
36013
 
35990
36014
  /**
35991
36015
  * Payment Identification
35992
- * @member {string} merchantOrderId
36016
+ * @member {string|null|undefined} merchantOrderId
35993
36017
  * @memberof types.PaymentMethodAuthenticationServicePostAuthenticateRequest
35994
36018
  * @instance
35995
36019
  */
35996
- PaymentMethodAuthenticationServicePostAuthenticateRequest.prototype.merchantOrderId = "";
36020
+ PaymentMethodAuthenticationServicePostAuthenticateRequest.prototype.merchantOrderId = null;
35997
36021
 
35998
36022
  /**
35999
36023
  * Amount Information
@@ -36102,6 +36126,12 @@ $root.types = (function() {
36102
36126
  // OneOf field names bound to virtual getters and setters
36103
36127
  var $oneOfFields;
36104
36128
 
36129
+ // Virtual OneOf for proto3 optional field
36130
+ Object.defineProperty(PaymentMethodAuthenticationServicePostAuthenticateRequest.prototype, "_merchantOrderId", {
36131
+ get: $util.oneOfGetter($oneOfFields = ["merchantOrderId"]),
36132
+ set: $util.oneOfSetter($oneOfFields)
36133
+ });
36134
+
36105
36135
  // Virtual OneOf for proto3 optional field
36106
36136
  Object.defineProperty(PaymentMethodAuthenticationServicePostAuthenticateRequest.prototype, "_customer", {
36107
36137
  get: $util.oneOfGetter($oneOfFields = ["customer"]),
@@ -36313,9 +36343,11 @@ $root.types = (function() {
36313
36343
  if (typeof message !== "object" || message === null)
36314
36344
  return "object expected";
36315
36345
  var properties = {};
36316
- if (message.merchantOrderId != null && message.hasOwnProperty("merchantOrderId"))
36346
+ if (message.merchantOrderId != null && message.hasOwnProperty("merchantOrderId")) {
36347
+ properties._merchantOrderId = 1;
36317
36348
  if (!$util.isString(message.merchantOrderId))
36318
36349
  return "merchantOrderId: string expected";
36350
+ }
36319
36351
  if (message.amount != null && message.hasOwnProperty("amount")) {
36320
36352
  var error = $root.types.Money.verify(message.amount);
36321
36353
  if (error)
@@ -36957,11 +36989,11 @@ $root.types = (function() {
36957
36989
 
36958
36990
  /**
36959
36991
  * Identification
36960
- * @member {string} merchantAuthorizationId
36992
+ * @member {string|null|undefined} merchantAuthorizationId
36961
36993
  * @memberof types.PaymentServiceIncrementalAuthorizationRequest
36962
36994
  * @instance
36963
36995
  */
36964
- PaymentServiceIncrementalAuthorizationRequest.prototype.merchantAuthorizationId = "";
36996
+ PaymentServiceIncrementalAuthorizationRequest.prototype.merchantAuthorizationId = null;
36965
36997
 
36966
36998
  /**
36967
36999
  * PaymentServiceIncrementalAuthorizationRequest connectorTransactionId.
@@ -37006,6 +37038,12 @@ $root.types = (function() {
37006
37038
  // OneOf field names bound to virtual getters and setters
37007
37039
  var $oneOfFields;
37008
37040
 
37041
+ // Virtual OneOf for proto3 optional field
37042
+ Object.defineProperty(PaymentServiceIncrementalAuthorizationRequest.prototype, "_merchantAuthorizationId", {
37043
+ get: $util.oneOfGetter($oneOfFields = ["merchantAuthorizationId"]),
37044
+ set: $util.oneOfSetter($oneOfFields)
37045
+ });
37046
+
37009
37047
  // Virtual OneOf for proto3 optional field
37010
37048
  Object.defineProperty(PaymentServiceIncrementalAuthorizationRequest.prototype, "_reason", {
37011
37049
  get: $util.oneOfGetter($oneOfFields = ["reason"]),
@@ -37127,9 +37165,11 @@ $root.types = (function() {
37127
37165
  if (typeof message !== "object" || message === null)
37128
37166
  return "object expected";
37129
37167
  var properties = {};
37130
- if (message.merchantAuthorizationId != null && message.hasOwnProperty("merchantAuthorizationId"))
37168
+ if (message.merchantAuthorizationId != null && message.hasOwnProperty("merchantAuthorizationId")) {
37169
+ properties._merchantAuthorizationId = 1;
37131
37170
  if (!$util.isString(message.merchantAuthorizationId))
37132
37171
  return "merchantAuthorizationId: string expected";
37172
+ }
37133
37173
  if (message.connectorTransactionId != null && message.hasOwnProperty("connectorTransactionId"))
37134
37174
  if (!$util.isString(message.connectorTransactionId))
37135
37175
  return "connectorTransactionId: string expected";
@@ -37495,11 +37535,11 @@ $root.types = (function() {
37495
37535
 
37496
37536
  /**
37497
37537
  * Identification
37498
- * @member {string} merchantEventId
37538
+ * @member {string|null|undefined} merchantEventId
37499
37539
  * @memberof types.EventServiceHandleRequest
37500
37540
  * @instance
37501
37541
  */
37502
- EventServiceHandleRequest.prototype.merchantEventId = "";
37542
+ EventServiceHandleRequest.prototype.merchantEventId = null;
37503
37543
 
37504
37544
  /**
37505
37545
  * Request Details
@@ -37528,6 +37568,12 @@ $root.types = (function() {
37528
37568
  // OneOf field names bound to virtual getters and setters
37529
37569
  var $oneOfFields;
37530
37570
 
37571
+ // Virtual OneOf for proto3 optional field
37572
+ Object.defineProperty(EventServiceHandleRequest.prototype, "_merchantEventId", {
37573
+ get: $util.oneOfGetter($oneOfFields = ["merchantEventId"]),
37574
+ set: $util.oneOfSetter($oneOfFields)
37575
+ });
37576
+
37531
37577
  // Virtual OneOf for proto3 optional field
37532
37578
  Object.defineProperty(EventServiceHandleRequest.prototype, "_webhookSecrets", {
37533
37579
  get: $util.oneOfGetter($oneOfFields = ["webhookSecrets"]),
@@ -37631,9 +37677,11 @@ $root.types = (function() {
37631
37677
  if (typeof message !== "object" || message === null)
37632
37678
  return "object expected";
37633
37679
  var properties = {};
37634
- if (message.merchantEventId != null && message.hasOwnProperty("merchantEventId"))
37680
+ if (message.merchantEventId != null && message.hasOwnProperty("merchantEventId")) {
37681
+ properties._merchantEventId = 1;
37635
37682
  if (!$util.isString(message.merchantEventId))
37636
37683
  return "merchantEventId: string expected";
37684
+ }
37637
37685
  if (message.requestDetails != null && message.hasOwnProperty("requestDetails")) {
37638
37686
  var error = $root.types.RequestDetails.verify(message.requestDetails);
37639
37687
  if (error)
@@ -37720,11 +37768,11 @@ $root.types = (function() {
37720
37768
 
37721
37769
  /**
37722
37770
  * Identification
37723
- * @member {string} merchantOrderId
37771
+ * @member {string|null|undefined} merchantOrderId
37724
37772
  * @memberof types.PaymentServiceVerifyRedirectResponseRequest
37725
37773
  * @instance
37726
37774
  */
37727
- PaymentServiceVerifyRedirectResponseRequest.prototype.merchantOrderId = "";
37775
+ PaymentServiceVerifyRedirectResponseRequest.prototype.merchantOrderId = null;
37728
37776
 
37729
37777
  /**
37730
37778
  * Request Details
@@ -37745,6 +37793,12 @@ $root.types = (function() {
37745
37793
  // OneOf field names bound to virtual getters and setters
37746
37794
  var $oneOfFields;
37747
37795
 
37796
+ // Virtual OneOf for proto3 optional field
37797
+ Object.defineProperty(PaymentServiceVerifyRedirectResponseRequest.prototype, "_merchantOrderId", {
37798
+ get: $util.oneOfGetter($oneOfFields = ["merchantOrderId"]),
37799
+ set: $util.oneOfSetter($oneOfFields)
37800
+ });
37801
+
37748
37802
  // Virtual OneOf for proto3 optional field
37749
37803
  Object.defineProperty(PaymentServiceVerifyRedirectResponseRequest.prototype, "_redirectResponseSecrets", {
37750
37804
  get: $util.oneOfGetter($oneOfFields = ["redirectResponseSecrets"]),
@@ -37836,9 +37890,11 @@ $root.types = (function() {
37836
37890
  if (typeof message !== "object" || message === null)
37837
37891
  return "object expected";
37838
37892
  var properties = {};
37839
- if (message.merchantOrderId != null && message.hasOwnProperty("merchantOrderId"))
37893
+ if (message.merchantOrderId != null && message.hasOwnProperty("merchantOrderId")) {
37894
+ properties._merchantOrderId = 1;
37840
37895
  if (!$util.isString(message.merchantOrderId))
37841
37896
  return "merchantOrderId: string expected";
37897
+ }
37842
37898
  if (message.requestDetails != null && message.hasOwnProperty("requestDetails")) {
37843
37899
  var error = $root.types.RequestDetails.verify(message.requestDetails);
37844
37900
  if (error)
@@ -39335,11 +39391,11 @@ $root.types = (function() {
39335
39391
 
39336
39392
  /**
39337
39393
  * Identification
39338
- * @member {string} merchantDisputeId
39394
+ * @member {string|null|undefined} merchantDisputeId
39339
39395
  * @memberof types.DisputeServiceGetRequest
39340
39396
  * @instance
39341
39397
  */
39342
- DisputeServiceGetRequest.prototype.merchantDisputeId = "";
39398
+ DisputeServiceGetRequest.prototype.merchantDisputeId = null;
39343
39399
 
39344
39400
  /**
39345
39401
  * DisputeServiceGetRequest disputeId.
@@ -39360,6 +39416,12 @@ $root.types = (function() {
39360
39416
  // OneOf field names bound to virtual getters and setters
39361
39417
  var $oneOfFields;
39362
39418
 
39419
+ // Virtual OneOf for proto3 optional field
39420
+ Object.defineProperty(DisputeServiceGetRequest.prototype, "_merchantDisputeId", {
39421
+ get: $util.oneOfGetter($oneOfFields = ["merchantDisputeId"]),
39422
+ set: $util.oneOfSetter($oneOfFields)
39423
+ });
39424
+
39363
39425
  // Virtual OneOf for proto3 optional field
39364
39426
  Object.defineProperty(DisputeServiceGetRequest.prototype, "_disputeId", {
39365
39427
  get: $util.oneOfGetter($oneOfFields = ["disputeId"]),
@@ -39451,9 +39513,11 @@ $root.types = (function() {
39451
39513
  if (typeof message !== "object" || message === null)
39452
39514
  return "object expected";
39453
39515
  var properties = {};
39454
- if (message.merchantDisputeId != null && message.hasOwnProperty("merchantDisputeId"))
39516
+ if (message.merchantDisputeId != null && message.hasOwnProperty("merchantDisputeId")) {
39517
+ properties._merchantDisputeId = 1;
39455
39518
  if (!$util.isString(message.merchantDisputeId))
39456
39519
  return "merchantDisputeId: string expected";
39520
+ }
39457
39521
  if (message.disputeId != null && message.hasOwnProperty("disputeId")) {
39458
39522
  properties._disputeId = 1;
39459
39523
  if (!$util.isString(message.disputeId))
@@ -39512,11 +39576,11 @@ $root.types = (function() {
39512
39576
 
39513
39577
  /**
39514
39578
  * Identification
39515
- * @member {string} merchantDisputeId
39579
+ * @member {string|null|undefined} merchantDisputeId
39516
39580
  * @memberof types.DisputeServiceDefendRequest
39517
39581
  * @instance
39518
39582
  */
39519
- DisputeServiceDefendRequest.prototype.merchantDisputeId = "";
39583
+ DisputeServiceDefendRequest.prototype.merchantDisputeId = null;
39520
39584
 
39521
39585
  /**
39522
39586
  * DisputeServiceDefendRequest connectorTransactionId.
@@ -39545,6 +39609,12 @@ $root.types = (function() {
39545
39609
  // OneOf field names bound to virtual getters and setters
39546
39610
  var $oneOfFields;
39547
39611
 
39612
+ // Virtual OneOf for proto3 optional field
39613
+ Object.defineProperty(DisputeServiceDefendRequest.prototype, "_merchantDisputeId", {
39614
+ get: $util.oneOfGetter($oneOfFields = ["merchantDisputeId"]),
39615
+ set: $util.oneOfSetter($oneOfFields)
39616
+ });
39617
+
39548
39618
  // Virtual OneOf for proto3 optional field
39549
39619
  Object.defineProperty(DisputeServiceDefendRequest.prototype, "_reasonCode", {
39550
39620
  get: $util.oneOfGetter($oneOfFields = ["reasonCode"]),
@@ -39642,9 +39712,11 @@ $root.types = (function() {
39642
39712
  if (typeof message !== "object" || message === null)
39643
39713
  return "object expected";
39644
39714
  var properties = {};
39645
- if (message.merchantDisputeId != null && message.hasOwnProperty("merchantDisputeId"))
39715
+ if (message.merchantDisputeId != null && message.hasOwnProperty("merchantDisputeId")) {
39716
+ properties._merchantDisputeId = 1;
39646
39717
  if (!$util.isString(message.merchantDisputeId))
39647
39718
  return "merchantDisputeId: string expected";
39719
+ }
39648
39720
  if (message.connectorTransactionId != null && message.hasOwnProperty("connectorTransactionId"))
39649
39721
  if (!$util.isString(message.connectorTransactionId))
39650
39722
  return "connectorTransactionId: string expected";
@@ -40038,11 +40110,11 @@ $root.types = (function() {
40038
40110
 
40039
40111
  /**
40040
40112
  * Identification
40041
- * @member {string} merchantDisputeId
40113
+ * @member {string|null|undefined} merchantDisputeId
40042
40114
  * @memberof types.DisputeServiceAcceptRequest
40043
40115
  * @instance
40044
40116
  */
40045
- DisputeServiceAcceptRequest.prototype.merchantDisputeId = "";
40117
+ DisputeServiceAcceptRequest.prototype.merchantDisputeId = null;
40046
40118
 
40047
40119
  /**
40048
40120
  * DisputeServiceAcceptRequest connectorTransactionId.
@@ -40060,6 +40132,15 @@ $root.types = (function() {
40060
40132
  */
40061
40133
  DisputeServiceAcceptRequest.prototype.disputeId = "";
40062
40134
 
40135
+ // OneOf field names bound to virtual getters and setters
40136
+ var $oneOfFields;
40137
+
40138
+ // Virtual OneOf for proto3 optional field
40139
+ Object.defineProperty(DisputeServiceAcceptRequest.prototype, "_merchantDisputeId", {
40140
+ get: $util.oneOfGetter($oneOfFields = ["merchantDisputeId"]),
40141
+ set: $util.oneOfSetter($oneOfFields)
40142
+ });
40143
+
40063
40144
  /**
40064
40145
  * Creates a new DisputeServiceAcceptRequest instance using the specified properties.
40065
40146
  * @function create
@@ -40144,9 +40225,12 @@ $root.types = (function() {
40144
40225
  DisputeServiceAcceptRequest.verify = function verify(message) {
40145
40226
  if (typeof message !== "object" || message === null)
40146
40227
  return "object expected";
40147
- if (message.merchantDisputeId != null && message.hasOwnProperty("merchantDisputeId"))
40228
+ var properties = {};
40229
+ if (message.merchantDisputeId != null && message.hasOwnProperty("merchantDisputeId")) {
40230
+ properties._merchantDisputeId = 1;
40148
40231
  if (!$util.isString(message.merchantDisputeId))
40149
40232
  return "merchantDisputeId: string expected";
40233
+ }
40150
40234
  if (message.connectorTransactionId != null && message.hasOwnProperty("connectorTransactionId"))
40151
40235
  if (!$util.isString(message.connectorTransactionId))
40152
40236
  return "connectorTransactionId: string expected";
@@ -40541,11 +40625,11 @@ $root.types = (function() {
40541
40625
 
40542
40626
  /**
40543
40627
  * Identification
40544
- * @member {string} merchantPaymentMethodId
40628
+ * @member {string|null|undefined} merchantPaymentMethodId
40545
40629
  * @memberof types.PaymentMethodServiceTokenizeRequest
40546
40630
  * @instance
40547
40631
  */
40548
- PaymentMethodServiceTokenizeRequest.prototype.merchantPaymentMethodId = "";
40632
+ PaymentMethodServiceTokenizeRequest.prototype.merchantPaymentMethodId = null;
40549
40633
 
40550
40634
  /**
40551
40635
  * Payment Information
@@ -40614,6 +40698,12 @@ $root.types = (function() {
40614
40698
  // OneOf field names bound to virtual getters and setters
40615
40699
  var $oneOfFields;
40616
40700
 
40701
+ // Virtual OneOf for proto3 optional field
40702
+ Object.defineProperty(PaymentMethodServiceTokenizeRequest.prototype, "_merchantPaymentMethodId", {
40703
+ get: $util.oneOfGetter($oneOfFields = ["merchantPaymentMethodId"]),
40704
+ set: $util.oneOfSetter($oneOfFields)
40705
+ });
40706
+
40617
40707
  // Virtual OneOf for proto3 optional field
40618
40708
  Object.defineProperty(PaymentMethodServiceTokenizeRequest.prototype, "_customer", {
40619
40709
  get: $util.oneOfGetter($oneOfFields = ["customer"]),
@@ -40771,9 +40861,11 @@ $root.types = (function() {
40771
40861
  if (typeof message !== "object" || message === null)
40772
40862
  return "object expected";
40773
40863
  var properties = {};
40774
- if (message.merchantPaymentMethodId != null && message.hasOwnProperty("merchantPaymentMethodId"))
40864
+ if (message.merchantPaymentMethodId != null && message.hasOwnProperty("merchantPaymentMethodId")) {
40865
+ properties._merchantPaymentMethodId = 1;
40775
40866
  if (!$util.isString(message.merchantPaymentMethodId))
40776
40867
  return "merchantPaymentMethodId: string expected";
40868
+ }
40777
40869
  if (message.amount != null && message.hasOwnProperty("amount")) {
40778
40870
  var error = $root.types.Money.verify(message.amount);
40779
40871
  if (error)
@@ -41153,11 +41245,11 @@ $root.types = (function() {
41153
41245
 
41154
41246
  /**
41155
41247
  * Identification
41156
- * @member {string} merchantPaymentMethodId
41248
+ * @member {string|null|undefined} merchantPaymentMethodId
41157
41249
  * @memberof types.PaymentMethodServiceGetRequest
41158
41250
  * @instance
41159
41251
  */
41160
- PaymentMethodServiceGetRequest.prototype.merchantPaymentMethodId = "";
41252
+ PaymentMethodServiceGetRequest.prototype.merchantPaymentMethodId = null;
41161
41253
 
41162
41254
  /**
41163
41255
  * Payment Method Information
@@ -41178,6 +41270,12 @@ $root.types = (function() {
41178
41270
  // OneOf field names bound to virtual getters and setters
41179
41271
  var $oneOfFields;
41180
41272
 
41273
+ // Virtual OneOf for proto3 optional field
41274
+ Object.defineProperty(PaymentMethodServiceGetRequest.prototype, "_merchantPaymentMethodId", {
41275
+ get: $util.oneOfGetter($oneOfFields = ["merchantPaymentMethodId"]),
41276
+ set: $util.oneOfSetter($oneOfFields)
41277
+ });
41278
+
41181
41279
  // Virtual OneOf for proto3 optional field
41182
41280
  Object.defineProperty(PaymentMethodServiceGetRequest.prototype, "_state", {
41183
41281
  get: $util.oneOfGetter($oneOfFields = ["state"]),
@@ -41269,9 +41367,11 @@ $root.types = (function() {
41269
41367
  if (typeof message !== "object" || message === null)
41270
41368
  return "object expected";
41271
41369
  var properties = {};
41272
- if (message.merchantPaymentMethodId != null && message.hasOwnProperty("merchantPaymentMethodId"))
41370
+ if (message.merchantPaymentMethodId != null && message.hasOwnProperty("merchantPaymentMethodId")) {
41371
+ properties._merchantPaymentMethodId = 1;
41273
41372
  if (!$util.isString(message.merchantPaymentMethodId))
41274
41373
  return "merchantPaymentMethodId: string expected";
41374
+ }
41275
41375
  if (message.paymentMethodToken != null && message.hasOwnProperty("paymentMethodToken"))
41276
41376
  if (!$util.isString(message.paymentMethodToken))
41277
41377
  return "paymentMethodToken: string expected";
@@ -42194,11 +42294,11 @@ $root.types = (function() {
42194
42294
 
42195
42295
  /**
42196
42296
  * Identification
42197
- * @member {string} merchantCustomerId
42297
+ * @member {string|null|undefined} merchantCustomerId
42198
42298
  * @memberof types.CustomerServiceGetRequest
42199
42299
  * @instance
42200
42300
  */
42201
- CustomerServiceGetRequest.prototype.merchantCustomerId = "";
42301
+ CustomerServiceGetRequest.prototype.merchantCustomerId = null;
42202
42302
 
42203
42303
  /**
42204
42304
  * Customer Information
@@ -42208,6 +42308,15 @@ $root.types = (function() {
42208
42308
  */
42209
42309
  CustomerServiceGetRequest.prototype.connectorCustomerId = "";
42210
42310
 
42311
+ // OneOf field names bound to virtual getters and setters
42312
+ var $oneOfFields;
42313
+
42314
+ // Virtual OneOf for proto3 optional field
42315
+ Object.defineProperty(CustomerServiceGetRequest.prototype, "_merchantCustomerId", {
42316
+ get: $util.oneOfGetter($oneOfFields = ["merchantCustomerId"]),
42317
+ set: $util.oneOfSetter($oneOfFields)
42318
+ });
42319
+
42211
42320
  /**
42212
42321
  * Creates a new CustomerServiceGetRequest instance using the specified properties.
42213
42322
  * @function create
@@ -42286,9 +42395,12 @@ $root.types = (function() {
42286
42395
  CustomerServiceGetRequest.verify = function verify(message) {
42287
42396
  if (typeof message !== "object" || message === null)
42288
42397
  return "object expected";
42289
- if (message.merchantCustomerId != null && message.hasOwnProperty("merchantCustomerId"))
42398
+ var properties = {};
42399
+ if (message.merchantCustomerId != null && message.hasOwnProperty("merchantCustomerId")) {
42400
+ properties._merchantCustomerId = 1;
42290
42401
  if (!$util.isString(message.merchantCustomerId))
42291
42402
  return "merchantCustomerId: string expected";
42403
+ }
42292
42404
  if (message.connectorCustomerId != null && message.hasOwnProperty("connectorCustomerId"))
42293
42405
  if (!$util.isString(message.connectorCustomerId))
42294
42406
  return "connectorCustomerId: string expected";
@@ -42597,11 +42709,11 @@ $root.types = (function() {
42597
42709
 
42598
42710
  /**
42599
42711
  * Identification
42600
- * @member {string} merchantCustomerId
42712
+ * @member {string|null|undefined} merchantCustomerId
42601
42713
  * @memberof types.CustomerServiceUpdateRequest
42602
42714
  * @instance
42603
42715
  */
42604
- CustomerServiceUpdateRequest.prototype.merchantCustomerId = "";
42716
+ CustomerServiceUpdateRequest.prototype.merchantCustomerId = null;
42605
42717
 
42606
42718
  /**
42607
42719
  * Customer Information
@@ -42662,6 +42774,12 @@ $root.types = (function() {
42662
42774
  // OneOf field names bound to virtual getters and setters
42663
42775
  var $oneOfFields;
42664
42776
 
42777
+ // Virtual OneOf for proto3 optional field
42778
+ Object.defineProperty(CustomerServiceUpdateRequest.prototype, "_merchantCustomerId", {
42779
+ get: $util.oneOfGetter($oneOfFields = ["merchantCustomerId"]),
42780
+ set: $util.oneOfSetter($oneOfFields)
42781
+ });
42782
+
42665
42783
  // Virtual OneOf for proto3 optional field
42666
42784
  Object.defineProperty(CustomerServiceUpdateRequest.prototype, "_customerName", {
42667
42785
  get: $util.oneOfGetter($oneOfFields = ["customerName"]),
@@ -42813,9 +42931,11 @@ $root.types = (function() {
42813
42931
  if (typeof message !== "object" || message === null)
42814
42932
  return "object expected";
42815
42933
  var properties = {};
42816
- if (message.merchantCustomerId != null && message.hasOwnProperty("merchantCustomerId"))
42934
+ if (message.merchantCustomerId != null && message.hasOwnProperty("merchantCustomerId")) {
42935
+ properties._merchantCustomerId = 1;
42817
42936
  if (!$util.isString(message.merchantCustomerId))
42818
42937
  return "merchantCustomerId: string expected";
42938
+ }
42819
42939
  if (message.connectorCustomerId != null && message.hasOwnProperty("connectorCustomerId"))
42820
42940
  if (!$util.isString(message.connectorCustomerId))
42821
42941
  return "connectorCustomerId: string expected";
@@ -43160,11 +43280,11 @@ $root.types = (function() {
43160
43280
 
43161
43281
  /**
43162
43282
  * Identification
43163
- * @member {string} merchantCustomerId
43283
+ * @member {string|null|undefined} merchantCustomerId
43164
43284
  * @memberof types.CustomerServiceDeleteRequest
43165
43285
  * @instance
43166
43286
  */
43167
- CustomerServiceDeleteRequest.prototype.merchantCustomerId = "";
43287
+ CustomerServiceDeleteRequest.prototype.merchantCustomerId = null;
43168
43288
 
43169
43289
  /**
43170
43290
  * Customer Information
@@ -43174,6 +43294,15 @@ $root.types = (function() {
43174
43294
  */
43175
43295
  CustomerServiceDeleteRequest.prototype.connectorCustomerId = "";
43176
43296
 
43297
+ // OneOf field names bound to virtual getters and setters
43298
+ var $oneOfFields;
43299
+
43300
+ // Virtual OneOf for proto3 optional field
43301
+ Object.defineProperty(CustomerServiceDeleteRequest.prototype, "_merchantCustomerId", {
43302
+ get: $util.oneOfGetter($oneOfFields = ["merchantCustomerId"]),
43303
+ set: $util.oneOfSetter($oneOfFields)
43304
+ });
43305
+
43177
43306
  /**
43178
43307
  * Creates a new CustomerServiceDeleteRequest instance using the specified properties.
43179
43308
  * @function create
@@ -43252,9 +43381,12 @@ $root.types = (function() {
43252
43381
  CustomerServiceDeleteRequest.verify = function verify(message) {
43253
43382
  if (typeof message !== "object" || message === null)
43254
43383
  return "object expected";
43255
- if (message.merchantCustomerId != null && message.hasOwnProperty("merchantCustomerId"))
43384
+ var properties = {};
43385
+ if (message.merchantCustomerId != null && message.hasOwnProperty("merchantCustomerId")) {
43386
+ properties._merchantCustomerId = 1;
43256
43387
  if (!$util.isString(message.merchantCustomerId))
43257
43388
  return "merchantCustomerId: string expected";
43389
+ }
43258
43390
  if (message.connectorCustomerId != null && message.hasOwnProperty("connectorCustomerId"))
43259
43391
  if (!$util.isString(message.connectorCustomerId))
43260
43392
  return "connectorCustomerId: string expected";
@@ -57523,6 +57655,7 @@ $root.types = (function() {
57523
57655
  * @property {types.IMifinityWallet|null} [mifinity] Mifinity
57524
57656
  * @property {types.IBluecode|null} [bluecode] Bluecode
57525
57657
  * @property {types.IPazeWallet|null} [paze] Paze
57658
+ * @property {types.ISamsungWallet|null} [samsungPay] Samsung
57526
57659
  * @property {types.IUpiCollect|null} [upiCollect] UPI METHODS (30-39) - Direct variants
57527
57660
  * @property {types.IUpiIntent|null} [upiIntent] UPI Intent
57528
57661
  * @property {types.IUpiQr|null} [upiQr] UPI QR
@@ -57757,6 +57890,14 @@ $root.types = (function() {
57757
57890
  */
57758
57891
  PaymentMethod.prototype.paze = null;
57759
57892
 
57893
+ /**
57894
+ * Samsung
57895
+ * @member {types.ISamsungWallet|null|undefined} samsungPay
57896
+ * @memberof types.PaymentMethod
57897
+ * @instance
57898
+ */
57899
+ PaymentMethod.prototype.samsungPay = null;
57900
+
57760
57901
  /**
57761
57902
  * UPI METHODS (30-39) - Direct variants
57762
57903
  * @member {types.IUpiCollect|null|undefined} upiCollect
@@ -58338,12 +58479,12 @@ $root.types = (function() {
58338
58479
 
58339
58480
  /**
58340
58481
  * PaymentMethod paymentMethod.
58341
- * @member {"card"|"cardRedirect"|"cardProxy"|"token"|"applePay"|"googlePay"|"applePayThirdPartySdk"|"googlePayThirdPartySdk"|"paypalSdk"|"amazonPayRedirect"|"cashappQr"|"paypalRedirect"|"weChatPayQr"|"aliPayRedirect"|"revolutPay"|"mifinity"|"bluecode"|"paze"|"upiCollect"|"upiIntent"|"upiQr"|"onlineBankingThailand"|"onlineBankingCzechRepublic"|"onlineBankingFinland"|"onlineBankingFpx"|"onlineBankingPoland"|"onlineBankingSlovakia"|"openBankingUk"|"openBankingPis"|"localBankRedirect"|"ideal"|"sofort"|"trustly"|"giropay"|"eps"|"przelewy24"|"pse"|"bancontactCard"|"blik"|"openBanking"|"interac"|"bizum"|"eft"|"duitNow"|"crypto"|"classicReward"|"eVoucher"|"instantBankTransfer"|"achBankTransfer"|"sepaBankTransfer"|"bacsBankTransfer"|"multibancoBankTransfer"|"instantBankTransferFinland"|"instantBankTransferPoland"|"pix"|"permataBankTransfer"|"bcaBankTransfer"|"bniVaBankTransfer"|"briVaBankTransfer"|"cimbVaBankTransfer"|"danamonVaBankTransfer"|"mandiriVaBankTransfer"|"localBankTransfer"|"indonesianBankTransfer"|"ach"|"sepa"|"bacs"|"becs"|"sepaGuaranteedDebit"|"affirm"|"afterpayClearpay"|"klarna"|"cardDetailsForNetworkTransactionId"|"networkToken"|"givex"|"paySafeCard"|"boleto"|"efecty"|"pagoEfectivo"|"redCompra"|"redPagos"|"alfamart"|"indomaret"|"oxxo"|"sevenEleven"|"lawson"|"miniStop"|"familyMart"|"seicomart"|"payEasy"|undefined} paymentMethod
58482
+ * @member {"card"|"cardRedirect"|"cardProxy"|"token"|"applePay"|"googlePay"|"applePayThirdPartySdk"|"googlePayThirdPartySdk"|"paypalSdk"|"amazonPayRedirect"|"cashappQr"|"paypalRedirect"|"weChatPayQr"|"aliPayRedirect"|"revolutPay"|"mifinity"|"bluecode"|"paze"|"samsungPay"|"upiCollect"|"upiIntent"|"upiQr"|"onlineBankingThailand"|"onlineBankingCzechRepublic"|"onlineBankingFinland"|"onlineBankingFpx"|"onlineBankingPoland"|"onlineBankingSlovakia"|"openBankingUk"|"openBankingPis"|"localBankRedirect"|"ideal"|"sofort"|"trustly"|"giropay"|"eps"|"przelewy24"|"pse"|"bancontactCard"|"blik"|"openBanking"|"interac"|"bizum"|"eft"|"duitNow"|"crypto"|"classicReward"|"eVoucher"|"instantBankTransfer"|"achBankTransfer"|"sepaBankTransfer"|"bacsBankTransfer"|"multibancoBankTransfer"|"instantBankTransferFinland"|"instantBankTransferPoland"|"pix"|"permataBankTransfer"|"bcaBankTransfer"|"bniVaBankTransfer"|"briVaBankTransfer"|"cimbVaBankTransfer"|"danamonVaBankTransfer"|"mandiriVaBankTransfer"|"localBankTransfer"|"indonesianBankTransfer"|"ach"|"sepa"|"bacs"|"becs"|"sepaGuaranteedDebit"|"affirm"|"afterpayClearpay"|"klarna"|"cardDetailsForNetworkTransactionId"|"networkToken"|"givex"|"paySafeCard"|"boleto"|"efecty"|"pagoEfectivo"|"redCompra"|"redPagos"|"alfamart"|"indomaret"|"oxxo"|"sevenEleven"|"lawson"|"miniStop"|"familyMart"|"seicomart"|"payEasy"|undefined} paymentMethod
58342
58483
  * @memberof types.PaymentMethod
58343
58484
  * @instance
58344
58485
  */
58345
58486
  Object.defineProperty(PaymentMethod.prototype, "paymentMethod", {
58346
- get: $util.oneOfGetter($oneOfFields = ["card", "cardRedirect", "cardProxy", "token", "applePay", "googlePay", "applePayThirdPartySdk", "googlePayThirdPartySdk", "paypalSdk", "amazonPayRedirect", "cashappQr", "paypalRedirect", "weChatPayQr", "aliPayRedirect", "revolutPay", "mifinity", "bluecode", "paze", "upiCollect", "upiIntent", "upiQr", "onlineBankingThailand", "onlineBankingCzechRepublic", "onlineBankingFinland", "onlineBankingFpx", "onlineBankingPoland", "onlineBankingSlovakia", "openBankingUk", "openBankingPis", "localBankRedirect", "ideal", "sofort", "trustly", "giropay", "eps", "przelewy24", "pse", "bancontactCard", "blik", "openBanking", "interac", "bizum", "eft", "duitNow", "crypto", "classicReward", "eVoucher", "instantBankTransfer", "achBankTransfer", "sepaBankTransfer", "bacsBankTransfer", "multibancoBankTransfer", "instantBankTransferFinland", "instantBankTransferPoland", "pix", "permataBankTransfer", "bcaBankTransfer", "bniVaBankTransfer", "briVaBankTransfer", "cimbVaBankTransfer", "danamonVaBankTransfer", "mandiriVaBankTransfer", "localBankTransfer", "indonesianBankTransfer", "ach", "sepa", "bacs", "becs", "sepaGuaranteedDebit", "affirm", "afterpayClearpay", "klarna", "cardDetailsForNetworkTransactionId", "networkToken", "givex", "paySafeCard", "boleto", "efecty", "pagoEfectivo", "redCompra", "redPagos", "alfamart", "indomaret", "oxxo", "sevenEleven", "lawson", "miniStop", "familyMart", "seicomart", "payEasy"]),
58487
+ get: $util.oneOfGetter($oneOfFields = ["card", "cardRedirect", "cardProxy", "token", "applePay", "googlePay", "applePayThirdPartySdk", "googlePayThirdPartySdk", "paypalSdk", "amazonPayRedirect", "cashappQr", "paypalRedirect", "weChatPayQr", "aliPayRedirect", "revolutPay", "mifinity", "bluecode", "paze", "samsungPay", "upiCollect", "upiIntent", "upiQr", "onlineBankingThailand", "onlineBankingCzechRepublic", "onlineBankingFinland", "onlineBankingFpx", "onlineBankingPoland", "onlineBankingSlovakia", "openBankingUk", "openBankingPis", "localBankRedirect", "ideal", "sofort", "trustly", "giropay", "eps", "przelewy24", "pse", "bancontactCard", "blik", "openBanking", "interac", "bizum", "eft", "duitNow", "crypto", "classicReward", "eVoucher", "instantBankTransfer", "achBankTransfer", "sepaBankTransfer", "bacsBankTransfer", "multibancoBankTransfer", "instantBankTransferFinland", "instantBankTransferPoland", "pix", "permataBankTransfer", "bcaBankTransfer", "bniVaBankTransfer", "briVaBankTransfer", "cimbVaBankTransfer", "danamonVaBankTransfer", "mandiriVaBankTransfer", "localBankTransfer", "indonesianBankTransfer", "ach", "sepa", "bacs", "becs", "sepaGuaranteedDebit", "affirm", "afterpayClearpay", "klarna", "cardDetailsForNetworkTransactionId", "networkToken", "givex", "paySafeCard", "boleto", "efecty", "pagoEfectivo", "redCompra", "redPagos", "alfamart", "indomaret", "oxxo", "sevenEleven", "lawson", "miniStop", "familyMart", "seicomart", "payEasy"]),
58347
58488
  set: $util.oneOfSetter($oneOfFields)
58348
58489
  });
58349
58490
 
@@ -58407,6 +58548,8 @@ $root.types = (function() {
58407
58548
  $root.types.Bluecode.encode(message.bluecode, writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim();
58408
58549
  if (message.paze != null && Object.hasOwnProperty.call(message, "paze"))
58409
58550
  $root.types.PazeWallet.encode(message.paze, writer.uint32(/* id 23, wireType 2 =*/186).fork()).ldelim();
58551
+ if (message.samsungPay != null && Object.hasOwnProperty.call(message, "samsungPay"))
58552
+ $root.types.SamsungWallet.encode(message.samsungPay, writer.uint32(/* id 24, wireType 2 =*/194).fork()).ldelim();
58410
58553
  if (message.upiCollect != null && Object.hasOwnProperty.call(message, "upiCollect"))
58411
58554
  $root.types.UpiCollect.encode(message.upiCollect, writer.uint32(/* id 30, wireType 2 =*/242).fork()).ldelim();
58412
58555
  if (message.upiIntent != null && Object.hasOwnProperty.call(message, "upiIntent"))
@@ -58646,6 +58789,10 @@ $root.types = (function() {
58646
58789
  message.paze = $root.types.PazeWallet.decode(reader, reader.uint32());
58647
58790
  break;
58648
58791
  }
58792
+ case 24: {
58793
+ message.samsungPay = $root.types.SamsungWallet.decode(reader, reader.uint32());
58794
+ break;
58795
+ }
58649
58796
  case 30: {
58650
58797
  message.upiCollect = $root.types.UpiCollect.decode(reader, reader.uint32());
58651
58798
  break;
@@ -59132,6 +59279,16 @@ $root.types = (function() {
59132
59279
  return "paze." + error;
59133
59280
  }
59134
59281
  }
59282
+ if (message.samsungPay != null && message.hasOwnProperty("samsungPay")) {
59283
+ if (properties.paymentMethod === 1)
59284
+ return "paymentMethod: multiple values";
59285
+ properties.paymentMethod = 1;
59286
+ {
59287
+ var error = $root.types.SamsungWallet.verify(message.samsungPay);
59288
+ if (error)
59289
+ return "samsungPay." + error;
59290
+ }
59291
+ }
59135
59292
  if (message.upiCollect != null && message.hasOwnProperty("upiCollect")) {
59136
59293
  if (properties.paymentMethod === 1)
59137
59294
  return "paymentMethod: multiple values";
@@ -62860,9 +63017,9 @@ $root.types = (function() {
62860
63017
  * @interface IPaymentCredential
62861
63018
  * @property {string|null} [method] Method type
62862
63019
  * @property {boolean|null} [recurringPayment] Whether this is a recurring payment
62863
- * @property {types.SamsungWallet.PaymentCredential.CardBrand|null} [cardBrand] PaymentCredential cardBrand
62864
- * @property {string|null} [dpanLastFourDigits] Last four digits of DPAN (Device Primary Account Number)
62865
- * @property {string|null} [cardLastFourDigits] Last four digits of card
63020
+ * @property {types.CardNetwork|null} [cardBrand] PaymentCredential cardBrand
63021
+ * @property {types.ISecretString|null} [dpanLastFourDigits] Last four digits of DPAN (Device Primary Account Number)
63022
+ * @property {types.ISecretString|null} [cardLastFourDigits] Last four digits of card
62866
63023
  * @property {types.SamsungWallet.PaymentCredential.ITokenData|null} [tokenData] PaymentCredential tokenData
62867
63024
  */
62868
63025
 
@@ -62899,7 +63056,7 @@ $root.types = (function() {
62899
63056
 
62900
63057
  /**
62901
63058
  * PaymentCredential cardBrand.
62902
- * @member {types.SamsungWallet.PaymentCredential.CardBrand} cardBrand
63059
+ * @member {types.CardNetwork} cardBrand
62903
63060
  * @memberof types.SamsungWallet.PaymentCredential
62904
63061
  * @instance
62905
63062
  */
@@ -62907,7 +63064,7 @@ $root.types = (function() {
62907
63064
 
62908
63065
  /**
62909
63066
  * Last four digits of DPAN (Device Primary Account Number)
62910
- * @member {string|null|undefined} dpanLastFourDigits
63067
+ * @member {types.ISecretString|null|undefined} dpanLastFourDigits
62911
63068
  * @memberof types.SamsungWallet.PaymentCredential
62912
63069
  * @instance
62913
63070
  */
@@ -62915,11 +63072,11 @@ $root.types = (function() {
62915
63072
 
62916
63073
  /**
62917
63074
  * Last four digits of card
62918
- * @member {string} cardLastFourDigits
63075
+ * @member {types.ISecretString|null|undefined} cardLastFourDigits
62919
63076
  * @memberof types.SamsungWallet.PaymentCredential
62920
63077
  * @instance
62921
63078
  */
62922
- PaymentCredential.prototype.cardLastFourDigits = "";
63079
+ PaymentCredential.prototype.cardLastFourDigits = null;
62923
63080
 
62924
63081
  /**
62925
63082
  * PaymentCredential tokenData.
@@ -62981,9 +63138,9 @@ $root.types = (function() {
62981
63138
  if (message.cardBrand != null && Object.hasOwnProperty.call(message, "cardBrand"))
62982
63139
  writer.uint32(/* id 3, wireType 0 =*/24).int32(message.cardBrand);
62983
63140
  if (message.dpanLastFourDigits != null && Object.hasOwnProperty.call(message, "dpanLastFourDigits"))
62984
- writer.uint32(/* id 4, wireType 2 =*/34).string(message.dpanLastFourDigits);
63141
+ $root.types.SecretString.encode(message.dpanLastFourDigits, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
62985
63142
  if (message.cardLastFourDigits != null && Object.hasOwnProperty.call(message, "cardLastFourDigits"))
62986
- writer.uint32(/* id 5, wireType 2 =*/42).string(message.cardLastFourDigits);
63143
+ $root.types.SecretString.encode(message.cardLastFourDigits, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
62987
63144
  if (message.tokenData != null && Object.hasOwnProperty.call(message, "tokenData"))
62988
63145
  $root.types.SamsungWallet.PaymentCredential.TokenData.encode(message.tokenData, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
62989
63146
  return writer;
@@ -63022,11 +63179,11 @@ $root.types = (function() {
63022
63179
  break;
63023
63180
  }
63024
63181
  case 4: {
63025
- message.dpanLastFourDigits = reader.string();
63182
+ message.dpanLastFourDigits = $root.types.SecretString.decode(reader, reader.uint32());
63026
63183
  break;
63027
63184
  }
63028
63185
  case 5: {
63029
- message.cardLastFourDigits = reader.string();
63186
+ message.cardLastFourDigits = $root.types.SecretString.decode(reader, reader.uint32());
63030
63187
  break;
63031
63188
  }
63032
63189
  case 6: {
@@ -63073,16 +63230,31 @@ $root.types = (function() {
63073
63230
  case 3:
63074
63231
  case 4:
63075
63232
  case 5:
63233
+ case 6:
63234
+ case 7:
63235
+ case 8:
63236
+ case 9:
63237
+ case 10:
63238
+ case 11:
63239
+ case 12:
63240
+ case 13:
63241
+ case 14:
63242
+ case 15:
63076
63243
  break;
63077
63244
  }
63078
63245
  if (message.dpanLastFourDigits != null && message.hasOwnProperty("dpanLastFourDigits")) {
63079
63246
  properties._dpanLastFourDigits = 1;
63080
- if (!$util.isString(message.dpanLastFourDigits))
63081
- return "dpanLastFourDigits: string expected";
63247
+ {
63248
+ var error = $root.types.SecretString.verify(message.dpanLastFourDigits);
63249
+ if (error)
63250
+ return "dpanLastFourDigits." + error;
63251
+ }
63252
+ }
63253
+ if (message.cardLastFourDigits != null && message.hasOwnProperty("cardLastFourDigits")) {
63254
+ var error = $root.types.SecretString.verify(message.cardLastFourDigits);
63255
+ if (error)
63256
+ return "cardLastFourDigits." + error;
63082
63257
  }
63083
- if (message.cardLastFourDigits != null && message.hasOwnProperty("cardLastFourDigits"))
63084
- if (!$util.isString(message.cardLastFourDigits))
63085
- return "cardLastFourDigits: string expected";
63086
63258
  if (message.tokenData != null && message.hasOwnProperty("tokenData")) {
63087
63259
  var error = $root.types.SamsungWallet.PaymentCredential.TokenData.verify(message.tokenData);
63088
63260
  if (error)
@@ -63106,28 +63278,6 @@ $root.types = (function() {
63106
63278
  return typeUrlPrefix + "/types.SamsungWallet.PaymentCredential";
63107
63279
  };
63108
63280
 
63109
- /**
63110
- * Card brand
63111
- * @name types.SamsungWallet.PaymentCredential.CardBrand
63112
- * @enum {number}
63113
- * @property {number} CARD_BRAND_UNSPECIFIED=0 CARD_BRAND_UNSPECIFIED value
63114
- * @property {number} VISA=1 VISA value
63115
- * @property {number} MASTERCARD=2 MASTERCARD value
63116
- * @property {number} AMEX=3 AMEX value
63117
- * @property {number} DISCOVER=4 DISCOVER value
63118
- * @property {number} JCB=5 JCB value
63119
- */
63120
- PaymentCredential.CardBrand = (function() {
63121
- var valuesById = {}, values = Object.create(valuesById);
63122
- values[valuesById[0] = "CARD_BRAND_UNSPECIFIED"] = 0;
63123
- values[valuesById[1] = "VISA"] = 1;
63124
- values[valuesById[2] = "MASTERCARD"] = 2;
63125
- values[valuesById[3] = "AMEX"] = 3;
63126
- values[valuesById[4] = "DISCOVER"] = 4;
63127
- values[valuesById[5] = "JCB"] = 5;
63128
- return values;
63129
- })();
63130
-
63131
63281
  PaymentCredential.TokenData = (function() {
63132
63282
 
63133
63283
  /**
@@ -63136,7 +63286,7 @@ $root.types = (function() {
63136
63286
  * @interface ITokenData
63137
63287
  * @property {string|null} [type] 3DS type
63138
63288
  * @property {string|null} [version] 3DS version
63139
- * @property {string|null} [data] Token data
63289
+ * @property {types.ISecretString|null} [data] Token data
63140
63290
  */
63141
63291
 
63142
63292
  /**
@@ -63172,11 +63322,11 @@ $root.types = (function() {
63172
63322
 
63173
63323
  /**
63174
63324
  * Token data
63175
- * @member {string} data
63325
+ * @member {types.ISecretString|null|undefined} data
63176
63326
  * @memberof types.SamsungWallet.PaymentCredential.TokenData
63177
63327
  * @instance
63178
63328
  */
63179
- TokenData.prototype.data = "";
63329
+ TokenData.prototype.data = null;
63180
63330
 
63181
63331
  // OneOf field names bound to virtual getters and setters
63182
63332
  var $oneOfFields;
@@ -63216,7 +63366,7 @@ $root.types = (function() {
63216
63366
  if (message.version != null && Object.hasOwnProperty.call(message, "version"))
63217
63367
  writer.uint32(/* id 2, wireType 2 =*/18).string(message.version);
63218
63368
  if (message.data != null && Object.hasOwnProperty.call(message, "data"))
63219
- writer.uint32(/* id 3, wireType 2 =*/26).string(message.data);
63369
+ $root.types.SecretString.encode(message.data, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
63220
63370
  return writer;
63221
63371
  };
63222
63372
 
@@ -63249,7 +63399,7 @@ $root.types = (function() {
63249
63399
  break;
63250
63400
  }
63251
63401
  case 3: {
63252
- message.data = reader.string();
63402
+ message.data = $root.types.SecretString.decode(reader, reader.uint32());
63253
63403
  break;
63254
63404
  }
63255
63405
  default:
@@ -63280,9 +63430,11 @@ $root.types = (function() {
63280
63430
  if (message.version != null && message.hasOwnProperty("version"))
63281
63431
  if (!$util.isString(message.version))
63282
63432
  return "version: string expected";
63283
- if (message.data != null && message.hasOwnProperty("data"))
63284
- if (!$util.isString(message.data))
63285
- return "data: string expected";
63433
+ if (message.data != null && message.hasOwnProperty("data")) {
63434
+ var error = $root.types.SecretString.verify(message.data);
63435
+ if (error)
63436
+ return "data." + error;
63437
+ }
63286
63438
  return null;
63287
63439
  };
63288
63440