@sniipwebmaster/payment-methods-client-grpcweb 25.11.7413 → 25.11.7440
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dependancies/service_pb.js +300 -8
- package/package.json +1 -1
|
@@ -186,7 +186,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
186
186
|
* @constructor
|
|
187
187
|
*/
|
|
188
188
|
proto.sniippaymentmethodsserviceapi.AcceptedPaymentMethod = function(opt_data) {
|
|
189
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
189
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.sniippaymentmethodsserviceapi.AcceptedPaymentMethod.repeatedFields_, null);
|
|
190
190
|
};
|
|
191
191
|
goog.inherits(proto.sniippaymentmethodsserviceapi.AcceptedPaymentMethod, jspb.Message);
|
|
192
192
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -1551,7 +1551,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1551
1551
|
* @constructor
|
|
1552
1552
|
*/
|
|
1553
1553
|
proto.sniippaymentmethodsserviceapi.PaymentMethodType = function(opt_data) {
|
|
1554
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
1554
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.sniippaymentmethodsserviceapi.PaymentMethodType.repeatedFields_, null);
|
|
1555
1555
|
};
|
|
1556
1556
|
goog.inherits(proto.sniippaymentmethodsserviceapi.PaymentMethodType, jspb.Message);
|
|
1557
1557
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -2797,6 +2797,13 @@ proto.sniippaymentmethodsserviceapi.File.prototype.setContent = function(value)
|
|
|
2797
2797
|
|
|
2798
2798
|
|
|
2799
2799
|
|
|
2800
|
+
/**
|
|
2801
|
+
* List of repeated fields within this message type.
|
|
2802
|
+
* @private {!Array<number>}
|
|
2803
|
+
* @const
|
|
2804
|
+
*/
|
|
2805
|
+
proto.sniippaymentmethodsserviceapi.AcceptedPaymentMethod.repeatedFields_ = [8];
|
|
2806
|
+
|
|
2800
2807
|
|
|
2801
2808
|
|
|
2802
2809
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -2834,7 +2841,8 @@ proto.sniippaymentmethodsserviceapi.AcceptedPaymentMethod.toObject = function(in
|
|
|
2834
2841
|
eftposonly: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
2835
2842
|
allowinternational: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
|
2836
2843
|
allowprepaid: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
2837
|
-
allowcryptocom: jspb.Message.getBooleanFieldWithDefault(msg, 7, false)
|
|
2844
|
+
allowcryptocom: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
|
|
2845
|
+
allowedcardsubtypecodesList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f
|
|
2838
2846
|
};
|
|
2839
2847
|
|
|
2840
2848
|
if (includeInstance) {
|
|
@@ -2899,6 +2907,10 @@ proto.sniippaymentmethodsserviceapi.AcceptedPaymentMethod.deserializeBinaryFromR
|
|
|
2899
2907
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
2900
2908
|
msg.setAllowcryptocom(value);
|
|
2901
2909
|
break;
|
|
2910
|
+
case 8:
|
|
2911
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2912
|
+
msg.addAllowedcardsubtypecodes(value);
|
|
2913
|
+
break;
|
|
2902
2914
|
default:
|
|
2903
2915
|
reader.skipField();
|
|
2904
2916
|
break;
|
|
@@ -2977,6 +2989,13 @@ proto.sniippaymentmethodsserviceapi.AcceptedPaymentMethod.serializeBinaryToWrite
|
|
|
2977
2989
|
f
|
|
2978
2990
|
);
|
|
2979
2991
|
}
|
|
2992
|
+
f = message.getAllowedcardsubtypecodesList();
|
|
2993
|
+
if (f.length > 0) {
|
|
2994
|
+
writer.writeRepeatedString(
|
|
2995
|
+
8,
|
|
2996
|
+
f
|
|
2997
|
+
);
|
|
2998
|
+
}
|
|
2980
2999
|
};
|
|
2981
3000
|
|
|
2982
3001
|
|
|
@@ -3106,6 +3125,43 @@ proto.sniippaymentmethodsserviceapi.AcceptedPaymentMethod.prototype.setAllowcryp
|
|
|
3106
3125
|
};
|
|
3107
3126
|
|
|
3108
3127
|
|
|
3128
|
+
/**
|
|
3129
|
+
* repeated string allowedCardSubtypeCodes = 8;
|
|
3130
|
+
* @return {!Array<string>}
|
|
3131
|
+
*/
|
|
3132
|
+
proto.sniippaymentmethodsserviceapi.AcceptedPaymentMethod.prototype.getAllowedcardsubtypecodesList = function() {
|
|
3133
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 8));
|
|
3134
|
+
};
|
|
3135
|
+
|
|
3136
|
+
|
|
3137
|
+
/**
|
|
3138
|
+
* @param {!Array<string>} value
|
|
3139
|
+
* @return {!proto.sniippaymentmethodsserviceapi.AcceptedPaymentMethod} returns this
|
|
3140
|
+
*/
|
|
3141
|
+
proto.sniippaymentmethodsserviceapi.AcceptedPaymentMethod.prototype.setAllowedcardsubtypecodesList = function(value) {
|
|
3142
|
+
return jspb.Message.setField(this, 8, value || []);
|
|
3143
|
+
};
|
|
3144
|
+
|
|
3145
|
+
|
|
3146
|
+
/**
|
|
3147
|
+
* @param {string} value
|
|
3148
|
+
* @param {number=} opt_index
|
|
3149
|
+
* @return {!proto.sniippaymentmethodsserviceapi.AcceptedPaymentMethod} returns this
|
|
3150
|
+
*/
|
|
3151
|
+
proto.sniippaymentmethodsserviceapi.AcceptedPaymentMethod.prototype.addAllowedcardsubtypecodes = function(value, opt_index) {
|
|
3152
|
+
return jspb.Message.addToRepeatedField(this, 8, value, opt_index);
|
|
3153
|
+
};
|
|
3154
|
+
|
|
3155
|
+
|
|
3156
|
+
/**
|
|
3157
|
+
* Clears the list making it empty but non-null.
|
|
3158
|
+
* @return {!proto.sniippaymentmethodsserviceapi.AcceptedPaymentMethod} returns this
|
|
3159
|
+
*/
|
|
3160
|
+
proto.sniippaymentmethodsserviceapi.AcceptedPaymentMethod.prototype.clearAllowedcardsubtypecodesList = function() {
|
|
3161
|
+
return this.setAllowedcardsubtypecodesList([]);
|
|
3162
|
+
};
|
|
3163
|
+
|
|
3164
|
+
|
|
3109
3165
|
|
|
3110
3166
|
/**
|
|
3111
3167
|
* List of repeated fields within this message type.
|
|
@@ -5536,7 +5592,8 @@ proto.sniippaymentmethodsserviceapi.ApplePayDetail.toObject = function(includeIn
|
|
|
5536
5592
|
isprepaid: jspb.Message.getBooleanFieldWithDefault(msg, 15, false),
|
|
5537
5593
|
iscryptocomcard: jspb.Message.getBooleanFieldWithDefault(msg, 16, false),
|
|
5538
5594
|
iscorporate: jspb.Message.getBooleanFieldWithDefault(msg, 17, false),
|
|
5539
|
-
issmallbusiness: jspb.Message.getBooleanFieldWithDefault(msg, 18, false)
|
|
5595
|
+
issmallbusiness: jspb.Message.getBooleanFieldWithDefault(msg, 18, false),
|
|
5596
|
+
cardsubtypecode: jspb.Message.getFieldWithDefault(msg, 19, "")
|
|
5540
5597
|
};
|
|
5541
5598
|
|
|
5542
5599
|
if (includeInstance) {
|
|
@@ -5646,6 +5703,10 @@ proto.sniippaymentmethodsserviceapi.ApplePayDetail.deserializeBinaryFromReader =
|
|
|
5646
5703
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
5647
5704
|
msg.setIssmallbusiness(value);
|
|
5648
5705
|
break;
|
|
5706
|
+
case 19:
|
|
5707
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5708
|
+
msg.setCardsubtypecode(value);
|
|
5709
|
+
break;
|
|
5649
5710
|
default:
|
|
5650
5711
|
reader.skipField();
|
|
5651
5712
|
break;
|
|
@@ -5802,6 +5863,13 @@ proto.sniippaymentmethodsserviceapi.ApplePayDetail.serializeBinaryToWriter = fun
|
|
|
5802
5863
|
f
|
|
5803
5864
|
);
|
|
5804
5865
|
}
|
|
5866
|
+
f = message.getCardsubtypecode();
|
|
5867
|
+
if (f.length > 0) {
|
|
5868
|
+
writer.writeString(
|
|
5869
|
+
19,
|
|
5870
|
+
f
|
|
5871
|
+
);
|
|
5872
|
+
}
|
|
5805
5873
|
};
|
|
5806
5874
|
|
|
5807
5875
|
|
|
@@ -6148,6 +6216,24 @@ proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.setIssmallbusiness
|
|
|
6148
6216
|
};
|
|
6149
6217
|
|
|
6150
6218
|
|
|
6219
|
+
/**
|
|
6220
|
+
* optional string cardSubtypeCode = 19;
|
|
6221
|
+
* @return {string}
|
|
6222
|
+
*/
|
|
6223
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.getCardsubtypecode = function() {
|
|
6224
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
6225
|
+
};
|
|
6226
|
+
|
|
6227
|
+
|
|
6228
|
+
/**
|
|
6229
|
+
* @param {string} value
|
|
6230
|
+
* @return {!proto.sniippaymentmethodsserviceapi.ApplePayDetail} returns this
|
|
6231
|
+
*/
|
|
6232
|
+
proto.sniippaymentmethodsserviceapi.ApplePayDetail.prototype.setCardsubtypecode = function(value) {
|
|
6233
|
+
return jspb.Message.setProto3StringField(this, 19, value);
|
|
6234
|
+
};
|
|
6235
|
+
|
|
6236
|
+
|
|
6151
6237
|
|
|
6152
6238
|
|
|
6153
6239
|
|
|
@@ -9849,7 +9935,9 @@ proto.sniippaymentmethodsserviceapi.CreditCard.toObject = function(includeInstan
|
|
|
9849
9935
|
cardvalidationresult: jspb.Message.getFieldWithDefault(msg, 23, 0),
|
|
9850
9936
|
cardvalidationresulturl: jspb.Message.getFieldWithDefault(msg, 24, ""),
|
|
9851
9937
|
redirecturlafterverification: jspb.Message.getFieldWithDefault(msg, 25, ""),
|
|
9852
|
-
binpaymentenabled: jspb.Message.getBooleanFieldWithDefault(msg, 26, false)
|
|
9938
|
+
binpaymentenabled: jspb.Message.getBooleanFieldWithDefault(msg, 26, false),
|
|
9939
|
+
cardsubtypecode: jspb.Message.getFieldWithDefault(msg, 27, ""),
|
|
9940
|
+
cardsubtypedisplayname: jspb.Message.getFieldWithDefault(msg, 28, "")
|
|
9853
9941
|
};
|
|
9854
9942
|
|
|
9855
9943
|
if (includeInstance) {
|
|
@@ -9991,6 +10079,14 @@ proto.sniippaymentmethodsserviceapi.CreditCard.deserializeBinaryFromReader = fun
|
|
|
9991
10079
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
9992
10080
|
msg.setBinpaymentenabled(value);
|
|
9993
10081
|
break;
|
|
10082
|
+
case 27:
|
|
10083
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10084
|
+
msg.setCardsubtypecode(value);
|
|
10085
|
+
break;
|
|
10086
|
+
case 28:
|
|
10087
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10088
|
+
msg.setCardsubtypedisplayname(value);
|
|
10089
|
+
break;
|
|
9994
10090
|
default:
|
|
9995
10091
|
reader.skipField();
|
|
9996
10092
|
break;
|
|
@@ -10203,6 +10299,20 @@ proto.sniippaymentmethodsserviceapi.CreditCard.serializeBinaryToWriter = functio
|
|
|
10203
10299
|
f
|
|
10204
10300
|
);
|
|
10205
10301
|
}
|
|
10302
|
+
f = message.getCardsubtypecode();
|
|
10303
|
+
if (f.length > 0) {
|
|
10304
|
+
writer.writeString(
|
|
10305
|
+
27,
|
|
10306
|
+
f
|
|
10307
|
+
);
|
|
10308
|
+
}
|
|
10309
|
+
f = message.getCardsubtypedisplayname();
|
|
10310
|
+
if (f.length > 0) {
|
|
10311
|
+
writer.writeString(
|
|
10312
|
+
28,
|
|
10313
|
+
f
|
|
10314
|
+
);
|
|
10315
|
+
}
|
|
10206
10316
|
};
|
|
10207
10317
|
|
|
10208
10318
|
|
|
@@ -10693,6 +10803,42 @@ proto.sniippaymentmethodsserviceapi.CreditCard.prototype.setBinpaymentenabled =
|
|
|
10693
10803
|
};
|
|
10694
10804
|
|
|
10695
10805
|
|
|
10806
|
+
/**
|
|
10807
|
+
* optional string cardSubtypeCode = 27;
|
|
10808
|
+
* @return {string}
|
|
10809
|
+
*/
|
|
10810
|
+
proto.sniippaymentmethodsserviceapi.CreditCard.prototype.getCardsubtypecode = function() {
|
|
10811
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 27, ""));
|
|
10812
|
+
};
|
|
10813
|
+
|
|
10814
|
+
|
|
10815
|
+
/**
|
|
10816
|
+
* @param {string} value
|
|
10817
|
+
* @return {!proto.sniippaymentmethodsserviceapi.CreditCard} returns this
|
|
10818
|
+
*/
|
|
10819
|
+
proto.sniippaymentmethodsserviceapi.CreditCard.prototype.setCardsubtypecode = function(value) {
|
|
10820
|
+
return jspb.Message.setProto3StringField(this, 27, value);
|
|
10821
|
+
};
|
|
10822
|
+
|
|
10823
|
+
|
|
10824
|
+
/**
|
|
10825
|
+
* optional string cardSubtypeDisplayName = 28;
|
|
10826
|
+
* @return {string}
|
|
10827
|
+
*/
|
|
10828
|
+
proto.sniippaymentmethodsserviceapi.CreditCard.prototype.getCardsubtypedisplayname = function() {
|
|
10829
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 28, ""));
|
|
10830
|
+
};
|
|
10831
|
+
|
|
10832
|
+
|
|
10833
|
+
/**
|
|
10834
|
+
* @param {string} value
|
|
10835
|
+
* @return {!proto.sniippaymentmethodsserviceapi.CreditCard} returns this
|
|
10836
|
+
*/
|
|
10837
|
+
proto.sniippaymentmethodsserviceapi.CreditCard.prototype.setCardsubtypedisplayname = function(value) {
|
|
10838
|
+
return jspb.Message.setProto3StringField(this, 28, value);
|
|
10839
|
+
};
|
|
10840
|
+
|
|
10841
|
+
|
|
10696
10842
|
|
|
10697
10843
|
|
|
10698
10844
|
|
|
@@ -14388,7 +14534,8 @@ proto.sniippaymentmethodsserviceapi.GooglePayDetail.toObject = function(includeI
|
|
|
14388
14534
|
isprepaid: jspb.Message.getBooleanFieldWithDefault(msg, 15, false),
|
|
14389
14535
|
iscryptocomcard: jspb.Message.getBooleanFieldWithDefault(msg, 16, false),
|
|
14390
14536
|
iscorporate: jspb.Message.getBooleanFieldWithDefault(msg, 17, false),
|
|
14391
|
-
issmallbusiness: jspb.Message.getBooleanFieldWithDefault(msg, 18, false)
|
|
14537
|
+
issmallbusiness: jspb.Message.getBooleanFieldWithDefault(msg, 18, false),
|
|
14538
|
+
cardsubtypecode: jspb.Message.getFieldWithDefault(msg, 19, "")
|
|
14392
14539
|
};
|
|
14393
14540
|
|
|
14394
14541
|
if (includeInstance) {
|
|
@@ -14498,6 +14645,10 @@ proto.sniippaymentmethodsserviceapi.GooglePayDetail.deserializeBinaryFromReader
|
|
|
14498
14645
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
14499
14646
|
msg.setIssmallbusiness(value);
|
|
14500
14647
|
break;
|
|
14648
|
+
case 19:
|
|
14649
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14650
|
+
msg.setCardsubtypecode(value);
|
|
14651
|
+
break;
|
|
14501
14652
|
default:
|
|
14502
14653
|
reader.skipField();
|
|
14503
14654
|
break;
|
|
@@ -14654,6 +14805,13 @@ proto.sniippaymentmethodsserviceapi.GooglePayDetail.serializeBinaryToWriter = fu
|
|
|
14654
14805
|
f
|
|
14655
14806
|
);
|
|
14656
14807
|
}
|
|
14808
|
+
f = message.getCardsubtypecode();
|
|
14809
|
+
if (f.length > 0) {
|
|
14810
|
+
writer.writeString(
|
|
14811
|
+
19,
|
|
14812
|
+
f
|
|
14813
|
+
);
|
|
14814
|
+
}
|
|
14657
14815
|
};
|
|
14658
14816
|
|
|
14659
14817
|
|
|
@@ -15000,6 +15158,24 @@ proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.setIssmallbusiness
|
|
|
15000
15158
|
};
|
|
15001
15159
|
|
|
15002
15160
|
|
|
15161
|
+
/**
|
|
15162
|
+
* optional string cardSubtypeCode = 19;
|
|
15163
|
+
* @return {string}
|
|
15164
|
+
*/
|
|
15165
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.getCardsubtypecode = function() {
|
|
15166
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
15167
|
+
};
|
|
15168
|
+
|
|
15169
|
+
|
|
15170
|
+
/**
|
|
15171
|
+
* @param {string} value
|
|
15172
|
+
* @return {!proto.sniippaymentmethodsserviceapi.GooglePayDetail} returns this
|
|
15173
|
+
*/
|
|
15174
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.setCardsubtypecode = function(value) {
|
|
15175
|
+
return jspb.Message.setProto3StringField(this, 19, value);
|
|
15176
|
+
};
|
|
15177
|
+
|
|
15178
|
+
|
|
15003
15179
|
|
|
15004
15180
|
|
|
15005
15181
|
|
|
@@ -15059,7 +15235,9 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.toObject = function(include
|
|
|
15059
15235
|
cardvalidationresult: jspb.Message.getFieldWithDefault(msg, 25, 0),
|
|
15060
15236
|
cardvalidationresulturl: jspb.Message.getFieldWithDefault(msg, 26, ""),
|
|
15061
15237
|
redirecturlafterverification: jspb.Message.getFieldWithDefault(msg, 27, ""),
|
|
15062
|
-
binpaymentenabled: jspb.Message.getBooleanFieldWithDefault(msg, 28, false)
|
|
15238
|
+
binpaymentenabled: jspb.Message.getBooleanFieldWithDefault(msg, 28, false),
|
|
15239
|
+
cardsubtypecode: jspb.Message.getFieldWithDefault(msg, 29, ""),
|
|
15240
|
+
cardsubtypedisplayname: jspb.Message.getFieldWithDefault(msg, 30, "")
|
|
15063
15241
|
};
|
|
15064
15242
|
|
|
15065
15243
|
if (includeInstance) {
|
|
@@ -15209,6 +15387,14 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.deserializeBinaryFromReader
|
|
|
15209
15387
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
15210
15388
|
msg.setBinpaymentenabled(value);
|
|
15211
15389
|
break;
|
|
15390
|
+
case 29:
|
|
15391
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15392
|
+
msg.setCardsubtypecode(value);
|
|
15393
|
+
break;
|
|
15394
|
+
case 30:
|
|
15395
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15396
|
+
msg.setCardsubtypedisplayname(value);
|
|
15397
|
+
break;
|
|
15212
15398
|
default:
|
|
15213
15399
|
reader.skipField();
|
|
15214
15400
|
break;
|
|
@@ -15435,6 +15621,20 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.serializeBinaryToWriter = f
|
|
|
15435
15621
|
f
|
|
15436
15622
|
);
|
|
15437
15623
|
}
|
|
15624
|
+
f = message.getCardsubtypecode();
|
|
15625
|
+
if (f.length > 0) {
|
|
15626
|
+
writer.writeString(
|
|
15627
|
+
29,
|
|
15628
|
+
f
|
|
15629
|
+
);
|
|
15630
|
+
}
|
|
15631
|
+
f = message.getCardsubtypedisplayname();
|
|
15632
|
+
if (f.length > 0) {
|
|
15633
|
+
writer.writeString(
|
|
15634
|
+
30,
|
|
15635
|
+
f
|
|
15636
|
+
);
|
|
15637
|
+
}
|
|
15438
15638
|
};
|
|
15439
15639
|
|
|
15440
15640
|
|
|
@@ -15961,6 +16161,42 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.setBinpaymentenab
|
|
|
15961
16161
|
};
|
|
15962
16162
|
|
|
15963
16163
|
|
|
16164
|
+
/**
|
|
16165
|
+
* optional string cardSubtypeCode = 29;
|
|
16166
|
+
* @return {string}
|
|
16167
|
+
*/
|
|
16168
|
+
proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.getCardsubtypecode = function() {
|
|
16169
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 29, ""));
|
|
16170
|
+
};
|
|
16171
|
+
|
|
16172
|
+
|
|
16173
|
+
/**
|
|
16174
|
+
* @param {string} value
|
|
16175
|
+
* @return {!proto.sniippaymentmethodsserviceapi.MaskedCreditCard} returns this
|
|
16176
|
+
*/
|
|
16177
|
+
proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.setCardsubtypecode = function(value) {
|
|
16178
|
+
return jspb.Message.setProto3StringField(this, 29, value);
|
|
16179
|
+
};
|
|
16180
|
+
|
|
16181
|
+
|
|
16182
|
+
/**
|
|
16183
|
+
* optional string cardSubtypeDisplayName = 30;
|
|
16184
|
+
* @return {string}
|
|
16185
|
+
*/
|
|
16186
|
+
proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.getCardsubtypedisplayname = function() {
|
|
16187
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 30, ""));
|
|
16188
|
+
};
|
|
16189
|
+
|
|
16190
|
+
|
|
16191
|
+
/**
|
|
16192
|
+
* @param {string} value
|
|
16193
|
+
* @return {!proto.sniippaymentmethodsserviceapi.MaskedCreditCard} returns this
|
|
16194
|
+
*/
|
|
16195
|
+
proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.setCardsubtypedisplayname = function(value) {
|
|
16196
|
+
return jspb.Message.setProto3StringField(this, 30, value);
|
|
16197
|
+
};
|
|
16198
|
+
|
|
16199
|
+
|
|
15964
16200
|
|
|
15965
16201
|
|
|
15966
16202
|
|
|
@@ -19776,6 +20012,13 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodResponse.prototype.hasResponsec
|
|
|
19776
20012
|
|
|
19777
20013
|
|
|
19778
20014
|
|
|
20015
|
+
/**
|
|
20016
|
+
* List of repeated fields within this message type.
|
|
20017
|
+
* @private {!Array<number>}
|
|
20018
|
+
* @const
|
|
20019
|
+
*/
|
|
20020
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodType.repeatedFields_ = [10];
|
|
20021
|
+
|
|
19779
20022
|
|
|
19780
20023
|
|
|
19781
20024
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -19815,7 +20058,8 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodType.toObject = function(includ
|
|
|
19815
20058
|
allowinternational: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
19816
20059
|
displayname: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
19817
20060
|
allowprepaid: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
|
|
19818
|
-
allowcryptocom: jspb.Message.getBooleanFieldWithDefault(msg, 9, false)
|
|
20061
|
+
allowcryptocom: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
|
|
20062
|
+
allowedcardsubtypecodesList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f
|
|
19819
20063
|
};
|
|
19820
20064
|
|
|
19821
20065
|
if (includeInstance) {
|
|
@@ -19888,6 +20132,10 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodType.deserializeBinaryFromReade
|
|
|
19888
20132
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
19889
20133
|
msg.setAllowcryptocom(value);
|
|
19890
20134
|
break;
|
|
20135
|
+
case 10:
|
|
20136
|
+
var value = /** @type {string} */ (reader.readString());
|
|
20137
|
+
msg.addAllowedcardsubtypecodes(value);
|
|
20138
|
+
break;
|
|
19891
20139
|
default:
|
|
19892
20140
|
reader.skipField();
|
|
19893
20141
|
break;
|
|
@@ -19980,6 +20228,13 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodType.serializeBinaryToWriter =
|
|
|
19980
20228
|
f
|
|
19981
20229
|
);
|
|
19982
20230
|
}
|
|
20231
|
+
f = message.getAllowedcardsubtypecodesList();
|
|
20232
|
+
if (f.length > 0) {
|
|
20233
|
+
writer.writeRepeatedString(
|
|
20234
|
+
10,
|
|
20235
|
+
f
|
|
20236
|
+
);
|
|
20237
|
+
}
|
|
19983
20238
|
};
|
|
19984
20239
|
|
|
19985
20240
|
|
|
@@ -20145,6 +20400,43 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setAllowcryptoco
|
|
|
20145
20400
|
};
|
|
20146
20401
|
|
|
20147
20402
|
|
|
20403
|
+
/**
|
|
20404
|
+
* repeated string allowedCardSubtypeCodes = 10;
|
|
20405
|
+
* @return {!Array<string>}
|
|
20406
|
+
*/
|
|
20407
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.getAllowedcardsubtypecodesList = function() {
|
|
20408
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 10));
|
|
20409
|
+
};
|
|
20410
|
+
|
|
20411
|
+
|
|
20412
|
+
/**
|
|
20413
|
+
* @param {!Array<string>} value
|
|
20414
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodType} returns this
|
|
20415
|
+
*/
|
|
20416
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setAllowedcardsubtypecodesList = function(value) {
|
|
20417
|
+
return jspb.Message.setField(this, 10, value || []);
|
|
20418
|
+
};
|
|
20419
|
+
|
|
20420
|
+
|
|
20421
|
+
/**
|
|
20422
|
+
* @param {string} value
|
|
20423
|
+
* @param {number=} opt_index
|
|
20424
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodType} returns this
|
|
20425
|
+
*/
|
|
20426
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.addAllowedcardsubtypecodes = function(value, opt_index) {
|
|
20427
|
+
return jspb.Message.addToRepeatedField(this, 10, value, opt_index);
|
|
20428
|
+
};
|
|
20429
|
+
|
|
20430
|
+
|
|
20431
|
+
/**
|
|
20432
|
+
* Clears the list making it empty but non-null.
|
|
20433
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodType} returns this
|
|
20434
|
+
*/
|
|
20435
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.clearAllowedcardsubtypecodesList = function() {
|
|
20436
|
+
return this.setAllowedcardsubtypecodesList([]);
|
|
20437
|
+
};
|
|
20438
|
+
|
|
20439
|
+
|
|
20148
20440
|
|
|
20149
20441
|
/**
|
|
20150
20442
|
* List of repeated fields within this message type.
|