@sniipwebmaster/cybersource-client-grpcweb 25.3.595 → 25.3.607

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.
@@ -21,7 +21,10 @@ var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb
21
21
  goog.object.extend(proto, google_protobuf_empty_pb);
22
22
  goog.exportSymbol('proto.cybersourceserviceapi.ApplePay', null, global);
23
23
  goog.exportSymbol('proto.cybersourceserviceapi.BankAccount', null, global);
24
+ goog.exportSymbol('proto.cybersourceserviceapi.BinLookupRequest', null, global);
25
+ goog.exportSymbol('proto.cybersourceserviceapi.BinLookupResponse', null, global);
24
26
  goog.exportSymbol('proto.cybersourceserviceapi.Brand', null, global);
27
+ goog.exportSymbol('proto.cybersourceserviceapi.BrandInfo', null, global);
25
28
  goog.exportSymbol('proto.cybersourceserviceapi.CreditCard', null, global);
26
29
  goog.exportSymbol('proto.cybersourceserviceapi.CustomerFromPaymentDataJsonRequest', null, global);
27
30
  goog.exportSymbol('proto.cybersourceserviceapi.CustomerFromPaymentDataJsonResponse', null, global);
@@ -30,7 +33,12 @@ goog.exportSymbol('proto.cybersourceserviceapi.DeleteResponseMaskRequest', null,
30
33
  goog.exportSymbol('proto.cybersourceserviceapi.Funding', null, global);
31
34
  goog.exportSymbol('proto.cybersourceserviceapi.GetTransactionRequest', null, global);
32
35
  goog.exportSymbol('proto.cybersourceserviceapi.GooglePay', null, global);
36
+ goog.exportSymbol('proto.cybersourceserviceapi.GooglePayDetailsRequest', null, global);
37
+ goog.exportSymbol('proto.cybersourceserviceapi.IssuerInformation', null, global);
33
38
  goog.exportSymbol('proto.cybersourceserviceapi.MakePaymentRequest', null, global);
39
+ goog.exportSymbol('proto.cybersourceserviceapi.PaymentAccountInformation', null, global);
40
+ goog.exportSymbol('proto.cybersourceserviceapi.PaymentCard', null, global);
41
+ goog.exportSymbol('proto.cybersourceserviceapi.PaymentFeatures', null, global);
34
42
  goog.exportSymbol('proto.cybersourceserviceapi.PaymentMethod', null, global);
35
43
  goog.exportSymbol('proto.cybersourceserviceapi.PaymentProcessor', null, global);
36
44
  goog.exportSymbol('proto.cybersourceserviceapi.PaymentProcessor.PaymentProcessorMidType', null, global);
@@ -228,6 +236,153 @@ if (goog.DEBUG && !COMPILED) {
228
236
  */
229
237
  proto.cybersourceserviceapi.MakePaymentRequest.displayName = 'proto.cybersourceserviceapi.MakePaymentRequest';
230
238
  }
239
+ /**
240
+ * Generated by JsPbCodeGenerator.
241
+ * @param {Array=} opt_data Optional initial data array, typically from a
242
+ * server response, or constructed directly in Javascript. The array is used
243
+ * in place and becomes part of the constructed object. It is not cloned.
244
+ * If no data is provided, the constructed object will be empty, but still
245
+ * valid.
246
+ * @extends {jspb.Message}
247
+ * @constructor
248
+ */
249
+ proto.cybersourceserviceapi.BinLookupRequest = function(opt_data) {
250
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
251
+ };
252
+ goog.inherits(proto.cybersourceserviceapi.BinLookupRequest, jspb.Message);
253
+ if (goog.DEBUG && !COMPILED) {
254
+ /**
255
+ * @public
256
+ * @override
257
+ */
258
+ proto.cybersourceserviceapi.BinLookupRequest.displayName = 'proto.cybersourceserviceapi.BinLookupRequest';
259
+ }
260
+ /**
261
+ * Generated by JsPbCodeGenerator.
262
+ * @param {Array=} opt_data Optional initial data array, typically from a
263
+ * server response, or constructed directly in Javascript. The array is used
264
+ * in place and becomes part of the constructed object. It is not cloned.
265
+ * If no data is provided, the constructed object will be empty, but still
266
+ * valid.
267
+ * @extends {jspb.Message}
268
+ * @constructor
269
+ */
270
+ proto.cybersourceserviceapi.BinLookupResponse = function(opt_data) {
271
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
272
+ };
273
+ goog.inherits(proto.cybersourceserviceapi.BinLookupResponse, jspb.Message);
274
+ if (goog.DEBUG && !COMPILED) {
275
+ /**
276
+ * @public
277
+ * @override
278
+ */
279
+ proto.cybersourceserviceapi.BinLookupResponse.displayName = 'proto.cybersourceserviceapi.BinLookupResponse';
280
+ }
281
+ /**
282
+ * Generated by JsPbCodeGenerator.
283
+ * @param {Array=} opt_data Optional initial data array, typically from a
284
+ * server response, or constructed directly in Javascript. The array is used
285
+ * in place and becomes part of the constructed object. It is not cloned.
286
+ * If no data is provided, the constructed object will be empty, but still
287
+ * valid.
288
+ * @extends {jspb.Message}
289
+ * @constructor
290
+ */
291
+ proto.cybersourceserviceapi.PaymentAccountInformation = function(opt_data) {
292
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
293
+ };
294
+ goog.inherits(proto.cybersourceserviceapi.PaymentAccountInformation, jspb.Message);
295
+ if (goog.DEBUG && !COMPILED) {
296
+ /**
297
+ * @public
298
+ * @override
299
+ */
300
+ proto.cybersourceserviceapi.PaymentAccountInformation.displayName = 'proto.cybersourceserviceapi.PaymentAccountInformation';
301
+ }
302
+ /**
303
+ * Generated by JsPbCodeGenerator.
304
+ * @param {Array=} opt_data Optional initial data array, typically from a
305
+ * server response, or constructed directly in Javascript. The array is used
306
+ * in place and becomes part of the constructed object. It is not cloned.
307
+ * If no data is provided, the constructed object will be empty, but still
308
+ * valid.
309
+ * @extends {jspb.Message}
310
+ * @constructor
311
+ */
312
+ proto.cybersourceserviceapi.PaymentCard = function(opt_data) {
313
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.cybersourceserviceapi.PaymentCard.repeatedFields_, null);
314
+ };
315
+ goog.inherits(proto.cybersourceserviceapi.PaymentCard, jspb.Message);
316
+ if (goog.DEBUG && !COMPILED) {
317
+ /**
318
+ * @public
319
+ * @override
320
+ */
321
+ proto.cybersourceserviceapi.PaymentCard.displayName = 'proto.cybersourceserviceapi.PaymentCard';
322
+ }
323
+ /**
324
+ * Generated by JsPbCodeGenerator.
325
+ * @param {Array=} opt_data Optional initial data array, typically from a
326
+ * server response, or constructed directly in Javascript. The array is used
327
+ * in place and becomes part of the constructed object. It is not cloned.
328
+ * If no data is provided, the constructed object will be empty, but still
329
+ * valid.
330
+ * @extends {jspb.Message}
331
+ * @constructor
332
+ */
333
+ proto.cybersourceserviceapi.BrandInfo = function(opt_data) {
334
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
335
+ };
336
+ goog.inherits(proto.cybersourceserviceapi.BrandInfo, jspb.Message);
337
+ if (goog.DEBUG && !COMPILED) {
338
+ /**
339
+ * @public
340
+ * @override
341
+ */
342
+ proto.cybersourceserviceapi.BrandInfo.displayName = 'proto.cybersourceserviceapi.BrandInfo';
343
+ }
344
+ /**
345
+ * Generated by JsPbCodeGenerator.
346
+ * @param {Array=} opt_data Optional initial data array, typically from a
347
+ * server response, or constructed directly in Javascript. The array is used
348
+ * in place and becomes part of the constructed object. It is not cloned.
349
+ * If no data is provided, the constructed object will be empty, but still
350
+ * valid.
351
+ * @extends {jspb.Message}
352
+ * @constructor
353
+ */
354
+ proto.cybersourceserviceapi.PaymentFeatures = function(opt_data) {
355
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
356
+ };
357
+ goog.inherits(proto.cybersourceserviceapi.PaymentFeatures, jspb.Message);
358
+ if (goog.DEBUG && !COMPILED) {
359
+ /**
360
+ * @public
361
+ * @override
362
+ */
363
+ proto.cybersourceserviceapi.PaymentFeatures.displayName = 'proto.cybersourceserviceapi.PaymentFeatures';
364
+ }
365
+ /**
366
+ * Generated by JsPbCodeGenerator.
367
+ * @param {Array=} opt_data Optional initial data array, typically from a
368
+ * server response, or constructed directly in Javascript. The array is used
369
+ * in place and becomes part of the constructed object. It is not cloned.
370
+ * If no data is provided, the constructed object will be empty, but still
371
+ * valid.
372
+ * @extends {jspb.Message}
373
+ * @constructor
374
+ */
375
+ proto.cybersourceserviceapi.IssuerInformation = function(opt_data) {
376
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
377
+ };
378
+ goog.inherits(proto.cybersourceserviceapi.IssuerInformation, jspb.Message);
379
+ if (goog.DEBUG && !COMPILED) {
380
+ /**
381
+ * @public
382
+ * @override
383
+ */
384
+ proto.cybersourceserviceapi.IssuerInformation.displayName = 'proto.cybersourceserviceapi.IssuerInformation';
385
+ }
231
386
  /**
232
387
  * Generated by JsPbCodeGenerator.
233
388
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -291,6 +446,27 @@ if (goog.DEBUG && !COMPILED) {
291
446
  */
292
447
  proto.cybersourceserviceapi.PaymentRequest.displayName = 'proto.cybersourceserviceapi.PaymentRequest';
293
448
  }
449
+ /**
450
+ * Generated by JsPbCodeGenerator.
451
+ * @param {Array=} opt_data Optional initial data array, typically from a
452
+ * server response, or constructed directly in Javascript. The array is used
453
+ * in place and becomes part of the constructed object. It is not cloned.
454
+ * If no data is provided, the constructed object will be empty, but still
455
+ * valid.
456
+ * @extends {jspb.Message}
457
+ * @constructor
458
+ */
459
+ proto.cybersourceserviceapi.GooglePayDetailsRequest = function(opt_data) {
460
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
461
+ };
462
+ goog.inherits(proto.cybersourceserviceapi.GooglePayDetailsRequest, jspb.Message);
463
+ if (goog.DEBUG && !COMPILED) {
464
+ /**
465
+ * @public
466
+ * @override
467
+ */
468
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.displayName = 'proto.cybersourceserviceapi.GooglePayDetailsRequest';
469
+ }
294
470
  /**
295
471
  * Generated by JsPbCodeGenerator.
296
472
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -2502,8 +2678,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
2502
2678
  * http://goto/soy-param-migration
2503
2679
  * @return {!Object}
2504
2680
  */
