@sniipwebmaster/transaction-service-client-grpcweb 26.8.15607 → 26.9.15637

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.
@@ -83,6 +83,7 @@ goog.exportSymbol('proto.sniiptransactionapi.GetPaymentDetailsBulkRequest', null
83
83
  goog.exportSymbol('proto.sniiptransactionapi.GetPaymentDetailsInternalRequest', null, global);
84
84
  goog.exportSymbol('proto.sniiptransactionapi.GetPaymentDetailsRequest', null, global);
85
85
  goog.exportSymbol('proto.sniiptransactionapi.GetPaymentHistoryForBillReceiptRequest', null, global);
86
+ goog.exportSymbol('proto.sniiptransactionapi.GetPaymentMethodAvailabilityRequest', null, global);
86
87
  goog.exportSymbol('proto.sniiptransactionapi.GetPaymentMethodCategoryAvailabilityRequest', null, global);
87
88
  goog.exportSymbol('proto.sniiptransactionapi.GetPaymentReceiptRequest', null, global);
88
89
  goog.exportSymbol('proto.sniiptransactionapi.GetPaymentsSummaryForUserDashboardInternalRequest', null, global);
@@ -133,8 +134,12 @@ goog.exportSymbol('proto.sniiptransactionapi.PaymentDetailsRequest', null, globa
133
134
  goog.exportSymbol('proto.sniiptransactionapi.PaymentDetailsRequest.PaymentDetailsRequestPaymentMethod', null, global);
134
135
  goog.exportSymbol('proto.sniiptransactionapi.PaymentDetailsResponse', null, global);
135
136
  goog.exportSymbol('proto.sniiptransactionapi.PaymentErrorDetail', null, global);
137
+ goog.exportSymbol('proto.sniiptransactionapi.PaymentErrorReason', null, global);
136
138
  goog.exportSymbol('proto.sniiptransactionapi.PaymentHistory', null, global);
137
139
  goog.exportSymbol('proto.sniiptransactionapi.PaymentHistoryTitle', null, global);
140
+ goog.exportSymbol('proto.sniiptransactionapi.PaymentMethodAvailability', null, global);
141
+ goog.exportSymbol('proto.sniiptransactionapi.PaymentMethodAvailabilityRequest', null, global);
142
+ goog.exportSymbol('proto.sniiptransactionapi.PaymentMethodAvailabilityResponse', null, global);
138
143
  goog.exportSymbol('proto.sniiptransactionapi.PaymentMethodCategory', null, global);
139
144
  goog.exportSymbol('proto.sniiptransactionapi.PaymentMethodCategoryAvailability', null, global);
140
145
  goog.exportSymbol('proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityRequest', null, global);
@@ -184,6 +189,7 @@ goog.exportSymbol('proto.sniiptransactionapi.UserTransactionsGetRequest', null,
184
189
  goog.exportSymbol('proto.sniiptransactionapi.VerificationCodeSource', null, global);
185
190
  goog.exportSymbol('proto.sniiptransactionapi.VirtualBill', null, global);
186
191
  goog.exportSymbol('proto.sniiptransactionapi.VoidRewardForTransactionRequest', null, global);
192
+ goog.exportSymbol('proto.sniiptransactionapi.WalletPaymentMethodDetail', null, global);
187
193
  /**
188
194
  * Generated by JsPbCodeGenerator.
189
195
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -3019,6 +3025,111 @@ if (goog.DEBUG && !COMPILED) {
3019
3025
  */
3020
3026
  proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse.displayName = 'proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse';
3021
3027
  }
3028
+ /**
3029
+ * Generated by JsPbCodeGenerator.
3030
+ * @param {Array=} opt_data Optional initial data array, typically from a
3031
+ * server response, or constructed directly in Javascript. The array is used
3032
+ * in place and becomes part of the constructed object. It is not cloned.
3033
+ * If no data is provided, the constructed object will be empty, but still
3034
+ * valid.
3035
+ * @extends {jspb.Message}
3036
+ * @constructor
3037
+ */
3038
+ proto.sniiptransactionapi.WalletPaymentMethodDetail = function(opt_data) {
3039
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3040
+ };
3041
+ goog.inherits(proto.sniiptransactionapi.WalletPaymentMethodDetail, jspb.Message);
3042
+ if (goog.DEBUG && !COMPILED) {
3043
+ /**
3044
+ * @public
3045
+ * @override
3046
+ */
3047
+ proto.sniiptransactionapi.WalletPaymentMethodDetail.displayName = 'proto.sniiptransactionapi.WalletPaymentMethodDetail';
3048
+ }
3049
+ /**
3050
+ * Generated by JsPbCodeGenerator.
3051
+ * @param {Array=} opt_data Optional initial data array, typically from a
3052
+ * server response, or constructed directly in Javascript. The array is used
3053
+ * in place and becomes part of the constructed object. It is not cloned.
3054
+ * If no data is provided, the constructed object will be empty, but still
3055
+ * valid.
3056
+ * @extends {jspb.Message}
3057
+ * @constructor
3058
+ */
3059
+ proto.sniiptransactionapi.PaymentMethodAvailabilityRequest = function(opt_data) {
3060
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.sniiptransactionapi.PaymentMethodAvailabilityRequest.repeatedFields_, null);
3061
+ };
3062
+ goog.inherits(proto.sniiptransactionapi.PaymentMethodAvailabilityRequest, jspb.Message);
3063
+ if (goog.DEBUG && !COMPILED) {
3064
+ /**
3065
+ * @public
3066
+ * @override
3067
+ */
3068
+ proto.sniiptransactionapi.PaymentMethodAvailabilityRequest.displayName = 'proto.sniiptransactionapi.PaymentMethodAvailabilityRequest';
3069
+ }
3070
+ /**
3071
+ * Generated by JsPbCodeGenerator.
3072
+ * @param {Array=} opt_data Optional initial data array, typically from a
3073
+ * server response, or constructed directly in Javascript. The array is used
3074
+ * in place and becomes part of the constructed object. It is not cloned.
3075
+ * If no data is provided, the constructed object will be empty, but still
3076
+ * valid.
3077
+ * @extends {jspb.Message}
3078
+ * @constructor
3079
+ */
3080
+ proto.sniiptransactionapi.GetPaymentMethodAvailabilityRequest = function(opt_data) {
3081
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3082
+ };
3083
+ goog.inherits(proto.sniiptransactionapi.GetPaymentMethodAvailabilityRequest, jspb.Message);
3084
+ if (goog.DEBUG && !COMPILED) {
3085
+ /**
3086
+ * @public
3087
+ * @override
3088
+ */
3089
+ proto.sniiptransactionapi.GetPaymentMethodAvailabilityRequest.displayName = 'proto.sniiptransactionapi.GetPaymentMethodAvailabilityRequest';
3090
+ }
3091
+ /**
3092
+ * Generated by JsPbCodeGenerator.
3093
+ * @param {Array=} opt_data Optional initial data array, typically from a
3094
+ * server response, or constructed directly in Javascript. The array is used
3095
+ * in place and becomes part of the constructed object. It is not cloned.
3096
+ * If no data is provided, the constructed object will be empty, but still
3097
+ * valid.
3098
+ * @extends {jspb.Message}
3099
+ * @constructor
3100
+ */
3101
+ proto.sniiptransactionapi.PaymentMethodAvailability = function(opt_data) {
3102
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3103
+ };
3104
+ goog.inherits(proto.sniiptransactionapi.PaymentMethodAvailability, jspb.Message);
3105
+ if (goog.DEBUG && !COMPILED) {
3106
+ /**
3107
+ * @public
3108
+ * @override
3109
+ */
3110
+ proto.sniiptransactionapi.PaymentMethodAvailability.displayName = 'proto.sniiptransactionapi.PaymentMethodAvailability';
3111
+ }
3112
+ /**
3113
+ * Generated by JsPbCodeGenerator.
3114
+ * @param {Array=} opt_data Optional initial data array, typically from a
3115
+ * server response, or constructed directly in Javascript. The array is used
3116
+ * in place and becomes part of the constructed object. It is not cloned.
3117
+ * If no data is provided, the constructed object will be empty, but still
3118
+ * valid.
3119
+ * @extends {jspb.Message}
3120
+ * @constructor
3121
+ */
3122
+ proto.sniiptransactionapi.PaymentMethodAvailabilityResponse = function(opt_data) {
3123
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.sniiptransactionapi.PaymentMethodAvailabilityResponse.repeatedFields_, null);
3124
+ };
3125
+ goog.inherits(proto.sniiptransactionapi.PaymentMethodAvailabilityResponse, jspb.Message);
3126
+ if (goog.DEBUG && !COMPILED) {
3127
+ /**
3128
+ * @public
3129
+ * @override
3130
+ */
3131
+ proto.sniiptransactionapi.PaymentMethodAvailabilityResponse.displayName = 'proto.sniiptransactionapi.PaymentMethodAvailabilityResponse';
3132
+ }
3022
3133
  /**
3023
3134
  * Generated by JsPbCodeGenerator.
3024
3135
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -39073,7 +39184,8 @@ proto.sniiptransactionapi.PaymentMethodCategoryAvailability.toObject = function(
39073
39184
  var f, obj = {
39074
39185
  category: jspb.Message.getFieldWithDefault(msg, 1, 0),
39075
39186
  selectable: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
39076
- paymenterrordetail: (f = msg.getPaymenterrordetail()) && proto.sniiptransactionapi.PaymentErrorDetail.toObject(includeInstance, f)
39187
+ paymenterrordetail: (f = msg.getPaymenterrordetail()) && proto.sniiptransactionapi.PaymentErrorDetail.toObject(includeInstance, f),
39188
+ reason: jspb.Message.getFieldWithDefault(msg, 4, 0)
39077
39189
  };
39078
39190
 
39079
39191
  if (includeInstance) {
@@ -39123,6 +39235,10 @@ proto.sniiptransactionapi.PaymentMethodCategoryAvailability.deserializeBinaryFro
39123
39235
  reader.readMessage(value,proto.sniiptransactionapi.PaymentErrorDetail.deserializeBinaryFromReader);
39124
39236
  msg.setPaymenterrordetail(value);
39125
39237
  break;
39238
+ case 4:
39239
+ var value = /** @type {!proto.sniiptransactionapi.PaymentErrorReason} */ (reader.readEnum());
39240
+ msg.setReason(value);
39241
+ break;
39126
39242
  default:
39127
39243
  reader.skipField();
39128
39244
  break;
@@ -39174,6 +39290,13 @@ proto.sniiptransactionapi.PaymentMethodCategoryAvailability.serializeBinaryToWri
39174
39290
  proto.sniiptransactionapi.PaymentErrorDetail.serializeBinaryToWriter
39175
39291
  );
39176
39292
  }
39293
+ f = message.getReason();
39294
+ if (f !== 0.0) {
39295
+ writer.writeEnum(
39296
+ 4,
39297
+ f
39298
+ );
39299
+ }
39177
39300
  };
39178
39301
 
39179
39302
 
@@ -39250,6 +39373,24 @@ proto.sniiptransactionapi.PaymentMethodCategoryAvailability.prototype.hasPayment
39250
39373
  };
39251
39374
 
39252
39375
 
