@sniipwebmaster/payment-methods-client-grpcweb-ts 24.12.5776 → 24.12.5793
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.
|
@@ -2,15 +2,18 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* @fileoverview
|
|
4
4
|
* @enhanceable
|
|
5
|
+
* @suppress {missingRequire} reports error on implicit type usages.
|
|
5
6
|
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
6
7
|
* field starts with 'MSG_' and isn't a translatable message.
|
|
7
8
|
* @public
|
|
8
9
|
*/
|
|
9
10
|
// GENERATED CODE -- DO NOT EDIT!
|
|
11
|
+
/* eslint-disable */
|
|
12
|
+
// @ts-nocheck
|
|
10
13
|
|
|
11
14
|
var jspb = require('google-protobuf');
|
|
12
15
|
var goog = jspb;
|
|
13
|
-
var global = Function('return this')();
|
|
16
|
+
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
|
|
14
17
|
|
|
15
18
|
var google_api_annotations_pb = require('./google/api/annotations_pb.js');
|
|
16
19
|
goog.object.extend(proto, google_api_annotations_pb);
|
|
@@ -95,6 +98,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdateCreditCard', null,
|
|
|
95
98
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest', null, global);
|
|
96
99
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest', null, global);
|
|
97
100
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest', null, global);
|
|
101
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdateWexCard', null, global);
|
|
98
102
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdateWexCardRequest', null, global);
|
|
99
103
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest', null, global);
|
|
100
104
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ValidatePaymentMethodsRequest', null, global);
|
|
@@ -103,6 +107,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ValidatedPaymentMethodsRe
|
|
|
103
107
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.VerifyBankAccountRequest', null, global);
|
|
104
108
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.VerifyCreditCardForUserRequest', null, global);
|
|
105
109
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.VerifyCreditCardRequest', null, global);
|
|
110
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.WexCard', null, global);
|
|
106
111
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.WexCardDetail', null, global);
|
|
107
112
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest', null, global);
|
|
108
113
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse', null, global);
|
|
@@ -276,6 +281,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
276
281
|
*/
|
|
277
282
|
proto.sniippaymentmethodsserviceapi.Activation.displayName = 'proto.sniippaymentmethodsserviceapi.Activation';
|
|
278
283
|
}
|
|
284
|
+
/**
|
|
285
|
+
* Generated by JsPbCodeGenerator.
|
|
286
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
287
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
288
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
289
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
290
|
+
* valid.
|
|
291
|
+
* @extends {jspb.Message}
|
|
292
|
+
* @constructor
|
|
293
|
+
*/
|
|
294
|
+
proto.sniippaymentmethodsserviceapi.WexCard = function(opt_data) {
|
|
295
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
296
|
+
};
|
|
297
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.WexCard, jspb.Message);
|
|
298
|
+
if (goog.DEBUG && !COMPILED) {
|
|
299
|
+
/**
|
|
300
|
+
* @public
|
|
301
|
+
* @override
|
|
302
|
+
*/
|
|
303
|
+
proto.sniippaymentmethodsserviceapi.WexCard.displayName = 'proto.sniippaymentmethodsserviceapi.WexCard';
|
|
304
|
+
}
|
|
279
305
|
/**
|
|
280
306
|
* Generated by JsPbCodeGenerator.
|
|
281
307
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1473,6 +1499,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1473
1499
|
*/
|
|
1474
1500
|
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.displayName = 'proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest';
|
|
1475
1501
|
}
|
|
1502
|
+
/**
|
|
1503
|
+
* Generated by JsPbCodeGenerator.
|
|
1504
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1505
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1506
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1507
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1508
|
+
* valid.
|
|
1509
|
+
* @extends {jspb.Message}
|
|
1510
|
+
* @constructor
|
|
1511
|
+
*/
|
|
1512
|
+
proto.sniippaymentmethodsserviceapi.UpdateWexCard = function(opt_data) {
|
|
1513
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1514
|
+
};
|
|
1515
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.UpdateWexCard, jspb.Message);
|
|
1516
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1517
|
+
/**
|
|
1518
|
+
* @public
|
|
1519
|
+
* @override
|
|
1520
|
+
*/
|
|
1521
|
+
proto.sniippaymentmethodsserviceapi.UpdateWexCard.displayName = 'proto.sniippaymentmethodsserviceapi.UpdateWexCard';
|
|
1522
|
+
}
|
|
1476
1523
|
/**
|
|
1477
1524
|
* Generated by JsPbCodeGenerator.
|
|
1478
1525
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -3659,6 +3706,136 @@ proto.sniippaymentmethodsserviceapi.Activation.prototype.setSourceid = function(
|
|
|
3659
3706
|
|
|
3660
3707
|
|
|
3661
3708
|
|
|
3709
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3710
|
+
/**
|
|
3711
|
+
* Creates an object representation of this proto.
|
|
3712
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3713
|
+
* Optional fields that are not set will be set to undefined.
|
|
3714
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3715
|
+
* For the list of reserved names please see:
|
|
3716
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3717
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3718
|
+
* JSPB instance for transitional soy proto support:
|
|
3719
|
+
* http://goto/soy-param-migration
|
|
3720
|
+
* @return {!Object}
|
|
3721
|
+
*/
|
|
3722
|
+
proto.sniippaymentmethodsserviceapi.WexCard.prototype.toObject = function(opt_includeInstance) {
|
|
3723
|
+
return proto.sniippaymentmethodsserviceapi.WexCard.toObject(opt_includeInstance, this);
|
|
3724
|
+
};
|
|
3725
|
+
|
|
3726
|
+
|
|
3727
|
+
/**
|
|
3728
|
+
* Static version of the {@see toObject} method.
|
|
3729
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3730
|
+
* the JSPB instance for transitional soy proto support:
|
|
3731
|
+
* http://goto/soy-param-migration
|
|
3732
|
+
* @param {!proto.sniippaymentmethodsserviceapi.WexCard} msg The msg instance to transform.
|
|
3733
|
+
* @return {!Object}
|
|
3734
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3735
|
+
*/
|
|
3736
|
+
proto.sniippaymentmethodsserviceapi.WexCard.toObject = function(includeInstance, msg) {
|
|
3737
|
+
var f, obj = {
|
|
3738
|
+
nickname: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
3739
|
+
};
|
|
3740
|
+
|
|
3741
|
+
if (includeInstance) {
|
|
3742
|
+
obj.$jspbMessageInstance = msg;
|
|
3743
|
+
}
|
|
3744
|
+
return obj;
|
|
3745
|
+
};
|
|
3746
|
+
}
|
|
3747
|
+
|
|
3748
|
+
|
|
3749
|
+
/**
|
|
3750
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3751
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3752
|
+
* @return {!proto.sniippaymentmethodsserviceapi.WexCard}
|
|
3753
|
+
*/
|
|
3754
|
+
proto.sniippaymentmethodsserviceapi.WexCard.deserializeBinary = function(bytes) {
|
|
3755
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3756
|
+
var msg = new proto.sniippaymentmethodsserviceapi.WexCard;
|
|
3757
|
+
return proto.sniippaymentmethodsserviceapi.WexCard.deserializeBinaryFromReader(msg, reader);
|
|
3758
|
+
};
|
|
3759
|
+
|
|
3760
|
+
|
|
3761
|
+
/**
|
|
3762
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3763
|
+
* given reader into the given message object.
|
|
3764
|
+
* @param {!proto.sniippaymentmethodsserviceapi.WexCard} msg The message object to deserialize into.
|
|
3765
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3766
|
+
* @return {!proto.sniippaymentmethodsserviceapi.WexCard}
|
|
3767
|
+
*/
|
|
3768
|
+
proto.sniippaymentmethodsserviceapi.WexCard.deserializeBinaryFromReader = function(msg, reader) {
|
|
3769
|
+
while (reader.nextField()) {
|
|
3770
|
+
if (reader.isEndGroup()) {
|
|
3771
|
+
break;
|
|
3772
|
+
}
|
|
3773
|
+
var field = reader.getFieldNumber();
|
|
3774
|
+
switch (field) {
|
|
3775
|
+
case 1:
|
|
3776
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3777
|
+
msg.setNickname(value);
|
|
3778
|
+
break;
|
|
3779
|
+
default:
|
|
3780
|
+
reader.skipField();
|
|
3781
|
+
break;
|
|
3782
|
+
}
|
|
3783
|
+
}
|
|
3784
|
+
return msg;
|
|
3785
|
+
};
|
|
3786
|
+
|
|
3787
|
+
|
|
3788
|
+
/**
|
|
3789
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3790
|
+
* @return {!Uint8Array}
|
|
3791
|
+
*/
|
|
3792
|
+
proto.sniippaymentmethodsserviceapi.WexCard.prototype.serializeBinary = function() {
|
|
3793
|
+
var writer = new jspb.BinaryWriter();
|
|
3794
|
+
proto.sniippaymentmethodsserviceapi.WexCard.serializeBinaryToWriter(this, writer);
|
|
3795
|
+
return writer.getResultBuffer();
|
|
3796
|
+
};
|
|
3797
|
+
|
|
3798
|
+
|
|
3799
|
+
/**
|
|
3800
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3801
|
+
* format), writing to the given BinaryWriter.
|
|
3802
|
+
* @param {!proto.sniippaymentmethodsserviceapi.WexCard} message
|
|
3803
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3804
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3805
|
+
*/
|
|
3806
|
+
proto.sniippaymentmethodsserviceapi.WexCard.serializeBinaryToWriter = function(message, writer) {
|
|
3807
|
+
var f = undefined;
|
|
3808
|
+
f = message.getNickname();
|
|
3809
|
+
if (f.length > 0) {
|
|
3810
|
+
writer.writeString(
|
|
3811
|
+
1,
|
|
3812
|
+
f
|
|
3813
|
+
);
|
|
3814
|
+
}
|
|
3815
|
+
};
|
|
3816
|
+
|
|
3817
|
+
|
|
3818
|
+
/**
|
|
3819
|
+
* optional string nickname = 1;
|
|
3820
|
+
* @return {string}
|
|
3821
|
+
*/
|
|
3822
|
+
proto.sniippaymentmethodsserviceapi.WexCard.prototype.getNickname = function() {
|
|
3823
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3824
|
+
};
|
|
3825
|
+
|
|
3826
|
+
|
|
3827
|
+
/**
|
|
3828
|
+
* @param {string} value
|
|
3829
|
+
* @return {!proto.sniippaymentmethodsserviceapi.WexCard} returns this
|
|
3830
|
+
*/
|
|
3831
|
+
proto.sniippaymentmethodsserviceapi.WexCard.prototype.setNickname = function(value) {
|
|
3832
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3833
|
+
};
|
|
3834
|
+
|
|
3835
|
+
|
|
3836
|
+
|
|
3837
|
+
|
|
3838
|
+
|
|
3662
3839
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3663
3840
|
/**
|
|
3664
3841
|
* Creates an object representation of this proto.
|
|
@@ -3693,7 +3870,8 @@ proto.sniippaymentmethodsserviceapi.AddPaymentMethod.toObject = function(include
|
|
|
3693
3870
|
bankaccount: (f = msg.getBankaccount()) && proto.sniippaymentmethodsserviceapi.BankAccount.toObject(includeInstance, f),
|
|
3694
3871
|
accesstoken: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
3695
3872
|
applepay: (f = msg.getApplepay()) && proto.sniippaymentmethodsserviceapi.ApplePay.toObject(includeInstance, f),
|
|
3696
|
-
googlepay: (f = msg.getGooglepay()) && proto.sniippaymentmethodsserviceapi.GooglePay.toObject(includeInstance, f)
|
|
3873
|
+
googlepay: (f = msg.getGooglepay()) && proto.sniippaymentmethodsserviceapi.GooglePay.toObject(includeInstance, f),
|
|
3874
|
+
wexcard: (f = msg.getWexcard()) && proto.sniippaymentmethodsserviceapi.WexCard.toObject(includeInstance, f)
|
|
3697
3875
|
};
|
|
3698
3876
|
|
|
3699
3877
|
if (includeInstance) {
|
|
@@ -3758,6 +3936,11 @@ proto.sniippaymentmethodsserviceapi.AddPaymentMethod.deserializeBinaryFromReader
|
|
|
3758
3936
|
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.GooglePay.deserializeBinaryFromReader);
|
|
3759
3937
|
msg.setGooglepay(value);
|
|
3760
3938
|
break;
|
|
3939
|
+
case 7:
|
|
3940
|
+
var value = new proto.sniippaymentmethodsserviceapi.WexCard;
|
|
3941
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.WexCard.deserializeBinaryFromReader);
|
|
3942
|
+
msg.setWexcard(value);
|
|
3943
|
+
break;
|
|
3761
3944
|
default:
|
|
3762
3945
|
reader.skipField();
|
|
3763
3946
|
break;
|
|
@@ -3833,6 +4016,14 @@ proto.sniippaymentmethodsserviceapi.AddPaymentMethod.serializeBinaryToWriter = f
|
|
|
3833
4016
|
proto.sniippaymentmethodsserviceapi.GooglePay.serializeBinaryToWriter
|
|
3834
4017
|
);
|
|
3835
4018
|
}
|
|
4019
|
+
f = message.getWexcard();
|
|
4020
|
+
if (f != null) {
|
|
4021
|
+
writer.writeMessage(
|
|
4022
|
+
7,
|
|
4023
|
+
f,
|
|
4024
|
+
proto.sniippaymentmethodsserviceapi.WexCard.serializeBinaryToWriter
|
|
4025
|
+
);
|
|
4026
|
+
}
|
|
3836
4027
|
};
|
|
3837
4028
|
|
|
3838
4029
|
|
|
@@ -4020,6 +4211,43 @@ proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.hasGooglepay = fu
|
|
|
4020
4211
|
};
|
|
4021
4212
|
|
|
4022
4213
|
|
|
4214
|
+
/**
|
|
4215
|
+
* optional WexCard wexCard = 7;
|
|
4216
|
+
* @return {?proto.sniippaymentmethodsserviceapi.WexCard}
|
|
4217
|
+
*/
|
|
4218
|
+
proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.getWexcard = function() {
|
|
4219
|
+
return /** @type{?proto.sniippaymentmethodsserviceapi.WexCard} */ (
|
|
4220
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.WexCard, 7));
|
|
4221
|
+
};
|
|
4222
|
+
|
|
4223
|
+
|
|
4224
|
+
/**
|
|
4225
|
+
* @param {?proto.sniippaymentmethodsserviceapi.WexCard|undefined} value
|
|
4226
|
+
* @return {!proto.sniippaymentmethodsserviceapi.AddPaymentMethod} returns this
|
|
4227
|
+
*/
|
|
4228
|
+
proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.setWexcard = function(value) {
|
|
4229
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
4230
|
+
};
|
|
4231
|
+
|
|
4232
|
+
|
|
4233
|
+
/**
|
|
4234
|
+
* Clears the message field making it undefined.
|
|
4235
|
+
* @return {!proto.sniippaymentmethodsserviceapi.AddPaymentMethod} returns this
|
|
4236
|
+
*/
|
|
4237
|
+
proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.clearWexcard = function() {
|
|
4238
|
+
return this.setWexcard(undefined);
|
|
4239
|
+
};
|
|
4240
|
+
|
|
4241
|
+
|
|
4242
|
+
/**
|
|
4243
|
+
* Returns whether this field is set.
|
|
4244
|
+
* @return {boolean}
|
|
4245
|
+
*/
|
|
4246
|
+
proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.hasWexcard = function() {
|
|
4247
|
+
return jspb.Message.getField(this, 7) != null;
|
|
4248
|
+
};
|
|
4249
|
+
|
|
4250
|
+
|
|
4023
4251
|
|
|
4024
4252
|
|
|
4025
4253
|
|
|
@@ -6464,8 +6692,10 @@ proto.sniippaymentmethodsserviceapi.BillConfigsForPaymentRequest.deserializeBina
|
|
|
6464
6692
|
var field = reader.getFieldNumber();
|
|
6465
6693
|
switch (field) {
|
|
6466
6694
|
case 1:
|
|
6467
|
-
var
|
|
6468
|
-
|
|
6695
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
|
|
6696
|
+
for (var i = 0; i < values.length; i++) {
|
|
6697
|
+
msg.addBillids(values[i]);
|
|
6698
|
+
}
|
|
6469
6699
|
break;
|
|
6470
6700
|
case 2:
|
|
6471
6701
|
var value = /** @type {number} */ (reader.readInt64());
|
|
@@ -15242,8 +15472,10 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodExpiringForScheduledPaymentsNot
|
|
|
15242
15472
|
var field = reader.getFieldNumber();
|
|
15243
15473
|
switch (field) {
|
|
15244
15474
|
case 1:
|
|
15245
|
-
var
|
|
15246
|
-
|
|
15475
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
|
|
15476
|
+
for (var i = 0; i < values.length; i++) {
|
|
15477
|
+
msg.addPaymentmethodids(values[i]);
|
|
15478
|
+
}
|
|
15247
15479
|
break;
|
|
15248
15480
|
default:
|
|
15249
15481
|
reader.skipField();
|
|
@@ -16339,8 +16571,10 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest.deserializeB
|
|
|
16339
16571
|
msg.setName(value);
|
|
16340
16572
|
break;
|
|
16341
16573
|
case 2:
|
|
16342
|
-
var
|
|
16343
|
-
|
|
16574
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
|
|
16575
|
+
for (var i = 0; i < values.length; i++) {
|
|
16576
|
+
msg.addPaymentmethods(values[i]);
|
|
16577
|
+
}
|
|
16344
16578
|
break;
|
|
16345
16579
|
default:
|
|
16346
16580
|
reader.skipField();
|
|
@@ -16727,8 +16961,10 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest.deserializeBi
|
|
|
16727
16961
|
msg.setName(value);
|
|
16728
16962
|
break;
|
|
16729
16963
|
case 2:
|
|
16730
|
-
var
|
|
16731
|
-
|
|
16964
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
|
|
16965
|
+
for (var i = 0; i < values.length; i++) {
|
|
16966
|
+
msg.addPaymentmethods(values[i]);
|
|
16967
|
+
}
|
|
16732
16968
|
break;
|
|
16733
16969
|
default:
|
|
16734
16970
|
reader.skipField();
|
|
@@ -17861,7 +18097,8 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.toObject = functi
|
|
|
17861
18097
|
paymenttype: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
17862
18098
|
creditcard: (f = msg.getCreditcard()) && proto.sniippaymentmethodsserviceapi.UpdateCreditCard.toObject(includeInstance, f),
|
|
17863
18099
|
bankaccount: (f = msg.getBankaccount()) && proto.sniippaymentmethodsserviceapi.UpdateBankAccount.toObject(includeInstance, f),
|
|
17864
|
-
accesstoken: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
18100
|
+
accesstoken: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
18101
|
+
wexcard: (f = msg.getWexcard()) && proto.sniippaymentmethodsserviceapi.UpdateWexCard.toObject(includeInstance, f)
|
|
17865
18102
|
};
|
|
17866
18103
|
|
|
17867
18104
|
if (includeInstance) {
|
|
@@ -17920,6 +18157,11 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.deserializeBinary
|
|
|
17920
18157
|
var value = /** @type {string} */ (reader.readString());
|
|
17921
18158
|
msg.setAccesstoken(value);
|
|
17922
18159
|
break;
|
|
18160
|
+
case 6:
|
|
18161
|
+
var value = new proto.sniippaymentmethodsserviceapi.UpdateWexCard;
|
|
18162
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.UpdateWexCard.deserializeBinaryFromReader);
|
|
18163
|
+
msg.setWexcard(value);
|
|
18164
|
+
break;
|
|
17923
18165
|
default:
|
|
17924
18166
|
reader.skipField();
|
|
17925
18167
|
break;
|
|
@@ -17986,6 +18228,14 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.serializeBinaryTo
|
|
|
17986
18228
|
f
|
|
17987
18229
|
);
|
|
17988
18230
|
}
|
|
18231
|
+
f = message.getWexcard();
|
|
18232
|
+
if (f != null) {
|
|
18233
|
+
writer.writeMessage(
|
|
18234
|
+
6,
|
|
18235
|
+
f,
|
|
18236
|
+
proto.sniippaymentmethodsserviceapi.UpdateWexCard.serializeBinaryToWriter
|
|
18237
|
+
);
|
|
18238
|
+
}
|
|
17989
18239
|
};
|
|
17990
18240
|
|
|
17991
18241
|
|
|
@@ -18117,6 +18367,203 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.setAcce
|
|
|
18117
18367
|
};
|
|
18118
18368
|
|
|
18119
18369
|
|
|
18370
|
+
/**
|
|
18371
|
+
* optional UpdateWexCard wexCard = 6;
|
|
18372
|
+
* @return {?proto.sniippaymentmethodsserviceapi.UpdateWexCard}
|
|
18373
|
+
*/
|
|
18374
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.getWexcard = function() {
|
|
18375
|
+
return /** @type{?proto.sniippaymentmethodsserviceapi.UpdateWexCard} */ (
|
|
18376
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.UpdateWexCard, 6));
|
|
18377
|
+
};
|
|
18378
|
+
|
|
18379
|
+
|
|
18380
|
+
/**
|
|
18381
|
+
* @param {?proto.sniippaymentmethodsserviceapi.UpdateWexCard|undefined} value
|
|
18382
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest} returns this
|
|
18383
|
+
*/
|
|
18384
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.setWexcard = function(value) {
|
|
18385
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
18386
|
+
};
|
|
18387
|
+
|
|
18388
|
+
|
|
18389
|
+
/**
|
|
18390
|
+
* Clears the message field making it undefined.
|
|
18391
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest} returns this
|
|
18392
|
+
*/
|
|
18393
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.clearWexcard = function() {
|
|
18394
|
+
return this.setWexcard(undefined);
|
|
18395
|
+
};
|
|
18396
|
+
|
|
18397
|
+
|
|
18398
|
+
/**
|
|
18399
|
+
* Returns whether this field is set.
|
|
18400
|
+
* @return {boolean}
|
|
18401
|
+
*/
|
|
18402
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.hasWexcard = function() {
|
|
18403
|
+
return jspb.Message.getField(this, 6) != null;
|
|
18404
|
+
};
|
|
18405
|
+
|
|
18406
|
+
|
|
18407
|
+
|
|
18408
|
+
|
|
18409
|
+
|
|
18410
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
18411
|
+
/**
|
|
18412
|
+
* Creates an object representation of this proto.
|
|
18413
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
18414
|
+
* Optional fields that are not set will be set to undefined.
|
|
18415
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
18416
|
+
* For the list of reserved names please see:
|
|
18417
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
18418
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
18419
|
+
* JSPB instance for transitional soy proto support:
|
|
18420
|
+
* http://goto/soy-param-migration
|
|
18421
|
+
* @return {!Object}
|
|
18422
|
+
*/
|
|
18423
|
+
proto.sniippaymentmethodsserviceapi.UpdateWexCard.prototype.toObject = function(opt_includeInstance) {
|
|
18424
|
+
return proto.sniippaymentmethodsserviceapi.UpdateWexCard.toObject(opt_includeInstance, this);
|
|
18425
|
+
};
|
|
18426
|
+
|
|
18427
|
+
|
|
18428
|
+
/**
|
|
18429
|
+
* Static version of the {@see toObject} method.
|
|
18430
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
18431
|
+
* the JSPB instance for transitional soy proto support:
|
|
18432
|
+
* http://goto/soy-param-migration
|
|
18433
|
+
* @param {!proto.sniippaymentmethodsserviceapi.UpdateWexCard} msg The msg instance to transform.
|
|
18434
|
+
* @return {!Object}
|
|
18435
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18436
|
+
*/
|
|
18437
|
+
proto.sniippaymentmethodsserviceapi.UpdateWexCard.toObject = function(includeInstance, msg) {
|
|
18438
|
+
var f, obj = {
|
|
18439
|
+
nickname: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
18440
|
+
colourscheme: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
18441
|
+
};
|
|
18442
|
+
|
|
18443
|
+
if (includeInstance) {
|
|
18444
|
+
obj.$jspbMessageInstance = msg;
|
|
18445
|
+
}
|
|
18446
|
+
return obj;
|
|
18447
|
+
};
|
|
18448
|
+
}
|
|
18449
|
+
|
|
18450
|
+
|
|
18451
|
+
/**
|
|
18452
|
+
* Deserializes binary data (in protobuf wire format).
|
|
18453
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
18454
|
+
* @return {!proto.sniippaymentmethodsserviceapi.UpdateWexCard}
|
|
18455
|
+
*/
|
|
18456
|
+
proto.sniippaymentmethodsserviceapi.UpdateWexCard.deserializeBinary = function(bytes) {
|
|
18457
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
18458
|
+
var msg = new proto.sniippaymentmethodsserviceapi.UpdateWexCard;
|
|
18459
|
+
return proto.sniippaymentmethodsserviceapi.UpdateWexCard.deserializeBinaryFromReader(msg, reader);
|
|
18460
|
+
};
|
|
18461
|
+
|
|
18462
|
+
|
|
18463
|
+
/**
|
|
18464
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
18465
|
+
* given reader into the given message object.
|
|
18466
|
+
* @param {!proto.sniippaymentmethodsserviceapi.UpdateWexCard} msg The message object to deserialize into.
|
|
18467
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
18468
|
+
* @return {!proto.sniippaymentmethodsserviceapi.UpdateWexCard}
|
|
18469
|
+
*/
|
|
18470
|
+
proto.sniippaymentmethodsserviceapi.UpdateWexCard.deserializeBinaryFromReader = function(msg, reader) {
|
|
18471
|
+
while (reader.nextField()) {
|
|
18472
|
+
if (reader.isEndGroup()) {
|
|
18473
|
+
break;
|
|
18474
|
+
}
|
|
18475
|
+
var field = reader.getFieldNumber();
|
|
18476
|
+
switch (field) {
|
|
18477
|
+
case 1:
|
|
18478
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18479
|
+
msg.setNickname(value);
|
|
18480
|
+
break;
|
|
18481
|
+
case 2:
|
|
18482
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
18483
|
+
msg.setColourscheme(value);
|
|
18484
|
+
break;
|
|
18485
|
+
default:
|
|
18486
|
+
reader.skipField();
|
|
18487
|
+
break;
|
|
18488
|
+
}
|
|
18489
|
+
}
|
|
18490
|
+
return msg;
|
|
18491
|
+
};
|
|
18492
|
+
|
|
18493
|
+
|
|
18494
|
+
/**
|
|
18495
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
18496
|
+
* @return {!Uint8Array}
|
|
18497
|
+
*/
|
|
18498
|
+
proto.sniippaymentmethodsserviceapi.UpdateWexCard.prototype.serializeBinary = function() {
|
|
18499
|
+
var writer = new jspb.BinaryWriter();
|
|
18500
|
+
proto.sniippaymentmethodsserviceapi.UpdateWexCard.serializeBinaryToWriter(this, writer);
|
|
18501
|
+
return writer.getResultBuffer();
|
|
18502
|
+
};
|
|
18503
|
+
|
|
18504
|
+
|
|
18505
|
+
/**
|
|
18506
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
18507
|
+
* format), writing to the given BinaryWriter.
|
|
18508
|
+
* @param {!proto.sniippaymentmethodsserviceapi.UpdateWexCard} message
|
|
18509
|
+
* @param {!jspb.BinaryWriter} writer
|
|
18510
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18511
|
+
*/
|
|
18512
|
+
proto.sniippaymentmethodsserviceapi.UpdateWexCard.serializeBinaryToWriter = function(message, writer) {
|
|
18513
|
+
var f = undefined;
|
|
18514
|
+
f = message.getNickname();
|
|
18515
|
+
if (f.length > 0) {
|
|
18516
|
+
writer.writeString(
|
|
18517
|
+
1,
|
|
18518
|
+
f
|
|
18519
|
+
);
|
|
18520
|
+
}
|
|
18521
|
+
f = message.getColourscheme();
|
|
18522
|
+
if (f !== 0) {
|
|
18523
|
+
writer.writeInt64(
|
|
18524
|
+
2,
|
|
18525
|
+
f
|
|
18526
|
+
);
|
|
18527
|
+
}
|
|
18528
|
+
};
|
|
18529
|
+
|
|
18530
|
+
|
|
18531
|
+
/**
|
|
18532
|
+
* optional string nickname = 1;
|
|
18533
|
+
* @return {string}
|
|
18534
|
+
*/
|
|
18535
|
+
proto.sniippaymentmethodsserviceapi.UpdateWexCard.prototype.getNickname = function() {
|
|
18536
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
18537
|
+
};
|
|
18538
|
+
|
|
18539
|
+
|
|
18540
|
+
/**
|
|
18541
|
+
* @param {string} value
|
|
18542
|
+
* @return {!proto.sniippaymentmethodsserviceapi.UpdateWexCard} returns this
|
|
18543
|
+
*/
|
|
18544
|
+
proto.sniippaymentmethodsserviceapi.UpdateWexCard.prototype.setNickname = function(value) {
|
|
18545
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
18546
|
+
};
|
|
18547
|
+
|
|
18548
|
+
|
|
18549
|
+
/**
|
|
18550
|
+
* optional int64 colourScheme = 2;
|
|
18551
|
+
* @return {number}
|
|
18552
|
+
*/
|
|
18553
|
+
proto.sniippaymentmethodsserviceapi.UpdateWexCard.prototype.getColourscheme = function() {
|
|
18554
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
18555
|
+
};
|
|
18556
|
+
|
|
18557
|
+
|
|
18558
|
+
/**
|
|
18559
|
+
* @param {number} value
|
|
18560
|
+
* @return {!proto.sniippaymentmethodsserviceapi.UpdateWexCard} returns this
|
|
18561
|
+
*/
|
|
18562
|
+
proto.sniippaymentmethodsserviceapi.UpdateWexCard.prototype.setColourscheme = function(value) {
|
|
18563
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
18564
|
+
};
|
|
18565
|
+
|
|
18566
|
+
|
|
18120
18567
|
|
|
18121
18568
|
/**
|
|
18122
18569
|
* List of repeated fields within this message type.
|
|
@@ -18204,8 +18651,10 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest.deser
|
|
|
18204
18651
|
msg.setUserid(value);
|
|
18205
18652
|
break;
|
|
18206
18653
|
case 3:
|
|
18207
|
-
var
|
|
18208
|
-
|
|
18654
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
|
|
18655
|
+
for (var i = 0; i < values.length; i++) {
|
|
18656
|
+
msg.addPaymentmethodidlist(values[i]);
|
|
18657
|
+
}
|
|
18209
18658
|
break;
|
|
18210
18659
|
default:
|
|
18211
18660
|
reader.skipField();
|
|
@@ -21076,12 +21525,16 @@ proto.sniippaymentmethodsserviceapi.ValidatePaymentMethodsRequest.deserializeBin
|
|
|
21076
21525
|
msg.setUserid(value);
|
|
21077
21526
|
break;
|
|
21078
21527
|
case 2:
|
|
21079
|
-
var
|
|
21080
|
-
|
|
21528
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
|
|
21529
|
+
for (var i = 0; i < values.length; i++) {
|
|
21530
|
+
msg.addPaymentmethodids(values[i]);
|
|
21531
|
+
}
|
|
21081
21532
|
break;
|
|
21082
21533
|
case 3:
|
|
21083
|
-
var
|
|
21084
|
-
|
|
21534
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
|
|
21535
|
+
for (var i = 0; i < values.length; i++) {
|
|
21536
|
+
msg.addPaymentmethodgroupids(values[i]);
|
|
21537
|
+
}
|
|
21085
21538
|
break;
|
|
21086
21539
|
case 4:
|
|
21087
21540
|
var value = new proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest;
|
|
@@ -22170,7 +22623,8 @@ proto.sniippaymentmethodsserviceapi.WexCardDetail.toObject = function(includeIns
|
|
|
22170
22623
|
redirecturl: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
22171
22624
|
cardvariant: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
22172
22625
|
colourscheme: (f = msg.getColourscheme()) && proto.sniippaymentmethodsserviceapi.ColourScheme.toObject(includeInstance, f),
|
|
22173
|
-
cardname: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
22626
|
+
cardname: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
22627
|
+
nickname: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
22174
22628
|
};
|
|
22175
22629
|
|
|
22176
22630
|
if (includeInstance) {
|
|
@@ -22236,6 +22690,10 @@ proto.sniippaymentmethodsserviceapi.WexCardDetail.deserializeBinaryFromReader =
|
|
|
22236
22690
|
var value = /** @type {string} */ (reader.readString());
|
|
22237
22691
|
msg.setCardname(value);
|
|
22238
22692
|
break;
|
|
22693
|
+
case 8:
|
|
22694
|
+
var value = /** @type {string} */ (reader.readString());
|
|
22695
|
+
msg.setNickname(value);
|
|
22696
|
+
break;
|
|
22239
22697
|
default:
|
|
22240
22698
|
reader.skipField();
|
|
22241
22699
|
break;
|
|
@@ -22315,6 +22773,13 @@ proto.sniippaymentmethodsserviceapi.WexCardDetail.serializeBinaryToWriter = func
|
|
|
22315
22773
|
f
|
|
22316
22774
|
);
|
|
22317
22775
|
}
|
|
22776
|
+
f = message.getNickname();
|
|
22777
|
+
if (f.length > 0) {
|
|
22778
|
+
writer.writeString(
|
|
22779
|
+
8,
|
|
22780
|
+
f
|
|
22781
|
+
);
|
|
22782
|
+
}
|
|
22318
22783
|
};
|
|
22319
22784
|
|
|
22320
22785
|
|
|
@@ -22463,6 +22928,24 @@ proto.sniippaymentmethodsserviceapi.WexCardDetail.prototype.setCardname = functi
|
|
|
22463
22928
|
};
|
|
22464
22929
|
|
|
22465
22930
|
|
|
22931
|
+
/**
|
|
22932
|
+
* optional string nickname = 8;
|
|
22933
|
+
* @return {string}
|
|
22934
|
+
*/
|
|
22935
|
+
proto.sniippaymentmethodsserviceapi.WexCardDetail.prototype.getNickname = function() {
|
|
22936
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
22937
|
+
};
|
|
22938
|
+
|
|
22939
|
+
|
|
22940
|
+
/**
|
|
22941
|
+
* @param {string} value
|
|
22942
|
+
* @return {!proto.sniippaymentmethodsserviceapi.WexCardDetail} returns this
|
|
22943
|
+
*/
|
|
22944
|
+
proto.sniippaymentmethodsserviceapi.WexCardDetail.prototype.setNickname = function(value) {
|
|
22945
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
22946
|
+
};
|
|
22947
|
+
|
|
22948
|
+
|
|
22466
22949
|
|
|
22467
22950
|
|
|
22468
22951
|
|