2505
- proto.cybersourceserviceapi.PaymentMethod.prototype.toObject = function(opt_includeInstance) {
2506
- return proto.cybersourceserviceapi.PaymentMethod.toObject(opt_includeInstance, this);
2681
+ proto.cybersourceserviceapi.BinLookupRequest.prototype.toObject = function(opt_includeInstance) {
2682
+ return proto.cybersourceserviceapi.BinLookupRequest.toObject(opt_includeInstance, this);
2507
2683
  };
2508
2684
 
2509
2685
 
@@ -2512,18 +2688,15 @@ proto.cybersourceserviceapi.PaymentMethod.prototype.toObject = function(opt_incl
2512
2688
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2513
2689
  * the JSPB instance for transitional soy proto support:
2514
2690
  * http://goto/soy-param-migration
2515
- * @param {!proto.cybersourceserviceapi.PaymentMethod} msg The msg instance to transform.
2691
+ * @param {!proto.cybersourceserviceapi.BinLookupRequest} msg The msg instance to transform.
2516
2692
  * @return {!Object}
2517
2693
  * @suppress {unusedLocalVariables} f is only used for nested messages
2518
2694
  */
2519
- proto.cybersourceserviceapi.PaymentMethod.toObject = function(includeInstance, msg) {
2695
+ proto.cybersourceserviceapi.BinLookupRequest.toObject = function(includeInstance, msg) {
2520
2696
  var f, obj = {
2521
- paymentmethod: jspb.Message.getFieldWithDefault(msg, 1, ""),
2522
- bankaccount: (f = msg.getBankaccount()) && proto.cybersourceserviceapi.BankAccount.toObject(includeInstance, f),
2523
- creditcard: (f = msg.getCreditcard()) && proto.cybersourceserviceapi.CreditCard.toObject(includeInstance, f),
2524
- applepay: (f = msg.getApplepay()) && proto.cybersourceserviceapi.ApplePay.toObject(includeInstance, f),
2525
- googlepay: (f = msg.getGooglepay()) && proto.cybersourceserviceapi.GooglePay.toObject(includeInstance, f),
2526
- paymentmethodid: jspb.Message.getFieldWithDefault(msg, 6, 0)
2697
+ paymentmethod: (f = msg.getPaymentmethod()) && proto.cybersourceserviceapi.PaymentMethod.toObject(includeInstance, f),
2698
+ paymentprocessor: (f = msg.getPaymentprocessor()) && proto.cybersourceserviceapi.PaymentProcessor.toObject(includeInstance, f),
2699
+ isbusiness: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
2527
2700
  };
2528
2701
 
2529
2702
  if (includeInstance) {
@@ -2537,23 +2710,23 @@ proto.cybersourceserviceapi.PaymentMethod.toObject = function(includeInstance, m
2537
2710
  /**
2538
2711
  * Deserializes binary data (in protobuf wire format).
2539
2712
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
2540
- * @return {!proto.cybersourceserviceapi.PaymentMethod}
2713
+ * @return {!proto.cybersourceserviceapi.BinLookupRequest}
2541
2714
  */
2542
- proto.cybersourceserviceapi.PaymentMethod.deserializeBinary = function(bytes) {
2715
+ proto.cybersourceserviceapi.BinLookupRequest.deserializeBinary = function(bytes) {
2543
2716
  var reader = new jspb.BinaryReader(bytes);
2544
- var msg = new proto.cybersourceserviceapi.PaymentMethod;
2545
- return proto.cybersourceserviceapi.PaymentMethod.deserializeBinaryFromReader(msg, reader);
2717
+ var msg = new proto.cybersourceserviceapi.BinLookupRequest;
2718
+ return proto.cybersourceserviceapi.BinLookupRequest.deserializeBinaryFromReader(msg, reader);
2546
2719
  };
2547
2720
 
2548
2721
 
2549
2722
  /**
2550
2723
  * Deserializes binary data (in protobuf wire format) from the
2551
2724
  * given reader into the given message object.
2552
- * @param {!proto.cybersourceserviceapi.PaymentMethod} msg The message object to deserialize into.
2725
+ * @param {!proto.cybersourceserviceapi.BinLookupRequest} msg The message object to deserialize into.
2553
2726
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2554
- * @return {!proto.cybersourceserviceapi.PaymentMethod}
2727
+ * @return {!proto.cybersourceserviceapi.BinLookupRequest}
2555
2728
  */
2556
- proto.cybersourceserviceapi.PaymentMethod.deserializeBinaryFromReader = function(msg, reader) {
2729
+ proto.cybersourceserviceapi.BinLookupRequest.deserializeBinaryFromReader = function(msg, reader) {
2557
2730
  while (reader.nextField()) {
2558
2731
  if (reader.isEndGroup()) {
2559
2732
  break;
@@ -2561,32 +2734,18 @@ proto.cybersourceserviceapi.PaymentMethod.deserializeBinaryFromReader = function
2561
2734
  var field = reader.getFieldNumber();
2562
2735
  switch (field) {
2563
2736
  case 1:
2564
- var value = /** @type {string} */ (reader.readString());
2737
+ var value = new proto.cybersourceserviceapi.PaymentMethod;
2738
+ reader.readMessage(value,proto.cybersourceserviceapi.PaymentMethod.deserializeBinaryFromReader);
2565
2739
  msg.setPaymentmethod(value);
2566
2740
  break;
2567
2741
  case 2:
2568
- var value = new proto.cybersourceserviceapi.BankAccount;
2569
- reader.readMessage(value,proto.cybersourceserviceapi.BankAccount.deserializeBinaryFromReader);
2570
- msg.setBankaccount(value);
2742
+ var value = new proto.cybersourceserviceapi.PaymentProcessor;
2743
+ reader.readMessage(value,proto.cybersourceserviceapi.PaymentProcessor.deserializeBinaryFromReader);
2744
+ msg.setPaymentprocessor(value);
2571
2745
  break;
2572
2746
  case 3:
2573
- var value = new proto.cybersourceserviceapi.CreditCard;
2574
- reader.readMessage(value,proto.cybersourceserviceapi.CreditCard.deserializeBinaryFromReader);
2575
- msg.setCreditcard(value);
2576
- break;
2577
- case 4:
2578
- var value = new proto.cybersourceserviceapi.ApplePay;
2579
- reader.readMessage(value,proto.cybersourceserviceapi.ApplePay.deserializeBinaryFromReader);
2580
- msg.setApplepay(value);
2581
- break;
2582
- case 5:
2583
- var value = new proto.cybersourceserviceapi.GooglePay;
2584
- reader.readMessage(value,proto.cybersourceserviceapi.GooglePay.deserializeBinaryFromReader);
2585
- msg.setGooglepay(value);
2586
- break;
2587
- case 6:
2588
- var value = /** @type {number} */ (reader.readInt64());
2589
- msg.setPaymentmethodid(value);
2747
+ var value = /** @type {boolean} */ (reader.readBool());
2748
+ msg.setIsbusiness(value);
2590
2749
  break;
2591
2750
  default:
2592
2751
  reader.skipField();
@@ -2601,9 +2760,9 @@ proto.cybersourceserviceapi.PaymentMethod.deserializeBinaryFromReader = function
2601
2760
  * Serializes the message to binary data (in protobuf wire format).
2602
2761
  * @return {!Uint8Array}
2603
2762
  */
2604
- proto.cybersourceserviceapi.PaymentMethod.prototype.serializeBinary = function() {
2763
+ proto.cybersourceserviceapi.BinLookupRequest.prototype.serializeBinary = function() {
2605
2764
  var writer = new jspb.BinaryWriter();
2606
- proto.cybersourceserviceapi.PaymentMethod.serializeBinaryToWriter(this, writer);
2765
+ proto.cybersourceserviceapi.BinLookupRequest.serializeBinaryToWriter(this, writer);
2607
2766
  return writer.getResultBuffer();
2608
2767
  };
2609
2768
 
@@ -2611,55 +2770,32 @@ proto.cybersourceserviceapi.PaymentMethod.prototype.serializeBinary = function()
2611
2770
  /**
2612
2771
  * Serializes the given message to binary data (in protobuf wire
2613
2772
  * format), writing to the given BinaryWriter.
2614
- * @param {!proto.cybersourceserviceapi.PaymentMethod} message
2773
+ * @param {!proto.cybersourceserviceapi.BinLookupRequest} message
2615
2774
  * @param {!jspb.BinaryWriter} writer
2616
2775
  * @suppress {unusedLocalVariables} f is only used for nested messages
2617
2776
  */
2618
- proto.cybersourceserviceapi.PaymentMethod.serializeBinaryToWriter = function(message, writer) {
2777
+ proto.cybersourceserviceapi.BinLookupRequest.serializeBinaryToWriter = function(message, writer) {
2619
2778
  var f = undefined;
2620
2779
  f = message.getPaymentmethod();
2621
- if (f.length > 0) {
2622
- writer.writeString(
2623
- 1,
2624
- f
2625
- );
2626
- }
2627
- f = message.getBankaccount();
2628
- if (f != null) {
2629
- writer.writeMessage(
2630
- 2,
2631
- f,
2632
- proto.cybersourceserviceapi.BankAccount.serializeBinaryToWriter
2633
- );
2634
- }
2635
- f = message.getCreditcard();
2636
- if (f != null) {
2637
- writer.writeMessage(
2638
- 3,
2639
- f,
2640
- proto.cybersourceserviceapi.CreditCard.serializeBinaryToWriter
2641
- );
2642
- }
2643
- f = message.getApplepay();
2644
2780
  if (f != null) {
2645
2781
  writer.writeMessage(
2646
- 4,
2782
+ 1,
2647
2783
  f,
2648
- proto.cybersourceserviceapi.ApplePay.serializeBinaryToWriter
2784
+ proto.cybersourceserviceapi.PaymentMethod.serializeBinaryToWriter
2649
2785
  );
2650
2786
  }
2651
- f = message.getGooglepay();
2787
+ f = message.getPaymentprocessor();
2652
2788
  if (f != null) {
2653
2789
  writer.writeMessage(
2654
- 5,
2790
+ 2,
2655
2791
  f,
2656
- proto.cybersourceserviceapi.GooglePay.serializeBinaryToWriter
2792
+ proto.cybersourceserviceapi.PaymentProcessor.serializeBinaryToWriter
2657
2793
  );
2658
2794
  }
2659
- f = message.getPaymentmethodid();
2660
- if (f !== 0) {
2661
- writer.writeInt64(
2662
- 6,
2795
+ f = message.getIsbusiness();
2796
+ if (f) {
2797
+ writer.writeBool(
2798
+ 3,
2663
2799
  f
2664
2800
  );
2665
2801
  }
@@ -2667,85 +2803,2899 @@ proto.cybersourceserviceapi.PaymentMethod.serializeBinaryToWriter = function(mes
2667
2803
 
2668
2804
 
2669
2805
  /**
2670
- * optional string paymentMethod = 1;
2671
- * @return {string}
2806
+ * optional PaymentMethod paymentMethod = 1;
2807
+ * @return {?proto.cybersourceserviceapi.PaymentMethod}
2672
2808
  */
2673
- proto.cybersourceserviceapi.PaymentMethod.prototype.getPaymentmethod = function() {
2674
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2809
+ proto.cybersourceserviceapi.BinLookupRequest.prototype.getPaymentmethod = function() {
2810
+ return /** @type{?proto.cybersourceserviceapi.PaymentMethod} */ (
2811
+ jspb.Message.getWrapperField(this, proto.cybersourceserviceapi.PaymentMethod, 1));
2675
2812
  };
2676
2813
 
2677
2814
 
2678
2815
  /**
2679
- * @param {string} value
2680
- * @return {!proto.cybersourceserviceapi.PaymentMethod} returns this
2681
- */
2682
- proto.cybersourceserviceapi.PaymentMethod.prototype.setPaymentmethod = function(value) {
2683
- return jspb.Message.setProto3StringField(this, 1, value);
2816
+ * @param {?proto.cybersourceserviceapi.PaymentMethod|undefined} value
2817
+ * @return {!proto.cybersourceserviceapi.BinLookupRequest} returns this
2818
+ */
2819
+ proto.cybersourceserviceapi.BinLookupRequest.prototype.setPaymentmethod = function(value) {
2820
+ return jspb.Message.setWrapperField(this, 1, value);
2684
2821
  };
2685
2822
 
2686
2823
 
2687
2824
  /**
2688
- * optional BankAccount bankAccount = 2;
2689
- * @return {?proto.cybersourceserviceapi.BankAccount}
2825
+ * Clears the message field making it undefined.
2826
+ * @return {!proto.cybersourceserviceapi.BinLookupRequest} returns this
2690
2827
  */
2691
- proto.cybersourceserviceapi.PaymentMethod.prototype.getBankaccount = function() {
2692
- return /** @type{?proto.cybersourceserviceapi.BankAccount} */ (
2693
- jspb.Message.getWrapperField(this, proto.cybersourceserviceapi.BankAccount, 2));
2828
+ proto.cybersourceserviceapi.BinLookupRequest.prototype.clearPaymentmethod = function() {
2829
+ return this.setPaymentmethod(undefined);
2694
2830
  };
2695
2831
 
2696
2832
 
2697
2833
  /**
2698
- * @param {?proto.cybersourceserviceapi.BankAccount|undefined} value
2699
- * @return {!proto.cybersourceserviceapi.PaymentMethod} returns this
2834
+ * Returns whether this field is set.
2835
+ * @return {boolean}
2836
+ */
2837
+ proto.cybersourceserviceapi.BinLookupRequest.prototype.hasPaymentmethod = function() {
2838
+ return jspb.Message.getField(this, 1) != null;
2839
+ };
2840
+
2841
+
2842
+ /**
2843
+ * optional PaymentProcessor paymentProcessor = 2;
2844
+ * @return {?proto.cybersourceserviceapi.PaymentProcessor}
2845
+ */
2846
+ proto.cybersourceserviceapi.BinLookupRequest.prototype.getPaymentprocessor = function() {
2847
+ return /** @type{?proto.cybersourceserviceapi.PaymentProcessor} */ (
2848
+ jspb.Message.getWrapperField(this, proto.cybersourceserviceapi.PaymentProcessor, 2));
2849
+ };
2850
+
2851
+
2852
+ /**
2853
+ * @param {?proto.cybersourceserviceapi.PaymentProcessor|undefined} value
2854
+ * @return {!proto.cybersourceserviceapi.BinLookupRequest} returns this
2700
2855
  */
2701
- proto.cybersourceserviceapi.PaymentMethod.prototype.setBankaccount = function(value) {
2856
+ proto.cybersourceserviceapi.BinLookupRequest.prototype.setPaymentprocessor = function(value) {
2702
2857
  return jspb.Message.setWrapperField(this, 2, value);
2703
2858
  };
2704
2859
 
2705
2860
 
2706
2861
  /**
2707
- * Clears the message field making it undefined.
2708
- * @return {!proto.cybersourceserviceapi.PaymentMethod} returns this
2862
+ * Clears the message field making it undefined.
2863
+ * @return {!proto.cybersourceserviceapi.BinLookupRequest} returns this
2864
+ */
2865
+ proto.cybersourceserviceapi.BinLookupRequest.prototype.clearPaymentprocessor = function() {
2866
+ return this.setPaymentprocessor(undefined);
2867
+ };
2868
+
2869
+
2870
+ /**
2871
+ * Returns whether this field is set.
2872
+ * @return {boolean}
2873
+ */
2874
+ proto.cybersourceserviceapi.BinLookupRequest.prototype.hasPaymentprocessor = function() {
2875
+ return jspb.Message.getField(this, 2) != null;
2876
+ };
2877
+
2878
+
2879
+ /**
2880
+ * optional bool isBusiness = 3;
2881
+ * @return {boolean}
2882
+ */
2883
+ proto.cybersourceserviceapi.BinLookupRequest.prototype.getIsbusiness = function() {
2884
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
2885
+ };
2886
+
2887
+
2888
+ /**
2889
+ * @param {boolean} value
2890
+ * @return {!proto.cybersourceserviceapi.BinLookupRequest} returns this
2891
+ */
2892
+ proto.cybersourceserviceapi.BinLookupRequest.prototype.setIsbusiness = function(value) {
2893
+ return jspb.Message.setProto3BooleanField(this, 3, value);
2894
+ };
2895
+
2896
+
2897
+
2898
+
2899
+
2900
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2901
+ /**
2902
+ * Creates an object representation of this proto.
2903
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2904
+ * Optional fields that are not set will be set to undefined.
2905
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2906
+ * For the list of reserved names please see:
2907
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2908
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2909
+ * JSPB instance for transitional soy proto support:
2910
+ * http://goto/soy-param-migration
2911
+ * @return {!Object}
2912
+ */
2913
+ proto.cybersourceserviceapi.BinLookupResponse.prototype.toObject = function(opt_includeInstance) {
2914
+ return proto.cybersourceserviceapi.BinLookupResponse.toObject(opt_includeInstance, this);
2915
+ };
2916
+
2917
+
2918
+ /**
2919
+ * Static version of the {@see toObject} method.
2920
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2921
+ * the JSPB instance for transitional soy proto support:
2922
+ * http://goto/soy-param-migration
2923
+ * @param {!proto.cybersourceserviceapi.BinLookupResponse} msg The msg instance to transform.
2924
+ * @return {!Object}
2925
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2926
+ */
2927
+ proto.cybersourceserviceapi.BinLookupResponse.toObject = function(includeInstance, msg) {
2928
+ var f, obj = {
2929
+ id: jspb.Message.getFieldWithDefault(msg, 1, ""),
2930
+ submittimeutc: jspb.Message.getFieldWithDefault(msg, 2, ""),
2931
+ status: jspb.Message.getFieldWithDefault(msg, 3, ""),
2932
+ paymentaccountinformation: (f = msg.getPaymentaccountinformation()) && proto.cybersourceserviceapi.PaymentAccountInformation.toObject(includeInstance, f),
2933
+ issuerinformation: (f = msg.getIssuerinformation()) && proto.cybersourceserviceapi.IssuerInformation.toObject(includeInstance, f),
2934
+ payoutinformation: jspb.Message.getFieldWithDefault(msg, 6, ""),
2935
+ responsecode: (f = msg.getResponsecode()) && proto.cybersourceserviceapi.ResponseCode.toObject(includeInstance, f),
2936
+ bin: jspb.Message.getFieldWithDefault(msg, 8, "")
2937
+ };
2938
+
2939
+ if (includeInstance) {
2940
+ obj.$jspbMessageInstance = msg;
2941
+ }
2942
+ return obj;
2943
+ };
2944
+ }
2945
+
2946
+
2947
+ /**
2948
+ * Deserializes binary data (in protobuf wire format).
2949
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2950
+ * @return {!proto.cybersourceserviceapi.BinLookupResponse}
2951
+ */
2952
+ proto.cybersourceserviceapi.BinLookupResponse.deserializeBinary = function(bytes) {
2953
+ var reader = new jspb.BinaryReader(bytes);
2954
+ var msg = new proto.cybersourceserviceapi.BinLookupResponse;
2955
+ return proto.cybersourceserviceapi.BinLookupResponse.deserializeBinaryFromReader(msg, reader);
2956
+ };
2957
+
2958
+
2959
+ /**
2960
+ * Deserializes binary data (in protobuf wire format) from the
2961
+ * given reader into the given message object.
2962
+ * @param {!proto.cybersourceserviceapi.BinLookupResponse} msg The message object to deserialize into.
2963
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2964
+ * @return {!proto.cybersourceserviceapi.BinLookupResponse}
2965
+ */
2966
+ proto.cybersourceserviceapi.BinLookupResponse.deserializeBinaryFromReader = function(msg, reader) {
2967
+ while (reader.nextField()) {
2968
+ if (reader.isEndGroup()) {
2969
+ break;
2970
+ }
2971
+ var field = reader.getFieldNumber();
2972
+ switch (field) {
2973
+ case 1:
2974
+ var value = /** @type {string} */ (reader.readString());
2975
+ msg.setId(value);
2976
+ break;
2977
+ case 2:
2978
+ var value = /** @type {string} */ (reader.readString());
2979
+ msg.setSubmittimeutc(value);
2980
+ break;
2981
+ case 3:
2982
+ var value = /** @type {string} */ (reader.readString());
2983
+ msg.setStatus(value);
2984
+ break;
2985
+ case 4:
2986
+ var value = new proto.cybersourceserviceapi.PaymentAccountInformation;
2987
+ reader.readMessage(value,proto.cybersourceserviceapi.PaymentAccountInformation.deserializeBinaryFromReader);
2988
+ msg.setPaymentaccountinformation(value);
2989
+ break;
2990
+ case 5:
2991
+ var value = new proto.cybersourceserviceapi.IssuerInformation;
2992
+ reader.readMessage(value,proto.cybersourceserviceapi.IssuerInformation.deserializeBinaryFromReader);
2993
+ msg.setIssuerinformation(value);
2994
+ break;
2995
+ case 6:
2996
+ var value = /** @type {string} */ (reader.readString());
2997
+ msg.setPayoutinformation(value);
2998
+ break;
2999
+ case 7:
3000
+ var value = new proto.cybersourceserviceapi.ResponseCode;
3001
+ reader.readMessage(value,proto.cybersourceserviceapi.ResponseCode.deserializeBinaryFromReader);
3002
+ msg.setResponsecode(value);
3003
+ break;
3004
+ case 8:
3005
+ var value = /** @type {string} */ (reader.readString());
3006
+ msg.setBin(value);
3007
+ break;
3008
+ default:
3009
+ reader.skipField();
3010
+ break;
3011
+ }
3012
+ }
3013
+ return msg;
3014
+ };
3015
+
3016
+
3017
+ /**
3018
+ * Serializes the message to binary data (in protobuf wire format).
3019
+ * @return {!Uint8Array}
3020
+ */
3021
+ proto.cybersourceserviceapi.BinLookupResponse.prototype.serializeBinary = function() {
3022
+ var writer = new jspb.BinaryWriter();
3023
+ proto.cybersourceserviceapi.BinLookupResponse.serializeBinaryToWriter(this, writer);
3024
+ return writer.getResultBuffer();
3025
+ };
3026
+
3027
+
3028
+ /**
3029
+ * Serializes the given message to binary data (in protobuf wire
3030
+ * format), writing to the given BinaryWriter.
3031
+ * @param {!proto.cybersourceserviceapi.BinLookupResponse} message
3032
+ * @param {!jspb.BinaryWriter} writer
3033
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3034
+ */
3035
+ proto.cybersourceserviceapi.BinLookupResponse.serializeBinaryToWriter = function(message, writer) {
3036
+ var f = undefined;
3037
+ f = message.getId();
3038
+ if (f.length > 0) {
3039
+ writer.writeString(
3040
+ 1,
3041
+ f
3042
+ );
3043
+ }
3044
+ f = message.getSubmittimeutc();
3045
+ if (f.length > 0) {
3046
+ writer.writeString(
3047
+ 2,
3048
+ f
3049
+ );
3050
+ }
3051
+ f = message.getStatus();
3052
+ if (f.length > 0) {
3053
+ writer.writeString(
3054
+ 3,
3055
+ f
3056
+ );
3057
+ }
3058
+ f = message.getPaymentaccountinformation();
3059
+ if (f != null) {
3060
+ writer.writeMessage(
3061
+ 4,
3062
+ f,
3063
+ proto.cybersourceserviceapi.PaymentAccountInformation.serializeBinaryToWriter
3064
+ );
3065
+ }
3066
+ f = message.getIssuerinformation();
3067
+ if (f != null) {
3068
+ writer.writeMessage(
3069
+ 5,
3070
+ f,
3071
+ proto.cybersourceserviceapi.IssuerInformation.serializeBinaryToWriter
3072
+ );
3073
+ }
3074
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
3075
+ if (f != null) {
3076
+ writer.writeString(
3077
+ 6,
3078
+ f
3079
+ );
3080
+ }
3081
+ f = message.getResponsecode();
3082
+ if (f != null) {
3083
+ writer.writeMessage(
3084
+ 7,
3085
+ f,
3086
+ proto.cybersourceserviceapi.ResponseCode.serializeBinaryToWriter
3087
+ );
3088
+ }
3089
+ f = message.getBin();
3090
+ if (f.length > 0) {
3091
+ writer.writeString(
3092
+ 8,
3093
+ f
3094
+ );
3095
+ }
3096
+ };
3097
+
3098
+
3099
+ /**
3100
+ * optional string id = 1;
3101
+ * @return {string}
3102
+ */
3103
+ proto.cybersourceserviceapi.BinLookupResponse.prototype.getId = function() {
3104
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3105
+ };
3106
+
3107
+
3108
+ /**
3109
+ * @param {string} value
3110
+ * @return {!proto.cybersourceserviceapi.BinLookupResponse} returns this
3111
+ */
3112
+ proto.cybersourceserviceapi.BinLookupResponse.prototype.setId = function(value) {
3113
+ return jspb.Message.setProto3StringField(this, 1, value);
3114
+ };
3115
+
3116
+
3117
+ /**
3118
+ * optional string submitTimeUtc = 2;
3119
+ * @return {string}
3120
+ */
3121
+ proto.cybersourceserviceapi.BinLookupResponse.prototype.getSubmittimeutc = function() {
3122
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3123
+ };
3124
+
3125
+
3126
+ /**
3127
+ * @param {string} value
3128
+ * @return {!proto.cybersourceserviceapi.BinLookupResponse} returns this
3129
+ */
3130
+ proto.cybersourceserviceapi.BinLookupResponse.prototype.setSubmittimeutc = function(value) {
3131
+ return jspb.Message.setProto3StringField(this, 2, value);
3132
+ };
3133
+
3134
+
3135
+ /**
3136
+ * optional string status = 3;
3137
+ * @return {string}
3138
+ */
3139
+ proto.cybersourceserviceapi.BinLookupResponse.prototype.getStatus = function() {
3140
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
3141
+ };
3142
+
3143
+
3144
+ /**
3145
+ * @param {string} value
3146
+ * @return {!proto.cybersourceserviceapi.BinLookupResponse} returns this
3147
+ */
3148
+ proto.cybersourceserviceapi.BinLookupResponse.prototype.setStatus = function(value) {
3149
+ return jspb.Message.setProto3StringField(this, 3, value);
3150
+ };
3151
+
3152
+
3153
+ /**
3154
+ * optional PaymentAccountInformation paymentAccountInformation = 4;
3155
+ * @return {?proto.cybersourceserviceapi.PaymentAccountInformation}
3156
+ */
3157
+ proto.cybersourceserviceapi.BinLookupResponse.prototype.getPaymentaccountinformation = function() {
3158
+ return /** @type{?proto.cybersourceserviceapi.PaymentAccountInformation} */ (
3159
+ jspb.Message.getWrapperField(this, proto.cybersourceserviceapi.PaymentAccountInformation, 4));
3160
+ };
3161
+
3162
+
3163
+ /**
3164
+ * @param {?proto.cybersourceserviceapi.PaymentAccountInformation|undefined} value
3165
+ * @return {!proto.cybersourceserviceapi.BinLookupResponse} returns this
3166
+ */
3167
+ proto.cybersourceserviceapi.BinLookupResponse.prototype.setPaymentaccountinformation = function(value) {
3168
+ return jspb.Message.setWrapperField(this, 4, value);
3169
+ };
3170
+
3171
+
3172
+ /**
3173
+ * Clears the message field making it undefined.
3174
+ * @return {!proto.cybersourceserviceapi.BinLookupResponse} returns this
3175
+ */
3176
+ proto.cybersourceserviceapi.BinLookupResponse.prototype.clearPaymentaccountinformation = function() {
3177
+ return this.setPaymentaccountinformation(undefined);
3178
+ };
3179
+
3180
+
3181
+ /**
3182
+ * Returns whether this field is set.
3183
+ * @return {boolean}
3184
+ */
3185
+ proto.cybersourceserviceapi.BinLookupResponse.prototype.hasPaymentaccountinformation = function() {
3186
+ return jspb.Message.getField(this, 4) != null;
3187
+ };
3188
+
3189
+
3190
+ /**
3191
+ * optional IssuerInformation issuerInformation = 5;
3192
+ * @return {?proto.cybersourceserviceapi.IssuerInformation}
3193
+ */
3194
+ proto.cybersourceserviceapi.BinLookupResponse.prototype.getIssuerinformation = function() {
3195
+ return /** @type{?proto.cybersourceserviceapi.IssuerInformation} */ (
3196
+ jspb.Message.getWrapperField(this, proto.cybersourceserviceapi.IssuerInformation, 5));
3197
+ };
3198
+
3199
+
3200
+ /**
3201
+ * @param {?proto.cybersourceserviceapi.IssuerInformation|undefined} value
3202
+ * @return {!proto.cybersourceserviceapi.BinLookupResponse} returns this
3203
+ */
3204
+ proto.cybersourceserviceapi.BinLookupResponse.prototype.setIssuerinformation = function(value) {
3205
+ return jspb.Message.setWrapperField(this, 5, value);
3206
+ };
3207
+
3208
+
3209
+ /**
3210
+ * Clears the message field making it undefined.
3211
+ * @return {!proto.cybersourceserviceapi.BinLookupResponse} returns this
3212
+ */
3213
+ proto.cybersourceserviceapi.BinLookupResponse.prototype.clearIssuerinformation = function() {
3214
+ return this.setIssuerinformation(undefined);
3215
+ };
3216
+
3217
+
3218
+ /**
3219
+ * Returns whether this field is set.
3220
+ * @return {boolean}
3221
+ */
3222
+ proto.cybersourceserviceapi.BinLookupResponse.prototype.hasIssuerinformation = function() {
3223
+ return jspb.Message.getField(this, 5) != null;
3224
+ };
3225
+
3226
+
3227
+ /**
3228
+ * optional string payoutInformation = 6;
3229
+ * @return {string}
3230
+ */
3231
+ proto.cybersourceserviceapi.BinLookupResponse.prototype.getPayoutinformation = function() {
3232
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
3233
+ };
3234
+
3235
+
3236
+ /**
3237
+ * @param {string} value
3238
+ * @return {!proto.cybersourceserviceapi.BinLookupResponse} returns this
3239
+ */
3240
+ proto.cybersourceserviceapi.BinLookupResponse.prototype.setPayoutinformation = function(value) {
3241
+ return jspb.Message.setField(this, 6, value);
3242
+ };
3243
+
3244
+
3245
+ /**
3246
+ * Clears the field making it undefined.
3247
+ * @return {!proto.cybersourceserviceapi.BinLookupResponse} returns this
3248
+ */
3249
+ proto.cybersourceserviceapi.BinLookupResponse.prototype.clearPayoutinformation = function() {
3250
+ return jspb.Message.setField(this, 6, undefined);
3251
+ };
3252
+
3253
+
3254
+ /**
3255
+ * Returns whether this field is set.
3256
+ * @return {boolean}
3257
+ */
3258
+ proto.cybersourceserviceapi.BinLookupResponse.prototype.hasPayoutinformation = function() {
3259
+ return jspb.Message.getField(this, 6) != null;
3260
+ };
3261
+
3262
+
3263
+ /**
3264
+ * optional ResponseCode responseCode = 7;
3265
+ * @return {?proto.cybersourceserviceapi.ResponseCode}
3266
+ */
3267
+ proto.cybersourceserviceapi.BinLookupResponse.prototype.getResponsecode = function() {
3268
+ return /** @type{?proto.cybersourceserviceapi.ResponseCode} */ (
3269
+ jspb.Message.getWrapperField(this, proto.cybersourceserviceapi.ResponseCode, 7));
3270
+ };
3271
+
3272
+
3273
+ /**
3274
+ * @param {?proto.cybersourceserviceapi.ResponseCode|undefined} value
3275
+ * @return {!proto.cybersourceserviceapi.BinLookupResponse} returns this
3276
+ */
3277
+ proto.cybersourceserviceapi.BinLookupResponse.prototype.setResponsecode = function(value) {
3278
+ return jspb.Message.setWrapperField(this, 7, value);
3279
+ };
3280
+
3281
+
3282
+ /**
3283
+ * Clears the message field making it undefined.
3284
+ * @return {!proto.cybersourceserviceapi.BinLookupResponse} returns this
3285
+ */
3286
+ proto.cybersourceserviceapi.BinLookupResponse.prototype.clearResponsecode = function() {
3287
+ return this.setResponsecode(undefined);
3288
+ };
3289
+
3290
+
3291
+ /**
3292
+ * Returns whether this field is set.
3293
+ * @return {boolean}
3294
+ */
3295
+ proto.cybersourceserviceapi.BinLookupResponse.prototype.hasResponsecode = function() {
3296
+ return jspb.Message.getField(this, 7) != null;
3297
+ };
3298
+
3299
+
3300
+ /**
3301
+ * optional string bin = 8;
3302
+ * @return {string}
3303
+ */
3304
+ proto.cybersourceserviceapi.BinLookupResponse.prototype.getBin = function() {
3305
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
3306
+ };
3307
+
3308
+
3309
+ /**
3310
+ * @param {string} value
3311
+ * @return {!proto.cybersourceserviceapi.BinLookupResponse} returns this
3312
+ */
3313
+ proto.cybersourceserviceapi.BinLookupResponse.prototype.setBin = function(value) {
3314
+ return jspb.Message.setProto3StringField(this, 8, value);
3315
+ };
3316
+
3317
+
3318
+
3319
+
3320
+
3321
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3322
+ /**
3323
+ * Creates an object representation of this proto.
3324
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3325
+ * Optional fields that are not set will be set to undefined.
3326
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3327
+ * For the list of reserved names please see:
3328
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3329
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3330
+ * JSPB instance for transitional soy proto support:
3331
+ * http://goto/soy-param-migration
3332
+ * @return {!Object}
3333
+ */
3334
+ proto.cybersourceserviceapi.PaymentAccountInformation.prototype.toObject = function(opt_includeInstance) {
3335
+ return proto.cybersourceserviceapi.PaymentAccountInformation.toObject(opt_includeInstance, this);
3336
+ };
3337
+
3338
+
3339
+ /**
3340
+ * Static version of the {@see toObject} method.
3341
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3342
+ * the JSPB instance for transitional soy proto support:
3343
+ * http://goto/soy-param-migration
3344
+ * @param {!proto.cybersourceserviceapi.PaymentAccountInformation} msg The msg instance to transform.
3345
+ * @return {!Object}
3346
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3347
+ */
3348
+ proto.cybersourceserviceapi.PaymentAccountInformation.toObject = function(includeInstance, msg) {
3349
+ var f, obj = {
3350
+ card: (f = msg.getCard()) && proto.cybersourceserviceapi.PaymentCard.toObject(includeInstance, f),
3351
+ features: (f = msg.getFeatures()) && proto.cybersourceserviceapi.PaymentFeatures.toObject(includeInstance, f),
3352
+ network: jspb.Message.getFieldWithDefault(msg, 3, "")
3353
+ };
3354
+
3355
+ if (includeInstance) {
3356
+ obj.$jspbMessageInstance = msg;
3357
+ }
3358
+ return obj;
3359
+ };
3360
+ }
3361
+
3362
+
3363
+ /**
3364
+ * Deserializes binary data (in protobuf wire format).
3365
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3366
+ * @return {!proto.cybersourceserviceapi.PaymentAccountInformation}
3367
+ */
3368
+ proto.cybersourceserviceapi.PaymentAccountInformation.deserializeBinary = function(bytes) {
3369
+ var reader = new jspb.BinaryReader(bytes);
3370
+ var msg = new proto.cybersourceserviceapi.PaymentAccountInformation;
3371
+ return proto.cybersourceserviceapi.PaymentAccountInformation.deserializeBinaryFromReader(msg, reader);
3372
+ };
3373
+
3374
+
3375
+ /**
3376
+ * Deserializes binary data (in protobuf wire format) from the
3377
+ * given reader into the given message object.
3378
+ * @param {!proto.cybersourceserviceapi.PaymentAccountInformation} msg The message object to deserialize into.
3379
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3380
+ * @return {!proto.cybersourceserviceapi.PaymentAccountInformation}
3381
+ */
3382
+ proto.cybersourceserviceapi.PaymentAccountInformation.deserializeBinaryFromReader = function(msg, reader) {
3383
+ while (reader.nextField()) {
3384
+ if (reader.isEndGroup()) {
3385
+ break;
3386
+ }
3387
+ var field = reader.getFieldNumber();
3388
+ switch (field) {
3389
+ case 1:
3390
+ var value = new proto.cybersourceserviceapi.PaymentCard;
3391
+ reader.readMessage(value,proto.cybersourceserviceapi.PaymentCard.deserializeBinaryFromReader);
3392
+ msg.setCard(value);
3393
+ break;
3394
+ case 2:
3395
+ var value = new proto.cybersourceserviceapi.PaymentFeatures;
3396
+ reader.readMessage(value,proto.cybersourceserviceapi.PaymentFeatures.deserializeBinaryFromReader);
3397
+ msg.setFeatures(value);
3398
+ break;
3399
+ case 3:
3400
+ var value = /** @type {string} */ (reader.readString());
3401
+ msg.setNetwork(value);
3402
+ break;
3403
+ default:
3404
+ reader.skipField();
3405
+ break;
3406
+ }
3407
+ }
3408
+ return msg;
3409
+ };
3410
+
3411
+
3412
+ /**
3413
+ * Serializes the message to binary data (in protobuf wire format).
3414
+ * @return {!Uint8Array}
3415
+ */
3416
+ proto.cybersourceserviceapi.PaymentAccountInformation.prototype.serializeBinary = function() {
3417
+ var writer = new jspb.BinaryWriter();
3418
+ proto.cybersourceserviceapi.PaymentAccountInformation.serializeBinaryToWriter(this, writer);
3419
+ return writer.getResultBuffer();
3420
+ };
3421
+
3422
+
3423
+ /**
3424
+ * Serializes the given message to binary data (in protobuf wire
3425
+ * format), writing to the given BinaryWriter.
3426
+ * @param {!proto.cybersourceserviceapi.PaymentAccountInformation} message
3427
+ * @param {!jspb.BinaryWriter} writer
3428
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3429
+ */
3430
+ proto.cybersourceserviceapi.PaymentAccountInformation.serializeBinaryToWriter = function(message, writer) {
3431
+ var f = undefined;
3432
+ f = message.getCard();
3433
+ if (f != null) {
3434
+ writer.writeMessage(
3435
+ 1,
3436
+ f,
3437
+ proto.cybersourceserviceapi.PaymentCard.serializeBinaryToWriter
3438
+ );
3439
+ }
3440
+ f = message.getFeatures();
3441
+ if (f != null) {
3442
+ writer.writeMessage(
3443
+ 2,
3444
+ f,
3445
+ proto.cybersourceserviceapi.PaymentFeatures.serializeBinaryToWriter
3446
+ );
3447
+ }
3448
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
3449
+ if (f != null) {
3450
+ writer.writeString(
3451
+ 3,
3452
+ f
3453
+ );
3454
+ }
3455
+ };
3456
+
3457
+
3458
+ /**
3459
+ * optional PaymentCard card = 1;
3460
+ * @return {?proto.cybersourceserviceapi.PaymentCard}
3461
+ */
3462
+ proto.cybersourceserviceapi.PaymentAccountInformation.prototype.getCard = function() {
3463
+ return /** @type{?proto.cybersourceserviceapi.PaymentCard} */ (
3464
+ jspb.Message.getWrapperField(this, proto.cybersourceserviceapi.PaymentCard, 1));
3465
+ };
3466
+
3467
+
3468
+ /**
3469
+ * @param {?proto.cybersourceserviceapi.PaymentCard|undefined} value
3470
+ * @return {!proto.cybersourceserviceapi.PaymentAccountInformation} returns this
3471
+ */
3472
+ proto.cybersourceserviceapi.PaymentAccountInformation.prototype.setCard = function(value) {
3473
+ return jspb.Message.setWrapperField(this, 1, value);
3474
+ };
3475
+
3476
+
3477
+ /**
3478
+ * Clears the message field making it undefined.
3479
+ * @return {!proto.cybersourceserviceapi.PaymentAccountInformation} returns this
3480
+ */
3481
+ proto.cybersourceserviceapi.PaymentAccountInformation.prototype.clearCard = function() {
3482
+ return this.setCard(undefined);
3483
+ };
3484
+
3485
+
3486
+ /**
3487
+ * Returns whether this field is set.
3488
+ * @return {boolean}
3489
+ */
3490
+ proto.cybersourceserviceapi.PaymentAccountInformation.prototype.hasCard = function() {
3491
+ return jspb.Message.getField(this, 1) != null;
3492
+ };
3493
+
3494
+
3495
+ /**
3496
+ * optional PaymentFeatures features = 2;
3497
+ * @return {?proto.cybersourceserviceapi.PaymentFeatures}
3498
+ */
3499
+ proto.cybersourceserviceapi.PaymentAccountInformation.prototype.getFeatures = function() {
3500
+ return /** @type{?proto.cybersourceserviceapi.PaymentFeatures} */ (
3501
+ jspb.Message.getWrapperField(this, proto.cybersourceserviceapi.PaymentFeatures, 2));
3502
+ };
3503
+
3504
+
3505
+ /**
3506
+ * @param {?proto.cybersourceserviceapi.PaymentFeatures|undefined} value
3507
+ * @return {!proto.cybersourceserviceapi.PaymentAccountInformation} returns this
3508
+ */
3509
+ proto.cybersourceserviceapi.PaymentAccountInformation.prototype.setFeatures = function(value) {
3510
+ return jspb.Message.setWrapperField(this, 2, value);
3511
+ };
3512
+
3513
+
3514
+ /**
3515
+ * Clears the message field making it undefined.
3516
+ * @return {!proto.cybersourceserviceapi.PaymentAccountInformation} returns this
3517
+ */
3518
+ proto.cybersourceserviceapi.PaymentAccountInformation.prototype.clearFeatures = function() {
3519
+ return this.setFeatures(undefined);
3520
+ };
3521
+
3522
+
3523
+ /**
3524
+ * Returns whether this field is set.
3525
+ * @return {boolean}
3526
+ */
3527
+ proto.cybersourceserviceapi.PaymentAccountInformation.prototype.hasFeatures = function() {
3528
+ return jspb.Message.getField(this, 2) != null;
3529
+ };
3530
+
3531
+
3532
+ /**
3533
+ * optional string network = 3;
3534
+ * @return {string}
3535
+ */
3536
+ proto.cybersourceserviceapi.PaymentAccountInformation.prototype.getNetwork = function() {
3537
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
3538
+ };
3539
+
3540
+
3541
+ /**
3542
+ * @param {string} value
3543
+ * @return {!proto.cybersourceserviceapi.PaymentAccountInformation} returns this
3544
+ */
3545
+ proto.cybersourceserviceapi.PaymentAccountInformation.prototype.setNetwork = function(value) {
3546
+ return jspb.Message.setField(this, 3, value);
3547
+ };
3548
+
3549
+
3550
+ /**
3551
+ * Clears the field making it undefined.
3552
+ * @return {!proto.cybersourceserviceapi.PaymentAccountInformation} returns this
3553
+ */
3554
+ proto.cybersourceserviceapi.PaymentAccountInformation.prototype.clearNetwork = function() {
3555
+ return jspb.Message.setField(this, 3, undefined);
3556
+ };
3557
+
3558
+
3559
+ /**
3560
+ * Returns whether this field is set.
3561
+ * @return {boolean}
3562
+ */
3563
+ proto.cybersourceserviceapi.PaymentAccountInformation.prototype.hasNetwork = function() {
3564
+ return jspb.Message.getField(this, 3) != null;
3565
+ };
3566
+
3567
+
3568
+
3569
+ /**
3570
+ * List of repeated fields within this message type.
3571
+ * @private {!Array<number>}
3572
+ * @const
3573
+ */
3574
+ proto.cybersourceserviceapi.PaymentCard.repeatedFields_ = [6];
3575
+
3576
+
3577
+
3578
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3579
+ /**
3580
+ * Creates an object representation of this proto.
3581
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3582
+ * Optional fields that are not set will be set to undefined.
3583
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3584
+ * For the list of reserved names please see:
3585
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3586
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3587
+ * JSPB instance for transitional soy proto support:
3588
+ * http://goto/soy-param-migration
3589
+ * @return {!Object}
3590
+ */
3591
+ proto.cybersourceserviceapi.PaymentCard.prototype.toObject = function(opt_includeInstance) {
3592
+ return proto.cybersourceserviceapi.PaymentCard.toObject(opt_includeInstance, this);
3593
+ };
3594
+
3595
+
3596
+ /**
3597
+ * Static version of the {@see toObject} method.
3598
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3599
+ * the JSPB instance for transitional soy proto support:
3600
+ * http://goto/soy-param-migration
3601
+ * @param {!proto.cybersourceserviceapi.PaymentCard} msg The msg instance to transform.
3602
+ * @return {!Object}
3603
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3604
+ */
3605
+ proto.cybersourceserviceapi.PaymentCard.toObject = function(includeInstance, msg) {
3606
+ var f, obj = {
3607
+ type: jspb.Message.getFieldWithDefault(msg, 1, ""),
3608
+ brandname: jspb.Message.getFieldWithDefault(msg, 2, ""),
3609
+ currency: jspb.Message.getFieldWithDefault(msg, 3, ""),
3610
+ maxlength: jspb.Message.getFieldWithDefault(msg, 4, 0),
3611
+ credentialtype: jspb.Message.getFieldWithDefault(msg, 5, ""),
3612
+ brandsList: jspb.Message.toObjectList(msg.getBrandsList(),
3613
+ proto.cybersourceserviceapi.BrandInfo.toObject, includeInstance)
3614
+ };
3615
+
3616
+ if (includeInstance) {
3617
+ obj.$jspbMessageInstance = msg;
3618
+ }
3619
+ return obj;
3620
+ };
3621
+ }
3622
+
3623
+
3624
+ /**
3625
+ * Deserializes binary data (in protobuf wire format).
3626
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3627
+ * @return {!proto.cybersourceserviceapi.PaymentCard}
3628
+ */
3629
+ proto.cybersourceserviceapi.PaymentCard.deserializeBinary = function(bytes) {
3630
+ var reader = new jspb.BinaryReader(bytes);
3631
+ var msg = new proto.cybersourceserviceapi.PaymentCard;
3632
+ return proto.cybersourceserviceapi.PaymentCard.deserializeBinaryFromReader(msg, reader);
3633
+ };
3634
+
3635
+
3636
+ /**
3637
+ * Deserializes binary data (in protobuf wire format) from the
3638
+ * given reader into the given message object.
3639
+ * @param {!proto.cybersourceserviceapi.PaymentCard} msg The message object to deserialize into.
3640
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3641
+ * @return {!proto.cybersourceserviceapi.PaymentCard}
3642
+ */
3643
+ proto.cybersourceserviceapi.PaymentCard.deserializeBinaryFromReader = function(msg, reader) {
3644
+ while (reader.nextField()) {
3645
+ if (reader.isEndGroup()) {
3646
+ break;
3647
+ }
3648
+ var field = reader.getFieldNumber();
3649
+ switch (field) {
3650
+ case 1:
3651
+ var value = /** @type {string} */ (reader.readString());
3652
+ msg.setType(value);
3653
+ break;
3654
+ case 2:
3655
+ var value = /** @type {string} */ (reader.readString());
3656
+ msg.setBrandname(value);
3657
+ break;
3658
+ case 3:
3659
+ var value = /** @type {string} */ (reader.readString());
3660
+ msg.setCurrency(value);
3661
+ break;
3662
+ case 4:
3663
+ var value = /** @type {number} */ (reader.readInt32());
3664
+ msg.setMaxlength(value);
3665
+ break;
3666
+ case 5:
3667
+ var value = /** @type {string} */ (reader.readString());
3668
+ msg.setCredentialtype(value);
3669
+ break;
3670
+ case 6:
3671
+ var value = new proto.cybersourceserviceapi.BrandInfo;
3672
+ reader.readMessage(value,proto.cybersourceserviceapi.BrandInfo.deserializeBinaryFromReader);
3673
+ msg.addBrands(value);
3674
+ break;
3675
+ default:
3676
+ reader.skipField();
3677
+ break;
3678
+ }
3679
+ }
3680
+ return msg;
3681
+ };
3682
+
3683
+
3684
+ /**
3685
+ * Serializes the message to binary data (in protobuf wire format).
3686
+ * @return {!Uint8Array}
3687
+ */
3688
+ proto.cybersourceserviceapi.PaymentCard.prototype.serializeBinary = function() {
3689
+ var writer = new jspb.BinaryWriter();
3690
+ proto.cybersourceserviceapi.PaymentCard.serializeBinaryToWriter(this, writer);
3691
+ return writer.getResultBuffer();
3692
+ };
3693
+
3694
+
3695
+ /**
3696
+ * Serializes the given message to binary data (in protobuf wire
3697
+ * format), writing to the given BinaryWriter.
3698
+ * @param {!proto.cybersourceserviceapi.PaymentCard} message
3699
+ * @param {!jspb.BinaryWriter} writer
3700
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3701
+ */
3702
+ proto.cybersourceserviceapi.PaymentCard.serializeBinaryToWriter = function(message, writer) {
3703
+ var f = undefined;
3704
+ f = message.getType();
3705
+ if (f.length > 0) {
3706
+ writer.writeString(
3707
+ 1,
3708
+ f
3709
+ );
3710
+ }
3711
+ f = message.getBrandname();
3712
+ if (f.length > 0) {
3713
+ writer.writeString(
3714
+ 2,
3715
+ f
3716
+ );
3717
+ }
3718
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
3719
+ if (f != null) {
3720
+ writer.writeString(
3721
+ 3,
3722
+ f
3723
+ );
3724
+ }
3725
+ f = message.getMaxlength();
3726
+ if (f !== 0) {
3727
+ writer.writeInt32(
3728
+ 4,
3729
+ f
3730
+ );
3731
+ }
3732
+ f = message.getCredentialtype();
3733
+ if (f.length > 0) {
3734
+ writer.writeString(
3735
+ 5,
3736
+ f
3737
+ );
3738
+ }
3739
+ f = message.getBrandsList();
3740
+ if (f.length > 0) {
3741
+ writer.writeRepeatedMessage(
3742
+ 6,
3743
+ f,
3744
+ proto.cybersourceserviceapi.BrandInfo.serializeBinaryToWriter
3745
+ );
3746
+ }
3747
+ };
3748
+
3749
+
3750
+ /**
3751
+ * optional string type = 1;
3752
+ * @return {string}
3753
+ */
3754
+ proto.cybersourceserviceapi.PaymentCard.prototype.getType = function() {
3755
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3756
+ };
3757
+
3758
+
3759
+ /**
3760
+ * @param {string} value
3761
+ * @return {!proto.cybersourceserviceapi.PaymentCard} returns this
3762
+ */
3763
+ proto.cybersourceserviceapi.PaymentCard.prototype.setType = function(value) {
3764
+ return jspb.Message.setProto3StringField(this, 1, value);
3765
+ };
3766
+
3767
+
3768
+ /**
3769
+ * optional string brandName = 2;
3770
+ * @return {string}
3771
+ */
3772
+ proto.cybersourceserviceapi.PaymentCard.prototype.getBrandname = function() {
3773
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3774
+ };
3775
+
3776
+
3777
+ /**
3778
+ * @param {string} value
3779
+ * @return {!proto.cybersourceserviceapi.PaymentCard} returns this
3780
+ */
3781
+ proto.cybersourceserviceapi.PaymentCard.prototype.setBrandname = function(value) {
3782
+ return jspb.Message.setProto3StringField(this, 2, value);
3783
+ };
3784
+
3785
+
3786
+ /**
3787
+ * optional string currency = 3;
3788
+ * @return {string}
3789
+ */
3790
+ proto.cybersourceserviceapi.PaymentCard.prototype.getCurrency = function() {
3791
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
3792
+ };
3793
+
3794
+
3795
+ /**
3796
+ * @param {string} value
3797
+ * @return {!proto.cybersourceserviceapi.PaymentCard} returns this
3798
+ */
3799
+ proto.cybersourceserviceapi.PaymentCard.prototype.setCurrency = function(value) {
3800
+ return jspb.Message.setField(this, 3, value);
3801
+ };
3802
+
3803
+
3804
+ /**
3805
+ * Clears the field making it undefined.
3806
+ * @return {!proto.cybersourceserviceapi.PaymentCard} returns this
3807
+ */
3808
+ proto.cybersourceserviceapi.PaymentCard.prototype.clearCurrency = function() {
3809
+ return jspb.Message.setField(this, 3, undefined);
3810
+ };
3811
+
3812
+
3813
+ /**
3814
+ * Returns whether this field is set.
3815
+ * @return {boolean}
3816
+ */
3817
+ proto.cybersourceserviceapi.PaymentCard.prototype.hasCurrency = function() {
3818
+ return jspb.Message.getField(this, 3) != null;
3819
+ };
3820
+
3821
+
3822
+ /**
3823
+ * optional int32 maxLength = 4;
3824
+ * @return {number}
3825
+ */
3826
+ proto.cybersourceserviceapi.PaymentCard.prototype.getMaxlength = function() {
3827
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
3828
+ };
3829
+
3830
+
3831
+ /**
3832
+ * @param {number} value
3833
+ * @return {!proto.cybersourceserviceapi.PaymentCard} returns this
3834
+ */
3835
+ proto.cybersourceserviceapi.PaymentCard.prototype.setMaxlength = function(value) {
3836
+ return jspb.Message.setProto3IntField(this, 4, value);
3837
+ };
3838
+
3839
+
3840
+ /**
3841
+ * optional string credentialType = 5;
3842
+ * @return {string}
3843
+ */
3844
+ proto.cybersourceserviceapi.PaymentCard.prototype.getCredentialtype = function() {
3845
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
3846
+ };
3847
+
3848
+
3849
+ /**
3850
+ * @param {string} value
3851
+ * @return {!proto.cybersourceserviceapi.PaymentCard} returns this
3852
+ */
3853
+ proto.cybersourceserviceapi.PaymentCard.prototype.setCredentialtype = function(value) {
3854
+ return jspb.Message.setProto3StringField(this, 5, value);
3855
+ };
3856
+
3857
+
3858
+ /**
3859
+ * repeated BrandInfo brands = 6;
3860
+ * @return {!Array<!proto.cybersourceserviceapi.BrandInfo>}
3861
+ */
3862
+ proto.cybersourceserviceapi.PaymentCard.prototype.getBrandsList = function() {
3863
+ return /** @type{!Array<!proto.cybersourceserviceapi.BrandInfo>} */ (
3864
+ jspb.Message.getRepeatedWrapperField(this, proto.cybersourceserviceapi.BrandInfo, 6));
3865
+ };
3866
+
3867
+
3868
+ /**
3869
+ * @param {!Array<!proto.cybersourceserviceapi.BrandInfo>} value
3870
+ * @return {!proto.cybersourceserviceapi.PaymentCard} returns this
3871
+ */
3872
+ proto.cybersourceserviceapi.PaymentCard.prototype.setBrandsList = function(value) {
3873
+ return jspb.Message.setRepeatedWrapperField(this, 6, value);
3874
+ };
3875
+
3876
+
3877
+ /**
3878
+ * @param {!proto.cybersourceserviceapi.BrandInfo=} opt_value
3879
+ * @param {number=} opt_index
3880
+ * @return {!proto.cybersourceserviceapi.BrandInfo}
3881
+ */
3882
+ proto.cybersourceserviceapi.PaymentCard.prototype.addBrands = function(opt_value, opt_index) {
3883
+ return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.cybersourceserviceapi.BrandInfo, opt_index);
3884
+ };
3885
+
3886
+
3887
+ /**
3888
+ * Clears the list making it empty but non-null.
3889
+ * @return {!proto.cybersourceserviceapi.PaymentCard} returns this
3890
+ */
3891
+ proto.cybersourceserviceapi.PaymentCard.prototype.clearBrandsList = function() {
3892
+ return this.setBrandsList([]);
3893
+ };
3894
+
3895
+
3896
+
3897
+
3898
+
3899
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3900
+ /**
3901
+ * Creates an object representation of this proto.
3902
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3903
+ * Optional fields that are not set will be set to undefined.
3904
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3905
+ * For the list of reserved names please see:
3906
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3907
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3908
+ * JSPB instance for transitional soy proto support:
3909
+ * http://goto/soy-param-migration
3910
+ * @return {!Object}
3911
+ */
3912
+ proto.cybersourceserviceapi.BrandInfo.prototype.toObject = function(opt_includeInstance) {
3913
+ return proto.cybersourceserviceapi.BrandInfo.toObject(opt_includeInstance, this);
3914
+ };
3915
+
3916
+
3917
+ /**
3918
+ * Static version of the {@see toObject} method.
3919
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3920
+ * the JSPB instance for transitional soy proto support:
3921
+ * http://goto/soy-param-migration
3922
+ * @param {!proto.cybersourceserviceapi.BrandInfo} msg The msg instance to transform.
3923
+ * @return {!Object}
3924
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3925
+ */
3926
+ proto.cybersourceserviceapi.BrandInfo.toObject = function(includeInstance, msg) {
3927
+ var f, obj = {
3928
+ type: jspb.Message.getFieldWithDefault(msg, 1, ""),
3929
+ brandname: jspb.Message.getFieldWithDefault(msg, 2, "")
3930
+ };
3931
+
3932
+ if (includeInstance) {
3933
+ obj.$jspbMessageInstance = msg;
3934
+ }
3935
+ return obj;
3936
+ };
3937
+ }
3938
+
3939
+
3940
+ /**
3941
+ * Deserializes binary data (in protobuf wire format).
3942
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3943
+ * @return {!proto.cybersourceserviceapi.BrandInfo}
3944
+ */
3945
+ proto.cybersourceserviceapi.BrandInfo.deserializeBinary = function(bytes) {
3946
+ var reader = new jspb.BinaryReader(bytes);
3947
+ var msg = new proto.cybersourceserviceapi.BrandInfo;
3948
+ return proto.cybersourceserviceapi.BrandInfo.deserializeBinaryFromReader(msg, reader);
3949
+ };
3950
+
3951
+
3952
+ /**
3953
+ * Deserializes binary data (in protobuf wire format) from the
3954
+ * given reader into the given message object.
3955
+ * @param {!proto.cybersourceserviceapi.BrandInfo} msg The message object to deserialize into.
3956
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3957
+ * @return {!proto.cybersourceserviceapi.BrandInfo}
3958
+ */
3959
+ proto.cybersourceserviceapi.BrandInfo.deserializeBinaryFromReader = function(msg, reader) {
3960
+ while (reader.nextField()) {
3961
+ if (reader.isEndGroup()) {
3962
+ break;
3963
+ }
3964
+ var field = reader.getFieldNumber();
3965
+ switch (field) {
3966
+ case 1:
3967
+ var value = /** @type {string} */ (reader.readString());
3968
+ msg.setType(value);
3969
+ break;
3970
+ case 2:
3971
+ var value = /** @type {string} */ (reader.readString());
3972
+ msg.setBrandname(value);
3973
+ break;
3974
+ default:
3975
+ reader.skipField();
3976
+ break;
3977
+ }
3978
+ }
3979
+ return msg;
3980
+ };
3981
+
3982
+
3983
+ /**
3984
+ * Serializes the message to binary data (in protobuf wire format).
3985
+ * @return {!Uint8Array}
3986
+ */
3987
+ proto.cybersourceserviceapi.BrandInfo.prototype.serializeBinary = function() {
3988
+ var writer = new jspb.BinaryWriter();
3989
+ proto.cybersourceserviceapi.BrandInfo.serializeBinaryToWriter(this, writer);
3990
+ return writer.getResultBuffer();
3991
+ };
3992
+
3993
+
3994
+ /**
3995
+ * Serializes the given message to binary data (in protobuf wire
3996
+ * format), writing to the given BinaryWriter.
3997
+ * @param {!proto.cybersourceserviceapi.BrandInfo} message
3998
+ * @param {!jspb.BinaryWriter} writer
3999
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4000
+ */
4001
+ proto.cybersourceserviceapi.BrandInfo.serializeBinaryToWriter = function(message, writer) {
4002
+ var f = undefined;
4003
+ f = message.getType();
4004
+ if (f.length > 0) {
4005
+ writer.writeString(
4006
+ 1,
4007
+ f
4008
+ );
4009
+ }
4010
+ f = message.getBrandname();
4011
+ if (f.length > 0) {
4012
+ writer.writeString(
4013
+ 2,
4014
+ f
4015
+ );
4016
+ }
4017
+ };
4018
+
4019
+
4020
+ /**
4021
+ * optional string type = 1;
4022
+ * @return {string}
4023
+ */
4024
+ proto.cybersourceserviceapi.BrandInfo.prototype.getType = function() {
4025
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
4026
+ };
4027
+
4028
+
4029
+ /**
4030
+ * @param {string} value
4031
+ * @return {!proto.cybersourceserviceapi.BrandInfo} returns this
4032
+ */
4033
+ proto.cybersourceserviceapi.BrandInfo.prototype.setType = function(value) {
4034
+ return jspb.Message.setProto3StringField(this, 1, value);
4035
+ };
4036
+
4037
+
4038
+ /**
4039
+ * optional string brandName = 2;
4040
+ * @return {string}
4041
+ */
4042
+ proto.cybersourceserviceapi.BrandInfo.prototype.getBrandname = function() {
4043
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
4044
+ };
4045
+
4046
+
4047
+ /**
4048
+ * @param {string} value
4049
+ * @return {!proto.cybersourceserviceapi.BrandInfo} returns this
4050
+ */
4051
+ proto.cybersourceserviceapi.BrandInfo.prototype.setBrandname = function(value) {
4052
+ return jspb.Message.setProto3StringField(this, 2, value);
4053
+ };
4054
+
4055
+
4056
+
4057
+
4058
+
4059
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4060
+ /**
4061
+ * Creates an object representation of this proto.
4062
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4063
+ * Optional fields that are not set will be set to undefined.
4064
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4065
+ * For the list of reserved names please see:
4066
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4067
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4068
+ * JSPB instance for transitional soy proto support:
4069
+ * http://goto/soy-param-migration
4070
+ * @return {!Object}
4071
+ */
4072
+ proto.cybersourceserviceapi.PaymentFeatures.prototype.toObject = function(opt_includeInstance) {
4073
+ return proto.cybersourceserviceapi.PaymentFeatures.toObject(opt_includeInstance, this);
4074
+ };
4075
+
4076
+
4077
+ /**
4078
+ * Static version of the {@see toObject} method.
4079
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4080
+ * the JSPB instance for transitional soy proto support:
4081
+ * http://goto/soy-param-migration
4082
+ * @param {!proto.cybersourceserviceapi.PaymentFeatures} msg The msg instance to transform.
4083
+ * @return {!Object}
4084
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4085
+ */
4086
+ proto.cybersourceserviceapi.PaymentFeatures.toObject = function(includeInstance, msg) {
4087
+ var f, obj = {
4088
+ accountfundingsource: jspb.Message.getFieldWithDefault(msg, 1, ""),
4089
+ accountfundingsourcesubtype: jspb.Message.getFieldWithDefault(msg, 2, ""),
4090
+ cardproduct: jspb.Message.getFieldWithDefault(msg, 3, ""),
4091
+ messagetype: jspb.Message.getFieldWithDefault(msg, 4, ""),
4092
+ acceptancelevel: jspb.Message.getFieldWithDefault(msg, 5, ""),
4093
+ cardplatform: jspb.Message.getFieldWithDefault(msg, 6, ""),
4094
+ combocard: jspb.Message.getFieldWithDefault(msg, 7, ""),
4095
+ corporatepurchase: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
4096
+ healthcard: jspb.Message.getBooleanFieldWithDefault(msg, 9, false)
4097
+ };
4098
+
4099
+ if (includeInstance) {
4100
+ obj.$jspbMessageInstance = msg;
4101
+ }
4102
+ return obj;
4103
+ };
4104
+ }
4105
+
4106
+
4107
+ /**
4108
+ * Deserializes binary data (in protobuf wire format).
4109
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4110
+ * @return {!proto.cybersourceserviceapi.PaymentFeatures}
4111
+ */
4112
+ proto.cybersourceserviceapi.PaymentFeatures.deserializeBinary = function(bytes) {
4113
+ var reader = new jspb.BinaryReader(bytes);
4114
+ var msg = new proto.cybersourceserviceapi.PaymentFeatures;
4115
+ return proto.cybersourceserviceapi.PaymentFeatures.deserializeBinaryFromReader(msg, reader);
4116
+ };
4117
+
4118
+
4119
+ /**
4120
+ * Deserializes binary data (in protobuf wire format) from the
4121
+ * given reader into the given message object.
4122
+ * @param {!proto.cybersourceserviceapi.PaymentFeatures} msg The message object to deserialize into.
4123
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4124
+ * @return {!proto.cybersourceserviceapi.PaymentFeatures}
4125
+ */
4126
+ proto.cybersourceserviceapi.PaymentFeatures.deserializeBinaryFromReader = function(msg, reader) {
4127
+ while (reader.nextField()) {
4128
+ if (reader.isEndGroup()) {
4129
+ break;
4130
+ }
4131
+ var field = reader.getFieldNumber();
4132
+ switch (field) {
4133
+ case 1:
4134
+ var value = /** @type {string} */ (reader.readString());
4135
+ msg.setAccountfundingsource(value);
4136
+ break;
4137
+ case 2:
4138
+ var value = /** @type {string} */ (reader.readString());
4139
+ msg.setAccountfundingsourcesubtype(value);
4140
+ break;
4141
+ case 3:
4142
+ var value = /** @type {string} */ (reader.readString());
4143
+ msg.setCardproduct(value);
4144
+ break;
4145
+ case 4:
4146
+ var value = /** @type {string} */ (reader.readString());
4147
+ msg.setMessagetype(value);
4148
+ break;
4149
+ case 5:
4150
+ var value = /** @type {string} */ (reader.readString());
4151
+ msg.setAcceptancelevel(value);
4152
+ break;
4153
+ case 6:
4154
+ var value = /** @type {string} */ (reader.readString());
4155
+ msg.setCardplatform(value);
4156
+ break;
4157
+ case 7:
4158
+ var value = /** @type {string} */ (reader.readString());
4159
+ msg.setCombocard(value);
4160
+ break;
4161
+ case 8:
4162
+ var value = /** @type {boolean} */ (reader.readBool());
4163
+ msg.setCorporatepurchase(value);
4164
+ break;
4165
+ case 9:
4166
+ var value = /** @type {boolean} */ (reader.readBool());
4167
+ msg.setHealthcard(value);
4168
+ break;
4169
+ default:
4170
+ reader.skipField();
4171
+ break;
4172
+ }
4173
+ }
4174
+ return msg;
4175
+ };
4176
+
4177
+
4178
+ /**
4179
+ * Serializes the message to binary data (in protobuf wire format).
4180
+ * @return {!Uint8Array}
4181
+ */
4182
+ proto.cybersourceserviceapi.PaymentFeatures.prototype.serializeBinary = function() {
4183
+ var writer = new jspb.BinaryWriter();
4184
+ proto.cybersourceserviceapi.PaymentFeatures.serializeBinaryToWriter(this, writer);
4185
+ return writer.getResultBuffer();
4186
+ };
4187
+
4188
+
4189
+ /**
4190
+ * Serializes the given message to binary data (in protobuf wire
4191
+ * format), writing to the given BinaryWriter.
4192
+ * @param {!proto.cybersourceserviceapi.PaymentFeatures} message
4193
+ * @param {!jspb.BinaryWriter} writer
4194
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4195
+ */
4196
+ proto.cybersourceserviceapi.PaymentFeatures.serializeBinaryToWriter = function(message, writer) {
4197
+ var f = undefined;
4198
+ f = message.getAccountfundingsource();
4199
+ if (f.length > 0) {
4200
+ writer.writeString(
4201
+ 1,
4202
+ f
4203
+ );
4204
+ }
4205
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
4206
+ if (f != null) {
4207
+ writer.writeString(
4208
+ 2,
4209
+ f
4210
+ );
4211
+ }
4212
+ f = message.getCardproduct();
4213
+ if (f.length > 0) {
4214
+ writer.writeString(
4215
+ 3,
4216
+ f
4217
+ );
4218
+ }
4219
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
4220
+ if (f != null) {
4221
+ writer.writeString(
4222
+ 4,
4223
+ f
4224
+ );
4225
+ }
4226
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
4227
+ if (f != null) {
4228
+ writer.writeString(
4229
+ 5,
4230
+ f
4231
+ );
4232
+ }
4233
+ f = message.getCardplatform();
4234
+ if (f.length > 0) {
4235
+ writer.writeString(
4236
+ 6,
4237
+ f
4238
+ );
4239
+ }
4240
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
4241
+ if (f != null) {
4242
+ writer.writeString(
4243
+ 7,
4244
+ f
4245
+ );
4246
+ }
4247
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 8));
4248
+ if (f != null) {
4249
+ writer.writeBool(
4250
+ 8,
4251
+ f
4252
+ );
4253
+ }
4254
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 9));
4255
+ if (f != null) {
4256
+ writer.writeBool(
4257
+ 9,
4258
+ f
4259
+ );
4260
+ }
4261
+ };
4262
+
4263
+
4264
+ /**
4265
+ * optional string accountFundingSource = 1;
4266
+ * @return {string}
4267
+ */
4268
+ proto.cybersourceserviceapi.PaymentFeatures.prototype.getAccountfundingsource = function() {
4269
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
4270
+ };
4271
+
4272
+
4273
+ /**
4274
+ * @param {string} value
4275
+ * @return {!proto.cybersourceserviceapi.PaymentFeatures} returns this
4276
+ */
4277
+ proto.cybersourceserviceapi.PaymentFeatures.prototype.setAccountfundingsource = function(value) {
4278
+ return jspb.Message.setProto3StringField(this, 1, value);
4279
+ };
4280
+
4281
+
4282
+ /**
4283
+ * optional string accountFundingSourceSubType = 2;
4284
+ * @return {string}
4285
+ */
4286
+ proto.cybersourceserviceapi.PaymentFeatures.prototype.getAccountfundingsourcesubtype = function() {
4287
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
4288
+ };
4289
+
4290
+
4291
+ /**
4292
+ * @param {string} value
4293
+ * @return {!proto.cybersourceserviceapi.PaymentFeatures} returns this
4294
+ */
4295
+ proto.cybersourceserviceapi.PaymentFeatures.prototype.setAccountfundingsourcesubtype = function(value) {
4296
+ return jspb.Message.setField(this, 2, value);
4297
+ };
4298
+
4299
+
4300
+ /**
4301
+ * Clears the field making it undefined.
4302
+ * @return {!proto.cybersourceserviceapi.PaymentFeatures} returns this
4303
+ */
4304
+ proto.cybersourceserviceapi.PaymentFeatures.prototype.clearAccountfundingsourcesubtype = function() {
4305
+ return jspb.Message.setField(this, 2, undefined);
4306
+ };
4307
+
4308
+
4309
+ /**
4310
+ * Returns whether this field is set.
4311
+ * @return {boolean}
4312
+ */
4313
+ proto.cybersourceserviceapi.PaymentFeatures.prototype.hasAccountfundingsourcesubtype = function() {
4314
+ return jspb.Message.getField(this, 2) != null;
4315
+ };
4316
+
4317
+
4318
+ /**
4319
+ * optional string cardProduct = 3;
4320
+ * @return {string}
4321
+ */
4322
+ proto.cybersourceserviceapi.PaymentFeatures.prototype.getCardproduct = function() {
4323
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
4324
+ };
4325
+
4326
+
4327
+ /**
4328
+ * @param {string} value
4329
+ * @return {!proto.cybersourceserviceapi.PaymentFeatures} returns this
4330
+ */
4331
+ proto.cybersourceserviceapi.PaymentFeatures.prototype.setCardproduct = function(value) {
4332
+ return jspb.Message.setProto3StringField(this, 3, value);
4333
+ };
4334
+
4335
+
4336
+ /**
4337
+ * optional string messageType = 4;
4338
+ * @return {string}
4339
+ */
4340
+ proto.cybersourceserviceapi.PaymentFeatures.prototype.getMessagetype = function() {
4341
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
4342
+ };
4343
+
4344
+
4345
+ /**
4346
+ * @param {string} value
4347
+ * @return {!proto.cybersourceserviceapi.PaymentFeatures} returns this
4348
+ */
4349
+ proto.cybersourceserviceapi.PaymentFeatures.prototype.setMessagetype = function(value) {
4350
+ return jspb.Message.setField(this, 4, value);
4351
+ };
4352
+
4353
+
4354
+ /**
4355
+ * Clears the field making it undefined.
4356
+ * @return {!proto.cybersourceserviceapi.PaymentFeatures} returns this
4357
+ */
4358
+ proto.cybersourceserviceapi.PaymentFeatures.prototype.clearMessagetype = function() {
4359
+ return jspb.Message.setField(this, 4, undefined);
4360
+ };
4361
+
4362
+
4363
+ /**
4364
+ * Returns whether this field is set.
4365
+ * @return {boolean}
4366
+ */
4367
+ proto.cybersourceserviceapi.PaymentFeatures.prototype.hasMessagetype = function() {
4368
+ return jspb.Message.getField(this, 4) != null;
4369
+ };
4370
+
4371
+
4372
+ /**
4373
+ * optional string acceptanceLevel = 5;
4374
+ * @return {string}
4375
+ */
4376
+ proto.cybersourceserviceapi.PaymentFeatures.prototype.getAcceptancelevel = function() {
4377
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
4378
+ };
4379
+
4380
+
4381
+ /**
4382
+ * @param {string} value
4383
+ * @return {!proto.cybersourceserviceapi.PaymentFeatures} returns this
4384
+ */
4385
+ proto.cybersourceserviceapi.PaymentFeatures.prototype.setAcceptancelevel = function(value) {
4386
+ return jspb.Message.setField(this, 5, value);
4387
+ };
4388
+
4389
+
4390
+ /**
4391
+ * Clears the field making it undefined.
4392
+ * @return {!proto.cybersourceserviceapi.PaymentFeatures} returns this
4393
+ */
4394
+ proto.cybersourceserviceapi.PaymentFeatures.prototype.clearAcceptancelevel = function() {
4395
+ return jspb.Message.setField(this, 5, undefined);
4396
+ };
4397
+
4398
+
4399
+ /**
4400
+ * Returns whether this field is set.
4401
+ * @return {boolean}
4402
+ */
4403
+ proto.cybersourceserviceapi.PaymentFeatures.prototype.hasAcceptancelevel = function() {
4404
+ return jspb.Message.getField(this, 5) != null;
4405
+ };
4406
+
4407
+
4408
+ /**
4409
+ * optional string cardPlatform = 6;
4410
+ * @return {string}
4411
+ */
4412
+ proto.cybersourceserviceapi.PaymentFeatures.prototype.getCardplatform = function() {
4413
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
4414
+ };
4415
+
4416
+
4417
+ /**
4418
+ * @param {string} value
4419
+ * @return {!proto.cybersourceserviceapi.PaymentFeatures} returns this
4420
+ */
4421
+ proto.cybersourceserviceapi.PaymentFeatures.prototype.setCardplatform = function(value) {
4422
+ return jspb.Message.setProto3StringField(this, 6, value);
4423
+ };
4424
+
4425
+
4426
+ /**
4427
+ * optional string comboCard = 7;
4428
+ * @return {string}
4429
+ */
4430
+ proto.cybersourceserviceapi.PaymentFeatures.prototype.getCombocard = function() {
4431
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
4432
+ };
4433
+
4434
+
4435
+ /**
4436
+ * @param {string} value
4437
+ * @return {!proto.cybersourceserviceapi.PaymentFeatures} returns this
4438
+ */
4439
+ proto.cybersourceserviceapi.PaymentFeatures.prototype.setCombocard = function(value) {
4440
+ return jspb.Message.setField(this, 7, value);
4441
+ };
4442
+
4443
+
4444
+ /**
4445
+ * Clears the field making it undefined.
4446
+ * @return {!proto.cybersourceserviceapi.PaymentFeatures} returns this
4447
+ */
4448
+ proto.cybersourceserviceapi.PaymentFeatures.prototype.clearCombocard = function() {
4449
+ return jspb.Message.setField(this, 7, undefined);
4450
+ };
4451
+
4452
+
4453
+ /**
4454
+ * Returns whether this field is set.
4455
+ * @return {boolean}
4456
+ */
4457
+ proto.cybersourceserviceapi.PaymentFeatures.prototype.hasCombocard = function() {
4458
+ return jspb.Message.getField(this, 7) != null;
4459
+ };
4460
+
4461
+
4462
+ /**
4463
+ * optional bool corporatePurchase = 8;
4464
+ * @return {boolean}
4465
+ */
4466
+ proto.cybersourceserviceapi.PaymentFeatures.prototype.getCorporatepurchase = function() {
4467
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
4468
+ };
4469
+
4470
+
4471
+ /**
4472
+ * @param {boolean} value
4473
+ * @return {!proto.cybersourceserviceapi.PaymentFeatures} returns this
4474
+ */
4475
+ proto.cybersourceserviceapi.PaymentFeatures.prototype.setCorporatepurchase = function(value) {
4476
+ return jspb.Message.setField(this, 8, value);
4477
+ };
4478
+
4479
+
4480
+ /**
4481
+ * Clears the field making it undefined.
4482
+ * @return {!proto.cybersourceserviceapi.PaymentFeatures} returns this
4483
+ */
4484
+ proto.cybersourceserviceapi.PaymentFeatures.prototype.clearCorporatepurchase = function() {
4485
+ return jspb.Message.setField(this, 8, undefined);
4486
+ };
4487
+
4488
+
4489
+ /**
4490
+ * Returns whether this field is set.
4491
+ * @return {boolean}
4492
+ */
4493
+ proto.cybersourceserviceapi.PaymentFeatures.prototype.hasCorporatepurchase = function() {
4494
+ return jspb.Message.getField(this, 8) != null;
4495
+ };
4496
+
4497
+
4498
+ /**
4499
+ * optional bool healthCard = 9;
4500
+ * @return {boolean}
4501
+ */
4502
+ proto.cybersourceserviceapi.PaymentFeatures.prototype.getHealthcard = function() {
4503
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 9, false));
4504
+ };
4505
+
4506
+
4507
+ /**
4508
+ * @param {boolean} value
4509
+ * @return {!proto.cybersourceserviceapi.PaymentFeatures} returns this
4510
+ */
4511
+ proto.cybersourceserviceapi.PaymentFeatures.prototype.setHealthcard = function(value) {
4512
+ return jspb.Message.setField(this, 9, value);
4513
+ };
4514
+
4515
+
4516
+ /**
4517
+ * Clears the field making it undefined.
4518
+ * @return {!proto.cybersourceserviceapi.PaymentFeatures} returns this
4519
+ */
4520
+ proto.cybersourceserviceapi.PaymentFeatures.prototype.clearHealthcard = function() {
4521
+ return jspb.Message.setField(this, 9, undefined);
4522
+ };
4523
+
4524
+
4525
+ /**
4526
+ * Returns whether this field is set.
4527
+ * @return {boolean}
4528
+ */
4529
+ proto.cybersourceserviceapi.PaymentFeatures.prototype.hasHealthcard = function() {
4530
+ return jspb.Message.getField(this, 9) != null;
4531
+ };
4532
+
4533
+
4534
+
4535
+
4536
+
4537
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4538
+ /**
4539
+ * Creates an object representation of this proto.
4540
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4541
+ * Optional fields that are not set will be set to undefined.
4542
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4543
+ * For the list of reserved names please see:
4544
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4545
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4546
+ * JSPB instance for transitional soy proto support:
4547
+ * http://goto/soy-param-migration
4548
+ * @return {!Object}
4549
+ */
4550
+ proto.cybersourceserviceapi.IssuerInformation.prototype.toObject = function(opt_includeInstance) {
4551
+ return proto.cybersourceserviceapi.IssuerInformation.toObject(opt_includeInstance, this);
4552
+ };
4553
+
4554
+
4555
+ /**
4556
+ * Static version of the {@see toObject} method.
4557
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4558
+ * the JSPB instance for transitional soy proto support:
4559
+ * http://goto/soy-param-migration
4560
+ * @param {!proto.cybersourceserviceapi.IssuerInformation} msg The msg instance to transform.
4561
+ * @return {!Object}
4562
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4563
+ */
4564
+ proto.cybersourceserviceapi.IssuerInformation.toObject = function(includeInstance, msg) {
4565
+ var f, obj = {
4566
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
4567
+ country: jspb.Message.getFieldWithDefault(msg, 2, ""),
4568
+ binlength: jspb.Message.getFieldWithDefault(msg, 3, 0),
4569
+ accountprefix: jspb.Message.getFieldWithDefault(msg, 4, ""),
4570
+ phonenumber: jspb.Message.getFieldWithDefault(msg, 5, "")
4571
+ };
4572
+
4573
+ if (includeInstance) {
4574
+ obj.$jspbMessageInstance = msg;
4575
+ }
4576
+ return obj;
4577
+ };
4578
+ }
4579
+
4580
+
4581
+ /**
4582
+ * Deserializes binary data (in protobuf wire format).
4583
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4584
+ * @return {!proto.cybersourceserviceapi.IssuerInformation}
4585
+ */
4586
+ proto.cybersourceserviceapi.IssuerInformation.deserializeBinary = function(bytes) {
4587
+ var reader = new jspb.BinaryReader(bytes);
4588
+ var msg = new proto.cybersourceserviceapi.IssuerInformation;
4589
+ return proto.cybersourceserviceapi.IssuerInformation.deserializeBinaryFromReader(msg, reader);
4590
+ };
4591
+
4592
+
4593
+ /**
4594
+ * Deserializes binary data (in protobuf wire format) from the
4595
+ * given reader into the given message object.
4596
+ * @param {!proto.cybersourceserviceapi.IssuerInformation} msg The message object to deserialize into.
4597
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4598
+ * @return {!proto.cybersourceserviceapi.IssuerInformation}
4599
+ */
4600
+ proto.cybersourceserviceapi.IssuerInformation.deserializeBinaryFromReader = function(msg, reader) {
4601
+ while (reader.nextField()) {
4602
+ if (reader.isEndGroup()) {
4603
+ break;
4604
+ }
4605
+ var field = reader.getFieldNumber();
4606
+ switch (field) {
4607
+ case 1:
4608
+ var value = /** @type {string} */ (reader.readString());
4609
+ msg.setName(value);
4610
+ break;
4611
+ case 2:
4612
+ var value = /** @type {string} */ (reader.readString());
4613
+ msg.setCountry(value);
4614
+ break;
4615
+ case 3:
4616
+ var value = /** @type {number} */ (reader.readInt32());
4617
+ msg.setBinlength(value);
4618
+ break;
4619
+ case 4:
4620
+ var value = /** @type {string} */ (reader.readString());
4621
+ msg.setAccountprefix(value);
4622
+ break;
4623
+ case 5:
4624
+ var value = /** @type {string} */ (reader.readString());
4625
+ msg.setPhonenumber(value);
4626
+ break;
4627
+ default:
4628
+ reader.skipField();
4629
+ break;
4630
+ }
4631
+ }
4632
+ return msg;
4633
+ };
4634
+
4635
+
4636
+ /**
4637
+ * Serializes the message to binary data (in protobuf wire format).
4638
+ * @return {!Uint8Array}
4639
+ */
4640
+ proto.cybersourceserviceapi.IssuerInformation.prototype.serializeBinary = function() {
4641
+ var writer = new jspb.BinaryWriter();
4642
+ proto.cybersourceserviceapi.IssuerInformation.serializeBinaryToWriter(this, writer);
4643
+ return writer.getResultBuffer();
4644
+ };
4645
+
4646
+
4647
+ /**
4648
+ * Serializes the given message to binary data (in protobuf wire
4649
+ * format), writing to the given BinaryWriter.
4650
+ * @param {!proto.cybersourceserviceapi.IssuerInformation} message
4651
+ * @param {!jspb.BinaryWriter} writer
4652
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4653
+ */
4654
+ proto.cybersourceserviceapi.IssuerInformation.serializeBinaryToWriter = function(message, writer) {
4655
+ var f = undefined;
4656
+ f = message.getName();
4657
+ if (f.length > 0) {
4658
+ writer.writeString(
4659
+ 1,
4660
+ f
4661
+ );
4662
+ }
4663
+ f = message.getCountry();
4664
+ if (f.length > 0) {
4665
+ writer.writeString(
4666
+ 2,
4667
+ f
4668
+ );
4669
+ }
4670
+ f = message.getBinlength();
4671
+ if (f !== 0) {
4672
+ writer.writeInt32(
4673
+ 3,
4674
+ f
4675
+ );
4676
+ }
4677
+ f = message.getAccountprefix();
4678
+ if (f.length > 0) {
4679
+ writer.writeString(
4680
+ 4,
4681
+ f
4682
+ );
4683
+ }
4684
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
4685
+ if (f != null) {
4686
+ writer.writeString(
4687
+ 5,
4688
+ f
4689
+ );
4690
+ }
4691
+ };
4692
+
4693
+
4694
+ /**
4695
+ * optional string name = 1;
4696
+ * @return {string}
4697
+ */
4698
+ proto.cybersourceserviceapi.IssuerInformation.prototype.getName = function() {
4699
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
4700
+ };
4701
+
4702
+
4703
+ /**
4704
+ * @param {string} value
4705
+ * @return {!proto.cybersourceserviceapi.IssuerInformation} returns this
4706
+ */
4707
+ proto.cybersourceserviceapi.IssuerInformation.prototype.setName = function(value) {
4708
+ return jspb.Message.setProto3StringField(this, 1, value);
4709
+ };
4710
+
4711
+
4712
+ /**
4713
+ * optional string country = 2;
4714
+ * @return {string}
4715
+ */
4716
+ proto.cybersourceserviceapi.IssuerInformation.prototype.getCountry = function() {
4717
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
4718
+ };
4719
+
4720
+
4721
+ /**
4722
+ * @param {string} value
4723
+ * @return {!proto.cybersourceserviceapi.IssuerInformation} returns this
4724
+ */
4725
+ proto.cybersourceserviceapi.IssuerInformation.prototype.setCountry = function(value) {
4726
+ return jspb.Message.setProto3StringField(this, 2, value);
4727
+ };
4728
+
4729
+
4730
+ /**
4731
+ * optional int32 binLength = 3;
4732
+ * @return {number}
4733
+ */
4734
+ proto.cybersourceserviceapi.IssuerInformation.prototype.getBinlength = function() {
4735
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
4736
+ };
4737
+
4738
+
4739
+ /**
4740
+ * @param {number} value
4741
+ * @return {!proto.cybersourceserviceapi.IssuerInformation} returns this
4742
+ */
4743
+ proto.cybersourceserviceapi.IssuerInformation.prototype.setBinlength = function(value) {
4744
+ return jspb.Message.setProto3IntField(this, 3, value);
4745
+ };
4746
+
4747
+
4748
+ /**
4749
+ * optional string accountPrefix = 4;
4750
+ * @return {string}
4751
+ */
4752
+ proto.cybersourceserviceapi.IssuerInformation.prototype.getAccountprefix = function() {
4753
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
4754
+ };
4755
+
4756
+
4757
+ /**
4758
+ * @param {string} value
4759
+ * @return {!proto.cybersourceserviceapi.IssuerInformation} returns this
4760
+ */
4761
+ proto.cybersourceserviceapi.IssuerInformation.prototype.setAccountprefix = function(value) {
4762
+ return jspb.Message.setProto3StringField(this, 4, value);
4763
+ };
4764
+
4765
+
4766
+ /**
4767
+ * optional string phoneNumber = 5;
4768
+ * @return {string}
4769
+ */
4770
+ proto.cybersourceserviceapi.IssuerInformation.prototype.getPhonenumber = function() {
4771
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
4772
+ };
4773
+
4774
+
4775
+ /**
4776
+ * @param {string} value
4777
+ * @return {!proto.cybersourceserviceapi.IssuerInformation} returns this
4778
+ */
4779
+ proto.cybersourceserviceapi.IssuerInformation.prototype.setPhonenumber = function(value) {
4780
+ return jspb.Message.setField(this, 5, value);
4781
+ };
4782
+
4783
+
4784
+ /**
4785
+ * Clears the field making it undefined.
4786
+ * @return {!proto.cybersourceserviceapi.IssuerInformation} returns this
4787
+ */
4788
+ proto.cybersourceserviceapi.IssuerInformation.prototype.clearPhonenumber = function() {
4789
+ return jspb.Message.setField(this, 5, undefined);
4790
+ };
4791
+
4792
+
4793
+ /**
4794
+ * Returns whether this field is set.
4795
+ * @return {boolean}
4796
+ */
4797
+ proto.cybersourceserviceapi.IssuerInformation.prototype.hasPhonenumber = function() {
4798
+ return jspb.Message.getField(this, 5) != null;
4799
+ };
4800
+
4801
+
4802
+
4803
+
4804
+
4805
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4806
+ /**
4807
+ * Creates an object representation of this proto.
4808
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4809
+ * Optional fields that are not set will be set to undefined.
4810
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4811
+ * For the list of reserved names please see:
4812
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4813
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4814
+ * JSPB instance for transitional soy proto support:
4815
+ * http://goto/soy-param-migration
4816
+ * @return {!Object}
4817
+ */
4818
+ proto.cybersourceserviceapi.PaymentMethod.prototype.toObject = function(opt_includeInstance) {
4819
+ return proto.cybersourceserviceapi.PaymentMethod.toObject(opt_includeInstance, this);
4820
+ };
4821
+
4822
+
4823
+ /**
4824
+ * Static version of the {@see toObject} method.
4825
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4826
+ * the JSPB instance for transitional soy proto support:
4827
+ * http://goto/soy-param-migration
4828
+ * @param {!proto.cybersourceserviceapi.PaymentMethod} msg The msg instance to transform.
4829
+ * @return {!Object}
4830
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4831
+ */
4832
+ proto.cybersourceserviceapi.PaymentMethod.toObject = function(includeInstance, msg) {
4833
+ var f, obj = {
4834
+ paymentmethod: jspb.Message.getFieldWithDefault(msg, 1, ""),
4835
+ bankaccount: (f = msg.getBankaccount()) && proto.cybersourceserviceapi.BankAccount.toObject(includeInstance, f),
4836
+ creditcard: (f = msg.getCreditcard()) && proto.cybersourceserviceapi.CreditCard.toObject(includeInstance, f),
4837
+ applepay: (f = msg.getApplepay()) && proto.cybersourceserviceapi.ApplePay.toObject(includeInstance, f),
4838
+ googlepay: (f = msg.getGooglepay()) && proto.cybersourceserviceapi.GooglePay.toObject(includeInstance, f),
4839
+ paymentmethodid: jspb.Message.getFieldWithDefault(msg, 6, 0)
4840
+ };
4841
+
4842
+ if (includeInstance) {
4843
+ obj.$jspbMessageInstance = msg;
4844
+ }
4845
+ return obj;
4846
+ };
4847
+ }
4848
+
4849
+
4850
+ /**
4851
+ * Deserializes binary data (in protobuf wire format).
4852
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4853
+ * @return {!proto.cybersourceserviceapi.PaymentMethod}
4854
+ */
4855
+ proto.cybersourceserviceapi.PaymentMethod.deserializeBinary = function(bytes) {
4856
+ var reader = new jspb.BinaryReader(bytes);
4857
+ var msg = new proto.cybersourceserviceapi.PaymentMethod;
4858
+ return proto.cybersourceserviceapi.PaymentMethod.deserializeBinaryFromReader(msg, reader);
4859
+ };
4860
+
4861
+
4862
+ /**
4863
+ * Deserializes binary data (in protobuf wire format) from the
4864
+ * given reader into the given message object.
4865
+ * @param {!proto.cybersourceserviceapi.PaymentMethod} msg The message object to deserialize into.
4866
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4867
+ * @return {!proto.cybersourceserviceapi.PaymentMethod}
4868
+ */
4869
+ proto.cybersourceserviceapi.PaymentMethod.deserializeBinaryFromReader = function(msg, reader) {
4870
+ while (reader.nextField()) {
4871
+ if (reader.isEndGroup()) {
4872
+ break;
4873
+ }
4874
+ var field = reader.getFieldNumber();
4875
+ switch (field) {
4876
+ case 1:
4877
+ var value = /** @type {string} */ (reader.readString());
4878
+ msg.setPaymentmethod(value);
4879
+ break;
4880
+ case 2:
4881
+ var value = new proto.cybersourceserviceapi.BankAccount;
4882
+ reader.readMessage(value,proto.cybersourceserviceapi.BankAccount.deserializeBinaryFromReader);
4883
+ msg.setBankaccount(value);
4884
+ break;
4885
+ case 3:
4886
+ var value = new proto.cybersourceserviceapi.CreditCard;
4887
+ reader.readMessage(value,proto.cybersourceserviceapi.CreditCard.deserializeBinaryFromReader);
4888
+ msg.setCreditcard(value);
4889
+ break;
4890
+ case 4:
4891
+ var value = new proto.cybersourceserviceapi.ApplePay;
4892
+ reader.readMessage(value,proto.cybersourceserviceapi.ApplePay.deserializeBinaryFromReader);
4893
+ msg.setApplepay(value);
4894
+ break;
4895
+ case 5:
4896
+ var value = new proto.cybersourceserviceapi.GooglePay;
4897
+ reader.readMessage(value,proto.cybersourceserviceapi.GooglePay.deserializeBinaryFromReader);
4898
+ msg.setGooglepay(value);
4899
+ break;
4900
+ case 6:
4901
+ var value = /** @type {number} */ (reader.readInt64());
4902
+ msg.setPaymentmethodid(value);
4903
+ break;
4904
+ default:
4905
+ reader.skipField();
4906
+ break;
4907
+ }
4908
+ }
4909
+ return msg;
4910
+ };
4911
+
4912
+
4913
+ /**
4914
+ * Serializes the message to binary data (in protobuf wire format).
4915
+ * @return {!Uint8Array}
4916
+ */
4917
+ proto.cybersourceserviceapi.PaymentMethod.prototype.serializeBinary = function() {
4918
+ var writer = new jspb.BinaryWriter();
4919
+ proto.cybersourceserviceapi.PaymentMethod.serializeBinaryToWriter(this, writer);
4920
+ return writer.getResultBuffer();
4921
+ };
4922
+
4923
+
4924
+ /**
4925
+ * Serializes the given message to binary data (in protobuf wire
4926
+ * format), writing to the given BinaryWriter.
4927
+ * @param {!proto.cybersourceserviceapi.PaymentMethod} message
4928
+ * @param {!jspb.BinaryWriter} writer
4929
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4930
+ */
4931
+ proto.cybersourceserviceapi.PaymentMethod.serializeBinaryToWriter = function(message, writer) {
4932
+ var f = undefined;
4933
+ f = message.getPaymentmethod();
4934
+ if (f.length > 0) {
4935
+ writer.writeString(
4936
+ 1,
4937
+ f
4938
+ );
4939
+ }
4940
+ f = message.getBankaccount();
4941
+ if (f != null) {
4942
+ writer.writeMessage(
4943
+ 2,
4944
+ f,
4945
+ proto.cybersourceserviceapi.BankAccount.serializeBinaryToWriter
4946
+ );
4947
+ }
4948
+ f = message.getCreditcard();
4949
+ if (f != null) {
4950
+ writer.writeMessage(
4951
+ 3,
4952
+ f,
4953
+ proto.cybersourceserviceapi.CreditCard.serializeBinaryToWriter
4954
+ );
4955
+ }
4956
+ f = message.getApplepay();
4957
+ if (f != null) {
4958
+ writer.writeMessage(
4959
+ 4,
4960
+ f,
4961
+ proto.cybersourceserviceapi.ApplePay.serializeBinaryToWriter
4962
+ );
4963
+ }
4964
+ f = message.getGooglepay();
4965
+ if (f != null) {
4966
+ writer.writeMessage(
4967
+ 5,
4968
+ f,
4969
+ proto.cybersourceserviceapi.GooglePay.serializeBinaryToWriter
4970
+ );
4971
+ }
4972
+ f = message.getPaymentmethodid();
4973
+ if (f !== 0) {
4974
+ writer.writeInt64(
4975
+ 6,
4976
+ f
4977
+ );
4978
+ }
4979
+ };
4980
+
4981
+
4982
+ /**
4983
+ * optional string paymentMethod = 1;
4984
+ * @return {string}
4985
+ */
4986
+ proto.cybersourceserviceapi.PaymentMethod.prototype.getPaymentmethod = function() {
4987
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
4988
+ };
4989
+
4990
+
4991
+ /**
4992
+ * @param {string} value
4993
+ * @return {!proto.cybersourceserviceapi.PaymentMethod} returns this
4994
+ */
4995
+ proto.cybersourceserviceapi.PaymentMethod.prototype.setPaymentmethod = function(value) {
4996
+ return jspb.Message.setProto3StringField(this, 1, value);
4997
+ };
4998
+
4999
+
5000
+ /**
5001
+ * optional BankAccount bankAccount = 2;
5002
+ * @return {?proto.cybersourceserviceapi.BankAccount}
5003
+ */
5004
+ proto.cybersourceserviceapi.PaymentMethod.prototype.getBankaccount = function() {
5005
+ return /** @type{?proto.cybersourceserviceapi.BankAccount} */ (
5006
+ jspb.Message.getWrapperField(this, proto.cybersourceserviceapi.BankAccount, 2));
5007
+ };
5008
+
5009
+
5010
+ /**
5011
+ * @param {?proto.cybersourceserviceapi.BankAccount|undefined} value
5012
+ * @return {!proto.cybersourceserviceapi.PaymentMethod} returns this
5013
+ */
5014
+ proto.cybersourceserviceapi.PaymentMethod.prototype.setBankaccount = function(value) {
5015
+ return jspb.Message.setWrapperField(this, 2, value);
5016
+ };
5017
+
5018
+
5019
+ /**
5020
+ * Clears the message field making it undefined.
5021
+ * @return {!proto.cybersourceserviceapi.PaymentMethod} returns this
5022
+ */
5023
+ proto.cybersourceserviceapi.PaymentMethod.prototype.clearBankaccount = function() {
5024
+ return this.setBankaccount(undefined);
5025
+ };
5026
+
5027
+
5028
+ /**
5029
+ * Returns whether this field is set.
5030
+ * @return {boolean}
5031
+ */
5032
+ proto.cybersourceserviceapi.PaymentMethod.prototype.hasBankaccount = function() {
5033
+ return jspb.Message.getField(this, 2) != null;
5034
+ };
5035
+
5036
+
5037
+ /**
5038
+ * optional CreditCard creditCard = 3;
5039
+ * @return {?proto.cybersourceserviceapi.CreditCard}
5040
+ */
5041
+ proto.cybersourceserviceapi.PaymentMethod.prototype.getCreditcard = function() {
5042
+ return /** @type{?proto.cybersourceserviceapi.CreditCard} */ (
5043
+ jspb.Message.getWrapperField(this, proto.cybersourceserviceapi.CreditCard, 3));
5044
+ };
5045
+
5046
+
5047
+ /**
5048
+ * @param {?proto.cybersourceserviceapi.CreditCard|undefined} value
5049
+ * @return {!proto.cybersourceserviceapi.PaymentMethod} returns this
5050
+ */
5051
+ proto.cybersourceserviceapi.PaymentMethod.prototype.setCreditcard = function(value) {
5052
+ return jspb.Message.setWrapperField(this, 3, value);
5053
+ };
5054
+
5055
+
5056
+ /**
5057
+ * Clears the message field making it undefined.
5058
+ * @return {!proto.cybersourceserviceapi.PaymentMethod} returns this
5059
+ */
5060
+ proto.cybersourceserviceapi.PaymentMethod.prototype.clearCreditcard = function() {
5061
+ return this.setCreditcard(undefined);
5062
+ };
5063
+
5064
+
5065
+ /**
5066
+ * Returns whether this field is set.
5067
+ * @return {boolean}
5068
+ */
5069
+ proto.cybersourceserviceapi.PaymentMethod.prototype.hasCreditcard = function() {
5070
+ return jspb.Message.getField(this, 3) != null;
5071
+ };
5072
+
5073
+
5074
+ /**
5075
+ * optional ApplePay applePay = 4;
5076
+ * @return {?proto.cybersourceserviceapi.ApplePay}
5077
+ */
5078
+ proto.cybersourceserviceapi.PaymentMethod.prototype.getApplepay = function() {
5079
+ return /** @type{?proto.cybersourceserviceapi.ApplePay} */ (
5080
+ jspb.Message.getWrapperField(this, proto.cybersourceserviceapi.ApplePay, 4));
5081
+ };
5082
+
5083
+
5084
+ /**
5085
+ * @param {?proto.cybersourceserviceapi.ApplePay|undefined} value
5086
+ * @return {!proto.cybersourceserviceapi.PaymentMethod} returns this
5087
+ */
5088
+ proto.cybersourceserviceapi.PaymentMethod.prototype.setApplepay = function(value) {
5089
+ return jspb.Message.setWrapperField(this, 4, value);
5090
+ };
5091
+
5092
+
5093
+ /**
5094
+ * Clears the message field making it undefined.
5095
+ * @return {!proto.cybersourceserviceapi.PaymentMethod} returns this
5096
+ */
5097
+ proto.cybersourceserviceapi.PaymentMethod.prototype.clearApplepay = function() {
5098
+ return this.setApplepay(undefined);
5099
+ };
5100
+
5101
+
5102
+ /**
5103
+ * Returns whether this field is set.
5104
+ * @return {boolean}
5105
+ */
5106
+ proto.cybersourceserviceapi.PaymentMethod.prototype.hasApplepay = function() {
5107
+ return jspb.Message.getField(this, 4) != null;
5108
+ };
5109
+
5110
+
5111
+ /**
5112
+ * optional GooglePay googlePay = 5;
5113
+ * @return {?proto.cybersourceserviceapi.GooglePay}
5114
+ */
5115
+ proto.cybersourceserviceapi.PaymentMethod.prototype.getGooglepay = function() {
5116
+ return /** @type{?proto.cybersourceserviceapi.GooglePay} */ (
5117
+ jspb.Message.getWrapperField(this, proto.cybersourceserviceapi.GooglePay, 5));
5118
+ };
5119
+
5120
+
5121
+ /**
5122
+ * @param {?proto.cybersourceserviceapi.GooglePay|undefined} value
5123
+ * @return {!proto.cybersourceserviceapi.PaymentMethod} returns this
5124
+ */
5125
+ proto.cybersourceserviceapi.PaymentMethod.prototype.setGooglepay = function(value) {
5126
+ return jspb.Message.setWrapperField(this, 5, value);
5127
+ };
5128
+
5129
+
5130
+ /**
5131
+ * Clears the message field making it undefined.
5132
+ * @return {!proto.cybersourceserviceapi.PaymentMethod} returns this
5133
+ */
5134
+ proto.cybersourceserviceapi.PaymentMethod.prototype.clearGooglepay = function() {
5135
+ return this.setGooglepay(undefined);
5136
+ };
5137
+
5138
+
5139
+ /**
5140
+ * Returns whether this field is set.
5141
+ * @return {boolean}
5142
+ */
5143
+ proto.cybersourceserviceapi.PaymentMethod.prototype.hasGooglepay = function() {
5144
+ return jspb.Message.getField(this, 5) != null;
5145
+ };
5146
+
5147
+
5148
+ /**
5149
+ * optional int64 paymentMethodId = 6;
5150
+ * @return {number}
5151
+ */
5152
+ proto.cybersourceserviceapi.PaymentMethod.prototype.getPaymentmethodid = function() {
5153
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
5154
+ };
5155
+
5156
+
5157
+ /**
5158
+ * @param {number} value
5159
+ * @return {!proto.cybersourceserviceapi.PaymentMethod} returns this
5160
+ */
5161
+ proto.cybersourceserviceapi.PaymentMethod.prototype.setPaymentmethodid = function(value) {
5162
+ return jspb.Message.setProto3IntField(this, 6, value);
5163
+ };
5164
+
5165
+
5166
+
5167
+
5168
+
5169
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5170
+ /**
5171
+ * Creates an object representation of this proto.
5172
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5173
+ * Optional fields that are not set will be set to undefined.
5174
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5175
+ * For the list of reserved names please see:
5176
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5177
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5178
+ * JSPB instance for transitional soy proto support:
5179
+ * http://goto/soy-param-migration
5180
+ * @return {!Object}
5181
+ */
5182
+ proto.cybersourceserviceapi.PaymentProcessor.prototype.toObject = function(opt_includeInstance) {
5183
+ return proto.cybersourceserviceapi.PaymentProcessor.toObject(opt_includeInstance, this);
5184
+ };
5185
+
5186
+
5187
+ /**
5188
+ * Static version of the {@see toObject} method.
5189
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5190
+ * the JSPB instance for transitional soy proto support:
5191
+ * http://goto/soy-param-migration
5192
+ * @param {!proto.cybersourceserviceapi.PaymentProcessor} msg The msg instance to transform.
5193
+ * @return {!Object}
5194
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5195
+ */
5196
+ proto.cybersourceserviceapi.PaymentProcessor.toObject = function(includeInstance, msg) {
5197
+ var f, obj = {
5198
+ midType: jspb.Message.getFieldWithDefault(msg, 1, 0)
5199
+ };
5200
+
5201
+ if (includeInstance) {
5202
+ obj.$jspbMessageInstance = msg;
5203
+ }
5204
+ return obj;
5205
+ };
5206
+ }
5207
+
5208
+
5209
+ /**
5210
+ * Deserializes binary data (in protobuf wire format).
5211
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5212
+ * @return {!proto.cybersourceserviceapi.PaymentProcessor}
5213
+ */
5214
+ proto.cybersourceserviceapi.PaymentProcessor.deserializeBinary = function(bytes) {
5215
+ var reader = new jspb.BinaryReader(bytes);
5216
+ var msg = new proto.cybersourceserviceapi.PaymentProcessor;
5217
+ return proto.cybersourceserviceapi.PaymentProcessor.deserializeBinaryFromReader(msg, reader);
5218
+ };
5219
+
5220
+
5221
+ /**
5222
+ * Deserializes binary data (in protobuf wire format) from the
5223
+ * given reader into the given message object.
5224
+ * @param {!proto.cybersourceserviceapi.PaymentProcessor} msg The message object to deserialize into.
5225
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5226
+ * @return {!proto.cybersourceserviceapi.PaymentProcessor}
5227
+ */
5228
+ proto.cybersourceserviceapi.PaymentProcessor.deserializeBinaryFromReader = function(msg, reader) {
5229
+ while (reader.nextField()) {
5230
+ if (reader.isEndGroup()) {
5231
+ break;
5232
+ }
5233
+ var field = reader.getFieldNumber();
5234
+ switch (field) {
5235
+ case 1:
5236
+ var value = /** @type {!proto.cybersourceserviceapi.PaymentProcessor.PaymentProcessorMidType} */ (reader.readEnum());
5237
+ msg.setMidType(value);
5238
+ break;
5239
+ default:
5240
+ reader.skipField();
5241
+ break;
5242
+ }
5243
+ }
5244
+ return msg;
5245
+ };
5246
+
5247
+
5248
+ /**
5249
+ * Serializes the message to binary data (in protobuf wire format).
5250
+ * @return {!Uint8Array}
5251
+ */
5252
+ proto.cybersourceserviceapi.PaymentProcessor.prototype.serializeBinary = function() {
5253
+ var writer = new jspb.BinaryWriter();
5254
+ proto.cybersourceserviceapi.PaymentProcessor.serializeBinaryToWriter(this, writer);
5255
+ return writer.getResultBuffer();
5256
+ };
5257
+
5258
+
5259
+ /**
5260
+ * Serializes the given message to binary data (in protobuf wire
5261
+ * format), writing to the given BinaryWriter.
5262
+ * @param {!proto.cybersourceserviceapi.PaymentProcessor} message
5263
+ * @param {!jspb.BinaryWriter} writer
5264
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5265
+ */
5266
+ proto.cybersourceserviceapi.PaymentProcessor.serializeBinaryToWriter = function(message, writer) {
5267
+ var f = undefined;
5268
+ f = message.getMidType();
5269
+ if (f !== 0.0) {
5270
+ writer.writeEnum(
5271
+ 1,
5272
+ f
5273
+ );
5274
+ }
5275
+ };
5276
+
5277
+
5278
+ /**
5279
+ * @enum {number}
5280
+ */
5281
+ proto.cybersourceserviceapi.PaymentProcessor.PaymentProcessorMidType = {
5282
+ PAYMENT_PROCESSOR_MID_TYPE_UNKNOWN: 0,
5283
+ PAYMENT_PROCESSOR_MID_TYPE_SME: 1,
5284
+ PAYMENT_PROCESSOR_MID_TYPE_BPAY: 2,
5285
+ PAYMENT_PROCESSOR_MID_TYPE_SNIIP: 3
5286
+ };
5287
+
5288
+ /**
5289
+ * optional PaymentProcessorMidType mid_type = 1;
5290
+ * @return {!proto.cybersourceserviceapi.PaymentProcessor.PaymentProcessorMidType}
5291
+ */
5292
+ proto.cybersourceserviceapi.PaymentProcessor.prototype.getMidType = function() {
5293
+ return /** @type {!proto.cybersourceserviceapi.PaymentProcessor.PaymentProcessorMidType} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
5294
+ };
5295
+
5296
+
5297
+ /**
5298
+ * @param {!proto.cybersourceserviceapi.PaymentProcessor.PaymentProcessorMidType} value
5299
+ * @return {!proto.cybersourceserviceapi.PaymentProcessor} returns this
5300
+ */
5301
+ proto.cybersourceserviceapi.PaymentProcessor.prototype.setMidType = function(value) {
5302
+ return jspb.Message.setProto3EnumField(this, 1, value);
5303
+ };
5304
+
5305
+
5306
+
5307
+
5308
+
5309
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5310
+ /**
5311
+ * Creates an object representation of this proto.
5312
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5313
+ * Optional fields that are not set will be set to undefined.
5314
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5315
+ * For the list of reserved names please see:
5316
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5317
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5318
+ * JSPB instance for transitional soy proto support:
5319
+ * http://goto/soy-param-migration
5320
+ * @return {!Object}
5321
+ */
5322
+ proto.cybersourceserviceapi.PaymentRequest.prototype.toObject = function(opt_includeInstance) {
5323
+ return proto.cybersourceserviceapi.PaymentRequest.toObject(opt_includeInstance, this);
5324
+ };
5325
+
5326
+
5327
+ /**
5328
+ * Static version of the {@see toObject} method.
5329
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5330
+ * the JSPB instance for transitional soy proto support:
5331
+ * http://goto/soy-param-migration
5332
+ * @param {!proto.cybersourceserviceapi.PaymentRequest} msg The msg instance to transform.
5333
+ * @return {!Object}
5334
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5335
+ */
5336
+ proto.cybersourceserviceapi.PaymentRequest.toObject = function(includeInstance, msg) {
5337
+ var f, obj = {
5338
+ userid: jspb.Message.getFieldWithDefault(msg, 1, 0),
5339
+ billid: jspb.Message.getFieldWithDefault(msg, 2, 0),
5340
+ paymentmethod: (f = msg.getPaymentmethod()) && proto.cybersourceserviceapi.PaymentMethod.toObject(includeInstance, f),
5341
+ amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
5342
+ transactionid: jspb.Message.getFieldWithDefault(msg, 5, 0),
5343
+ accesstoken: jspb.Message.getFieldWithDefault(msg, 6, ""),
5344
+ crn: jspb.Message.getFieldWithDefault(msg, 7, ""),
5345
+ ipaddress: jspb.Message.getFieldWithDefault(msg, 8, ""),
5346
+ surchargeamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
5347
+ billercodeshortname: jspb.Message.getFieldWithDefault(msg, 10, ""),
5348
+ billercodelongname: jspb.Message.getFieldWithDefault(msg, 11, ""),
5349
+ paymentprocessor: (f = msg.getPaymentprocessor()) && proto.cybersourceserviceapi.PaymentProcessor.toObject(includeInstance, f),
5350
+ paymentvariant: jspb.Message.getFieldWithDefault(msg, 13, ""),
5351
+ billercode: jspb.Message.getFieldWithDefault(msg, 14, ""),
5352
+ reference: jspb.Message.getFieldWithDefault(msg, 15, ""),
5353
+ billerid: jspb.Message.getFieldWithDefault(msg, 16, 0),
5354
+ isbusiness: jspb.Message.getBooleanFieldWithDefault(msg, 17, false),
5355
+ anziccode: jspb.Message.getFieldWithDefault(msg, 18, ""),
5356
+ midtype: jspb.Message.getFieldWithDefault(msg, 19, 0)
5357
+ };
5358
+
5359
+ if (includeInstance) {
5360
+ obj.$jspbMessageInstance = msg;
5361
+ }
5362
+ return obj;
5363
+ };
5364
+ }
5365
+
5366
+
5367
+ /**
5368
+ * Deserializes binary data (in protobuf wire format).
5369
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5370
+ * @return {!proto.cybersourceserviceapi.PaymentRequest}
5371
+ */
5372
+ proto.cybersourceserviceapi.PaymentRequest.deserializeBinary = function(bytes) {
5373
+ var reader = new jspb.BinaryReader(bytes);
5374
+ var msg = new proto.cybersourceserviceapi.PaymentRequest;
5375
+ return proto.cybersourceserviceapi.PaymentRequest.deserializeBinaryFromReader(msg, reader);
5376
+ };
5377
+
5378
+
5379
+ /**
5380
+ * Deserializes binary data (in protobuf wire format) from the
5381
+ * given reader into the given message object.
5382
+ * @param {!proto.cybersourceserviceapi.PaymentRequest} msg The message object to deserialize into.
5383
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5384
+ * @return {!proto.cybersourceserviceapi.PaymentRequest}
5385
+ */
5386
+ proto.cybersourceserviceapi.PaymentRequest.deserializeBinaryFromReader = function(msg, reader) {
5387
+ while (reader.nextField()) {
5388
+ if (reader.isEndGroup()) {
5389
+ break;
5390
+ }
5391
+ var field = reader.getFieldNumber();
5392
+ switch (field) {
5393
+ case 1:
5394
+ var value = /** @type {number} */ (reader.readInt64());
5395
+ msg.setUserid(value);
5396
+ break;
5397
+ case 2:
5398
+ var value = /** @type {number} */ (reader.readInt64());
5399
+ msg.setBillid(value);
5400
+ break;
5401
+ case 3:
5402
+ var value = new proto.cybersourceserviceapi.PaymentMethod;
5403
+ reader.readMessage(value,proto.cybersourceserviceapi.PaymentMethod.deserializeBinaryFromReader);
5404
+ msg.setPaymentmethod(value);
5405
+ break;
5406
+ case 4:
5407
+ var value = /** @type {number} */ (reader.readDouble());
5408
+ msg.setAmount(value);
5409
+ break;
5410
+ case 5:
5411
+ var value = /** @type {number} */ (reader.readInt64());
5412
+ msg.setTransactionid(value);
5413
+ break;
5414
+ case 6:
5415
+ var value = /** @type {string} */ (reader.readString());
5416
+ msg.setAccesstoken(value);
5417
+ break;
5418
+ case 7:
5419
+ var value = /** @type {string} */ (reader.readString());
5420
+ msg.setCrn(value);
5421
+ break;
5422
+ case 8:
5423
+ var value = /** @type {string} */ (reader.readString());
5424
+ msg.setIpaddress(value);
5425
+ break;
5426
+ case 9:
5427
+ var value = /** @type {number} */ (reader.readDouble());
5428
+ msg.setSurchargeamount(value);
5429
+ break;
5430
+ case 10:
5431
+ var value = /** @type {string} */ (reader.readString());
5432
+ msg.setBillercodeshortname(value);
5433
+ break;
5434
+ case 11:
5435
+ var value = /** @type {string} */ (reader.readString());
5436
+ msg.setBillercodelongname(value);
5437
+ break;
5438
+ case 12:
5439
+ var value = new proto.cybersourceserviceapi.PaymentProcessor;
5440
+ reader.readMessage(value,proto.cybersourceserviceapi.PaymentProcessor.deserializeBinaryFromReader);
5441
+ msg.setPaymentprocessor(value);
5442
+ break;
5443
+ case 13:
5444
+ var value = /** @type {string} */ (reader.readString());
5445
+ msg.setPaymentvariant(value);
5446
+ break;
5447
+ case 14:
5448
+ var value = /** @type {string} */ (reader.readString());
5449
+ msg.setBillercode(value);
5450
+ break;
5451
+ case 15:
5452
+ var value = /** @type {string} */ (reader.readString());
5453
+ msg.setReference(value);
5454
+ break;
5455
+ case 16:
5456
+ var value = /** @type {number} */ (reader.readInt64());
5457
+ msg.setBillerid(value);
5458
+ break;
5459
+ case 17:
5460
+ var value = /** @type {boolean} */ (reader.readBool());
5461
+ msg.setIsbusiness(value);
5462
+ break;
5463
+ case 18:
5464
+ var value = /** @type {string} */ (reader.readString());
5465
+ msg.setAnziccode(value);
5466
+ break;
5467
+ case 19:
5468
+ var value = /** @type {!proto.cybersourceserviceapi.PaymentProcessor.PaymentProcessorMidType} */ (reader.readEnum());
5469
+ msg.setMidtype(value);
5470
+ break;
5471
+ default:
5472
+ reader.skipField();
5473
+ break;
5474
+ }
5475
+ }
5476
+ return msg;
5477
+ };
5478
+
5479
+
5480
+ /**
5481
+ * Serializes the message to binary data (in protobuf wire format).
5482
+ * @return {!Uint8Array}
5483
+ */
5484
+ proto.cybersourceserviceapi.PaymentRequest.prototype.serializeBinary = function() {
5485
+ var writer = new jspb.BinaryWriter();
5486
+ proto.cybersourceserviceapi.PaymentRequest.serializeBinaryToWriter(this, writer);
5487
+ return writer.getResultBuffer();
5488
+ };
5489
+
5490
+
5491
+ /**
5492
+ * Serializes the given message to binary data (in protobuf wire
5493
+ * format), writing to the given BinaryWriter.
5494
+ * @param {!proto.cybersourceserviceapi.PaymentRequest} message
5495
+ * @param {!jspb.BinaryWriter} writer
5496
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5497
+ */
5498
+ proto.cybersourceserviceapi.PaymentRequest.serializeBinaryToWriter = function(message, writer) {
5499
+ var f = undefined;
5500
+ f = message.getUserid();
5501
+ if (f !== 0) {
5502
+ writer.writeInt64(
5503
+ 1,
5504
+ f
5505
+ );
5506
+ }
5507
+ f = message.getBillid();
5508
+ if (f !== 0) {
5509
+ writer.writeInt64(
5510
+ 2,
5511
+ f
5512
+ );
5513
+ }
5514
+ f = message.getPaymentmethod();
5515
+ if (f != null) {
5516
+ writer.writeMessage(
5517
+ 3,
5518
+ f,
5519
+ proto.cybersourceserviceapi.PaymentMethod.serializeBinaryToWriter
5520
+ );
5521
+ }
5522
+ f = message.getAmount();
5523
+ if (f !== 0.0) {
5524
+ writer.writeDouble(
5525
+ 4,
5526
+ f
5527
+ );
5528
+ }
5529
+ f = message.getTransactionid();
5530
+ if (f !== 0) {
5531
+ writer.writeInt64(
5532
+ 5,
5533
+ f
5534
+ );
5535
+ }
5536
+ f = message.getAccesstoken();
5537
+ if (f.length > 0) {
5538
+ writer.writeString(
5539
+ 6,
5540
+ f
5541
+ );
5542
+ }
5543
+ f = message.getCrn();
5544
+ if (f.length > 0) {
5545
+ writer.writeString(
5546
+ 7,
5547
+ f
5548
+ );
5549
+ }
5550
+ f = message.getIpaddress();
5551
+ if (f.length > 0) {
5552
+ writer.writeString(
5553
+ 8,
5554
+ f
5555
+ );
5556
+ }
5557
+ f = message.getSurchargeamount();
5558
+ if (f !== 0.0) {
5559
+ writer.writeDouble(
5560
+ 9,
5561
+ f
5562
+ );
5563
+ }
5564
+ f = message.getBillercodeshortname();
5565
+ if (f.length > 0) {
5566
+ writer.writeString(
5567
+ 10,
5568
+ f
5569
+ );
5570
+ }
5571
+ f = message.getBillercodelongname();
5572
+ if (f.length > 0) {
5573
+ writer.writeString(
5574
+ 11,
5575
+ f
5576
+ );
5577
+ }
5578
+ f = message.getPaymentprocessor();
5579
+ if (f != null) {
5580
+ writer.writeMessage(
5581
+ 12,
5582
+ f,
5583
+ proto.cybersourceserviceapi.PaymentProcessor.serializeBinaryToWriter
5584
+ );
5585
+ }
5586
+ f = message.getPaymentvariant();
5587
+ if (f.length > 0) {
5588
+ writer.writeString(
5589
+ 13,
5590
+ f
5591
+ );
5592
+ }
5593
+ f = message.getBillercode();
5594
+ if (f.length > 0) {
5595
+ writer.writeString(
5596
+ 14,
5597
+ f
5598
+ );
5599
+ }
5600
+ f = message.getReference();
5601
+ if (f.length > 0) {
5602
+ writer.writeString(
5603
+ 15,
5604
+ f
5605
+ );
5606
+ }
5607
+ f = message.getBillerid();
5608
+ if (f !== 0) {
5609
+ writer.writeInt64(
5610
+ 16,
5611
+ f
5612
+ );
5613
+ }
5614
+ f = message.getIsbusiness();
5615
+ if (f) {
5616
+ writer.writeBool(
5617
+ 17,
5618
+ f
5619
+ );
5620
+ }
5621
+ f = message.getAnziccode();
5622
+ if (f.length > 0) {
5623
+ writer.writeString(
5624
+ 18,
5625
+ f
5626
+ );
5627
+ }
5628
+ f = message.getMidtype();
5629
+ if (f !== 0.0) {
5630
+ writer.writeEnum(
5631
+ 19,
5632
+ f
5633
+ );
5634
+ }
5635
+ };
5636
+
5637
+
5638
+ /**
5639
+ * optional int64 userId = 1;
5640
+ * @return {number}
2709
5641
  */
2710
- proto.cybersourceserviceapi.PaymentMethod.prototype.clearBankaccount = function() {
2711
- return this.setBankaccount(undefined);
5642
+ proto.cybersourceserviceapi.PaymentRequest.prototype.getUserid = function() {
5643
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2712
5644
  };
2713
5645
 
2714
5646
 
2715
5647
  /**
2716
- * Returns whether this field is set.
2717
- * @return {boolean}
5648
+ * @param {number} value
5649
+ * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
2718
5650
  */
2719
- proto.cybersourceserviceapi.PaymentMethod.prototype.hasBankaccount = function() {
2720
- return jspb.Message.getField(this, 2) != null;
5651
+ proto.cybersourceserviceapi.PaymentRequest.prototype.setUserid = function(value) {
5652
+ return jspb.Message.setProto3IntField(this, 1, value);
2721
5653
  };
2722
5654
 
2723
5655
 
2724
5656
  /**
2725
- * optional CreditCard creditCard = 3;
2726
- * @return {?proto.cybersourceserviceapi.CreditCard}
5657
+ * optional int64 billId = 2;
5658
+ * @return {number}
2727
5659
  */
2728
- proto.cybersourceserviceapi.PaymentMethod.prototype.getCreditcard = function() {
2729
- return /** @type{?proto.cybersourceserviceapi.CreditCard} */ (
2730
- jspb.Message.getWrapperField(this, proto.cybersourceserviceapi.CreditCard, 3));
5660
+ proto.cybersourceserviceapi.PaymentRequest.prototype.getBillid = function() {
5661
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
2731
5662
  };
2732
5663
 
2733
5664
 
2734
5665
  /**
2735
- * @param {?proto.cybersourceserviceapi.CreditCard|undefined} value
2736
- * @return {!proto.cybersourceserviceapi.PaymentMethod} returns this
5666
+ * @param {number} value
5667
+ * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
5668
+ */
5669
+ proto.cybersourceserviceapi.PaymentRequest.prototype.setBillid = function(value) {
5670
+ return jspb.Message.setProto3IntField(this, 2, value);
5671
+ };
5672
+
5673
+
5674
+ /**
5675
+ * optional PaymentMethod paymentMethod = 3;
5676
+ * @return {?proto.cybersourceserviceapi.PaymentMethod}
5677
+ */
5678
+ proto.cybersourceserviceapi.PaymentRequest.prototype.getPaymentmethod = function() {
5679
+ return /** @type{?proto.cybersourceserviceapi.PaymentMethod} */ (
5680
+ jspb.Message.getWrapperField(this, proto.cybersourceserviceapi.PaymentMethod, 3));
5681
+ };
5682
+
5683
+
5684
+ /**
5685
+ * @param {?proto.cybersourceserviceapi.PaymentMethod|undefined} value
5686
+ * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
2737
5687
  */
2738
- proto.cybersourceserviceapi.PaymentMethod.prototype.setCreditcard = function(value) {
5688
+ proto.cybersourceserviceapi.PaymentRequest.prototype.setPaymentmethod = function(value) {
2739
5689
  return jspb.Message.setWrapperField(this, 3, value);
2740
5690
  };
2741
5691
 
2742
5692
 
2743
5693
  /**
2744
5694
  * Clears the message field making it undefined.
2745
- * @return {!proto.cybersourceserviceapi.PaymentMethod} returns this
5695
+ * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
2746
5696
  */
2747
- proto.cybersourceserviceapi.PaymentMethod.prototype.clearCreditcard = function() {
2748
- return this.setCreditcard(undefined);
5697
+ proto.cybersourceserviceapi.PaymentRequest.prototype.clearPaymentmethod = function() {
5698
+ return this.setPaymentmethod(undefined);
2749
5699
  };
2750
5700
 
2751
5701
 
@@ -2753,73 +5703,180 @@ proto.cybersourceserviceapi.PaymentMethod.prototype.clearCreditcard = function()
2753
5703
  * Returns whether this field is set.
2754
5704
  * @return {boolean}
2755
5705
  */
2756
- proto.cybersourceserviceapi.PaymentMethod.prototype.hasCreditcard = function() {
5706
+ proto.cybersourceserviceapi.PaymentRequest.prototype.hasPaymentmethod = function() {
2757
5707
  return jspb.Message.getField(this, 3) != null;
2758
5708
  };
2759
5709
 
2760
5710
 
2761
5711
  /**
2762
- * optional ApplePay applePay = 4;
2763
- * @return {?proto.cybersourceserviceapi.ApplePay}
5712
+ * optional double amount = 4;
5713
+ * @return {number}
2764
5714
  */
2765
- proto.cybersourceserviceapi.PaymentMethod.prototype.getApplepay = function() {
2766
- return /** @type{?proto.cybersourceserviceapi.ApplePay} */ (
2767
- jspb.Message.getWrapperField(this, proto.cybersourceserviceapi.ApplePay, 4));
5715
+ proto.cybersourceserviceapi.PaymentRequest.prototype.getAmount = function() {
5716
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
2768
5717
  };
2769
5718
 
2770
5719
 
2771
5720
  /**
2772
- * @param {?proto.cybersourceserviceapi.ApplePay|undefined} value
2773
- * @return {!proto.cybersourceserviceapi.PaymentMethod} returns this
2774
- */
2775
- proto.cybersourceserviceapi.PaymentMethod.prototype.setApplepay = function(value) {
2776
- return jspb.Message.setWrapperField(this, 4, value);
5721
+ * @param {number} value
5722
+ * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
5723
+ */
5724
+ proto.cybersourceserviceapi.PaymentRequest.prototype.setAmount = function(value) {
5725
+ return jspb.Message.setProto3FloatField(this, 4, value);
2777
5726
  };
2778
5727
 
2779
5728
 
2780
5729
  /**
2781
- * Clears the message field making it undefined.
2782
- * @return {!proto.cybersourceserviceapi.PaymentMethod} returns this
5730
+ * optional int64 transactionId = 5;
5731
+ * @return {number}
2783
5732
  */
2784
- proto.cybersourceserviceapi.PaymentMethod.prototype.clearApplepay = function() {
2785
- return this.setApplepay(undefined);
5733
+ proto.cybersourceserviceapi.PaymentRequest.prototype.getTransactionid = function() {
5734
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
2786
5735
  };
2787
5736
 
2788
5737
 
2789
5738
  /**
2790
- * Returns whether this field is set.
2791
- * @return {boolean}
5739
+ * @param {number} value
5740
+ * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
2792
5741
  */
2793
- proto.cybersourceserviceapi.PaymentMethod.prototype.hasApplepay = function() {
2794
- return jspb.Message.getField(this, 4) != null;
5742
+ proto.cybersourceserviceapi.PaymentRequest.prototype.setTransactionid = function(value) {
5743
+ return jspb.Message.setProto3IntField(this, 5, value);
2795
5744
  };
2796
5745
 
2797
5746
 
2798
5747
  /**
2799
- * optional GooglePay googlePay = 5;
2800
- * @return {?proto.cybersourceserviceapi.GooglePay}
5748
+ * optional string accessToken = 6;
5749
+ * @return {string}
2801
5750
  */
2802
- proto.cybersourceserviceapi.PaymentMethod.prototype.getGooglepay = function() {
2803
- return /** @type{?proto.cybersourceserviceapi.GooglePay} */ (
2804
- jspb.Message.getWrapperField(this, proto.cybersourceserviceapi.GooglePay, 5));
5751
+ proto.cybersourceserviceapi.PaymentRequest.prototype.getAccesstoken = function() {
5752
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
2805
5753
  };
2806
5754
 
2807
5755
 
2808
5756
  /**
2809
- * @param {?proto.cybersourceserviceapi.GooglePay|undefined} value
2810
- * @return {!proto.cybersourceserviceapi.PaymentMethod} returns this
5757
+ * @param {string} value
5758
+ * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
5759
+ */
5760
+ proto.cybersourceserviceapi.PaymentRequest.prototype.setAccesstoken = function(value) {
5761
+ return jspb.Message.setProto3StringField(this, 6, value);
5762
+ };
5763
+
5764
+
5765
+ /**
5766
+ * optional string crn = 7;
5767
+ * @return {string}
5768
+ */
5769
+ proto.cybersourceserviceapi.PaymentRequest.prototype.getCrn = function() {
5770
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
5771
+ };
5772
+
5773
+
5774
+ /**
5775
+ * @param {string} value
5776
+ * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
5777
+ */
5778
+ proto.cybersourceserviceapi.PaymentRequest.prototype.setCrn = function(value) {
5779
+ return jspb.Message.setProto3StringField(this, 7, value);
5780
+ };
5781
+
5782
+
5783
+ /**
5784
+ * optional string ipAddress = 8;
5785
+ * @return {string}
5786
+ */
5787
+ proto.cybersourceserviceapi.PaymentRequest.prototype.getIpaddress = function() {
5788
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
5789
+ };
5790
+
5791
+
5792
+ /**
5793
+ * @param {string} value
5794
+ * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
5795
+ */
5796
+ proto.cybersourceserviceapi.PaymentRequest.prototype.setIpaddress = function(value) {
5797
+ return jspb.Message.setProto3StringField(this, 8, value);
5798
+ };
5799
+
5800
+
5801
+ /**
5802
+ * optional double surchargeAmount = 9;
5803
+ * @return {number}
5804
+ */
5805
+ proto.cybersourceserviceapi.PaymentRequest.prototype.getSurchargeamount = function() {
5806
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
5807
+ };
5808
+
5809
+
5810
+ /**
5811
+ * @param {number} value
5812
+ * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
5813
+ */
5814
+ proto.cybersourceserviceapi.PaymentRequest.prototype.setSurchargeamount = function(value) {
5815
+ return jspb.Message.setProto3FloatField(this, 9, value);
5816
+ };
5817
+
5818
+
5819
+ /**
5820
+ * optional string billerCodeShortName = 10;
5821
+ * @return {string}
5822
+ */
5823
+ proto.cybersourceserviceapi.PaymentRequest.prototype.getBillercodeshortname = function() {
5824
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
5825
+ };
5826
+
5827
+
5828
+ /**
5829
+ * @param {string} value
5830
+ * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
5831
+ */
5832
+ proto.cybersourceserviceapi.PaymentRequest.prototype.setBillercodeshortname = function(value) {
5833
+ return jspb.Message.setProto3StringField(this, 10, value);
5834
+ };
5835
+
5836
+
5837
+ /**
5838
+ * optional string billerCodeLongName = 11;
5839
+ * @return {string}
5840
+ */
5841
+ proto.cybersourceserviceapi.PaymentRequest.prototype.getBillercodelongname = function() {
5842
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
5843
+ };
5844
+
5845
+
5846
+ /**
5847
+ * @param {string} value
5848
+ * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
5849
+ */
5850
+ proto.cybersourceserviceapi.PaymentRequest.prototype.setBillercodelongname = function(value) {
5851
+ return jspb.Message.setProto3StringField(this, 11, value);
5852
+ };
5853
+
5854
+
5855
+ /**
5856
+ * optional PaymentProcessor paymentProcessor = 12;
5857
+ * @return {?proto.cybersourceserviceapi.PaymentProcessor}
5858
+ */
5859
+ proto.cybersourceserviceapi.PaymentRequest.prototype.getPaymentprocessor = function() {
5860
+ return /** @type{?proto.cybersourceserviceapi.PaymentProcessor} */ (
5861
+ jspb.Message.getWrapperField(this, proto.cybersourceserviceapi.PaymentProcessor, 12));
5862
+ };
5863
+
5864
+
5865
+ /**
5866
+ * @param {?proto.cybersourceserviceapi.PaymentProcessor|undefined} value
5867
+ * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
2811
5868
  */
2812
- proto.cybersourceserviceapi.PaymentMethod.prototype.setGooglepay = function(value) {
2813
- return jspb.Message.setWrapperField(this, 5, value);
5869
+ proto.cybersourceserviceapi.PaymentRequest.prototype.setPaymentprocessor = function(value) {
5870
+ return jspb.Message.setWrapperField(this, 12, value);
2814
5871
  };
2815
5872
 
2816
5873
 
2817
5874
  /**
2818
5875
  * Clears the message field making it undefined.
2819
- * @return {!proto.cybersourceserviceapi.PaymentMethod} returns this
5876
+ * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
2820
5877
  */
2821
- proto.cybersourceserviceapi.PaymentMethod.prototype.clearGooglepay = function() {
2822
- return this.setGooglepay(undefined);
5878
+ proto.cybersourceserviceapi.PaymentRequest.prototype.clearPaymentprocessor = function() {
5879
+ return this.setPaymentprocessor(undefined);
2823
5880
  };
2824
5881
 
2825
5882
 
@@ -2827,166 +5884,134 @@ proto.cybersourceserviceapi.PaymentMethod.prototype.clearGooglepay = function()
2827
5884
  * Returns whether this field is set.
2828
5885
  * @return {boolean}
2829
5886
  */
2830
- proto.cybersourceserviceapi.PaymentMethod.prototype.hasGooglepay = function() {
2831
- return jspb.Message.getField(this, 5) != null;
5887
+ proto.cybersourceserviceapi.PaymentRequest.prototype.hasPaymentprocessor = function() {
5888
+ return jspb.Message.getField(this, 12) != null;
5889
+ };
5890
+
5891
+
5892
+ /**
5893
+ * optional string paymentVariant = 13;
5894
+ * @return {string}
5895
+ */
5896
+ proto.cybersourceserviceapi.PaymentRequest.prototype.getPaymentvariant = function() {
5897
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
5898
+ };
5899
+
5900
+
5901
+ /**
5902
+ * @param {string} value
5903
+ * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
5904
+ */
5905
+ proto.cybersourceserviceapi.PaymentRequest.prototype.setPaymentvariant = function(value) {
5906
+ return jspb.Message.setProto3StringField(this, 13, value);
2832
5907
  };
2833
5908
 
2834
5909
 
2835
5910
  /**
2836
- * optional int64 paymentMethodId = 6;
2837
- * @return {number}
5911
+ * optional string billerCode = 14;
5912
+ * @return {string}
2838
5913
  */
2839
- proto.cybersourceserviceapi.PaymentMethod.prototype.getPaymentmethodid = function() {
2840
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
5914
+ proto.cybersourceserviceapi.PaymentRequest.prototype.getBillercode = function() {
5915
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
2841
5916
  };
2842
5917
 
2843
5918
 
2844
5919
  /**
2845
- * @param {number} value
2846
- * @return {!proto.cybersourceserviceapi.PaymentMethod} returns this
5920
+ * @param {string} value
5921
+ * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
2847
5922
  */
2848
- proto.cybersourceserviceapi.PaymentMethod.prototype.setPaymentmethodid = function(value) {
2849
- return jspb.Message.setProto3IntField(this, 6, value);
5923
+ proto.cybersourceserviceapi.PaymentRequest.prototype.setBillercode = function(value) {
5924
+ return jspb.Message.setProto3StringField(this, 14, value);
2850
5925
  };
2851
5926
 
2852
5927
 
5928
+ /**
5929
+ * optional string reference = 15;
5930
+ * @return {string}
5931
+ */
5932
+ proto.cybersourceserviceapi.PaymentRequest.prototype.getReference = function() {
5933
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
5934
+ };
2853
5935
 
2854
5936
 
2855
-
2856
- if (jspb.Message.GENERATE_TO_OBJECT) {
2857
5937
  /**
2858
- * Creates an object representation of this proto.
2859
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2860
- * Optional fields that are not set will be set to undefined.
2861
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2862
- * For the list of reserved names please see:
2863
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2864
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2865
- * JSPB instance for transitional soy proto support:
2866
- * http://goto/soy-param-migration
2867
- * @return {!Object}
5938
+ * @param {string} value
5939
+ * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
2868
5940
  */
2869
- proto.cybersourceserviceapi.PaymentProcessor.prototype.toObject = function(opt_includeInstance) {
2870
- return proto.cybersourceserviceapi.PaymentProcessor.toObject(opt_includeInstance, this);
5941
+ proto.cybersourceserviceapi.PaymentRequest.prototype.setReference = function(value) {
5942
+ return jspb.Message.setProto3StringField(this, 15, value);
2871
5943
  };
2872
5944
 
2873
5945
 
2874
5946
  /**
2875
- * Static version of the {@see toObject} method.
2876
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2877
- * the JSPB instance for transitional soy proto support:
2878
- * http://goto/soy-param-migration
2879
- * @param {!proto.cybersourceserviceapi.PaymentProcessor} msg The msg instance to transform.
2880
- * @return {!Object}
2881
- * @suppress {unusedLocalVariables} f is only used for nested messages
5947
+ * optional int64 billerId = 16;
5948
+ * @return {number}
2882
5949
  */
2883
- proto.cybersourceserviceapi.PaymentProcessor.toObject = function(includeInstance, msg) {
2884
- var f, obj = {
2885
- midType: jspb.Message.getFieldWithDefault(msg, 1, 0)
2886
- };
2887
-
2888
- if (includeInstance) {
2889
- obj.$jspbMessageInstance = msg;
2890
- }
2891
- return obj;
5950
+ proto.cybersourceserviceapi.PaymentRequest.prototype.getBillerid = function() {
5951
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0));
2892
5952
  };
2893
- }
2894
5953
 
2895
5954
 
2896
5955
  /**
2897
- * Deserializes binary data (in protobuf wire format).
2898
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2899
- * @return {!proto.cybersourceserviceapi.PaymentProcessor}
5956
+ * @param {number} value
5957
+ * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
2900
5958
  */
2901
- proto.cybersourceserviceapi.PaymentProcessor.deserializeBinary = function(bytes) {
2902
- var reader = new jspb.BinaryReader(bytes);
2903
- var msg = new proto.cybersourceserviceapi.PaymentProcessor;
2904
- return proto.cybersourceserviceapi.PaymentProcessor.deserializeBinaryFromReader(msg, reader);
5959
+ proto.cybersourceserviceapi.PaymentRequest.prototype.setBillerid = function(value) {
5960
+ return jspb.Message.setProto3IntField(this, 16, value);
2905
5961
  };
2906
5962
 
2907
5963
 
2908
5964
  /**
2909
- * Deserializes binary data (in protobuf wire format) from the
2910
- * given reader into the given message object.
2911
- * @param {!proto.cybersourceserviceapi.PaymentProcessor} msg The message object to deserialize into.
2912
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2913
- * @return {!proto.cybersourceserviceapi.PaymentProcessor}
5965
+ * optional bool isBusiness = 17;
5966
+ * @return {boolean}
2914
5967
  */
2915
- proto.cybersourceserviceapi.PaymentProcessor.deserializeBinaryFromReader = function(msg, reader) {
2916
- while (reader.nextField()) {
2917
- if (reader.isEndGroup()) {
2918
- break;
2919
- }
2920
- var field = reader.getFieldNumber();
2921
- switch (field) {
2922
- case 1:
2923
- var value = /** @type {!proto.cybersourceserviceapi.PaymentProcessor.PaymentProcessorMidType} */ (reader.readEnum());
2924
- msg.setMidType(value);
2925
- break;
2926
- default:
2927
- reader.skipField();
2928
- break;
2929
- }
2930
- }
2931
- return msg;
5968
+ proto.cybersourceserviceapi.PaymentRequest.prototype.getIsbusiness = function() {
5969
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 17, false));
2932
5970
  };
2933
5971
 
2934
5972
 
2935
5973
  /**
2936
- * Serializes the message to binary data (in protobuf wire format).
2937
- * @return {!Uint8Array}
5974
+ * @param {boolean} value
5975
+ * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
2938
5976
  */
2939
- proto.cybersourceserviceapi.PaymentProcessor.prototype.serializeBinary = function() {
2940
- var writer = new jspb.BinaryWriter();
2941
- proto.cybersourceserviceapi.PaymentProcessor.serializeBinaryToWriter(this, writer);
2942
- return writer.getResultBuffer();
5977
+ proto.cybersourceserviceapi.PaymentRequest.prototype.setIsbusiness = function(value) {
5978
+ return jspb.Message.setProto3BooleanField(this, 17, value);
2943
5979
  };
2944
5980
 
2945
5981
 
2946
5982
  /**
2947
- * Serializes the given message to binary data (in protobuf wire
2948
- * format), writing to the given BinaryWriter.
2949
- * @param {!proto.cybersourceserviceapi.PaymentProcessor} message
2950
- * @param {!jspb.BinaryWriter} writer
2951
- * @suppress {unusedLocalVariables} f is only used for nested messages
5983
+ * optional string anzicCode = 18;
5984
+ * @return {string}
2952
5985
  */
2953
- proto.cybersourceserviceapi.PaymentProcessor.serializeBinaryToWriter = function(message, writer) {
2954
- var f = undefined;
2955
- f = message.getMidType();
2956
- if (f !== 0.0) {
2957
- writer.writeEnum(
2958
- 1,
2959
- f
2960
- );
2961
- }
5986
+ proto.cybersourceserviceapi.PaymentRequest.prototype.getAnziccode = function() {
5987
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
2962
5988
  };
2963
5989
 
2964
5990
 
2965
5991
  /**
2966
- * @enum {number}
5992
+ * @param {string} value
5993
+ * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
2967
5994
  */
2968
- proto.cybersourceserviceapi.PaymentProcessor.PaymentProcessorMidType = {
2969
- PAYMENT_PROCESSOR_MID_TYPE_UNKNOWN: 0,
2970
- PAYMENT_PROCESSOR_MID_TYPE_SME: 1,
2971
- PAYMENT_PROCESSOR_MID_TYPE_BPAY: 2,
2972
- PAYMENT_PROCESSOR_MID_TYPE_SNIIP: 3
5995
+ proto.cybersourceserviceapi.PaymentRequest.prototype.setAnziccode = function(value) {
5996
+ return jspb.Message.setProto3StringField(this, 18, value);
2973
5997
  };
2974
5998
 
5999
+
2975
6000
  /**
2976
- * optional PaymentProcessorMidType mid_type = 1;
6001
+ * optional PaymentProcessor.PaymentProcessorMidType midType = 19;
2977
6002
  * @return {!proto.cybersourceserviceapi.PaymentProcessor.PaymentProcessorMidType}
2978
6003
  */
2979
- proto.cybersourceserviceapi.PaymentProcessor.prototype.getMidType = function() {
2980
- return /** @type {!proto.cybersourceserviceapi.PaymentProcessor.PaymentProcessorMidType} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
6004
+ proto.cybersourceserviceapi.PaymentRequest.prototype.getMidtype = function() {
6005
+ return /** @type {!proto.cybersourceserviceapi.PaymentProcessor.PaymentProcessorMidType} */ (jspb.Message.getFieldWithDefault(this, 19, 0));
2981
6006
  };
2982
6007
 
2983
6008
 
2984
6009
  /**
2985
6010
  * @param {!proto.cybersourceserviceapi.PaymentProcessor.PaymentProcessorMidType} value
2986
- * @return {!proto.cybersourceserviceapi.PaymentProcessor} returns this
6011
+ * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
2987
6012
  */
2988
- proto.cybersourceserviceapi.PaymentProcessor.prototype.setMidType = function(value) {
2989
- return jspb.Message.setProto3EnumField(this, 1, value);
6013
+ proto.cybersourceserviceapi.PaymentRequest.prototype.setMidtype = function(value) {
6014
+ return jspb.Message.setProto3EnumField(this, 19, value);
2990
6015
  };
2991
6016
 
2992
6017
 
@@ -3006,8 +6031,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
3006
6031
  * http://goto/soy-param-migration
3007
6032
  * @return {!Object}
3008
6033
  */
3009
- proto.cybersourceserviceapi.PaymentRequest.prototype.toObject = function(opt_includeInstance) {
3010
- return proto.cybersourceserviceapi.PaymentRequest.toObject(opt_includeInstance, this);
6034
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.toObject = function(opt_includeInstance) {
6035
+ return proto.cybersourceserviceapi.GooglePayDetailsRequest.toObject(opt_includeInstance, this);
3011
6036
  };
3012
6037
 
3013
6038
 
@@ -3016,11 +6041,11 @@ proto.cybersourceserviceapi.PaymentRequest.prototype.toObject = function(opt_inc
3016
6041
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3017
6042
  * the JSPB instance for transitional soy proto support:
3018
6043
  * http://goto/soy-param-migration
3019
- * @param {!proto.cybersourceserviceapi.PaymentRequest} msg The msg instance to transform.
6044
+ * @param {!proto.cybersourceserviceapi.GooglePayDetailsRequest} msg The msg instance to transform.
3020
6045
  * @return {!Object}
3021
6046
  * @suppress {unusedLocalVariables} f is only used for nested messages
3022
6047
  */
3023
- proto.cybersourceserviceapi.PaymentRequest.toObject = function(includeInstance, msg) {
6048
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.toObject = function(includeInstance, msg) {
3024
6049
  var f, obj = {
3025
6050
  userid: jspb.Message.getFieldWithDefault(msg, 1, 0),
3026
6051
  billid: jspb.Message.getFieldWithDefault(msg, 2, 0),
@@ -3039,7 +6064,6 @@ proto.cybersourceserviceapi.PaymentRequest.toObject = function(includeInstance,
3039
6064
  reference: jspb.Message.getFieldWithDefault(msg, 15, ""),
3040
6065
  billerid: jspb.Message.getFieldWithDefault(msg, 16, 0),
3041
6066
  isbusiness: jspb.Message.getBooleanFieldWithDefault(msg, 17, false),
3042
- anziccode: jspb.Message.getFieldWithDefault(msg, 18, ""),
3043
6067
  midtype: jspb.Message.getFieldWithDefault(msg, 19, 0)
3044
6068
  };
3045
6069
 
@@ -3054,23 +6078,23 @@ proto.cybersourceserviceapi.PaymentRequest.toObject = function(includeInstance,
3054
6078
  /**
3055
6079
  * Deserializes binary data (in protobuf wire format).
3056
6080
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
3057
- * @return {!proto.cybersourceserviceapi.PaymentRequest}
6081
+ * @return {!proto.cybersourceserviceapi.GooglePayDetailsRequest}
3058
6082
  */
3059
- proto.cybersourceserviceapi.PaymentRequest.deserializeBinary = function(bytes) {
6083
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.deserializeBinary = function(bytes) {
3060
6084
  var reader = new jspb.BinaryReader(bytes);
3061
- var msg = new proto.cybersourceserviceapi.PaymentRequest;
3062
- return proto.cybersourceserviceapi.PaymentRequest.deserializeBinaryFromReader(msg, reader);
6085
+ var msg = new proto.cybersourceserviceapi.GooglePayDetailsRequest;
6086
+ return proto.cybersourceserviceapi.GooglePayDetailsRequest.deserializeBinaryFromReader(msg, reader);
3063
6087
  };
3064
6088
 
3065
6089
 
3066
6090
  /**
3067
6091
  * Deserializes binary data (in protobuf wire format) from the
3068
6092
  * given reader into the given message object.
3069
- * @param {!proto.cybersourceserviceapi.PaymentRequest} msg The message object to deserialize into.
6093
+ * @param {!proto.cybersourceserviceapi.GooglePayDetailsRequest} msg The message object to deserialize into.
3070
6094
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3071
- * @return {!proto.cybersourceserviceapi.PaymentRequest}
6095
+ * @return {!proto.cybersourceserviceapi.GooglePayDetailsRequest}
3072
6096
  */
3073
- proto.cybersourceserviceapi.PaymentRequest.deserializeBinaryFromReader = function(msg, reader) {
6097
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.deserializeBinaryFromReader = function(msg, reader) {
3074
6098
  while (reader.nextField()) {
3075
6099
  if (reader.isEndGroup()) {
3076
6100
  break;
@@ -3147,10 +6171,6 @@ proto.cybersourceserviceapi.PaymentRequest.deserializeBinaryFromReader = functio
3147
6171
  var value = /** @type {boolean} */ (reader.readBool());
3148
6172
  msg.setIsbusiness(value);
3149
6173
  break;
3150
- case 18:
3151
- var value = /** @type {string} */ (reader.readString());
3152
- msg.setAnziccode(value);
3153
- break;
3154
6174
  case 19:
3155
6175
  var value = /** @type {!proto.cybersourceserviceapi.PaymentProcessor.PaymentProcessorMidType} */ (reader.readEnum());
3156
6176
  msg.setMidtype(value);
@@ -3168,9 +6188,9 @@ proto.cybersourceserviceapi.PaymentRequest.deserializeBinaryFromReader = functio
3168
6188
  * Serializes the message to binary data (in protobuf wire format).
3169
6189
  * @return {!Uint8Array}
3170
6190
  */
3171
- proto.cybersourceserviceapi.PaymentRequest.prototype.serializeBinary = function() {
6191
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.serializeBinary = function() {
3172
6192
  var writer = new jspb.BinaryWriter();
3173
- proto.cybersourceserviceapi.PaymentRequest.serializeBinaryToWriter(this, writer);
6193
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.serializeBinaryToWriter(this, writer);
3174
6194
  return writer.getResultBuffer();
3175
6195
  };
3176
6196
 
@@ -3178,11 +6198,11 @@ proto.cybersourceserviceapi.PaymentRequest.prototype.serializeBinary = function(
3178
6198
  /**
3179
6199
  * Serializes the given message to binary data (in protobuf wire
3180
6200
  * format), writing to the given BinaryWriter.
3181
- * @param {!proto.cybersourceserviceapi.PaymentRequest} message
6201
+ * @param {!proto.cybersourceserviceapi.GooglePayDetailsRequest} message
3182
6202
  * @param {!jspb.BinaryWriter} writer
3183
6203
  * @suppress {unusedLocalVariables} f is only used for nested messages
3184
6204
  */
3185
- proto.cybersourceserviceapi.PaymentRequest.serializeBinaryToWriter = function(message, writer) {
6205
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.serializeBinaryToWriter = function(message, writer) {
3186
6206
  var f = undefined;
3187
6207
  f = message.getUserid();
3188
6208
  if (f !== 0) {
@@ -3305,13 +6325,6 @@ proto.cybersourceserviceapi.PaymentRequest.serializeBinaryToWriter = function(me
3305
6325
  f
3306
6326
  );
3307
6327
  }
3308
- f = message.getAnziccode();
3309
- if (f.length > 0) {
3310
- writer.writeString(
3311
- 18,
3312
- f
3313
- );
3314
- }
3315
6328
  f = message.getMidtype();
3316
6329
  if (f !== 0.0) {
3317
6330
  writer.writeEnum(
@@ -3326,16 +6339,16 @@ proto.cybersourceserviceapi.PaymentRequest.serializeBinaryToWriter = function(me
3326
6339
  * optional int64 userId = 1;
3327
6340
  * @return {number}
3328
6341
  */
3329
- proto.cybersourceserviceapi.PaymentRequest.prototype.getUserid = function() {
6342
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.getUserid = function() {
3330
6343
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
3331
6344
  };
3332
6345
 
3333
6346
 
3334
6347
  /**
3335
6348
  * @param {number} value
3336
- * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
6349
+ * @return {!proto.cybersourceserviceapi.GooglePayDetailsRequest} returns this
3337
6350
  */
3338
- proto.cybersourceserviceapi.PaymentRequest.prototype.setUserid = function(value) {
6351
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.setUserid = function(value) {
3339
6352
  return jspb.Message.setProto3IntField(this, 1, value);
3340
6353
  };
3341
6354
 
@@ -3344,16 +6357,16 @@ proto.cybersourceserviceapi.PaymentRequest.prototype.setUserid = function(value)
3344
6357
  * optional int64 billId = 2;
3345
6358
  * @return {number}
3346
6359
  */
3347
- proto.cybersourceserviceapi.PaymentRequest.prototype.getBillid = function() {
6360
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.getBillid = function() {
3348
6361
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
3349
6362
  };
3350
6363
 
3351
6364
 
3352
6365
  /**
3353
6366
  * @param {number} value
3354
- * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
6367
+ * @return {!proto.cybersourceserviceapi.GooglePayDetailsRequest} returns this
3355
6368
  */
3356
- proto.cybersourceserviceapi.PaymentRequest.prototype.setBillid = function(value) {
6369
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.setBillid = function(value) {
3357
6370
  return jspb.Message.setProto3IntField(this, 2, value);
3358
6371
  };
3359
6372
 
@@ -3362,7 +6375,7 @@ proto.cybersourceserviceapi.PaymentRequest.prototype.setBillid = function(value)
3362
6375
  * optional PaymentMethod paymentMethod = 3;
3363
6376
  * @return {?proto.cybersourceserviceapi.PaymentMethod}
3364
6377
  */
3365
- proto.cybersourceserviceapi.PaymentRequest.prototype.getPaymentmethod = function() {
6378
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.getPaymentmethod = function() {
3366
6379
  return /** @type{?proto.cybersourceserviceapi.PaymentMethod} */ (
3367
6380
  jspb.Message.getWrapperField(this, proto.cybersourceserviceapi.PaymentMethod, 3));
3368
6381
  };
@@ -3370,18 +6383,18 @@ proto.cybersourceserviceapi.PaymentRequest.prototype.getPaymentmethod = function
3370
6383
 
3371
6384
  /**
3372
6385
  * @param {?proto.cybersourceserviceapi.PaymentMethod|undefined} value
3373
- * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
6386
+ * @return {!proto.cybersourceserviceapi.GooglePayDetailsRequest} returns this
3374
6387
  */
3375
- proto.cybersourceserviceapi.PaymentRequest.prototype.setPaymentmethod = function(value) {
6388
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.setPaymentmethod = function(value) {
3376
6389
  return jspb.Message.setWrapperField(this, 3, value);
3377
6390
  };
3378
6391
 
3379
6392
 
3380
6393
  /**
3381
6394
  * Clears the message field making it undefined.
3382
- * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
6395
+ * @return {!proto.cybersourceserviceapi.GooglePayDetailsRequest} returns this
3383
6396
  */
3384
- proto.cybersourceserviceapi.PaymentRequest.prototype.clearPaymentmethod = function() {
6397
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.clearPaymentmethod = function() {
3385
6398
  return this.setPaymentmethod(undefined);
3386
6399
  };
3387
6400
 
@@ -3390,7 +6403,7 @@ proto.cybersourceserviceapi.PaymentRequest.prototype.clearPaymentmethod = functi
3390
6403
  * Returns whether this field is set.
3391
6404
  * @return {boolean}
3392
6405
  */
3393
- proto.cybersourceserviceapi.PaymentRequest.prototype.hasPaymentmethod = function() {
6406
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.hasPaymentmethod = function() {
3394
6407
  return jspb.Message.getField(this, 3) != null;
3395
6408
  };
3396
6409
 
@@ -3399,16 +6412,16 @@ proto.cybersourceserviceapi.PaymentRequest.prototype.hasPaymentmethod = function
3399
6412
  * optional double amount = 4;
3400
6413
  * @return {number}
3401
6414
  */
3402
- proto.cybersourceserviceapi.PaymentRequest.prototype.getAmount = function() {
6415
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.getAmount = function() {
3403
6416
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
3404
6417
  };
3405
6418
 
3406
6419
 
3407
6420
  /**
3408
6421
  * @param {number} value
3409
- * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
6422
+ * @return {!proto.cybersourceserviceapi.GooglePayDetailsRequest} returns this
3410
6423
  */
3411
- proto.cybersourceserviceapi.PaymentRequest.prototype.setAmount = function(value) {
6424
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.setAmount = function(value) {
3412
6425
  return jspb.Message.setProto3FloatField(this, 4, value);
3413
6426
  };
3414
6427
 
@@ -3417,16 +6430,16 @@ proto.cybersourceserviceapi.PaymentRequest.prototype.setAmount = function(value)
3417
6430
  * optional int64 transactionId = 5;
3418
6431
  * @return {number}
3419
6432
  */
3420
- proto.cybersourceserviceapi.PaymentRequest.prototype.getTransactionid = function() {
6433
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.getTransactionid = function() {
3421
6434
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
3422
6435
  };
3423
6436
 
3424
6437
 
3425
6438
  /**
3426
6439
  * @param {number} value
3427
- * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
6440
+ * @return {!proto.cybersourceserviceapi.GooglePayDetailsRequest} returns this
3428
6441
  */
3429
- proto.cybersourceserviceapi.PaymentRequest.prototype.setTransactionid = function(value) {
6442
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.setTransactionid = function(value) {
3430
6443
  return jspb.Message.setProto3IntField(this, 5, value);
3431
6444
  };
3432
6445
 
@@ -3435,16 +6448,16 @@ proto.cybersourceserviceapi.PaymentRequest.prototype.setTransactionid = function
3435
6448
  * optional string accessToken = 6;
3436
6449
  * @return {string}
3437
6450
  */
3438
- proto.cybersourceserviceapi.PaymentRequest.prototype.getAccesstoken = function() {
6451
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.getAccesstoken = function() {
3439
6452
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
3440
6453
  };
3441
6454
 
3442
6455
 
3443
6456
  /**
3444
6457
  * @param {string} value
3445
- * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
6458
+ * @return {!proto.cybersourceserviceapi.GooglePayDetailsRequest} returns this
3446
6459
  */
3447
- proto.cybersourceserviceapi.PaymentRequest.prototype.setAccesstoken = function(value) {
6460
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.setAccesstoken = function(value) {
3448
6461
  return jspb.Message.setProto3StringField(this, 6, value);
3449
6462
  };
3450
6463
 
@@ -3453,16 +6466,16 @@ proto.cybersourceserviceapi.PaymentRequest.prototype.setAccesstoken = function(v
3453
6466
  * optional string crn = 7;
3454
6467
  * @return {string}
3455
6468
  */
3456
- proto.cybersourceserviceapi.PaymentRequest.prototype.getCrn = function() {
6469
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.getCrn = function() {
3457
6470
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
3458
6471
  };
3459
6472
 
3460
6473
 
3461
6474
  /**
3462
6475
  * @param {string} value
3463
- * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
6476
+ * @return {!proto.cybersourceserviceapi.GooglePayDetailsRequest} returns this
3464
6477
  */
3465
- proto.cybersourceserviceapi.PaymentRequest.prototype.setCrn = function(value) {
6478
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.setCrn = function(value) {
3466
6479
  return jspb.Message.setProto3StringField(this, 7, value);
3467
6480
  };
3468
6481
 
@@ -3471,16 +6484,16 @@ proto.cybersourceserviceapi.PaymentRequest.prototype.setCrn = function(value) {
3471
6484
  * optional string ipAddress = 8;
3472
6485
  * @return {string}
3473
6486
  */
3474
- proto.cybersourceserviceapi.PaymentRequest.prototype.getIpaddress = function() {
6487
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.getIpaddress = function() {
3475
6488
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
3476
6489
  };
3477
6490
 
3478
6491
 
3479
6492
  /**
3480
6493
  * @param {string} value
3481
- * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
6494
+ * @return {!proto.cybersourceserviceapi.GooglePayDetailsRequest} returns this
3482
6495
  */
3483
- proto.cybersourceserviceapi.PaymentRequest.prototype.setIpaddress = function(value) {
6496
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.setIpaddress = function(value) {
3484
6497
  return jspb.Message.setProto3StringField(this, 8, value);
3485
6498
  };
3486
6499
 
@@ -3489,16 +6502,16 @@ proto.cybersourceserviceapi.PaymentRequest.prototype.setIpaddress = function(val
3489
6502
  * optional double surchargeAmount = 9;
3490
6503
  * @return {number}
3491
6504
  */
3492
- proto.cybersourceserviceapi.PaymentRequest.prototype.getSurchargeamount = function() {
6505
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.getSurchargeamount = function() {
3493
6506
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
3494
6507
  };
3495
6508
 
3496
6509
 
3497
6510
  /**
3498
6511
  * @param {number} value
3499
- * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
6512
+ * @return {!proto.cybersourceserviceapi.GooglePayDetailsRequest} returns this
3500
6513
  */
3501
- proto.cybersourceserviceapi.PaymentRequest.prototype.setSurchargeamount = function(value) {
6514
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.setSurchargeamount = function(value) {
3502
6515
  return jspb.Message.setProto3FloatField(this, 9, value);
3503
6516
  };
3504
6517
 
@@ -3507,16 +6520,16 @@ proto.cybersourceserviceapi.PaymentRequest.prototype.setSurchargeamount = functi
3507
6520
  * optional string billerCodeShortName = 10;
3508
6521
  * @return {string}
3509
6522
  */
3510
- proto.cybersourceserviceapi.PaymentRequest.prototype.getBillercodeshortname = function() {
6523
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.getBillercodeshortname = function() {
3511
6524
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
3512
6525
  };
3513
6526
 
3514
6527
 
3515
6528
  /**
3516
6529
  * @param {string} value
3517
- * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
6530
+ * @return {!proto.cybersourceserviceapi.GooglePayDetailsRequest} returns this
3518
6531
  */
3519
- proto.cybersourceserviceapi.PaymentRequest.prototype.setBillercodeshortname = function(value) {
6532
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.setBillercodeshortname = function(value) {
3520
6533
  return jspb.Message.setProto3StringField(this, 10, value);
3521
6534
  };
3522
6535
 
@@ -3525,16 +6538,16 @@ proto.cybersourceserviceapi.PaymentRequest.prototype.setBillercodeshortname = fu
3525
6538
  * optional string billerCodeLongName = 11;
3526
6539
  * @return {string}
3527
6540
  */
3528
- proto.cybersourceserviceapi.PaymentRequest.prototype.getBillercodelongname = function() {
6541
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.getBillercodelongname = function() {
3529
6542
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
3530
6543
  };
3531
6544
 
3532
6545
 
3533
6546
  /**
3534
6547
  * @param {string} value
3535
- * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
6548
+ * @return {!proto.cybersourceserviceapi.GooglePayDetailsRequest} returns this
3536
6549
  */
3537
- proto.cybersourceserviceapi.PaymentRequest.prototype.setBillercodelongname = function(value) {
6550
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.setBillercodelongname = function(value) {
3538
6551
  return jspb.Message.setProto3StringField(this, 11, value);
3539
6552
  };
3540
6553
 
@@ -3543,7 +6556,7 @@ proto.cybersourceserviceapi.PaymentRequest.prototype.setBillercodelongname = fun
3543
6556
  * optional PaymentProcessor paymentProcessor = 12;
3544
6557
  * @return {?proto.cybersourceserviceapi.PaymentProcessor}
3545
6558
  */
3546
- proto.cybersourceserviceapi.PaymentRequest.prototype.getPaymentprocessor = function() {
6559
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.getPaymentprocessor = function() {
3547
6560
  return /** @type{?proto.cybersourceserviceapi.PaymentProcessor} */ (
3548
6561
  jspb.Message.getWrapperField(this, proto.cybersourceserviceapi.PaymentProcessor, 12));
3549
6562
  };
@@ -3551,18 +6564,18 @@ proto.cybersourceserviceapi.PaymentRequest.prototype.getPaymentprocessor = funct
3551
6564
 
3552
6565
  /**
3553
6566
  * @param {?proto.cybersourceserviceapi.PaymentProcessor|undefined} value
3554
- * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
6567
+ * @return {!proto.cybersourceserviceapi.GooglePayDetailsRequest} returns this
3555
6568
  */
3556
- proto.cybersourceserviceapi.PaymentRequest.prototype.setPaymentprocessor = function(value) {
6569
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.setPaymentprocessor = function(value) {
3557
6570
  return jspb.Message.setWrapperField(this, 12, value);
3558
6571
  };
3559
6572
 
3560
6573
 
3561
6574
  /**
3562
6575
  * Clears the message field making it undefined.
3563
- * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
6576
+ * @return {!proto.cybersourceserviceapi.GooglePayDetailsRequest} returns this
3564
6577
  */
3565
- proto.cybersourceserviceapi.PaymentRequest.prototype.clearPaymentprocessor = function() {
6578
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.clearPaymentprocessor = function() {
3566
6579
  return this.setPaymentprocessor(undefined);
3567
6580
  };
3568
6581
 
@@ -3571,7 +6584,7 @@ proto.cybersourceserviceapi.PaymentRequest.prototype.clearPaymentprocessor = fun
3571
6584
  * Returns whether this field is set.
3572
6585
  * @return {boolean}
3573
6586
  */
3574
- proto.cybersourceserviceapi.PaymentRequest.prototype.hasPaymentprocessor = function() {
6587
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.hasPaymentprocessor = function() {
3575
6588
  return jspb.Message.getField(this, 12) != null;
3576
6589
  };
3577
6590
 
@@ -3580,16 +6593,16 @@ proto.cybersourceserviceapi.PaymentRequest.prototype.hasPaymentprocessor = funct
3580
6593
  * optional string paymentVariant = 13;
3581
6594
  * @return {string}
3582
6595
  */
3583
- proto.cybersourceserviceapi.PaymentRequest.prototype.getPaymentvariant = function() {
6596
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.getPaymentvariant = function() {
3584
6597
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
3585
6598
  };
3586
6599
 
3587
6600
 
3588
6601
  /**
3589
6602
  * @param {string} value
3590
- * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
6603
+ * @return {!proto.cybersourceserviceapi.GooglePayDetailsRequest} returns this
3591
6604
  */
3592
- proto.cybersourceserviceapi.PaymentRequest.prototype.setPaymentvariant = function(value) {
6605
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.setPaymentvariant = function(value) {
3593
6606
  return jspb.Message.setProto3StringField(this, 13, value);
3594
6607
  };
3595
6608
 
@@ -3598,16 +6611,16 @@ proto.cybersourceserviceapi.PaymentRequest.prototype.setPaymentvariant = functio
3598
6611
  * optional string billerCode = 14;
3599
6612
  * @return {string}
3600
6613
  */
3601
- proto.cybersourceserviceapi.PaymentRequest.prototype.getBillercode = function() {
6614
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.getBillercode = function() {
3602
6615
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
3603
6616
  };
3604
6617
 
3605
6618
 
3606
6619
  /**
3607
6620
  * @param {string} value
3608
- * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
6621
+ * @return {!proto.cybersourceserviceapi.GooglePayDetailsRequest} returns this
3609
6622
  */
3610
- proto.cybersourceserviceapi.PaymentRequest.prototype.setBillercode = function(value) {
6623
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.setBillercode = function(value) {
3611
6624
  return jspb.Message.setProto3StringField(this, 14, value);
3612
6625
  };
3613
6626
 
@@ -3616,16 +6629,16 @@ proto.cybersourceserviceapi.PaymentRequest.prototype.setBillercode = function(va
3616
6629
  * optional string reference = 15;
3617
6630
  * @return {string}
3618
6631
  */
3619
- proto.cybersourceserviceapi.PaymentRequest.prototype.getReference = function() {
6632
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.getReference = function() {
3620
6633
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
3621
6634
  };
3622
6635
 
3623
6636
 
3624
6637
  /**
3625
6638
  * @param {string} value
3626
- * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
6639
+ * @return {!proto.cybersourceserviceapi.GooglePayDetailsRequest} returns this
3627
6640
  */
3628
- proto.cybersourceserviceapi.PaymentRequest.prototype.setReference = function(value) {
6641
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.setReference = function(value) {
3629
6642
  return jspb.Message.setProto3StringField(this, 15, value);
3630
6643
  };
3631
6644
 
@@ -3634,16 +6647,16 @@ proto.cybersourceserviceapi.PaymentRequest.prototype.setReference = function(val
3634
6647
  * optional int64 billerId = 16;
3635
6648
  * @return {number}
3636
6649
  */
3637
- proto.cybersourceserviceapi.PaymentRequest.prototype.getBillerid = function() {
6650
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.getBillerid = function() {
3638
6651
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0));
3639
6652
  };
3640
6653
 
3641
6654
 
3642
6655
  /**
3643
6656
  * @param {number} value
3644
- * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
6657
+ * @return {!proto.cybersourceserviceapi.GooglePayDetailsRequest} returns this
3645
6658
  */
3646
- proto.cybersourceserviceapi.PaymentRequest.prototype.setBillerid = function(value) {
6659
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.setBillerid = function(value) {
3647
6660
  return jspb.Message.setProto3IntField(this, 16, value);
3648
6661
  };
3649
6662
 
@@ -3652,52 +6665,34 @@ proto.cybersourceserviceapi.PaymentRequest.prototype.setBillerid = function(valu
3652
6665
  * optional bool isBusiness = 17;
3653
6666
  * @return {boolean}
3654
6667
  */
3655
- proto.cybersourceserviceapi.PaymentRequest.prototype.getIsbusiness = function() {
6668
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.getIsbusiness = function() {
3656
6669
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 17, false));
3657
6670
  };
3658
6671
 
3659
6672
 
3660
6673
  /**
3661
6674
  * @param {boolean} value
3662
- * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
6675
+ * @return {!proto.cybersourceserviceapi.GooglePayDetailsRequest} returns this
3663
6676
  */
3664
- proto.cybersourceserviceapi.PaymentRequest.prototype.setIsbusiness = function(value) {
6677
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.setIsbusiness = function(value) {
3665
6678
  return jspb.Message.setProto3BooleanField(this, 17, value);
3666
6679
  };
3667
6680
 
3668
6681
 
3669
- /**
3670
- * optional string anzicCode = 18;
3671
- * @return {string}
3672
- */
3673
- proto.cybersourceserviceapi.PaymentRequest.prototype.getAnziccode = function() {
3674
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
3675
- };
3676
-
3677
-
3678
- /**
3679
- * @param {string} value
3680
- * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
3681
- */
3682
- proto.cybersourceserviceapi.PaymentRequest.prototype.setAnziccode = function(value) {
3683
- return jspb.Message.setProto3StringField(this, 18, value);
3684
- };
3685
-
3686
-
3687
6682
  /**
3688
6683
  * optional PaymentProcessor.PaymentProcessorMidType midType = 19;
3689
6684
  * @return {!proto.cybersourceserviceapi.PaymentProcessor.PaymentProcessorMidType}
3690
6685
  */
3691
- proto.cybersourceserviceapi.PaymentRequest.prototype.getMidtype = function() {
6686
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.getMidtype = function() {
3692
6687
  return /** @type {!proto.cybersourceserviceapi.PaymentProcessor.PaymentProcessorMidType} */ (jspb.Message.getFieldWithDefault(this, 19, 0));
3693
6688
  };
3694
6689
 
3695
6690
 
3696
6691
  /**
3697
6692
  * @param {!proto.cybersourceserviceapi.PaymentProcessor.PaymentProcessorMidType} value
3698
- * @return {!proto.cybersourceserviceapi.PaymentRequest} returns this
6693
+ * @return {!proto.cybersourceserviceapi.GooglePayDetailsRequest} returns this
3699
6694
  */
3700
- proto.cybersourceserviceapi.PaymentRequest.prototype.setMidtype = function(value) {
6695
+ proto.cybersourceserviceapi.GooglePayDetailsRequest.prototype.setMidtype = function(value) {
3701
6696
  return jspb.Message.setProto3EnumField(this, 19, value);
3702
6697
  };
3703
6698