39376
+ /**
39377
+ * optional PaymentErrorReason reason = 4;
39378
+ * @return {!proto.sniiptransactionapi.PaymentErrorReason}
39379
+ */
39380
+ proto.sniiptransactionapi.PaymentMethodCategoryAvailability.prototype.getReason = function() {
39381
+ return /** @type {!proto.sniiptransactionapi.PaymentErrorReason} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
39382
+ };
39383
+
39384
+
39385
+ /**
39386
+ * @param {!proto.sniiptransactionapi.PaymentErrorReason} value
39387
+ * @return {!proto.sniiptransactionapi.PaymentMethodCategoryAvailability} returns this
39388
+ */
39389
+ proto.sniiptransactionapi.PaymentMethodCategoryAvailability.prototype.setReason = function(value) {
39390
+ return jspb.Message.setProto3EnumField(this, 4, value);
39391
+ };
39392
+
39393
+
39253
39394
 
39254
39395
  /**
39255
39396
  * List of repeated fields within this message type.
@@ -39477,8 +39618,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
39477
39618
  * http://goto/soy-param-migration
39478
39619
  * @return {!Object}
39479
39620
  */
39480
- proto.sniiptransactionapi.ShareBillReceiptEmailRequest.prototype.toObject = function(opt_includeInstance) {
39481
- return proto.sniiptransactionapi.ShareBillReceiptEmailRequest.toObject(opt_includeInstance, this);
39621
+ proto.sniiptransactionapi.WalletPaymentMethodDetail.prototype.toObject = function(opt_includeInstance) {
39622
+ return proto.sniiptransactionapi.WalletPaymentMethodDetail.toObject(opt_includeInstance, this);
39482
39623
  };
39483
39624
 
39484
39625
 
@@ -39487,13 +39628,14 @@ proto.sniiptransactionapi.ShareBillReceiptEmailRequest.prototype.toObject = func
39487
39628
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
39488
39629
  * the JSPB instance for transitional soy proto support:
39489
39630
  * http://goto/soy-param-migration
39490
- * @param {!proto.sniiptransactionapi.ShareBillReceiptEmailRequest} msg The msg instance to transform.
39631
+ * @param {!proto.sniiptransactionapi.WalletPaymentMethodDetail} msg The msg instance to transform.
39491
39632
  * @return {!Object}
39492
39633
  * @suppress {unusedLocalVariables} f is only used for nested messages
39493
39634
  */
39494
- proto.sniiptransactionapi.ShareBillReceiptEmailRequest.toObject = function(includeInstance, msg) {
39635
+ proto.sniiptransactionapi.WalletPaymentMethodDetail.toObject = function(includeInstance, msg) {
39495
39636
  var f, obj = {
39496
- data: (f = msg.getData()) && proto.sniiptransactionapi.PostShareBillReceiptEmailRequest.toObject(includeInstance, f)
39637
+ paymenttype: jspb.Message.getFieldWithDefault(msg, 1, ""),
39638
+ cardvariant: jspb.Message.getFieldWithDefault(msg, 2, "")
39497
39639
  };
39498
39640
 
39499
39641
  if (includeInstance) {
@@ -39507,23 +39649,23 @@ proto.sniiptransactionapi.ShareBillReceiptEmailRequest.toObject = function(inclu
39507
39649
  /**
39508
39650
  * Deserializes binary data (in protobuf wire format).
39509
39651
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
39510
- * @return {!proto.sniiptransactionapi.ShareBillReceiptEmailRequest}
39652
+ * @return {!proto.sniiptransactionapi.WalletPaymentMethodDetail}
39511
39653
  */
39512
- proto.sniiptransactionapi.ShareBillReceiptEmailRequest.deserializeBinary = function(bytes) {
39654
+ proto.sniiptransactionapi.WalletPaymentMethodDetail.deserializeBinary = function(bytes) {
39513
39655
  var reader = new jspb.BinaryReader(bytes);
39514
- var msg = new proto.sniiptransactionapi.ShareBillReceiptEmailRequest;
39515
- return proto.sniiptransactionapi.ShareBillReceiptEmailRequest.deserializeBinaryFromReader(msg, reader);
39656
+ var msg = new proto.sniiptransactionapi.WalletPaymentMethodDetail;
39657
+ return proto.sniiptransactionapi.WalletPaymentMethodDetail.deserializeBinaryFromReader(msg, reader);
39516
39658
  };
39517
39659
 
39518
39660
 
39519
39661
  /**
39520
39662
  * Deserializes binary data (in protobuf wire format) from the
39521
39663
  * given reader into the given message object.
39522
- * @param {!proto.sniiptransactionapi.ShareBillReceiptEmailRequest} msg The message object to deserialize into.
39664
+ * @param {!proto.sniiptransactionapi.WalletPaymentMethodDetail} msg The message object to deserialize into.
39523
39665
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
39524
- * @return {!proto.sniiptransactionapi.ShareBillReceiptEmailRequest}
39666
+ * @return {!proto.sniiptransactionapi.WalletPaymentMethodDetail}
39525
39667
  */
39526
- proto.sniiptransactionapi.ShareBillReceiptEmailRequest.deserializeBinaryFromReader = function(msg, reader) {
39668
+ proto.sniiptransactionapi.WalletPaymentMethodDetail.deserializeBinaryFromReader = function(msg, reader) {
39527
39669
  while (reader.nextField()) {
39528
39670
  if (reader.isEndGroup()) {
39529
39671
  break;
@@ -39531,9 +39673,12 @@ proto.sniiptransactionapi.ShareBillReceiptEmailRequest.deserializeBinaryFromRead
39531
39673
  var field = reader.getFieldNumber();
39532
39674
  switch (field) {
39533
39675
  case 1:
39534
- var value = new proto.sniiptransactionapi.PostShareBillReceiptEmailRequest;
39535
- reader.readMessage(value,proto.sniiptransactionapi.PostShareBillReceiptEmailRequest.deserializeBinaryFromReader);
39536
- msg.setData(value);
39676
+ var value = /** @type {string} */ (reader.readString());
39677
+ msg.setPaymenttype(value);
39678
+ break;
39679
+ case 2:
39680
+ var value = /** @type {string} */ (reader.readString());
39681
+ msg.setCardvariant(value);
39537
39682
  break;
39538
39683
  default:
39539
39684
  reader.skipField();
@@ -39548,9 +39693,9 @@ proto.sniiptransactionapi.ShareBillReceiptEmailRequest.deserializeBinaryFromRead
39548
39693
  * Serializes the message to binary data (in protobuf wire format).
39549
39694
  * @return {!Uint8Array}
39550
39695
  */
39551
- proto.sniiptransactionapi.ShareBillReceiptEmailRequest.prototype.serializeBinary = function() {
39696
+ proto.sniiptransactionapi.WalletPaymentMethodDetail.prototype.serializeBinary = function() {
39552
39697
  var writer = new jspb.BinaryWriter();
39553
- proto.sniiptransactionapi.ShareBillReceiptEmailRequest.serializeBinaryToWriter(this, writer);
39698
+ proto.sniiptransactionapi.WalletPaymentMethodDetail.serializeBinaryToWriter(this, writer);
39554
39699
  return writer.getResultBuffer();
39555
39700
  };
39556
39701
 
@@ -39558,61 +39703,73 @@ proto.sniiptransactionapi.ShareBillReceiptEmailRequest.prototype.serializeBinary
39558
39703
  /**
39559
39704
  * Serializes the given message to binary data (in protobuf wire
39560
39705
  * format), writing to the given BinaryWriter.
39561
- * @param {!proto.sniiptransactionapi.ShareBillReceiptEmailRequest} message
39706
+ * @param {!proto.sniiptransactionapi.WalletPaymentMethodDetail} message
39562
39707
  * @param {!jspb.BinaryWriter} writer
39563
39708
  * @suppress {unusedLocalVariables} f is only used for nested messages
39564
39709
  */
39565
- proto.sniiptransactionapi.ShareBillReceiptEmailRequest.serializeBinaryToWriter = function(message, writer) {
39710
+ proto.sniiptransactionapi.WalletPaymentMethodDetail.serializeBinaryToWriter = function(message, writer) {
39566
39711
  var f = undefined;
39567
- f = message.getData();
39568
- if (f != null) {
39569
- writer.writeMessage(
39712
+ f = message.getPaymenttype();
39713
+ if (f.length > 0) {
39714
+ writer.writeString(
39570
39715
  1,
39571
- f,
39572
- proto.sniiptransactionapi.PostShareBillReceiptEmailRequest.serializeBinaryToWriter
39716
+ f
39717
+ );
39718
+ }
39719
+ f = message.getCardvariant();
39720
+ if (f.length > 0) {
39721
+ writer.writeString(
39722
+ 2,
39723
+ f
39573
39724
  );
39574
39725
  }
39575
39726
  };
39576
39727
 
39577
39728
 
39578
39729
  /**
39579
- * optional PostShareBillReceiptEmailRequest data = 1;
39580
- * @return {?proto.sniiptransactionapi.PostShareBillReceiptEmailRequest}
39730
+ * optional string paymentType = 1;
39731
+ * @return {string}
39581
39732
  */
39582
- proto.sniiptransactionapi.ShareBillReceiptEmailRequest.prototype.getData = function() {
39583
- return /** @type{?proto.sniiptransactionapi.PostShareBillReceiptEmailRequest} */ (
39584
- jspb.Message.getWrapperField(this, proto.sniiptransactionapi.PostShareBillReceiptEmailRequest, 1));
39733
+ proto.sniiptransactionapi.WalletPaymentMethodDetail.prototype.getPaymenttype = function() {
39734
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
39585
39735
  };
39586
39736
 
39587
39737
 
39588
39738
  /**
39589
- * @param {?proto.sniiptransactionapi.PostShareBillReceiptEmailRequest|undefined} value
39590
- * @return {!proto.sniiptransactionapi.ShareBillReceiptEmailRequest} returns this
39591
- */
39592
- proto.sniiptransactionapi.ShareBillReceiptEmailRequest.prototype.setData = function(value) {
39593
- return jspb.Message.setWrapperField(this, 1, value);
39739
+ * @param {string} value
39740
+ * @return {!proto.sniiptransactionapi.WalletPaymentMethodDetail} returns this
39741
+ */
39742
+ proto.sniiptransactionapi.WalletPaymentMethodDetail.prototype.setPaymenttype = function(value) {
39743
+ return jspb.Message.setProto3StringField(this, 1, value);
39594
39744
  };
39595
39745
 
39596
39746
 
39597
39747
  /**
39598
- * Clears the message field making it undefined.
39599
- * @return {!proto.sniiptransactionapi.ShareBillReceiptEmailRequest} returns this
39748
+ * optional string cardVariant = 2;
39749
+ * @return {string}
39600
39750
  */
39601
- proto.sniiptransactionapi.ShareBillReceiptEmailRequest.prototype.clearData = function() {
39602
- return this.setData(undefined);
39751
+ proto.sniiptransactionapi.WalletPaymentMethodDetail.prototype.getCardvariant = function() {
39752
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
39603
39753
  };
39604
39754
 
39605
39755
 
39606
39756
  /**
39607
- * Returns whether this field is set.
39608
- * @return {boolean}
39757
+ * @param {string} value
39758
+ * @return {!proto.sniiptransactionapi.WalletPaymentMethodDetail} returns this
39609
39759
  */
39610
- proto.sniiptransactionapi.ShareBillReceiptEmailRequest.prototype.hasData = function() {
39611
- return jspb.Message.getField(this, 1) != null;
39760
+ proto.sniiptransactionapi.WalletPaymentMethodDetail.prototype.setCardvariant = function(value) {
39761
+ return jspb.Message.setProto3StringField(this, 2, value);
39612
39762
  };
39613
39763
 
39614
39764
 
39615
39765
 
39766
+ /**
39767
+ * List of repeated fields within this message type.
39768
+ * @private {!Array<number>}
39769
+ * @const
39770
+ */
39771
+ proto.sniiptransactionapi.PaymentMethodAvailabilityRequest.repeatedFields_ = [1,2];
39772
+
39616
39773
 
39617
39774
 
39618
39775
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -39628,8 +39785,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
39628
39785
  * http://goto/soy-param-migration
39629
39786
  * @return {!Object}
39630
39787
  */
39631
- proto.sniiptransactionapi.SwitchAndSaveDetail.prototype.toObject = function(opt_includeInstance) {
39632
- return proto.sniiptransactionapi.SwitchAndSaveDetail.toObject(opt_includeInstance, this);
39788
+ proto.sniiptransactionapi.PaymentMethodAvailabilityRequest.prototype.toObject = function(opt_includeInstance) {
39789
+ return proto.sniiptransactionapi.PaymentMethodAvailabilityRequest.toObject(opt_includeInstance, this);
39633
39790
  };
39634
39791
 
39635
39792
 
@@ -39638,14 +39795,18 @@ proto.sniiptransactionapi.SwitchAndSaveDetail.prototype.toObject = function(opt_
39638
39795
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
39639
39796
  * the JSPB instance for transitional soy proto support:
39640
39797
  * http://goto/soy-param-migration
39641
- * @param {!proto.sniiptransactionapi.SwitchAndSaveDetail} msg The msg instance to transform.
39798
+ * @param {!proto.sniiptransactionapi.PaymentMethodAvailabilityRequest} msg The msg instance to transform.
39642
39799
  * @return {!Object}
39643
39800
  * @suppress {unusedLocalVariables} f is only used for nested messages
39644
39801
  */
39645
- proto.sniiptransactionapi.SwitchAndSaveDetail.toObject = function(includeInstance, msg) {
39802
+ proto.sniiptransactionapi.PaymentMethodAvailabilityRequest.toObject = function(includeInstance, msg) {
39646
39803
  var f, obj = {
39647
- categorytype: jspb.Message.getFieldWithDefault(msg, 1, ""),
39648
- industrycode: jspb.Message.getFieldWithDefault(msg, 2, 0)
39804
+ billidsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
39805
+ paymentmethodidsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
39806
+ isscheduled: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
39807
+ isbulk: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
39808
+ applepaydetail: (f = msg.getApplepaydetail()) && proto.sniiptransactionapi.WalletPaymentMethodDetail.toObject(includeInstance, f),
39809
+ googlepaydetail: (f = msg.getGooglepaydetail()) && proto.sniiptransactionapi.WalletPaymentMethodDetail.toObject(includeInstance, f)
39649
39810
  };
39650
39811
 
39651
39812
  if (includeInstance) {
@@ -39659,23 +39820,23 @@ proto.sniiptransactionapi.SwitchAndSaveDetail.toObject = function(includeInstanc
39659
39820
  /**
39660
39821
  * Deserializes binary data (in protobuf wire format).
39661
39822
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
39662
- * @return {!proto.sniiptransactionapi.SwitchAndSaveDetail}
39823
+ * @return {!proto.sniiptransactionapi.PaymentMethodAvailabilityRequest}
39663
39824
  */
39664
- proto.sniiptransactionapi.SwitchAndSaveDetail.deserializeBinary = function(bytes) {
39825
+ proto.sniiptransactionapi.PaymentMethodAvailabilityRequest.deserializeBinary = function(bytes) {
39665
39826
  var reader = new jspb.BinaryReader(bytes);
39666
- var msg = new proto.sniiptransactionapi.SwitchAndSaveDetail;
39667
- return proto.sniiptransactionapi.SwitchAndSaveDetail.deserializeBinaryFromReader(msg, reader);
39827
+ var msg = new proto.sniiptransactionapi.PaymentMethodAvailabilityRequest;
39828
+ return proto.sniiptransactionapi.PaymentMethodAvailabilityRequest.deserializeBinaryFromReader(msg, reader);
39668
39829
  };
39669
39830
 
39670
39831
 
39671
39832
  /**
39672
39833
  * Deserializes binary data (in protobuf wire format) from the
39673
39834
  * given reader into the given message object.
39674
- * @param {!proto.sniiptransactionapi.SwitchAndSaveDetail} msg The message object to deserialize into.
39835
+ * @param {!proto.sniiptransactionapi.PaymentMethodAvailabilityRequest} msg The message object to deserialize into.
39675
39836
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
39676
- * @return {!proto.sniiptransactionapi.SwitchAndSaveDetail}
39837
+ * @return {!proto.sniiptransactionapi.PaymentMethodAvailabilityRequest}
39677
39838
  */
39678
- proto.sniiptransactionapi.SwitchAndSaveDetail.deserializeBinaryFromReader = function(msg, reader) {
39839
+ proto.sniiptransactionapi.PaymentMethodAvailabilityRequest.deserializeBinaryFromReader = function(msg, reader) {
39679
39840
  while (reader.nextField()) {
39680
39841
  if (reader.isEndGroup()) {
39681
39842
  break;
@@ -39683,12 +39844,34 @@ proto.sniiptransactionapi.SwitchAndSaveDetail.deserializeBinaryFromReader = func
39683
39844
  var field = reader.getFieldNumber();
39684
39845
  switch (field) {
39685
39846
  case 1:
39686
- var value = /** @type {string} */ (reader.readString());
39687
- msg.setCategorytype(value);
39847
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
39848
+ for (var i = 0; i < values.length; i++) {
39849
+ msg.addBillids(values[i]);
39850
+ }
39688
39851
  break;
39689
39852
  case 2:
39690
- var value = /** @type {number} */ (reader.readInt32());
39691
- msg.setIndustrycode(value);
39853
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
39854
+ for (var i = 0; i < values.length; i++) {
39855
+ msg.addPaymentmethodids(values[i]);
39856
+ }
39857
+ break;
39858
+ case 3:
39859
+ var value = /** @type {boolean} */ (reader.readBool());
39860
+ msg.setIsscheduled(value);
39861
+ break;
39862
+ case 4:
39863
+ var value = /** @type {boolean} */ (reader.readBool());
39864
+ msg.setIsbulk(value);
39865
+ break;
39866
+ case 5:
39867
+ var value = new proto.sniiptransactionapi.WalletPaymentMethodDetail;
39868
+ reader.readMessage(value,proto.sniiptransactionapi.WalletPaymentMethodDetail.deserializeBinaryFromReader);
39869
+ msg.setApplepaydetail(value);
39870
+ break;
39871
+ case 6:
39872
+ var value = new proto.sniiptransactionapi.WalletPaymentMethodDetail;
39873
+ reader.readMessage(value,proto.sniiptransactionapi.WalletPaymentMethodDetail.deserializeBinaryFromReader);
39874
+ msg.setGooglepaydetail(value);
39692
39875
  break;
39693
39876
  default:
39694
39877
  reader.skipField();
@@ -39703,9 +39886,9 @@ proto.sniiptransactionapi.SwitchAndSaveDetail.deserializeBinaryFromReader = func
39703
39886
  * Serializes the message to binary data (in protobuf wire format).
39704
39887
  * @return {!Uint8Array}
39705
39888
  */
39706
- proto.sniiptransactionapi.SwitchAndSaveDetail.prototype.serializeBinary = function() {
39889
+ proto.sniiptransactionapi.PaymentMethodAvailabilityRequest.prototype.serializeBinary = function() {
39707
39890
  var writer = new jspb.BinaryWriter();
39708
- proto.sniiptransactionapi.SwitchAndSaveDetail.serializeBinaryToWriter(this, writer);
39891
+ proto.sniiptransactionapi.PaymentMethodAvailabilityRequest.serializeBinaryToWriter(this, writer);
39709
39892
  return writer.getResultBuffer();
39710
39893
  };
39711
39894
 
@@ -39713,72 +39896,243 @@ proto.sniiptransactionapi.SwitchAndSaveDetail.prototype.serializeBinary = functi
39713
39896
  /**
39714
39897
  * Serializes the given message to binary data (in protobuf wire
39715
39898
  * format), writing to the given BinaryWriter.
39716
- * @param {!proto.sniiptransactionapi.SwitchAndSaveDetail} message
39899
+ * @param {!proto.sniiptransactionapi.PaymentMethodAvailabilityRequest} message
39717
39900
  * @param {!jspb.BinaryWriter} writer
39718
39901
  * @suppress {unusedLocalVariables} f is only used for nested messages
39719
39902
  */
39720
- proto.sniiptransactionapi.SwitchAndSaveDetail.serializeBinaryToWriter = function(message, writer) {
39903
+ proto.sniiptransactionapi.PaymentMethodAvailabilityRequest.serializeBinaryToWriter = function(message, writer) {
39721
39904
  var f = undefined;
39722
- f = message.getCategorytype();
39905
+ f = message.getBillidsList();
39723
39906
  if (f.length > 0) {
39724
- writer.writeString(
39907
+ writer.writePackedInt64(
39725
39908
  1,
39726
39909
  f
39727
39910
  );
39728
39911
  }
39729
- f = message.getIndustrycode();
39730
- if (f !== 0) {
39731
- writer.writeInt32(
39912
+ f = message.getPaymentmethodidsList();
39913
+ if (f.length > 0) {
39914
+ writer.writePackedInt64(
39732
39915
  2,
39733
39916
  f
39734
39917
  );
39735
39918
  }
39919
+ f = message.getIsscheduled();
39920
+ if (f) {
39921
+ writer.writeBool(
39922
+ 3,
39923
+ f
39924
+ );
39925
+ }
39926
+ f = message.getIsbulk();
39927
+ if (f) {
39928
+ writer.writeBool(
39929
+ 4,
39930
+ f
39931
+ );
39932
+ }
39933
+ f = message.getApplepaydetail();
39934
+ if (f != null) {
39935
+ writer.writeMessage(
39936
+ 5,
39937
+ f,
39938
+ proto.sniiptransactionapi.WalletPaymentMethodDetail.serializeBinaryToWriter
39939
+ );
39940
+ }
39941
+ f = message.getGooglepaydetail();
39942
+ if (f != null) {
39943
+ writer.writeMessage(
39944
+ 6,
39945
+ f,
39946
+ proto.sniiptransactionapi.WalletPaymentMethodDetail.serializeBinaryToWriter
39947
+ );
39948
+ }
39736
39949
  };
39737
39950
 
39738
39951
 
39739
39952
  /**
39740
- * optional string categoryType = 1;
39741
- * @return {string}
39953
+ * repeated int64 billIds = 1;
39954
+ * @return {!Array<number>}
39742
39955
  */
39743
- proto.sniiptransactionapi.SwitchAndSaveDetail.prototype.getCategorytype = function() {
39744
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
39956
+ proto.sniiptransactionapi.PaymentMethodAvailabilityRequest.prototype.getBillidsList = function() {
39957
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
39745
39958
  };
39746
39959
 
39747
39960
 
39748
39961
  /**
39749
- * @param {string} value
39750
- * @return {!proto.sniiptransactionapi.SwitchAndSaveDetail} returns this
39962
+ * @param {!Array<number>} value
39963
+ * @return {!proto.sniiptransactionapi.PaymentMethodAvailabilityRequest} returns this
39751
39964
  */
39752
- proto.sniiptransactionapi.SwitchAndSaveDetail.prototype.setCategorytype = function(value) {
39753
- return jspb.Message.setProto3StringField(this, 1, value);
39965
+ proto.sniiptransactionapi.PaymentMethodAvailabilityRequest.prototype.setBillidsList = function(value) {
39966
+ return jspb.Message.setField(this, 1, value || []);
39754
39967
  };
39755
39968
 
39756
39969
 
39757
39970
  /**
39758
- * optional int32 industryCode = 2;
39759
- * @return {number}
39971
+ * @param {number} value
39972
+ * @param {number=} opt_index
39973
+ * @return {!proto.sniiptransactionapi.PaymentMethodAvailabilityRequest} returns this
39760
39974
  */
39761
- proto.sniiptransactionapi.SwitchAndSaveDetail.prototype.getIndustrycode = function() {
39762
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
39975
+ proto.sniiptransactionapi.PaymentMethodAvailabilityRequest.prototype.addBillids = function(value, opt_index) {
39976
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
39977
+ };
39978
+
39979
+
39980
+ /**
39981
+ * Clears the list making it empty but non-null.
39982
+ * @return {!proto.sniiptransactionapi.PaymentMethodAvailabilityRequest} returns this
39983
+ */
39984
+ proto.sniiptransactionapi.PaymentMethodAvailabilityRequest.prototype.clearBillidsList = function() {
39985
+ return this.setBillidsList([]);
39986
+ };
39987
+
39988
+
39989
+ /**
39990
+ * repeated int64 paymentMethodIds = 2;
39991
+ * @return {!Array<number>}
39992
+ */
39993
+ proto.sniiptransactionapi.PaymentMethodAvailabilityRequest.prototype.getPaymentmethodidsList = function() {
39994
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 2));
39995
+ };
39996
+
39997
+
39998
+ /**
39999
+ * @param {!Array<number>} value
40000
+ * @return {!proto.sniiptransactionapi.PaymentMethodAvailabilityRequest} returns this
40001
+ */
40002
+ proto.sniiptransactionapi.PaymentMethodAvailabilityRequest.prototype.setPaymentmethodidsList = function(value) {
40003
+ return jspb.Message.setField(this, 2, value || []);
39763
40004
  };
39764
40005
 
39765
40006
 
39766
40007
  /**
39767
40008
  * @param {number} value
39768
- * @return {!proto.sniiptransactionapi.SwitchAndSaveDetail} returns this
40009
+ * @param {number=} opt_index
40010
+ * @return {!proto.sniiptransactionapi.PaymentMethodAvailabilityRequest} returns this
39769
40011
  */
39770
- proto.sniiptransactionapi.SwitchAndSaveDetail.prototype.setIndustrycode = function(value) {
39771
- return jspb.Message.setProto3IntField(this, 2, value);
40012
+ proto.sniiptransactionapi.PaymentMethodAvailabilityRequest.prototype.addPaymentmethodids = function(value, opt_index) {
40013
+ return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
39772
40014
  };
39773
40015
 
39774
40016
 
40017
+ /**
40018
+ * Clears the list making it empty but non-null.
40019
+ * @return {!proto.sniiptransactionapi.PaymentMethodAvailabilityRequest} returns this
40020
+ */
40021
+ proto.sniiptransactionapi.PaymentMethodAvailabilityRequest.prototype.clearPaymentmethodidsList = function() {
40022
+ return this.setPaymentmethodidsList([]);
40023
+ };
40024
+
39775
40025
 
39776
40026
  /**
39777
- * List of repeated fields within this message type.
39778
- * @private {!Array<number>}
39779
- * @const
40027
+ * optional bool isScheduled = 3;
40028
+ * @return {boolean}
39780
40029
  */
39781
- proto.sniiptransactionapi.TransactionDetails.repeatedFields_ = [52];
40030
+ proto.sniiptransactionapi.PaymentMethodAvailabilityRequest.prototype.getIsscheduled = function() {
40031
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
40032
+ };
40033
+
40034
+
40035
+ /**
40036
+ * @param {boolean} value
40037
+ * @return {!proto.sniiptransactionapi.PaymentMethodAvailabilityRequest} returns this
40038
+ */
40039
+ proto.sniiptransactionapi.PaymentMethodAvailabilityRequest.prototype.setIsscheduled = function(value) {
40040
+ return jspb.Message.setProto3BooleanField(this, 3, value);
40041
+ };
40042
+
40043
+
40044
+ /**
40045
+ * optional bool isBulk = 4;
40046
+ * @return {boolean}
40047
+ */
40048
+ proto.sniiptransactionapi.PaymentMethodAvailabilityRequest.prototype.getIsbulk = function() {
40049
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
40050
+ };
40051
+
40052
+
40053
+ /**
40054
+ * @param {boolean} value
40055
+ * @return {!proto.sniiptransactionapi.PaymentMethodAvailabilityRequest} returns this
40056
+ */
40057
+ proto.sniiptransactionapi.PaymentMethodAvailabilityRequest.prototype.setIsbulk = function(value) {
40058
+ return jspb.Message.setProto3BooleanField(this, 4, value);
40059
+ };
40060
+
40061
+
40062
+ /**
40063
+ * optional WalletPaymentMethodDetail applePayDetail = 5;
40064
+ * @return {?proto.sniiptransactionapi.WalletPaymentMethodDetail}
40065
+ */
40066
+ proto.sniiptransactionapi.PaymentMethodAvailabilityRequest.prototype.getApplepaydetail = function() {
40067
+ return /** @type{?proto.sniiptransactionapi.WalletPaymentMethodDetail} */ (
40068
+ jspb.Message.getWrapperField(this, proto.sniiptransactionapi.WalletPaymentMethodDetail, 5));
40069
+ };
40070
+
40071
+
40072
+ /**
40073
+ * @param {?proto.sniiptransactionapi.WalletPaymentMethodDetail|undefined} value
40074
+ * @return {!proto.sniiptransactionapi.PaymentMethodAvailabilityRequest} returns this
40075
+ */
40076
+ proto.sniiptransactionapi.PaymentMethodAvailabilityRequest.prototype.setApplepaydetail = function(value) {
40077
+ return jspb.Message.setWrapperField(this, 5, value);
40078
+ };
40079
+
40080
+
40081
+ /**
40082
+ * Clears the message field making it undefined.
40083
+ * @return {!proto.sniiptransactionapi.PaymentMethodAvailabilityRequest} returns this
40084
+ */
40085
+ proto.sniiptransactionapi.PaymentMethodAvailabilityRequest.prototype.clearApplepaydetail = function() {
40086
+ return this.setApplepaydetail(undefined);
40087
+ };
40088
+
40089
+
40090
+ /**
40091
+ * Returns whether this field is set.
40092
+ * @return {boolean}
40093
+ */
40094
+ proto.sniiptransactionapi.PaymentMethodAvailabilityRequest.prototype.hasApplepaydetail = function() {
40095
+ return jspb.Message.getField(this, 5) != null;
40096
+ };
40097
+
40098
+
40099
+ /**
40100
+ * optional WalletPaymentMethodDetail googlePayDetail = 6;
40101
+ * @return {?proto.sniiptransactionapi.WalletPaymentMethodDetail}
40102
+ */
40103
+ proto.sniiptransactionapi.PaymentMethodAvailabilityRequest.prototype.getGooglepaydetail = function() {
40104
+ return /** @type{?proto.sniiptransactionapi.WalletPaymentMethodDetail} */ (
40105
+ jspb.Message.getWrapperField(this, proto.sniiptransactionapi.WalletPaymentMethodDetail, 6));
40106
+ };
40107
+
40108
+
40109
+ /**
40110
+ * @param {?proto.sniiptransactionapi.WalletPaymentMethodDetail|undefined} value
40111
+ * @return {!proto.sniiptransactionapi.PaymentMethodAvailabilityRequest} returns this
40112
+ */
40113
+ proto.sniiptransactionapi.PaymentMethodAvailabilityRequest.prototype.setGooglepaydetail = function(value) {
40114
+ return jspb.Message.setWrapperField(this, 6, value);
40115
+ };
40116
+
40117
+
40118
+ /**
40119
+ * Clears the message field making it undefined.
40120
+ * @return {!proto.sniiptransactionapi.PaymentMethodAvailabilityRequest} returns this
40121
+ */
40122
+ proto.sniiptransactionapi.PaymentMethodAvailabilityRequest.prototype.clearGooglepaydetail = function() {
40123
+ return this.setGooglepaydetail(undefined);
40124
+ };
40125
+
40126
+
40127
+ /**
40128
+ * Returns whether this field is set.
40129
+ * @return {boolean}
40130
+ */
40131
+ proto.sniiptransactionapi.PaymentMethodAvailabilityRequest.prototype.hasGooglepaydetail = function() {
40132
+ return jspb.Message.getField(this, 6) != null;
40133
+ };
40134
+
40135
+
39782
40136
 
39783
40137
 
39784
40138
 
@@ -39795,8 +40149,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
39795
40149
  * http://goto/soy-param-migration
39796
40150
  * @return {!Object}
39797
40151
  */
39798
- proto.sniiptransactionapi.TransactionDetails.prototype.toObject = function(opt_includeInstance) {
39799
- return proto.sniiptransactionapi.TransactionDetails.toObject(opt_includeInstance, this);
40152
+ proto.sniiptransactionapi.GetPaymentMethodAvailabilityRequest.prototype.toObject = function(opt_includeInstance) {
40153
+ return proto.sniiptransactionapi.GetPaymentMethodAvailabilityRequest.toObject(opt_includeInstance, this);
39800
40154
  };
39801
40155
 
39802
40156
 
@@ -39805,100 +40159,13 @@ proto.sniiptransactionapi.TransactionDetails.prototype.toObject = function(opt_i
39805
40159
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
39806
40160
  * the JSPB instance for transitional soy proto support:
39807
40161
  * http://goto/soy-param-migration
39808
- * @param {!proto.sniiptransactionapi.TransactionDetails} msg The msg instance to transform.
40162
+ * @param {!proto.sniiptransactionapi.GetPaymentMethodAvailabilityRequest} msg The msg instance to transform.
39809
40163
  * @return {!Object}
39810
40164
  * @suppress {unusedLocalVariables} f is only used for nested messages
39811
40165
  */
39812
- proto.sniiptransactionapi.TransactionDetails.toObject = function(includeInstance, msg) {
40166
+ proto.sniiptransactionapi.GetPaymentMethodAvailabilityRequest.toObject = function(includeInstance, msg) {
39813
40167
  var f, obj = {
39814
- transactionid: jspb.Message.getFieldWithDefault(msg, 1, 0),
39815
- paymentmethod: jspb.Message.getFieldWithDefault(msg, 2, ""),
39816
- type: jspb.Message.getFieldWithDefault(msg, 3, ""),
39817
- billtype: jspb.Message.getFieldWithDefault(msg, 4, ""),
39818
- billid: jspb.Message.getFieldWithDefault(msg, 5, 0),
39819
- billerid: jspb.Message.getFieldWithDefault(msg, 6, 0),
39820
- billername: jspb.Message.getFieldWithDefault(msg, 7, ""),
39821
- billerlogo: jspb.Message.getFieldWithDefault(msg, 8, ""),
39822
- title: (f = msg.getTitle()) && proto.sniiptransactionapi.PaymentHistoryTitle.toObject(includeInstance, f),
39823
- paymentamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
39824
- surcharge: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0),
39825
- totalamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0),
39826
- billercrnnickname: jspb.Message.getFieldWithDefault(msg, 13, ""),
39827
- duedate: jspb.Message.getFieldWithDefault(msg, 14, ""),
39828
- reference: jspb.Message.getFieldWithDefault(msg, 15, ""),
39829
- datetimepaid: jspb.Message.getFieldWithDefault(msg, 16, ""),
39830
- receiptid: jspb.Message.getFieldWithDefault(msg, 17, ""),
39831
- externalid: jspb.Message.getFieldWithDefault(msg, 18, ""),
39832
- orderid: jspb.Message.getFieldWithDefault(msg, 19, ""),
39833
- haspaymenthistory: jspb.Message.getBooleanFieldWithDefault(msg, 20, false),
39834
- hasoriginalbill: jspb.Message.getBooleanFieldWithDefault(msg, 21, false),
39835
- displayoriginalamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 23, 0.0),
39836
- remainingamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 24, 0.0),
39837
- remainingunpaidamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 25, 0.0),
39838
- paidamountexcludingsurcharges: jspb.Message.getFloatingPointFieldWithDefault(msg, 26, 0.0),
39839
- scheduledamountexcludingsurcharges: jspb.Message.getFloatingPointFieldWithDefault(msg, 27, 0.0),
39840
- overduefeeamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 28, 0.0),
39841
- isoverdue: jspb.Message.getBooleanFieldWithDefault(msg, 29, false),
39842
- originalamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 30, 0.0),
39843
- originaloverdueamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 31, 0.0),
39844
- isexternalpayment: jspb.Message.getBooleanFieldWithDefault(msg, 32, false),
39845
- paymentprocessor: jspb.Message.getFieldWithDefault(msg, 33, ""),
39846
- billercode: jspb.Message.getFieldWithDefault(msg, 34, ""),
39847
- hasattachments: jspb.Message.getBooleanFieldWithDefault(msg, 35, false),
39848
- numberofattachments: jspb.Message.getFieldWithDefault(msg, 36, 0),
39849
- maskedpaymentmethodnumber: jspb.Message.getFieldWithDefault(msg, 37, ""),
39850
- settlementdate: jspb.Message.getFieldWithDefault(msg, 38, ""),
39851
- issettled: jspb.Message.getBooleanFieldWithDefault(msg, 39, false),
39852
- settlementid: jspb.Message.getFieldWithDefault(msg, 40, 0),
39853
- settlementstatus: jspb.Message.getFieldWithDefault(msg, 41, ""),
39854
- description: jspb.Message.getFieldWithDefault(msg, 42, ""),
39855
- sourceid: jspb.Message.getFieldWithDefault(msg, 43, 0),
39856
- category: jspb.Message.getFieldWithDefault(msg, 44, ""),
39857
- fraudrisk: jspb.Message.getFieldWithDefault(msg, 45, ""),
39858
- transactiontype: jspb.Message.getFieldWithDefault(msg, 46, ""),
39859
- refundedamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 47, 0.0),
39860
- isfullyrefunded: jspb.Message.getBooleanFieldWithDefault(msg, 48, false),
39861
- transactionstatus: jspb.Message.getFieldWithDefault(msg, 49, ""),
39862
- hasrequestedrefund: jspb.Message.getBooleanFieldWithDefault(msg, 50, false),
39863
- originaltransactionid: jspb.Message.getFieldWithDefault(msg, 51, 0),
39864
- refundsummariesList: jspb.Message.toObjectList(msg.getRefundsummariesList(),
39865
- proto.sniiptransactionapi.RefundSummary.toObject, includeInstance),
39866
- requestedrefundamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 53, 0.0),
39867
- paymentmethodpaymenttype: jspb.Message.getFieldWithDefault(msg, 54, ""),
39868
- rewardamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 55, 0.0),
39869
- gst: jspb.Message.getFloatingPointFieldWithDefault(msg, 57, 0.0),
39870
- bpayreceiptid: jspb.Message.getFieldWithDefault(msg, 58, ""),
39871
- paymentamountexcludingrewards: jspb.Message.getFloatingPointFieldWithDefault(msg, 59, 0.0),
39872
- paymentmethodid: jspb.Message.getFieldWithDefault(msg, 60, 0),
39873
- creationtimestamp: jspb.Message.getFieldWithDefault(msg, 61, ""),
39874
- errormessage: jspb.Message.getFieldWithDefault(msg, 62, ""),
39875
- isbilldeleted: jspb.Message.getBooleanFieldWithDefault(msg, 63, false),
39876
- failedpaymenttimestamp: jspb.Message.getFieldWithDefault(msg, 64, ""),
39877
- invoicenumber: jspb.Message.getFieldWithDefault(msg, 65, ""),
39878
- bsb: jspb.Message.getFieldWithDefault(msg, 66, ""),
39879
- accountno: jspb.Message.getFieldWithDefault(msg, 67, ""),
39880
- accountname: jspb.Message.getFieldWithDefault(msg, 68, ""),
39881
- smereceiptid: jspb.Message.getFieldWithDefault(msg, 69, ""),
39882
- isagentbill: jspb.Message.getBooleanFieldWithDefault(msg, 70, false),
39883
- agentfirstname: jspb.Message.getFieldWithDefault(msg, 71, ""),
39884
- agentlastname: jspb.Message.getFieldWithDefault(msg, 72, ""),
39885
- deliverybatchname: jspb.Message.getFieldWithDefault(msg, 73, ""),
39886
- deliverytimestamp: jspb.Message.getFieldWithDefault(msg, 74, ""),
39887
- agentuserid: jspb.Message.getFieldWithDefault(msg, 75, 0),
39888
- cardvalidationresult: jspb.Message.getFieldWithDefault(msg, 76, 0),
39889
- actionurl: jspb.Message.getFieldWithDefault(msg, 77, ""),
39890
- loyaltyoptionid: jspb.Message.getFieldWithDefault(msg, 78, 0),
39891
- actionurlbase64: jspb.Message.getFieldWithDefault(msg, 79, ""),
39892
- billertimezone: jspb.Message.getFieldWithDefault(msg, 80, ""),
39893
- billertimezoneabbr: jspb.Message.getFieldWithDefault(msg, 81, ""),
39894
- loyaltymembershipid: jspb.Message.getFieldWithDefault(msg, 82, 0),
39895
- deliverybatchtype: jspb.Message.getFieldWithDefault(msg, 83, 0),
39896
- loyaltyprogramid: jspb.Message.getFieldWithDefault(msg, 84, 0),
39897
- loyaltyprogramname: jspb.Message.getFieldWithDefault(msg, 85, ""),
39898
- earnedloyaltypoints: jspb.Message.getFieldWithDefault(msg, 86, 0),
39899
- loyaltypointslabel: jspb.Message.getFieldWithDefault(msg, 87, ""),
39900
- loyaltyprogramcode: jspb.Message.getFieldWithDefault(msg, 88, ""),
39901
- isguest: jspb.Message.getBooleanFieldWithDefault(msg, 89, false)
40168
+ data: (f = msg.getData()) && proto.sniiptransactionapi.PaymentMethodAvailabilityRequest.toObject(includeInstance, f)
39902
40169
  };
39903
40170
 
39904
40171
  if (includeInstance) {
@@ -39912,23 +40179,23 @@ proto.sniiptransactionapi.TransactionDetails.toObject = function(includeInstance
39912
40179
  /**
39913
40180
  * Deserializes binary data (in protobuf wire format).
39914
40181
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
39915
- * @return {!proto.sniiptransactionapi.TransactionDetails}
40182
+ * @return {!proto.sniiptransactionapi.GetPaymentMethodAvailabilityRequest}
39916
40183
  */
39917
- proto.sniiptransactionapi.TransactionDetails.deserializeBinary = function(bytes) {
40184
+ proto.sniiptransactionapi.GetPaymentMethodAvailabilityRequest.deserializeBinary = function(bytes) {
39918
40185
  var reader = new jspb.BinaryReader(bytes);
39919
- var msg = new proto.sniiptransactionapi.TransactionDetails;
39920
- return proto.sniiptransactionapi.TransactionDetails.deserializeBinaryFromReader(msg, reader);
40186
+ var msg = new proto.sniiptransactionapi.GetPaymentMethodAvailabilityRequest;
40187
+ return proto.sniiptransactionapi.GetPaymentMethodAvailabilityRequest.deserializeBinaryFromReader(msg, reader);
39921
40188
  };
39922
40189
 
39923
40190
 
39924
40191
  /**
39925
40192
  * Deserializes binary data (in protobuf wire format) from the
39926
40193
  * given reader into the given message object.
39927
- * @param {!proto.sniiptransactionapi.TransactionDetails} msg The message object to deserialize into.
40194
+ * @param {!proto.sniiptransactionapi.GetPaymentMethodAvailabilityRequest} msg The message object to deserialize into.
39928
40195
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
39929
- * @return {!proto.sniiptransactionapi.TransactionDetails}
40196
+ * @return {!proto.sniiptransactionapi.GetPaymentMethodAvailabilityRequest}
39930
40197
  */
39931
- proto.sniiptransactionapi.TransactionDetails.deserializeBinaryFromReader = function(msg, reader) {
40198
+ proto.sniiptransactionapi.GetPaymentMethodAvailabilityRequest.deserializeBinaryFromReader = function(msg, reader) {
39932
40199
  while (reader.nextField()) {
39933
40200
  if (reader.isEndGroup()) {
39934
40201
  break;
@@ -39936,28 +40203,1066 @@ proto.sniiptransactionapi.TransactionDetails.deserializeBinaryFromReader = funct
39936
40203
  var field = reader.getFieldNumber();
39937
40204
  switch (field) {
39938
40205
  case 1:
39939
- var value = /** @type {number} */ (reader.readInt64());
39940
- msg.setTransactionid(value);
39941
- break;
39942
- case 2:
39943
- var value = /** @type {string} */ (reader.readString());
39944
- msg.setPaymentmethod(value);
39945
- break;
39946
- case 3:
39947
- var value = /** @type {string} */ (reader.readString());
39948
- msg.setType(value);
39949
- break;
39950
- case 4:
39951
- var value = /** @type {string} */ (reader.readString());
39952
- msg.setBilltype(value);
39953
- break;
39954
- case 5:
39955
- var value = /** @type {number} */ (reader.readInt64());
39956
- msg.setBillid(value);
40206
+ var value = new proto.sniiptransactionapi.PaymentMethodAvailabilityRequest;
40207
+ reader.readMessage(value,proto.sniiptransactionapi.PaymentMethodAvailabilityRequest.deserializeBinaryFromReader);
40208
+ msg.setData(value);
39957
40209
  break;
39958
- case 6:
39959
- var value = /** @type {number} */ (reader.readInt64());
39960
- msg.setBillerid(value);
40210
+ default:
40211
+ reader.skipField();
40212
+ break;
40213
+ }
40214
+ }
40215
+ return msg;
40216
+ };
40217
+
40218
+
40219
+ /**
40220
+ * Serializes the message to binary data (in protobuf wire format).
40221
+ * @return {!Uint8Array}
40222
+ */
40223
+ proto.sniiptransactionapi.GetPaymentMethodAvailabilityRequest.prototype.serializeBinary = function() {
40224
+ var writer = new jspb.BinaryWriter();
40225
+ proto.sniiptransactionapi.GetPaymentMethodAvailabilityRequest.serializeBinaryToWriter(this, writer);
40226
+ return writer.getResultBuffer();
40227
+ };
40228
+
40229
+
40230
+ /**
40231
+ * Serializes the given message to binary data (in protobuf wire
40232
+ * format), writing to the given BinaryWriter.
40233
+ * @param {!proto.sniiptransactionapi.GetPaymentMethodAvailabilityRequest} message
40234
+ * @param {!jspb.BinaryWriter} writer
40235
+ * @suppress {unusedLocalVariables} f is only used for nested messages
40236
+ */
40237
+ proto.sniiptransactionapi.GetPaymentMethodAvailabilityRequest.serializeBinaryToWriter = function(message, writer) {
40238
+ var f = undefined;
40239
+ f = message.getData();
40240
+ if (f != null) {
40241
+ writer.writeMessage(
40242
+ 1,
40243
+ f,
40244
+ proto.sniiptransactionapi.PaymentMethodAvailabilityRequest.serializeBinaryToWriter
40245
+ );
40246
+ }
40247
+ };
40248
+
40249
+
40250
+ /**
40251
+ * optional PaymentMethodAvailabilityRequest data = 1;
40252
+ * @return {?proto.sniiptransactionapi.PaymentMethodAvailabilityRequest}
40253
+ */
40254
+ proto.sniiptransactionapi.GetPaymentMethodAvailabilityRequest.prototype.getData = function() {
40255
+ return /** @type{?proto.sniiptransactionapi.PaymentMethodAvailabilityRequest} */ (
40256
+ jspb.Message.getWrapperField(this, proto.sniiptransactionapi.PaymentMethodAvailabilityRequest, 1));
40257
+ };
40258
+
40259
+
40260
+ /**
40261
+ * @param {?proto.sniiptransactionapi.PaymentMethodAvailabilityRequest|undefined} value
40262
+ * @return {!proto.sniiptransactionapi.GetPaymentMethodAvailabilityRequest} returns this
40263
+ */
40264
+ proto.sniiptransactionapi.GetPaymentMethodAvailabilityRequest.prototype.setData = function(value) {
40265
+ return jspb.Message.setWrapperField(this, 1, value);
40266
+ };
40267
+
40268
+
40269
+ /**
40270
+ * Clears the message field making it undefined.
40271
+ * @return {!proto.sniiptransactionapi.GetPaymentMethodAvailabilityRequest} returns this
40272
+ */
40273
+ proto.sniiptransactionapi.GetPaymentMethodAvailabilityRequest.prototype.clearData = function() {
40274
+ return this.setData(undefined);
40275
+ };
40276
+
40277
+
40278
+ /**
40279
+ * Returns whether this field is set.
40280
+ * @return {boolean}
40281
+ */
40282
+ proto.sniiptransactionapi.GetPaymentMethodAvailabilityRequest.prototype.hasData = function() {
40283
+ return jspb.Message.getField(this, 1) != null;
40284
+ };
40285
+
40286
+
40287
+
40288
+
40289
+
40290
+ if (jspb.Message.GENERATE_TO_OBJECT) {
40291
+ /**
40292
+ * Creates an object representation of this proto.
40293
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
40294
+ * Optional fields that are not set will be set to undefined.
40295
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
40296
+ * For the list of reserved names please see:
40297
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
40298
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
40299
+ * JSPB instance for transitional soy proto support:
40300
+ * http://goto/soy-param-migration
40301
+ * @return {!Object}
40302
+ */
40303
+ proto.sniiptransactionapi.PaymentMethodAvailability.prototype.toObject = function(opt_includeInstance) {
40304
+ return proto.sniiptransactionapi.PaymentMethodAvailability.toObject(opt_includeInstance, this);
40305
+ };
40306
+
40307
+
40308
+ /**
40309
+ * Static version of the {@see toObject} method.
40310
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
40311
+ * the JSPB instance for transitional soy proto support:
40312
+ * http://goto/soy-param-migration
40313
+ * @param {!proto.sniiptransactionapi.PaymentMethodAvailability} msg The msg instance to transform.
40314
+ * @return {!Object}
40315
+ * @suppress {unusedLocalVariables} f is only used for nested messages
40316
+ */
40317
+ proto.sniiptransactionapi.PaymentMethodAvailability.toObject = function(includeInstance, msg) {
40318
+ var f, obj = {
40319
+ paymentmethodid: jspb.Message.getFieldWithDefault(msg, 1, 0),
40320
+ paymenttype: jspb.Message.getFieldWithDefault(msg, 2, ""),
40321
+ selectable: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
40322
+ reason: jspb.Message.getFieldWithDefault(msg, 4, 0),
40323
+ paymenterrordetail: (f = msg.getPaymenterrordetail()) && proto.sniiptransactionapi.PaymentErrorDetail.toObject(includeInstance, f)
40324
+ };
40325
+
40326
+ if (includeInstance) {
40327
+ obj.$jspbMessageInstance = msg;
40328
+ }
40329
+ return obj;
40330
+ };
40331
+ }
40332
+
40333
+
40334
+ /**
40335
+ * Deserializes binary data (in protobuf wire format).
40336
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
40337
+ * @return {!proto.sniiptransactionapi.PaymentMethodAvailability}
40338
+ */
40339
+ proto.sniiptransactionapi.PaymentMethodAvailability.deserializeBinary = function(bytes) {
40340
+ var reader = new jspb.BinaryReader(bytes);
40341
+ var msg = new proto.sniiptransactionapi.PaymentMethodAvailability;
40342
+ return proto.sniiptransactionapi.PaymentMethodAvailability.deserializeBinaryFromReader(msg, reader);
40343
+ };
40344
+
40345
+
40346
+ /**
40347
+ * Deserializes binary data (in protobuf wire format) from the
40348
+ * given reader into the given message object.
40349
+ * @param {!proto.sniiptransactionapi.PaymentMethodAvailability} msg The message object to deserialize into.
40350
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
40351
+ * @return {!proto.sniiptransactionapi.PaymentMethodAvailability}
40352
+ */
40353
+ proto.sniiptransactionapi.PaymentMethodAvailability.deserializeBinaryFromReader = function(msg, reader) {
40354
+ while (reader.nextField()) {
40355
+ if (reader.isEndGroup()) {
40356
+ break;
40357
+ }
40358
+ var field = reader.getFieldNumber();
40359
+ switch (field) {
40360
+ case 1:
40361
+ var value = /** @type {number} */ (reader.readInt64());
40362
+ msg.setPaymentmethodid(value);
40363
+ break;
40364
+ case 2:
40365
+ var value = /** @type {string} */ (reader.readString());
40366
+ msg.setPaymenttype(value);
40367
+ break;
40368
+ case 3:
40369
+ var value = /** @type {boolean} */ (reader.readBool());
40370
+ msg.setSelectable(value);
40371
+ break;
40372
+ case 4:
40373
+ var value = /** @type {!proto.sniiptransactionapi.PaymentErrorReason} */ (reader.readEnum());
40374
+ msg.setReason(value);
40375
+ break;
40376
+ case 5:
40377
+ var value = new proto.sniiptransactionapi.PaymentErrorDetail;
40378
+ reader.readMessage(value,proto.sniiptransactionapi.PaymentErrorDetail.deserializeBinaryFromReader);
40379
+ msg.setPaymenterrordetail(value);
40380
+ break;
40381
+ default:
40382
+ reader.skipField();
40383
+ break;
40384
+ }
40385
+ }
40386
+ return msg;
40387
+ };
40388
+
40389
+
40390
+ /**
40391
+ * Serializes the message to binary data (in protobuf wire format).
40392
+ * @return {!Uint8Array}
40393
+ */
40394
+ proto.sniiptransactionapi.PaymentMethodAvailability.prototype.serializeBinary = function() {
40395
+ var writer = new jspb.BinaryWriter();
40396
+ proto.sniiptransactionapi.PaymentMethodAvailability.serializeBinaryToWriter(this, writer);
40397
+ return writer.getResultBuffer();
40398
+ };
40399
+
40400
+
40401
+ /**
40402
+ * Serializes the given message to binary data (in protobuf wire
40403
+ * format), writing to the given BinaryWriter.
40404
+ * @param {!proto.sniiptransactionapi.PaymentMethodAvailability} message
40405
+ * @param {!jspb.BinaryWriter} writer
40406
+ * @suppress {unusedLocalVariables} f is only used for nested messages
40407
+ */
40408
+ proto.sniiptransactionapi.PaymentMethodAvailability.serializeBinaryToWriter = function(message, writer) {
40409
+ var f = undefined;
40410
+ f = message.getPaymentmethodid();
40411
+ if (f !== 0) {
40412
+ writer.writeInt64(
40413
+ 1,
40414
+ f
40415
+ );
40416
+ }
40417
+ f = message.getPaymenttype();
40418
+ if (f.length > 0) {
40419
+ writer.writeString(
40420
+ 2,
40421
+ f
40422
+ );
40423
+ }
40424
+ f = message.getSelectable();
40425
+ if (f) {
40426
+ writer.writeBool(
40427
+ 3,
40428
+ f
40429
+ );
40430
+ }
40431
+ f = message.getReason();
40432
+ if (f !== 0.0) {
40433
+ writer.writeEnum(
40434
+ 4,
40435
+ f
40436
+ );
40437
+ }
40438
+ f = message.getPaymenterrordetail();
40439
+ if (f != null) {
40440
+ writer.writeMessage(
40441
+ 5,
40442
+ f,
40443
+ proto.sniiptransactionapi.PaymentErrorDetail.serializeBinaryToWriter
40444
+ );
40445
+ }
40446
+ };
40447
+
40448
+
40449
+ /**
40450
+ * optional int64 paymentMethodId = 1;
40451
+ * @return {number}
40452
+ */
40453
+ proto.sniiptransactionapi.PaymentMethodAvailability.prototype.getPaymentmethodid = function() {
40454
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
40455
+ };
40456
+
40457
+
40458
+ /**
40459
+ * @param {number} value
40460
+ * @return {!proto.sniiptransactionapi.PaymentMethodAvailability} returns this
40461
+ */
40462
+ proto.sniiptransactionapi.PaymentMethodAvailability.prototype.setPaymentmethodid = function(value) {
40463
+ return jspb.Message.setProto3IntField(this, 1, value);
40464
+ };
40465
+
40466
+
40467
+ /**
40468
+ * optional string paymentType = 2;
40469
+ * @return {string}
40470
+ */
40471
+ proto.sniiptransactionapi.PaymentMethodAvailability.prototype.getPaymenttype = function() {
40472
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
40473
+ };
40474
+
40475
+
40476
+ /**
40477
+ * @param {string} value
40478
+ * @return {!proto.sniiptransactionapi.PaymentMethodAvailability} returns this
40479
+ */
40480
+ proto.sniiptransactionapi.PaymentMethodAvailability.prototype.setPaymenttype = function(value) {
40481
+ return jspb.Message.setProto3StringField(this, 2, value);
40482
+ };
40483
+
40484
+
40485
+ /**
40486
+ * optional bool selectable = 3;
40487
+ * @return {boolean}
40488
+ */
40489
+ proto.sniiptransactionapi.PaymentMethodAvailability.prototype.getSelectable = function() {
40490
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
40491
+ };
40492
+
40493
+
40494
+ /**
40495
+ * @param {boolean} value
40496
+ * @return {!proto.sniiptransactionapi.PaymentMethodAvailability} returns this
40497
+ */
40498
+ proto.sniiptransactionapi.PaymentMethodAvailability.prototype.setSelectable = function(value) {
40499
+ return jspb.Message.setProto3BooleanField(this, 3, value);
40500
+ };
40501
+
40502
+
40503
+ /**
40504
+ * optional PaymentErrorReason reason = 4;
40505
+ * @return {!proto.sniiptransactionapi.PaymentErrorReason}
40506
+ */
40507
+ proto.sniiptransactionapi.PaymentMethodAvailability.prototype.getReason = function() {
40508
+ return /** @type {!proto.sniiptransactionapi.PaymentErrorReason} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
40509
+ };
40510
+
40511
+
40512
+ /**
40513
+ * @param {!proto.sniiptransactionapi.PaymentErrorReason} value
40514
+ * @return {!proto.sniiptransactionapi.PaymentMethodAvailability} returns this
40515
+ */
40516
+ proto.sniiptransactionapi.PaymentMethodAvailability.prototype.setReason = function(value) {
40517
+ return jspb.Message.setProto3EnumField(this, 4, value);
40518
+ };
40519
+
40520
+
40521
+ /**
40522
+ * optional PaymentErrorDetail paymentErrorDetail = 5;
40523
+ * @return {?proto.sniiptransactionapi.PaymentErrorDetail}
40524
+ */
40525
+ proto.sniiptransactionapi.PaymentMethodAvailability.prototype.getPaymenterrordetail = function() {
40526
+ return /** @type{?proto.sniiptransactionapi.PaymentErrorDetail} */ (
40527
+ jspb.Message.getWrapperField(this, proto.sniiptransactionapi.PaymentErrorDetail, 5));
40528
+ };
40529
+
40530
+
40531
+ /**
40532
+ * @param {?proto.sniiptransactionapi.PaymentErrorDetail|undefined} value
40533
+ * @return {!proto.sniiptransactionapi.PaymentMethodAvailability} returns this
40534
+ */
40535
+ proto.sniiptransactionapi.PaymentMethodAvailability.prototype.setPaymenterrordetail = function(value) {
40536
+ return jspb.Message.setWrapperField(this, 5, value);
40537
+ };
40538
+
40539
+
40540
+ /**
40541
+ * Clears the message field making it undefined.
40542
+ * @return {!proto.sniiptransactionapi.PaymentMethodAvailability} returns this
40543
+ */
40544
+ proto.sniiptransactionapi.PaymentMethodAvailability.prototype.clearPaymenterrordetail = function() {
40545
+ return this.setPaymenterrordetail(undefined);
40546
+ };
40547
+
40548
+
40549
+ /**
40550
+ * Returns whether this field is set.
40551
+ * @return {boolean}
40552
+ */
40553
+ proto.sniiptransactionapi.PaymentMethodAvailability.prototype.hasPaymenterrordetail = function() {
40554
+ return jspb.Message.getField(this, 5) != null;
40555
+ };
40556
+
40557
+
40558
+
40559
+ /**
40560
+ * List of repeated fields within this message type.
40561
+ * @private {!Array<number>}
40562
+ * @const
40563
+ */
40564
+ proto.sniiptransactionapi.PaymentMethodAvailabilityResponse.repeatedFields_ = [2];
40565
+
40566
+
40567
+
40568
+ if (jspb.Message.GENERATE_TO_OBJECT) {
40569
+ /**
40570
+ * Creates an object representation of this proto.
40571
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
40572
+ * Optional fields that are not set will be set to undefined.
40573
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
40574
+ * For the list of reserved names please see:
40575
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
40576
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
40577
+ * JSPB instance for transitional soy proto support:
40578
+ * http://goto/soy-param-migration
40579
+ * @return {!Object}
40580
+ */
40581
+ proto.sniiptransactionapi.PaymentMethodAvailabilityResponse.prototype.toObject = function(opt_includeInstance) {
40582
+ return proto.sniiptransactionapi.PaymentMethodAvailabilityResponse.toObject(opt_includeInstance, this);
40583
+ };
40584
+
40585
+
40586
+ /**
40587
+ * Static version of the {@see toObject} method.
40588
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
40589
+ * the JSPB instance for transitional soy proto support:
40590
+ * http://goto/soy-param-migration
40591
+ * @param {!proto.sniiptransactionapi.PaymentMethodAvailabilityResponse} msg The msg instance to transform.
40592
+ * @return {!Object}
40593
+ * @suppress {unusedLocalVariables} f is only used for nested messages
40594
+ */
40595
+ proto.sniiptransactionapi.PaymentMethodAvailabilityResponse.toObject = function(includeInstance, msg) {
40596
+ var f, obj = {
40597
+ responsecode: (f = msg.getResponsecode()) && proto.sniiptransactionapi.ResponseCode.toObject(includeInstance, f),
40598
+ paymentmethodsList: jspb.Message.toObjectList(msg.getPaymentmethodsList(),
40599
+ proto.sniiptransactionapi.PaymentMethodAvailability.toObject, includeInstance)
40600
+ };
40601
+
40602
+ if (includeInstance) {
40603
+ obj.$jspbMessageInstance = msg;
40604
+ }
40605
+ return obj;
40606
+ };
40607
+ }
40608
+
40609
+
40610
+ /**
40611
+ * Deserializes binary data (in protobuf wire format).
40612
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
40613
+ * @return {!proto.sniiptransactionapi.PaymentMethodAvailabilityResponse}
40614
+ */
40615
+ proto.sniiptransactionapi.PaymentMethodAvailabilityResponse.deserializeBinary = function(bytes) {
40616
+ var reader = new jspb.BinaryReader(bytes);
40617
+ var msg = new proto.sniiptransactionapi.PaymentMethodAvailabilityResponse;
40618
+ return proto.sniiptransactionapi.PaymentMethodAvailabilityResponse.deserializeBinaryFromReader(msg, reader);
40619
+ };
40620
+
40621
+
40622
+ /**
40623
+ * Deserializes binary data (in protobuf wire format) from the
40624
+ * given reader into the given message object.
40625
+ * @param {!proto.sniiptransactionapi.PaymentMethodAvailabilityResponse} msg The message object to deserialize into.
40626
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
40627
+ * @return {!proto.sniiptransactionapi.PaymentMethodAvailabilityResponse}
40628
+ */
40629
+ proto.sniiptransactionapi.PaymentMethodAvailabilityResponse.deserializeBinaryFromReader = function(msg, reader) {
40630
+ while (reader.nextField()) {
40631
+ if (reader.isEndGroup()) {
40632
+ break;
40633
+ }
40634
+ var field = reader.getFieldNumber();
40635
+ switch (field) {
40636
+ case 1:
40637
+ var value = new proto.sniiptransactionapi.ResponseCode;
40638
+ reader.readMessage(value,proto.sniiptransactionapi.ResponseCode.deserializeBinaryFromReader);
40639
+ msg.setResponsecode(value);
40640
+ break;
40641
+ case 2:
40642
+ var value = new proto.sniiptransactionapi.PaymentMethodAvailability;
40643
+ reader.readMessage(value,proto.sniiptransactionapi.PaymentMethodAvailability.deserializeBinaryFromReader);
40644
+ msg.addPaymentmethods(value);
40645
+ break;
40646
+ default:
40647
+ reader.skipField();
40648
+ break;
40649
+ }
40650
+ }
40651
+ return msg;
40652
+ };
40653
+
40654
+
40655
+ /**
40656
+ * Serializes the message to binary data (in protobuf wire format).
40657
+ * @return {!Uint8Array}
40658
+ */
40659
+ proto.sniiptransactionapi.PaymentMethodAvailabilityResponse.prototype.serializeBinary = function() {
40660
+ var writer = new jspb.BinaryWriter();
40661
+ proto.sniiptransactionapi.PaymentMethodAvailabilityResponse.serializeBinaryToWriter(this, writer);
40662
+ return writer.getResultBuffer();
40663
+ };
40664
+
40665
+
40666
+ /**
40667
+ * Serializes the given message to binary data (in protobuf wire
40668
+ * format), writing to the given BinaryWriter.
40669
+ * @param {!proto.sniiptransactionapi.PaymentMethodAvailabilityResponse} message
40670
+ * @param {!jspb.BinaryWriter} writer
40671
+ * @suppress {unusedLocalVariables} f is only used for nested messages
40672
+ */
40673
+ proto.sniiptransactionapi.PaymentMethodAvailabilityResponse.serializeBinaryToWriter = function(message, writer) {
40674
+ var f = undefined;
40675
+ f = message.getResponsecode();
40676
+ if (f != null) {
40677
+ writer.writeMessage(
40678
+ 1,
40679
+ f,
40680
+ proto.sniiptransactionapi.ResponseCode.serializeBinaryToWriter
40681
+ );
40682
+ }
40683
+ f = message.getPaymentmethodsList();
40684
+ if (f.length > 0) {
40685
+ writer.writeRepeatedMessage(
40686
+ 2,
40687
+ f,
40688
+ proto.sniiptransactionapi.PaymentMethodAvailability.serializeBinaryToWriter
40689
+ );
40690
+ }
40691
+ };
40692
+
40693
+
40694
+ /**
40695
+ * optional ResponseCode responseCode = 1;
40696
+ * @return {?proto.sniiptransactionapi.ResponseCode}
40697
+ */
40698
+ proto.sniiptransactionapi.PaymentMethodAvailabilityResponse.prototype.getResponsecode = function() {
40699
+ return /** @type{?proto.sniiptransactionapi.ResponseCode} */ (
40700
+ jspb.Message.getWrapperField(this, proto.sniiptransactionapi.ResponseCode, 1));
40701
+ };
40702
+
40703
+
40704
+ /**
40705
+ * @param {?proto.sniiptransactionapi.ResponseCode|undefined} value
40706
+ * @return {!proto.sniiptransactionapi.PaymentMethodAvailabilityResponse} returns this
40707
+ */
40708
+ proto.sniiptransactionapi.PaymentMethodAvailabilityResponse.prototype.setResponsecode = function(value) {
40709
+ return jspb.Message.setWrapperField(this, 1, value);
40710
+ };
40711
+
40712
+
40713
+ /**
40714
+ * Clears the message field making it undefined.
40715
+ * @return {!proto.sniiptransactionapi.PaymentMethodAvailabilityResponse} returns this
40716
+ */
40717
+ proto.sniiptransactionapi.PaymentMethodAvailabilityResponse.prototype.clearResponsecode = function() {
40718
+ return this.setResponsecode(undefined);
40719
+ };
40720
+
40721
+
40722
+ /**
40723
+ * Returns whether this field is set.
40724
+ * @return {boolean}
40725
+ */
40726
+ proto.sniiptransactionapi.PaymentMethodAvailabilityResponse.prototype.hasResponsecode = function() {
40727
+ return jspb.Message.getField(this, 1) != null;
40728
+ };
40729
+
40730
+
40731
+ /**
40732
+ * repeated PaymentMethodAvailability paymentMethods = 2;
40733
+ * @return {!Array<!proto.sniiptransactionapi.PaymentMethodAvailability>}
40734
+ */
40735
+ proto.sniiptransactionapi.PaymentMethodAvailabilityResponse.prototype.getPaymentmethodsList = function() {
40736
+ return /** @type{!Array<!proto.sniiptransactionapi.PaymentMethodAvailability>} */ (
40737
+ jspb.Message.getRepeatedWrapperField(this, proto.sniiptransactionapi.PaymentMethodAvailability, 2));
40738
+ };
40739
+
40740
+
40741
+ /**
40742
+ * @param {!Array<!proto.sniiptransactionapi.PaymentMethodAvailability>} value
40743
+ * @return {!proto.sniiptransactionapi.PaymentMethodAvailabilityResponse} returns this
40744
+ */
40745
+ proto.sniiptransactionapi.PaymentMethodAvailabilityResponse.prototype.setPaymentmethodsList = function(value) {
40746
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
40747
+ };
40748
+
40749
+
40750
+ /**
40751
+ * @param {!proto.sniiptransactionapi.PaymentMethodAvailability=} opt_value
40752
+ * @param {number=} opt_index
40753
+ * @return {!proto.sniiptransactionapi.PaymentMethodAvailability}
40754
+ */
40755
+ proto.sniiptransactionapi.PaymentMethodAvailabilityResponse.prototype.addPaymentmethods = function(opt_value, opt_index) {
40756
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.sniiptransactionapi.PaymentMethodAvailability, opt_index);
40757
+ };
40758
+
40759
+
40760
+ /**
40761
+ * Clears the list making it empty but non-null.
40762
+ * @return {!proto.sniiptransactionapi.PaymentMethodAvailabilityResponse} returns this
40763
+ */
40764
+ proto.sniiptransactionapi.PaymentMethodAvailabilityResponse.prototype.clearPaymentmethodsList = function() {
40765
+ return this.setPaymentmethodsList([]);
40766
+ };
40767
+
40768
+
40769
+
40770
+
40771
+
40772
+ if (jspb.Message.GENERATE_TO_OBJECT) {
40773
+ /**
40774
+ * Creates an object representation of this proto.
40775
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
40776
+ * Optional fields that are not set will be set to undefined.
40777
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
40778
+ * For the list of reserved names please see:
40779
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
40780
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
40781
+ * JSPB instance for transitional soy proto support:
40782
+ * http://goto/soy-param-migration
40783
+ * @return {!Object}
40784
+ */
40785
+ proto.sniiptransactionapi.ShareBillReceiptEmailRequest.prototype.toObject = function(opt_includeInstance) {
40786
+ return proto.sniiptransactionapi.ShareBillReceiptEmailRequest.toObject(opt_includeInstance, this);
40787
+ };
40788
+
40789
+
40790
+ /**
40791
+ * Static version of the {@see toObject} method.
40792
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
40793
+ * the JSPB instance for transitional soy proto support:
40794
+ * http://goto/soy-param-migration
40795
+ * @param {!proto.sniiptransactionapi.ShareBillReceiptEmailRequest} msg The msg instance to transform.
40796
+ * @return {!Object}
40797
+ * @suppress {unusedLocalVariables} f is only used for nested messages
40798
+ */
40799
+ proto.sniiptransactionapi.ShareBillReceiptEmailRequest.toObject = function(includeInstance, msg) {
40800
+ var f, obj = {
40801
+ data: (f = msg.getData()) && proto.sniiptransactionapi.PostShareBillReceiptEmailRequest.toObject(includeInstance, f)
40802
+ };
40803
+
40804
+ if (includeInstance) {
40805
+ obj.$jspbMessageInstance = msg;
40806
+ }
40807
+ return obj;
40808
+ };
40809
+ }
40810
+
40811
+
40812
+ /**
40813
+ * Deserializes binary data (in protobuf wire format).
40814
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
40815
+ * @return {!proto.sniiptransactionapi.ShareBillReceiptEmailRequest}
40816
+ */
40817
+ proto.sniiptransactionapi.ShareBillReceiptEmailRequest.deserializeBinary = function(bytes) {
40818
+ var reader = new jspb.BinaryReader(bytes);
40819
+ var msg = new proto.sniiptransactionapi.ShareBillReceiptEmailRequest;
40820
+ return proto.sniiptransactionapi.ShareBillReceiptEmailRequest.deserializeBinaryFromReader(msg, reader);
40821
+ };
40822
+
40823
+
40824
+ /**
40825
+ * Deserializes binary data (in protobuf wire format) from the
40826
+ * given reader into the given message object.
40827
+ * @param {!proto.sniiptransactionapi.ShareBillReceiptEmailRequest} msg The message object to deserialize into.
40828
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
40829
+ * @return {!proto.sniiptransactionapi.ShareBillReceiptEmailRequest}
40830
+ */
40831
+ proto.sniiptransactionapi.ShareBillReceiptEmailRequest.deserializeBinaryFromReader = function(msg, reader) {
40832
+ while (reader.nextField()) {
40833
+ if (reader.isEndGroup()) {
40834
+ break;
40835
+ }
40836
+ var field = reader.getFieldNumber();
40837
+ switch (field) {
40838
+ case 1:
40839
+ var value = new proto.sniiptransactionapi.PostShareBillReceiptEmailRequest;
40840
+ reader.readMessage(value,proto.sniiptransactionapi.PostShareBillReceiptEmailRequest.deserializeBinaryFromReader);
40841
+ msg.setData(value);
40842
+ break;
40843
+ default:
40844
+ reader.skipField();
40845
+ break;
40846
+ }
40847
+ }
40848
+ return msg;
40849
+ };
40850
+
40851
+
40852
+ /**
40853
+ * Serializes the message to binary data (in protobuf wire format).
40854
+ * @return {!Uint8Array}
40855
+ */
40856
+ proto.sniiptransactionapi.ShareBillReceiptEmailRequest.prototype.serializeBinary = function() {
40857
+ var writer = new jspb.BinaryWriter();
40858
+ proto.sniiptransactionapi.ShareBillReceiptEmailRequest.serializeBinaryToWriter(this, writer);
40859
+ return writer.getResultBuffer();
40860
+ };
40861
+
40862
+
40863
+ /**
40864
+ * Serializes the given message to binary data (in protobuf wire
40865
+ * format), writing to the given BinaryWriter.
40866
+ * @param {!proto.sniiptransactionapi.ShareBillReceiptEmailRequest} message
40867
+ * @param {!jspb.BinaryWriter} writer
40868
+ * @suppress {unusedLocalVariables} f is only used for nested messages
40869
+ */
40870
+ proto.sniiptransactionapi.ShareBillReceiptEmailRequest.serializeBinaryToWriter = function(message, writer) {
40871
+ var f = undefined;
40872
+ f = message.getData();
40873
+ if (f != null) {
40874
+ writer.writeMessage(
40875
+ 1,
40876
+ f,
40877
+ proto.sniiptransactionapi.PostShareBillReceiptEmailRequest.serializeBinaryToWriter
40878
+ );
40879
+ }
40880
+ };
40881
+
40882
+
40883
+ /**
40884
+ * optional PostShareBillReceiptEmailRequest data = 1;
40885
+ * @return {?proto.sniiptransactionapi.PostShareBillReceiptEmailRequest}
40886
+ */
40887
+ proto.sniiptransactionapi.ShareBillReceiptEmailRequest.prototype.getData = function() {
40888
+ return /** @type{?proto.sniiptransactionapi.PostShareBillReceiptEmailRequest} */ (
40889
+ jspb.Message.getWrapperField(this, proto.sniiptransactionapi.PostShareBillReceiptEmailRequest, 1));
40890
+ };
40891
+
40892
+
40893
+ /**
40894
+ * @param {?proto.sniiptransactionapi.PostShareBillReceiptEmailRequest|undefined} value
40895
+ * @return {!proto.sniiptransactionapi.ShareBillReceiptEmailRequest} returns this
40896
+ */
40897
+ proto.sniiptransactionapi.ShareBillReceiptEmailRequest.prototype.setData = function(value) {
40898
+ return jspb.Message.setWrapperField(this, 1, value);
40899
+ };
40900
+
40901
+
40902
+ /**
40903
+ * Clears the message field making it undefined.
40904
+ * @return {!proto.sniiptransactionapi.ShareBillReceiptEmailRequest} returns this
40905
+ */
40906
+ proto.sniiptransactionapi.ShareBillReceiptEmailRequest.prototype.clearData = function() {
40907
+ return this.setData(undefined);
40908
+ };
40909
+
40910
+
40911
+ /**
40912
+ * Returns whether this field is set.
40913
+ * @return {boolean}
40914
+ */
40915
+ proto.sniiptransactionapi.ShareBillReceiptEmailRequest.prototype.hasData = function() {
40916
+ return jspb.Message.getField(this, 1) != null;
40917
+ };
40918
+
40919
+
40920
+
40921
+
40922
+
40923
+ if (jspb.Message.GENERATE_TO_OBJECT) {
40924
+ /**
40925
+ * Creates an object representation of this proto.
40926
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
40927
+ * Optional fields that are not set will be set to undefined.
40928
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
40929
+ * For the list of reserved names please see:
40930
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
40931
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
40932
+ * JSPB instance for transitional soy proto support:
40933
+ * http://goto/soy-param-migration
40934
+ * @return {!Object}
40935
+ */
40936
+ proto.sniiptransactionapi.SwitchAndSaveDetail.prototype.toObject = function(opt_includeInstance) {
40937
+ return proto.sniiptransactionapi.SwitchAndSaveDetail.toObject(opt_includeInstance, this);
40938
+ };
40939
+
40940
+
40941
+ /**
40942
+ * Static version of the {@see toObject} method.
40943
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
40944
+ * the JSPB instance for transitional soy proto support:
40945
+ * http://goto/soy-param-migration
40946
+ * @param {!proto.sniiptransactionapi.SwitchAndSaveDetail} msg The msg instance to transform.
40947
+ * @return {!Object}
40948
+ * @suppress {unusedLocalVariables} f is only used for nested messages
40949
+ */
40950
+ proto.sniiptransactionapi.SwitchAndSaveDetail.toObject = function(includeInstance, msg) {
40951
+ var f, obj = {
40952
+ categorytype: jspb.Message.getFieldWithDefault(msg, 1, ""),
40953
+ industrycode: jspb.Message.getFieldWithDefault(msg, 2, 0)
40954
+ };
40955
+
40956
+ if (includeInstance) {
40957
+ obj.$jspbMessageInstance = msg;
40958
+ }
40959
+ return obj;
40960
+ };
40961
+ }
40962
+
40963
+
40964
+ /**
40965
+ * Deserializes binary data (in protobuf wire format).
40966
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
40967
+ * @return {!proto.sniiptransactionapi.SwitchAndSaveDetail}
40968
+ */
40969
+ proto.sniiptransactionapi.SwitchAndSaveDetail.deserializeBinary = function(bytes) {
40970
+ var reader = new jspb.BinaryReader(bytes);
40971
+ var msg = new proto.sniiptransactionapi.SwitchAndSaveDetail;
40972
+ return proto.sniiptransactionapi.SwitchAndSaveDetail.deserializeBinaryFromReader(msg, reader);
40973
+ };
40974
+
40975
+
40976
+ /**
40977
+ * Deserializes binary data (in protobuf wire format) from the
40978
+ * given reader into the given message object.
40979
+ * @param {!proto.sniiptransactionapi.SwitchAndSaveDetail} msg The message object to deserialize into.
40980
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
40981
+ * @return {!proto.sniiptransactionapi.SwitchAndSaveDetail}
40982
+ */
40983
+ proto.sniiptransactionapi.SwitchAndSaveDetail.deserializeBinaryFromReader = function(msg, reader) {
40984
+ while (reader.nextField()) {
40985
+ if (reader.isEndGroup()) {
40986
+ break;
40987
+ }
40988
+ var field = reader.getFieldNumber();
40989
+ switch (field) {
40990
+ case 1:
40991
+ var value = /** @type {string} */ (reader.readString());
40992
+ msg.setCategorytype(value);
40993
+ break;
40994
+ case 2:
40995
+ var value = /** @type {number} */ (reader.readInt32());
40996
+ msg.setIndustrycode(value);
40997
+ break;
40998
+ default:
40999
+ reader.skipField();
41000
+ break;
41001
+ }
41002
+ }
41003
+ return msg;
41004
+ };
41005
+
41006
+
41007
+ /**
41008
+ * Serializes the message to binary data (in protobuf wire format).
41009
+ * @return {!Uint8Array}
41010
+ */
41011
+ proto.sniiptransactionapi.SwitchAndSaveDetail.prototype.serializeBinary = function() {
41012
+ var writer = new jspb.BinaryWriter();
41013
+ proto.sniiptransactionapi.SwitchAndSaveDetail.serializeBinaryToWriter(this, writer);
41014
+ return writer.getResultBuffer();
41015
+ };
41016
+
41017
+
41018
+ /**
41019
+ * Serializes the given message to binary data (in protobuf wire
41020
+ * format), writing to the given BinaryWriter.
41021
+ * @param {!proto.sniiptransactionapi.SwitchAndSaveDetail} message
41022
+ * @param {!jspb.BinaryWriter} writer
41023
+ * @suppress {unusedLocalVariables} f is only used for nested messages
41024
+ */
41025
+ proto.sniiptransactionapi.SwitchAndSaveDetail.serializeBinaryToWriter = function(message, writer) {
41026
+ var f = undefined;
41027
+ f = message.getCategorytype();
41028
+ if (f.length > 0) {
41029
+ writer.writeString(
41030
+ 1,
41031
+ f
41032
+ );
41033
+ }
41034
+ f = message.getIndustrycode();
41035
+ if (f !== 0) {
41036
+ writer.writeInt32(
41037
+ 2,
41038
+ f
41039
+ );
41040
+ }
41041
+ };
41042
+
41043
+
41044
+ /**
41045
+ * optional string categoryType = 1;
41046
+ * @return {string}
41047
+ */
41048
+ proto.sniiptransactionapi.SwitchAndSaveDetail.prototype.getCategorytype = function() {
41049
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
41050
+ };
41051
+
41052
+
41053
+ /**
41054
+ * @param {string} value
41055
+ * @return {!proto.sniiptransactionapi.SwitchAndSaveDetail} returns this
41056
+ */
41057
+ proto.sniiptransactionapi.SwitchAndSaveDetail.prototype.setCategorytype = function(value) {
41058
+ return jspb.Message.setProto3StringField(this, 1, value);
41059
+ };
41060
+
41061
+
41062
+ /**
41063
+ * optional int32 industryCode = 2;
41064
+ * @return {number}
41065
+ */
41066
+ proto.sniiptransactionapi.SwitchAndSaveDetail.prototype.getIndustrycode = function() {
41067
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
41068
+ };
41069
+
41070
+
41071
+ /**
41072
+ * @param {number} value
41073
+ * @return {!proto.sniiptransactionapi.SwitchAndSaveDetail} returns this
41074
+ */
41075
+ proto.sniiptransactionapi.SwitchAndSaveDetail.prototype.setIndustrycode = function(value) {
41076
+ return jspb.Message.setProto3IntField(this, 2, value);
41077
+ };
41078
+
41079
+
41080
+
41081
+ /**
41082
+ * List of repeated fields within this message type.
41083
+ * @private {!Array<number>}
41084
+ * @const
41085
+ */
41086
+ proto.sniiptransactionapi.TransactionDetails.repeatedFields_ = [52];
41087
+
41088
+
41089
+
41090
+ if (jspb.Message.GENERATE_TO_OBJECT) {
41091
+ /**
41092
+ * Creates an object representation of this proto.
41093
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
41094
+ * Optional fields that are not set will be set to undefined.
41095
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
41096
+ * For the list of reserved names please see:
41097
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
41098
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
41099
+ * JSPB instance for transitional soy proto support:
41100
+ * http://goto/soy-param-migration
41101
+ * @return {!Object}
41102
+ */
41103
+ proto.sniiptransactionapi.TransactionDetails.prototype.toObject = function(opt_includeInstance) {
41104
+ return proto.sniiptransactionapi.TransactionDetails.toObject(opt_includeInstance, this);
41105
+ };
41106
+
41107
+
41108
+ /**
41109
+ * Static version of the {@see toObject} method.
41110
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
41111
+ * the JSPB instance for transitional soy proto support:
41112
+ * http://goto/soy-param-migration
41113
+ * @param {!proto.sniiptransactionapi.TransactionDetails} msg The msg instance to transform.
41114
+ * @return {!Object}
41115
+ * @suppress {unusedLocalVariables} f is only used for nested messages
41116
+ */
41117
+ proto.sniiptransactionapi.TransactionDetails.toObject = function(includeInstance, msg) {
41118
+ var f, obj = {
41119
+ transactionid: jspb.Message.getFieldWithDefault(msg, 1, 0),
41120
+ paymentmethod: jspb.Message.getFieldWithDefault(msg, 2, ""),
41121
+ type: jspb.Message.getFieldWithDefault(msg, 3, ""),
41122
+ billtype: jspb.Message.getFieldWithDefault(msg, 4, ""),
41123
+ billid: jspb.Message.getFieldWithDefault(msg, 5, 0),
41124
+ billerid: jspb.Message.getFieldWithDefault(msg, 6, 0),
41125
+ billername: jspb.Message.getFieldWithDefault(msg, 7, ""),
41126
+ billerlogo: jspb.Message.getFieldWithDefault(msg, 8, ""),
41127
+ title: (f = msg.getTitle()) && proto.sniiptransactionapi.PaymentHistoryTitle.toObject(includeInstance, f),
41128
+ paymentamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
41129
+ surcharge: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0),
41130
+ totalamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0),
41131
+ billercrnnickname: jspb.Message.getFieldWithDefault(msg, 13, ""),
41132
+ duedate: jspb.Message.getFieldWithDefault(msg, 14, ""),
41133
+ reference: jspb.Message.getFieldWithDefault(msg, 15, ""),
41134
+ datetimepaid: jspb.Message.getFieldWithDefault(msg, 16, ""),
41135
+ receiptid: jspb.Message.getFieldWithDefault(msg, 17, ""),
41136
+ externalid: jspb.Message.getFieldWithDefault(msg, 18, ""),
41137
+ orderid: jspb.Message.getFieldWithDefault(msg, 19, ""),
41138
+ haspaymenthistory: jspb.Message.getBooleanFieldWithDefault(msg, 20, false),
41139
+ hasoriginalbill: jspb.Message.getBooleanFieldWithDefault(msg, 21, false),
41140
+ displayoriginalamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 23, 0.0),
41141
+ remainingamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 24, 0.0),
41142
+ remainingunpaidamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 25, 0.0),
41143
+ paidamountexcludingsurcharges: jspb.Message.getFloatingPointFieldWithDefault(msg, 26, 0.0),
41144
+ scheduledamountexcludingsurcharges: jspb.Message.getFloatingPointFieldWithDefault(msg, 27, 0.0),
41145
+ overduefeeamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 28, 0.0),
41146
+ isoverdue: jspb.Message.getBooleanFieldWithDefault(msg, 29, false),
41147
+ originalamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 30, 0.0),
41148
+ originaloverdueamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 31, 0.0),
41149
+ isexternalpayment: jspb.Message.getBooleanFieldWithDefault(msg, 32, false),
41150
+ paymentprocessor: jspb.Message.getFieldWithDefault(msg, 33, ""),
41151
+ billercode: jspb.Message.getFieldWithDefault(msg, 34, ""),
41152
+ hasattachments: jspb.Message.getBooleanFieldWithDefault(msg, 35, false),
41153
+ numberofattachments: jspb.Message.getFieldWithDefault(msg, 36, 0),
41154
+ maskedpaymentmethodnumber: jspb.Message.getFieldWithDefault(msg, 37, ""),
41155
+ settlementdate: jspb.Message.getFieldWithDefault(msg, 38, ""),
41156
+ issettled: jspb.Message.getBooleanFieldWithDefault(msg, 39, false),
41157
+ settlementid: jspb.Message.getFieldWithDefault(msg, 40, 0),
41158
+ settlementstatus: jspb.Message.getFieldWithDefault(msg, 41, ""),
41159
+ description: jspb.Message.getFieldWithDefault(msg, 42, ""),
41160
+ sourceid: jspb.Message.getFieldWithDefault(msg, 43, 0),
41161
+ category: jspb.Message.getFieldWithDefault(msg, 44, ""),
41162
+ fraudrisk: jspb.Message.getFieldWithDefault(msg, 45, ""),
41163
+ transactiontype: jspb.Message.getFieldWithDefault(msg, 46, ""),
41164
+ refundedamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 47, 0.0),
41165
+ isfullyrefunded: jspb.Message.getBooleanFieldWithDefault(msg, 48, false),
41166
+ transactionstatus: jspb.Message.getFieldWithDefault(msg, 49, ""),
41167
+ hasrequestedrefund: jspb.Message.getBooleanFieldWithDefault(msg, 50, false),
41168
+ originaltransactionid: jspb.Message.getFieldWithDefault(msg, 51, 0),
41169
+ refundsummariesList: jspb.Message.toObjectList(msg.getRefundsummariesList(),
41170
+ proto.sniiptransactionapi.RefundSummary.toObject, includeInstance),
41171
+ requestedrefundamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 53, 0.0),
41172
+ paymentmethodpaymenttype: jspb.Message.getFieldWithDefault(msg, 54, ""),
41173
+ rewardamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 55, 0.0),
41174
+ gst: jspb.Message.getFloatingPointFieldWithDefault(msg, 57, 0.0),
41175
+ bpayreceiptid: jspb.Message.getFieldWithDefault(msg, 58, ""),
41176
+ paymentamountexcludingrewards: jspb.Message.getFloatingPointFieldWithDefault(msg, 59, 0.0),
41177
+ paymentmethodid: jspb.Message.getFieldWithDefault(msg, 60, 0),
41178
+ creationtimestamp: jspb.Message.getFieldWithDefault(msg, 61, ""),
41179
+ errormessage: jspb.Message.getFieldWithDefault(msg, 62, ""),
41180
+ isbilldeleted: jspb.Message.getBooleanFieldWithDefault(msg, 63, false),
41181
+ failedpaymenttimestamp: jspb.Message.getFieldWithDefault(msg, 64, ""),
41182
+ invoicenumber: jspb.Message.getFieldWithDefault(msg, 65, ""),
41183
+ bsb: jspb.Message.getFieldWithDefault(msg, 66, ""),
41184
+ accountno: jspb.Message.getFieldWithDefault(msg, 67, ""),
41185
+ accountname: jspb.Message.getFieldWithDefault(msg, 68, ""),
41186
+ smereceiptid: jspb.Message.getFieldWithDefault(msg, 69, ""),
41187
+ isagentbill: jspb.Message.getBooleanFieldWithDefault(msg, 70, false),
41188
+ agentfirstname: jspb.Message.getFieldWithDefault(msg, 71, ""),
41189
+ agentlastname: jspb.Message.getFieldWithDefault(msg, 72, ""),
41190
+ deliverybatchname: jspb.Message.getFieldWithDefault(msg, 73, ""),
41191
+ deliverytimestamp: jspb.Message.getFieldWithDefault(msg, 74, ""),
41192
+ agentuserid: jspb.Message.getFieldWithDefault(msg, 75, 0),
41193
+ cardvalidationresult: jspb.Message.getFieldWithDefault(msg, 76, 0),
41194
+ actionurl: jspb.Message.getFieldWithDefault(msg, 77, ""),
41195
+ loyaltyoptionid: jspb.Message.getFieldWithDefault(msg, 78, 0),
41196
+ actionurlbase64: jspb.Message.getFieldWithDefault(msg, 79, ""),
41197
+ billertimezone: jspb.Message.getFieldWithDefault(msg, 80, ""),
41198
+ billertimezoneabbr: jspb.Message.getFieldWithDefault(msg, 81, ""),
41199
+ loyaltymembershipid: jspb.Message.getFieldWithDefault(msg, 82, 0),
41200
+ deliverybatchtype: jspb.Message.getFieldWithDefault(msg, 83, 0),
41201
+ loyaltyprogramid: jspb.Message.getFieldWithDefault(msg, 84, 0),
41202
+ loyaltyprogramname: jspb.Message.getFieldWithDefault(msg, 85, ""),
41203
+ earnedloyaltypoints: jspb.Message.getFieldWithDefault(msg, 86, 0),
41204
+ loyaltypointslabel: jspb.Message.getFieldWithDefault(msg, 87, ""),
41205
+ loyaltyprogramcode: jspb.Message.getFieldWithDefault(msg, 88, ""),
41206
+ isguest: jspb.Message.getBooleanFieldWithDefault(msg, 89, false)
41207
+ };
41208
+
41209
+ if (includeInstance) {
41210
+ obj.$jspbMessageInstance = msg;
41211
+ }
41212
+ return obj;
41213
+ };
41214
+ }
41215
+
41216
+
41217
+ /**
41218
+ * Deserializes binary data (in protobuf wire format).
41219
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
41220
+ * @return {!proto.sniiptransactionapi.TransactionDetails}
41221
+ */
41222
+ proto.sniiptransactionapi.TransactionDetails.deserializeBinary = function(bytes) {
41223
+ var reader = new jspb.BinaryReader(bytes);
41224
+ var msg = new proto.sniiptransactionapi.TransactionDetails;
41225
+ return proto.sniiptransactionapi.TransactionDetails.deserializeBinaryFromReader(msg, reader);
41226
+ };
41227
+
41228
+
41229
+ /**
41230
+ * Deserializes binary data (in protobuf wire format) from the
41231
+ * given reader into the given message object.
41232
+ * @param {!proto.sniiptransactionapi.TransactionDetails} msg The message object to deserialize into.
41233
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
41234
+ * @return {!proto.sniiptransactionapi.TransactionDetails}
41235
+ */
41236
+ proto.sniiptransactionapi.TransactionDetails.deserializeBinaryFromReader = function(msg, reader) {
41237
+ while (reader.nextField()) {
41238
+ if (reader.isEndGroup()) {
41239
+ break;
41240
+ }
41241
+ var field = reader.getFieldNumber();
41242
+ switch (field) {
41243
+ case 1:
41244
+ var value = /** @type {number} */ (reader.readInt64());
41245
+ msg.setTransactionid(value);
41246
+ break;
41247
+ case 2:
41248
+ var value = /** @type {string} */ (reader.readString());
41249
+ msg.setPaymentmethod(value);
41250
+ break;
41251
+ case 3:
41252
+ var value = /** @type {string} */ (reader.readString());
41253
+ msg.setType(value);
41254
+ break;
41255
+ case 4:
41256
+ var value = /** @type {string} */ (reader.readString());
41257
+ msg.setBilltype(value);
41258
+ break;
41259
+ case 5:
41260
+ var value = /** @type {number} */ (reader.readInt64());
41261
+ msg.setBillid(value);
41262
+ break;
41263
+ case 6:
41264
+ var value = /** @type {number} */ (reader.readInt64());
41265
+ msg.setBillerid(value);
39961
41266
  break;
39962
41267
  case 7:
39963
41268
  var value = /** @type {string} */ (reader.readString());
@@ -46651,4 +47956,20 @@ proto.sniiptransactionapi.PaymentMethodCategory = {
46651
47956
  PAYMENT_METHOD_CATEGORY_CLICK2PAY: 9
46652
47957
  };
46653
47958
 
47959
+ /**
47960
+ * @enum {number}
47961
+ */
47962
+ proto.sniiptransactionapi.PaymentErrorReason = {
47963
+ PAYMENT_ERROR_REASON_UNKNOWN: 0,
47964
+ PAYMENT_ERROR_REASON_AMOUNT_BELOW_MIN: 1,
47965
+ PAYMENT_ERROR_REASON_AMOUNT_ABOVE_MAX: 2,
47966
+ PAYMENT_ERROR_REASON_PAYMENT_METHOD_NOT_ACCEPTED: 3,
47967
+ PAYMENT_ERROR_REASON_BILLER_CONFIG_UNDER_REVIEW: 4,
47968
+ PAYMENT_ERROR_REASON_BILLER_CONFIG_BLOCKED: 5,
47969
+ PAYMENT_ERROR_REASON_BILL_MISSING_SME_CONFIG: 6,
47970
+ PAYMENT_ERROR_REASON_NOT_AVAILABLE_FOR_BULK: 7,
47971
+ PAYMENT_ERROR_REASON_NOT_AVAILABLE_FOR_SCHEDULED: 8,
47972
+ PAYMENT_ERROR_REASON_PAYMENT_METHOD_EXPIRED: 9
47973
+ };
47974
+
46654
47975
  goog.object.extend(exports, proto.sniiptransactionapi);