@sniipwebmaster/payment-methods-client-grpcweb 0.2.584 → 0.2.600
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_grpc_web_pb.js +56 -0
- package/dependancies/service_pb.js +1241 -215
- package/package.json +1 -1
|
@@ -34,17 +34,22 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymen
|
|
|
34
34
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodRequest', null, global);
|
|
35
35
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodResponse', null, global);
|
|
36
36
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodsRequest', null, global);
|
|
37
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest', null, global);
|
|
37
38
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.MaskedCreditCard', null, global);
|
|
38
39
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethod', null, global);
|
|
39
40
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodDeleteRequest', null, global);
|
|
40
41
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentRequest', null, global);
|
|
41
42
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse', null, global);
|
|
42
43
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodResponse', null, global);
|
|
44
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest', null, global);
|
|
43
45
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse', null, global);
|
|
44
46
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.RemovePaymentMethodRequest', null, global);
|
|
45
47
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ResponseCode', null, global);
|
|
48
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdateCreditCard', null, global);
|
|
46
49
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdateCreditCardDetailsRequest', null, global);
|
|
47
50
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest', null, global);
|
|
51
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest', null, global);
|
|
52
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse', null, global);
|
|
48
53
|
|
|
49
54
|
/**
|
|
50
55
|
* Generated by JsPbCodeGenerator.
|
|
@@ -4377,6 +4382,165 @@ proto.sniippaymentmethodsserviceapi.GetPaymentMethodsRequest.prototype.hasData =
|
|
|
4377
4382
|
|
|
4378
4383
|
|
|
4379
4384
|
|
|
4385
|
+
/**
|
|
4386
|
+
* Generated by JsPbCodeGenerator.
|
|
4387
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4388
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4389
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4390
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4391
|
+
* valid.
|
|
4392
|
+
* @extends {jspb.Message}
|
|
4393
|
+
* @constructor
|
|
4394
|
+
*/
|
|
4395
|
+
proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest = function(opt_data) {
|
|
4396
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4397
|
+
};
|
|
4398
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest, jspb.Message);
|
|
4399
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4400
|
+
proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest.displayName = 'proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest';
|
|
4401
|
+
}
|
|
4402
|
+
|
|
4403
|
+
|
|
4404
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4405
|
+
/**
|
|
4406
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
4407
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4408
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4409
|
+
* For the list of reserved names please see:
|
|
4410
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
4411
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
4412
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
4413
|
+
* @return {!Object}
|
|
4414
|
+
*/
|
|
4415
|
+
proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4416
|
+
return proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest.toObject(opt_includeInstance, this);
|
|
4417
|
+
};
|
|
4418
|
+
|
|
4419
|
+
|
|
4420
|
+
/**
|
|
4421
|
+
* Static version of the {@see toObject} method.
|
|
4422
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
4423
|
+
* instance for transitional soy proto support:
|
|
4424
|
+
* http://goto/soy-param-migration
|
|
4425
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest} msg The msg instance to transform.
|
|
4426
|
+
* @return {!Object}
|
|
4427
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4428
|
+
*/
|
|
4429
|
+
proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest.toObject = function(includeInstance, msg) {
|
|
4430
|
+
var f, obj = {
|
|
4431
|
+
data: (f = msg.getData()) && proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest.toObject(includeInstance, f)
|
|
4432
|
+
};
|
|
4433
|
+
|
|
4434
|
+
if (includeInstance) {
|
|
4435
|
+
obj.$jspbMessageInstance = msg;
|
|
4436
|
+
}
|
|
4437
|
+
return obj;
|
|
4438
|
+
};
|
|
4439
|
+
}
|
|
4440
|
+
|
|
4441
|
+
|
|
4442
|
+
/**
|
|
4443
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4444
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4445
|
+
* @return {!proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest}
|
|
4446
|
+
*/
|
|
4447
|
+
proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest.deserializeBinary = function(bytes) {
|
|
4448
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4449
|
+
var msg = new proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest;
|
|
4450
|
+
return proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest.deserializeBinaryFromReader(msg, reader);
|
|
4451
|
+
};
|
|
4452
|
+
|
|
4453
|
+
|
|
4454
|
+
/**
|
|
4455
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4456
|
+
* given reader into the given message object.
|
|
4457
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest} msg The message object to deserialize into.
|
|
4458
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4459
|
+
* @return {!proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest}
|
|
4460
|
+
*/
|
|
4461
|
+
proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4462
|
+
while (reader.nextField()) {
|
|
4463
|
+
if (reader.isEndGroup()) {
|
|
4464
|
+
break;
|
|
4465
|
+
}
|
|
4466
|
+
var field = reader.getFieldNumber();
|
|
4467
|
+
switch (field) {
|
|
4468
|
+
case 1:
|
|
4469
|
+
var value = new proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest;
|
|
4470
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest.deserializeBinaryFromReader);
|
|
4471
|
+
msg.setData(value);
|
|
4472
|
+
break;
|
|
4473
|
+
default:
|
|
4474
|
+
reader.skipField();
|
|
4475
|
+
break;
|
|
4476
|
+
}
|
|
4477
|
+
}
|
|
4478
|
+
return msg;
|
|
4479
|
+
};
|
|
4480
|
+
|
|
4481
|
+
|
|
4482
|
+
/**
|
|
4483
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4484
|
+
* @return {!Uint8Array}
|
|
4485
|
+
*/
|
|
4486
|
+
proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest.prototype.serializeBinary = function() {
|
|
4487
|
+
var writer = new jspb.BinaryWriter();
|
|
4488
|
+
proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest.serializeBinaryToWriter(this, writer);
|
|
4489
|
+
return writer.getResultBuffer();
|
|
4490
|
+
};
|
|
4491
|
+
|
|
4492
|
+
|
|
4493
|
+
/**
|
|
4494
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4495
|
+
* format), writing to the given BinaryWriter.
|
|
4496
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest} message
|
|
4497
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4498
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4499
|
+
*/
|
|
4500
|
+
proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4501
|
+
var f = undefined;
|
|
4502
|
+
f = message.getData();
|
|
4503
|
+
if (f != null) {
|
|
4504
|
+
writer.writeMessage(
|
|
4505
|
+
1,
|
|
4506
|
+
f,
|
|
4507
|
+
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest.serializeBinaryToWriter
|
|
4508
|
+
);
|
|
4509
|
+
}
|
|
4510
|
+
};
|
|
4511
|
+
|
|
4512
|
+
|
|
4513
|
+
/**
|
|
4514
|
+
* optional ZenithPaymentDetailsRequest data = 1;
|
|
4515
|
+
* @return {?proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest}
|
|
4516
|
+
*/
|
|
4517
|
+
proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest.prototype.getData = function() {
|
|
4518
|
+
return /** @type{?proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest} */ (
|
|
4519
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest, 1));
|
|
4520
|
+
};
|
|
4521
|
+
|
|
4522
|
+
|
|
4523
|
+
/** @param {?proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest|undefined} value */
|
|
4524
|
+
proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest.prototype.setData = function(value) {
|
|
4525
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
4526
|
+
};
|
|
4527
|
+
|
|
4528
|
+
|
|
4529
|
+
proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest.prototype.clearData = function() {
|
|
4530
|
+
this.setData(undefined);
|
|
4531
|
+
};
|
|
4532
|
+
|
|
4533
|
+
|
|
4534
|
+
/**
|
|
4535
|
+
* Returns whether this field is set.
|
|
4536
|
+
* @return {!boolean}
|
|
4537
|
+
*/
|
|
4538
|
+
proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest.prototype.hasData = function() {
|
|
4539
|
+
return jspb.Message.getField(this, 1) != null;
|
|
4540
|
+
};
|
|
4541
|
+
|
|
4542
|
+
|
|
4543
|
+
|
|
4380
4544
|
/**
|
|
4381
4545
|
* Generated by JsPbCodeGenerator.
|
|
4382
4546
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -5955,20 +6119,13 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodResponse.prototype.hasResponsec
|
|
|
5955
6119
|
* @extends {jspb.Message}
|
|
5956
6120
|
* @constructor
|
|
5957
6121
|
*/
|
|
5958
|
-
proto.sniippaymentmethodsserviceapi.
|
|
5959
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
6122
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest = function(opt_data) {
|
|
6123
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5960
6124
|
};
|
|
5961
|
-
goog.inherits(proto.sniippaymentmethodsserviceapi.
|
|
6125
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest, jspb.Message);
|
|
5962
6126
|
if (goog.DEBUG && !COMPILED) {
|
|
5963
|
-
proto.sniippaymentmethodsserviceapi.
|
|
6127
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.displayName = 'proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest';
|
|
5964
6128
|
}
|
|
5965
|
-
/**
|
|
5966
|
-
* List of repeated fields within this message type.
|
|
5967
|
-
* @private {!Array<number>}
|
|
5968
|
-
* @const
|
|
5969
|
-
*/
|
|
5970
|
-
proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.repeatedFields_ = [1];
|
|
5971
|
-
|
|
5972
6129
|
|
|
5973
6130
|
|
|
5974
6131
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -5982,8 +6139,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
5982
6139
|
* for transitional soy proto support: http://goto/soy-param-migration
|
|
5983
6140
|
* @return {!Object}
|
|
5984
6141
|
*/
|
|
5985
|
-
proto.sniippaymentmethodsserviceapi.
|
|
5986
|
-
return proto.sniippaymentmethodsserviceapi.
|
|
6142
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.toObject = function(opt_includeInstance) {
|
|
6143
|
+
return proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.toObject(opt_includeInstance, this);
|
|
5987
6144
|
};
|
|
5988
6145
|
|
|
5989
6146
|
|
|
@@ -5992,15 +6149,17 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.prototype.toObject =
|
|
|
5992
6149
|
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
5993
6150
|
* instance for transitional soy proto support:
|
|
5994
6151
|
* http://goto/soy-param-migration
|
|
5995
|
-
* @param {!proto.sniippaymentmethodsserviceapi.
|
|
6152
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest} msg The msg instance to transform.
|
|
5996
6153
|
* @return {!Object}
|
|
5997
6154
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5998
6155
|
*/
|
|
5999
|
-
proto.sniippaymentmethodsserviceapi.
|
|
6156
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.toObject = function(includeInstance, msg) {
|
|
6000
6157
|
var f, obj = {
|
|
6001
|
-
|
|
6002
|
-
|
|
6003
|
-
|
|
6158
|
+
paymentmethodid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
6159
|
+
paymenttype: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
6160
|
+
creditcard: (f = msg.getCreditcard()) && proto.sniippaymentmethodsserviceapi.UpdateCreditCard.toObject(includeInstance, f),
|
|
6161
|
+
bankaccount: (f = msg.getBankaccount()) && proto.sniippaymentmethodsserviceapi.BankAccount.toObject(includeInstance, f),
|
|
6162
|
+
accesstoken: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
6004
6163
|
};
|
|
6005
6164
|
|
|
6006
6165
|
if (includeInstance) {
|
|
@@ -6014,23 +6173,23 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.toObject = function(i
|
|
|
6014
6173
|
/**
|
|
6015
6174
|
* Deserializes binary data (in protobuf wire format).
|
|
6016
6175
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6017
|
-
* @return {!proto.sniippaymentmethodsserviceapi.
|
|
6176
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest}
|
|
6018
6177
|
*/
|
|
6019
|
-
proto.sniippaymentmethodsserviceapi.
|
|
6178
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.deserializeBinary = function(bytes) {
|
|
6020
6179
|
var reader = new jspb.BinaryReader(bytes);
|
|
6021
|
-
var msg = new proto.sniippaymentmethodsserviceapi.
|
|
6022
|
-
return proto.sniippaymentmethodsserviceapi.
|
|
6180
|
+
var msg = new proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest;
|
|
6181
|
+
return proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.deserializeBinaryFromReader(msg, reader);
|
|
6023
6182
|
};
|
|
6024
6183
|
|
|
6025
6184
|
|
|
6026
6185
|
/**
|
|
6027
6186
|
* Deserializes binary data (in protobuf wire format) from the
|
|
6028
6187
|
* given reader into the given message object.
|
|
6029
|
-
* @param {!proto.sniippaymentmethodsserviceapi.
|
|
6188
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest} msg The message object to deserialize into.
|
|
6030
6189
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6031
|
-
* @return {!proto.sniippaymentmethodsserviceapi.
|
|
6190
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest}
|
|
6032
6191
|
*/
|
|
6033
|
-
proto.sniippaymentmethodsserviceapi.
|
|
6192
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
6034
6193
|
while (reader.nextField()) {
|
|
6035
6194
|
if (reader.isEndGroup()) {
|
|
6036
6195
|
break;
|
|
@@ -6038,14 +6197,26 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.deserializeBinaryFrom
|
|
|
6038
6197
|
var field = reader.getFieldNumber();
|
|
6039
6198
|
switch (field) {
|
|
6040
6199
|
case 1:
|
|
6041
|
-
var value =
|
|
6042
|
-
|
|
6043
|
-
msg.addPaymentmethod(value);
|
|
6200
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
6201
|
+
msg.setPaymentmethodid(value);
|
|
6044
6202
|
break;
|
|
6045
6203
|
case 2:
|
|
6046
|
-
var value =
|
|
6047
|
-
|
|
6048
|
-
|
|
6204
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6205
|
+
msg.setPaymenttype(value);
|
|
6206
|
+
break;
|
|
6207
|
+
case 3:
|
|
6208
|
+
var value = new proto.sniippaymentmethodsserviceapi.UpdateCreditCard;
|
|
6209
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.UpdateCreditCard.deserializeBinaryFromReader);
|
|
6210
|
+
msg.setCreditcard(value);
|
|
6211
|
+
break;
|
|
6212
|
+
case 4:
|
|
6213
|
+
var value = new proto.sniippaymentmethodsserviceapi.BankAccount;
|
|
6214
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.BankAccount.deserializeBinaryFromReader);
|
|
6215
|
+
msg.setBankaccount(value);
|
|
6216
|
+
break;
|
|
6217
|
+
case 5:
|
|
6218
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6219
|
+
msg.setAccesstoken(value);
|
|
6049
6220
|
break;
|
|
6050
6221
|
default:
|
|
6051
6222
|
reader.skipField();
|
|
@@ -6060,9 +6231,9 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.deserializeBinaryFrom
|
|
|
6060
6231
|
* Serializes the message to binary data (in protobuf wire format).
|
|
6061
6232
|
* @return {!Uint8Array}
|
|
6062
6233
|
*/
|
|
6063
|
-
proto.sniippaymentmethodsserviceapi.
|
|
6234
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.serializeBinary = function() {
|
|
6064
6235
|
var writer = new jspb.BinaryWriter();
|
|
6065
|
-
proto.sniippaymentmethodsserviceapi.
|
|
6236
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.serializeBinaryToWriter(this, writer);
|
|
6066
6237
|
return writer.getResultBuffer();
|
|
6067
6238
|
};
|
|
6068
6239
|
|
|
@@ -6070,80 +6241,100 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.prototype.serializeBi
|
|
|
6070
6241
|
/**
|
|
6071
6242
|
* Serializes the given message to binary data (in protobuf wire
|
|
6072
6243
|
* format), writing to the given BinaryWriter.
|
|
6073
|
-
* @param {!proto.sniippaymentmethodsserviceapi.
|
|
6244
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest} message
|
|
6074
6245
|
* @param {!jspb.BinaryWriter} writer
|
|
6075
6246
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6076
6247
|
*/
|
|
6077
|
-
proto.sniippaymentmethodsserviceapi.
|
|
6248
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.serializeBinaryToWriter = function(message, writer) {
|
|
6078
6249
|
var f = undefined;
|
|
6079
|
-
f = message.
|
|
6080
|
-
if (f
|
|
6081
|
-
writer.
|
|
6250
|
+
f = message.getPaymentmethodid();
|
|
6251
|
+
if (f !== 0) {
|
|
6252
|
+
writer.writeInt64(
|
|
6082
6253
|
1,
|
|
6254
|
+
f
|
|
6255
|
+
);
|
|
6256
|
+
}
|
|
6257
|
+
f = message.getPaymenttype();
|
|
6258
|
+
if (f.length > 0) {
|
|
6259
|
+
writer.writeString(
|
|
6260
|
+
2,
|
|
6261
|
+
f
|
|
6262
|
+
);
|
|
6263
|
+
}
|
|
6264
|
+
f = message.getCreditcard();
|
|
6265
|
+
if (f != null) {
|
|
6266
|
+
writer.writeMessage(
|
|
6267
|
+
3,
|
|
6083
6268
|
f,
|
|
6084
|
-
proto.sniippaymentmethodsserviceapi.
|
|
6269
|
+
proto.sniippaymentmethodsserviceapi.UpdateCreditCard.serializeBinaryToWriter
|
|
6085
6270
|
);
|
|
6086
6271
|
}
|
|
6087
|
-
f = message.
|
|
6272
|
+
f = message.getBankaccount();
|
|
6088
6273
|
if (f != null) {
|
|
6089
6274
|
writer.writeMessage(
|
|
6090
|
-
|
|
6275
|
+
4,
|
|
6091
6276
|
f,
|
|
6092
|
-
proto.sniippaymentmethodsserviceapi.
|
|
6277
|
+
proto.sniippaymentmethodsserviceapi.BankAccount.serializeBinaryToWriter
|
|
6278
|
+
);
|
|
6279
|
+
}
|
|
6280
|
+
f = message.getAccesstoken();
|
|
6281
|
+
if (f.length > 0) {
|
|
6282
|
+
writer.writeString(
|
|
6283
|
+
5,
|
|
6284
|
+
f
|
|
6093
6285
|
);
|
|
6094
6286
|
}
|
|
6095
6287
|
};
|
|
6096
6288
|
|
|
6097
6289
|
|
|
6098
6290
|
/**
|
|
6099
|
-
*
|
|
6100
|
-
* @return {
|
|
6291
|
+
* optional int64 paymentMethodId = 1;
|
|
6292
|
+
* @return {number}
|
|
6101
6293
|
*/
|
|
6102
|
-
proto.sniippaymentmethodsserviceapi.
|
|
6103
|
-
return /** @type{
|
|
6104
|
-
jspb.Message.getRepeatedWrapperField(this, proto.sniippaymentmethodsserviceapi.PaymentMethod, 1));
|
|
6294
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.getPaymentmethodid = function() {
|
|
6295
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
6105
6296
|
};
|
|
6106
6297
|
|
|
6107
6298
|
|
|
6108
|
-
/** @param {
|
|
6109
|
-
proto.sniippaymentmethodsserviceapi.
|
|
6110
|
-
jspb.Message.
|
|
6299
|
+
/** @param {number} value */
|
|
6300
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.setPaymentmethodid = function(value) {
|
|
6301
|
+
jspb.Message.setProto3IntField(this, 1, value);
|
|
6111
6302
|
};
|
|
6112
6303
|
|
|
6113
6304
|
|
|
6114
6305
|
/**
|
|
6115
|
-
*
|
|
6116
|
-
* @
|
|
6117
|
-
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethod}
|
|
6306
|
+
* optional string paymentType = 2;
|
|
6307
|
+
* @return {string}
|
|
6118
6308
|
*/
|
|
6119
|
-
proto.sniippaymentmethodsserviceapi.
|
|
6120
|
-
return jspb.Message.
|
|
6309
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.getPaymenttype = function() {
|
|
6310
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
6121
6311
|
};
|
|
6122
6312
|
|
|
6123
6313
|
|
|
6124
|
-
|
|
6125
|
-
|
|
6314
|
+
/** @param {string} value */
|
|
6315
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.setPaymenttype = function(value) {
|
|
6316
|
+
jspb.Message.setProto3StringField(this, 2, value);
|
|
6126
6317
|
};
|
|
6127
6318
|
|
|
6128
6319
|
|
|
6129
6320
|
/**
|
|
6130
|
-
* optional
|
|
6131
|
-
* @return {?proto.sniippaymentmethodsserviceapi.
|
|
6321
|
+
* optional UpdateCreditCard creditCard = 3;
|
|
6322
|
+
* @return {?proto.sniippaymentmethodsserviceapi.UpdateCreditCard}
|
|
6132
6323
|
*/
|
|
6133
|
-
proto.sniippaymentmethodsserviceapi.
|
|
6134
|
-
return /** @type{?proto.sniippaymentmethodsserviceapi.
|
|
6135
|
-
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.
|
|
6324
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.getCreditcard = function() {
|
|
6325
|
+
return /** @type{?proto.sniippaymentmethodsserviceapi.UpdateCreditCard} */ (
|
|
6326
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.UpdateCreditCard, 3));
|
|
6136
6327
|
};
|
|
6137
6328
|
|
|
6138
6329
|
|
|
6139
|
-
/** @param {?proto.sniippaymentmethodsserviceapi.
|
|
6140
|
-
proto.sniippaymentmethodsserviceapi.
|
|
6141
|
-
jspb.Message.setWrapperField(this,
|
|
6330
|
+
/** @param {?proto.sniippaymentmethodsserviceapi.UpdateCreditCard|undefined} value */
|
|
6331
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.setCreditcard = function(value) {
|
|
6332
|
+
jspb.Message.setWrapperField(this, 3, value);
|
|
6142
6333
|
};
|
|
6143
6334
|
|
|
6144
6335
|
|
|
6145
|
-
proto.sniippaymentmethodsserviceapi.
|
|
6146
|
-
this.
|
|
6336
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.clearCreditcard = function() {
|
|
6337
|
+
this.setCreditcard(undefined);
|
|
6147
6338
|
};
|
|
6148
6339
|
|
|
6149
6340
|
|
|
@@ -6151,8 +6342,265 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.prototype.clearRespon
|
|
|
6151
6342
|
* Returns whether this field is set.
|
|
6152
6343
|
* @return {!boolean}
|
|
6153
6344
|
*/
|
|
6154
|
-
proto.sniippaymentmethodsserviceapi.
|
|
6155
|
-
return jspb.Message.getField(this,
|
|
6345
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.hasCreditcard = function() {
|
|
6346
|
+
return jspb.Message.getField(this, 3) != null;
|
|
6347
|
+
};
|
|
6348
|
+
|
|
6349
|
+
|
|
6350
|
+
/**
|
|
6351
|
+
* optional BankAccount bankAccount = 4;
|
|
6352
|
+
* @return {?proto.sniippaymentmethodsserviceapi.BankAccount}
|
|
6353
|
+
*/
|
|
6354
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.getBankaccount = function() {
|
|
6355
|
+
return /** @type{?proto.sniippaymentmethodsserviceapi.BankAccount} */ (
|
|
6356
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.BankAccount, 4));
|
|
6357
|
+
};
|
|
6358
|
+
|
|
6359
|
+
|
|
6360
|
+
/** @param {?proto.sniippaymentmethodsserviceapi.BankAccount|undefined} value */
|
|
6361
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.setBankaccount = function(value) {
|
|
6362
|
+
jspb.Message.setWrapperField(this, 4, value);
|
|
6363
|
+
};
|
|
6364
|
+
|
|
6365
|
+
|
|
6366
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.clearBankaccount = function() {
|
|
6367
|
+
this.setBankaccount(undefined);
|
|
6368
|
+
};
|
|
6369
|
+
|
|
6370
|
+
|
|
6371
|
+
/**
|
|
6372
|
+
* Returns whether this field is set.
|
|
6373
|
+
* @return {!boolean}
|
|
6374
|
+
*/
|
|
6375
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.hasBankaccount = function() {
|
|
6376
|
+
return jspb.Message.getField(this, 4) != null;
|
|
6377
|
+
};
|
|
6378
|
+
|
|
6379
|
+
|
|
6380
|
+
/**
|
|
6381
|
+
* optional string accessToken = 5;
|
|
6382
|
+
* @return {string}
|
|
6383
|
+
*/
|
|
6384
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.getAccesstoken = function() {
|
|
6385
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
6386
|
+
};
|
|
6387
|
+
|
|
6388
|
+
|
|
6389
|
+
/** @param {string} value */
|
|
6390
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.setAccesstoken = function(value) {
|
|
6391
|
+
jspb.Message.setProto3StringField(this, 5, value);
|
|
6392
|
+
};
|
|
6393
|
+
|
|
6394
|
+
|
|
6395
|
+
|
|
6396
|
+
/**
|
|
6397
|
+
* Generated by JsPbCodeGenerator.
|
|
6398
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
6399
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
6400
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
6401
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
6402
|
+
* valid.
|
|
6403
|
+
* @extends {jspb.Message}
|
|
6404
|
+
* @constructor
|
|
6405
|
+
*/
|
|
6406
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse = function(opt_data) {
|
|
6407
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.repeatedFields_, null);
|
|
6408
|
+
};
|
|
6409
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse, jspb.Message);
|
|
6410
|
+
if (goog.DEBUG && !COMPILED) {
|
|
6411
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.displayName = 'proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse';
|
|
6412
|
+
}
|
|
6413
|
+
/**
|
|
6414
|
+
* List of repeated fields within this message type.
|
|
6415
|
+
* @private {!Array<number>}
|
|
6416
|
+
* @const
|
|
6417
|
+
*/
|
|
6418
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.repeatedFields_ = [1];
|
|
6419
|
+
|
|
6420
|
+
|
|
6421
|
+
|
|
6422
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6423
|
+
/**
|
|
6424
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
6425
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6426
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6427
|
+
* For the list of reserved names please see:
|
|
6428
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
6429
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
6430
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
6431
|
+
* @return {!Object}
|
|
6432
|
+
*/
|
|
6433
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
6434
|
+
return proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.toObject(opt_includeInstance, this);
|
|
6435
|
+
};
|
|
6436
|
+
|
|
6437
|
+
|
|
6438
|
+
/**
|
|
6439
|
+
* Static version of the {@see toObject} method.
|
|
6440
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
6441
|
+
* instance for transitional soy proto support:
|
|
6442
|
+
* http://goto/soy-param-migration
|
|
6443
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse} msg The msg instance to transform.
|
|
6444
|
+
* @return {!Object}
|
|
6445
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6446
|
+
*/
|
|
6447
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.toObject = function(includeInstance, msg) {
|
|
6448
|
+
var f, obj = {
|
|
6449
|
+
paymentmethodList: jspb.Message.toObjectList(msg.getPaymentmethodList(),
|
|
6450
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethod.toObject, includeInstance),
|
|
6451
|
+
responsecode: (f = msg.getResponsecode()) && proto.sniippaymentmethodsserviceapi.ResponseCode.toObject(includeInstance, f)
|
|
6452
|
+
};
|
|
6453
|
+
|
|
6454
|
+
if (includeInstance) {
|
|
6455
|
+
obj.$jspbMessageInstance = msg;
|
|
6456
|
+
}
|
|
6457
|
+
return obj;
|
|
6458
|
+
};
|
|
6459
|
+
}
|
|
6460
|
+
|
|
6461
|
+
|
|
6462
|
+
/**
|
|
6463
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6464
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6465
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse}
|
|
6466
|
+
*/
|
|
6467
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.deserializeBinary = function(bytes) {
|
|
6468
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6469
|
+
var msg = new proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse;
|
|
6470
|
+
return proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.deserializeBinaryFromReader(msg, reader);
|
|
6471
|
+
};
|
|
6472
|
+
|
|
6473
|
+
|
|
6474
|
+
/**
|
|
6475
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6476
|
+
* given reader into the given message object.
|
|
6477
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse} msg The message object to deserialize into.
|
|
6478
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6479
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse}
|
|
6480
|
+
*/
|
|
6481
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
6482
|
+
while (reader.nextField()) {
|
|
6483
|
+
if (reader.isEndGroup()) {
|
|
6484
|
+
break;
|
|
6485
|
+
}
|
|
6486
|
+
var field = reader.getFieldNumber();
|
|
6487
|
+
switch (field) {
|
|
6488
|
+
case 1:
|
|
6489
|
+
var value = new proto.sniippaymentmethodsserviceapi.PaymentMethod;
|
|
6490
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.PaymentMethod.deserializeBinaryFromReader);
|
|
6491
|
+
msg.addPaymentmethod(value);
|
|
6492
|
+
break;
|
|
6493
|
+
case 2:
|
|
6494
|
+
var value = new proto.sniippaymentmethodsserviceapi.ResponseCode;
|
|
6495
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
6496
|
+
msg.setResponsecode(value);
|
|
6497
|
+
break;
|
|
6498
|
+
default:
|
|
6499
|
+
reader.skipField();
|
|
6500
|
+
break;
|
|
6501
|
+
}
|
|
6502
|
+
}
|
|
6503
|
+
return msg;
|
|
6504
|
+
};
|
|
6505
|
+
|
|
6506
|
+
|
|
6507
|
+
/**
|
|
6508
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6509
|
+
* @return {!Uint8Array}
|
|
6510
|
+
*/
|
|
6511
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.prototype.serializeBinary = function() {
|
|
6512
|
+
var writer = new jspb.BinaryWriter();
|
|
6513
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.serializeBinaryToWriter(this, writer);
|
|
6514
|
+
return writer.getResultBuffer();
|
|
6515
|
+
};
|
|
6516
|
+
|
|
6517
|
+
|
|
6518
|
+
/**
|
|
6519
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6520
|
+
* format), writing to the given BinaryWriter.
|
|
6521
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse} message
|
|
6522
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6523
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6524
|
+
*/
|
|
6525
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
6526
|
+
var f = undefined;
|
|
6527
|
+
f = message.getPaymentmethodList();
|
|
6528
|
+
if (f.length > 0) {
|
|
6529
|
+
writer.writeRepeatedMessage(
|
|
6530
|
+
1,
|
|
6531
|
+
f,
|
|
6532
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethod.serializeBinaryToWriter
|
|
6533
|
+
);
|
|
6534
|
+
}
|
|
6535
|
+
f = message.getResponsecode();
|
|
6536
|
+
if (f != null) {
|
|
6537
|
+
writer.writeMessage(
|
|
6538
|
+
2,
|
|
6539
|
+
f,
|
|
6540
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode.serializeBinaryToWriter
|
|
6541
|
+
);
|
|
6542
|
+
}
|
|
6543
|
+
};
|
|
6544
|
+
|
|
6545
|
+
|
|
6546
|
+
/**
|
|
6547
|
+
* repeated PaymentMethod paymentMethod = 1;
|
|
6548
|
+
* @return {!Array<!proto.sniippaymentmethodsserviceapi.PaymentMethod>}
|
|
6549
|
+
*/
|
|
6550
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.prototype.getPaymentmethodList = function() {
|
|
6551
|
+
return /** @type{!Array<!proto.sniippaymentmethodsserviceapi.PaymentMethod>} */ (
|
|
6552
|
+
jspb.Message.getRepeatedWrapperField(this, proto.sniippaymentmethodsserviceapi.PaymentMethod, 1));
|
|
6553
|
+
};
|
|
6554
|
+
|
|
6555
|
+
|
|
6556
|
+
/** @param {!Array<!proto.sniippaymentmethodsserviceapi.PaymentMethod>} value */
|
|
6557
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.prototype.setPaymentmethodList = function(value) {
|
|
6558
|
+
jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
6559
|
+
};
|
|
6560
|
+
|
|
6561
|
+
|
|
6562
|
+
/**
|
|
6563
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethod=} opt_value
|
|
6564
|
+
* @param {number=} opt_index
|
|
6565
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethod}
|
|
6566
|
+
*/
|
|
6567
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.prototype.addPaymentmethod = function(opt_value, opt_index) {
|
|
6568
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.sniippaymentmethodsserviceapi.PaymentMethod, opt_index);
|
|
6569
|
+
};
|
|
6570
|
+
|
|
6571
|
+
|
|
6572
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.prototype.clearPaymentmethodList = function() {
|
|
6573
|
+
this.setPaymentmethodList([]);
|
|
6574
|
+
};
|
|
6575
|
+
|
|
6576
|
+
|
|
6577
|
+
/**
|
|
6578
|
+
* optional ResponseCode responseCode = 2;
|
|
6579
|
+
* @return {?proto.sniippaymentmethodsserviceapi.ResponseCode}
|
|
6580
|
+
*/
|
|
6581
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.prototype.getResponsecode = function() {
|
|
6582
|
+
return /** @type{?proto.sniippaymentmethodsserviceapi.ResponseCode} */ (
|
|
6583
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.ResponseCode, 2));
|
|
6584
|
+
};
|
|
6585
|
+
|
|
6586
|
+
|
|
6587
|
+
/** @param {?proto.sniippaymentmethodsserviceapi.ResponseCode|undefined} value */
|
|
6588
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.prototype.setResponsecode = function(value) {
|
|
6589
|
+
jspb.Message.setWrapperField(this, 2, value);
|
|
6590
|
+
};
|
|
6591
|
+
|
|
6592
|
+
|
|
6593
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.prototype.clearResponsecode = function() {
|
|
6594
|
+
this.setResponsecode(undefined);
|
|
6595
|
+
};
|
|
6596
|
+
|
|
6597
|
+
|
|
6598
|
+
/**
|
|
6599
|
+
* Returns whether this field is set.
|
|
6600
|
+
* @return {!boolean}
|
|
6601
|
+
*/
|
|
6602
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.prototype.hasResponsecode = function() {
|
|
6603
|
+
return jspb.Message.getField(this, 2) != null;
|
|
6156
6604
|
};
|
|
6157
6605
|
|
|
6158
6606
|
|
|
@@ -6241,8 +6689,559 @@ proto.sniippaymentmethodsserviceapi.RemovePaymentMethodRequest.deserializeBinary
|
|
|
6241
6689
|
var field = reader.getFieldNumber();
|
|
6242
6690
|
switch (field) {
|
|
6243
6691
|
case 1:
|
|
6244
|
-
var value = new proto.sniippaymentmethodsserviceapi.PaymentMethodDeleteRequest;
|
|
6245
|
-
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.PaymentMethodDeleteRequest.deserializeBinaryFromReader);
|
|
6692
|
+
var value = new proto.sniippaymentmethodsserviceapi.PaymentMethodDeleteRequest;
|
|
6693
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.PaymentMethodDeleteRequest.deserializeBinaryFromReader);
|
|
6694
|
+
msg.setData(value);
|
|
6695
|
+
break;
|
|
6696
|
+
default:
|
|
6697
|
+
reader.skipField();
|
|
6698
|
+
break;
|
|
6699
|
+
}
|
|
6700
|
+
}
|
|
6701
|
+
return msg;
|
|
6702
|
+
};
|
|
6703
|
+
|
|
6704
|
+
|
|
6705
|
+
/**
|
|
6706
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6707
|
+
* @return {!Uint8Array}
|
|
6708
|
+
*/
|
|
6709
|
+
proto.sniippaymentmethodsserviceapi.RemovePaymentMethodRequest.prototype.serializeBinary = function() {
|
|
6710
|
+
var writer = new jspb.BinaryWriter();
|
|
6711
|
+
proto.sniippaymentmethodsserviceapi.RemovePaymentMethodRequest.serializeBinaryToWriter(this, writer);
|
|
6712
|
+
return writer.getResultBuffer();
|
|
6713
|
+
};
|
|
6714
|
+
|
|
6715
|
+
|
|
6716
|
+
/**
|
|
6717
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6718
|
+
* format), writing to the given BinaryWriter.
|
|
6719
|
+
* @param {!proto.sniippaymentmethodsserviceapi.RemovePaymentMethodRequest} message
|
|
6720
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6721
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6722
|
+
*/
|
|
6723
|
+
proto.sniippaymentmethodsserviceapi.RemovePaymentMethodRequest.serializeBinaryToWriter = function(message, writer) {
|
|
6724
|
+
var f = undefined;
|
|
6725
|
+
f = message.getData();
|
|
6726
|
+
if (f != null) {
|
|
6727
|
+
writer.writeMessage(
|
|
6728
|
+
1,
|
|
6729
|
+
f,
|
|
6730
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodDeleteRequest.serializeBinaryToWriter
|
|
6731
|
+
);
|
|
6732
|
+
}
|
|
6733
|
+
};
|
|
6734
|
+
|
|
6735
|
+
|
|
6736
|
+
/**
|
|
6737
|
+
* optional PaymentMethodDeleteRequest data = 1;
|
|
6738
|
+
* @return {?proto.sniippaymentmethodsserviceapi.PaymentMethodDeleteRequest}
|
|
6739
|
+
*/
|
|
6740
|
+
proto.sniippaymentmethodsserviceapi.RemovePaymentMethodRequest.prototype.getData = function() {
|
|
6741
|
+
return /** @type{?proto.sniippaymentmethodsserviceapi.PaymentMethodDeleteRequest} */ (
|
|
6742
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.PaymentMethodDeleteRequest, 1));
|
|
6743
|
+
};
|
|
6744
|
+
|
|
6745
|
+
|
|
6746
|
+
/** @param {?proto.sniippaymentmethodsserviceapi.PaymentMethodDeleteRequest|undefined} value */
|
|
6747
|
+
proto.sniippaymentmethodsserviceapi.RemovePaymentMethodRequest.prototype.setData = function(value) {
|
|
6748
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
6749
|
+
};
|
|
6750
|
+
|
|
6751
|
+
|
|
6752
|
+
proto.sniippaymentmethodsserviceapi.RemovePaymentMethodRequest.prototype.clearData = function() {
|
|
6753
|
+
this.setData(undefined);
|
|
6754
|
+
};
|
|
6755
|
+
|
|
6756
|
+
|
|
6757
|
+
/**
|
|
6758
|
+
* Returns whether this field is set.
|
|
6759
|
+
* @return {!boolean}
|
|
6760
|
+
*/
|
|
6761
|
+
proto.sniippaymentmethodsserviceapi.RemovePaymentMethodRequest.prototype.hasData = function() {
|
|
6762
|
+
return jspb.Message.getField(this, 1) != null;
|
|
6763
|
+
};
|
|
6764
|
+
|
|
6765
|
+
|
|
6766
|
+
|
|
6767
|
+
/**
|
|
6768
|
+
* Generated by JsPbCodeGenerator.
|
|
6769
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
6770
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
6771
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
6772
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
6773
|
+
* valid.
|
|
6774
|
+
* @extends {jspb.Message}
|
|
6775
|
+
* @constructor
|
|
6776
|
+
*/
|
|
6777
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode = function(opt_data) {
|
|
6778
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
6779
|
+
};
|
|
6780
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.ResponseCode, jspb.Message);
|
|
6781
|
+
if (goog.DEBUG && !COMPILED) {
|
|
6782
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode.displayName = 'proto.sniippaymentmethodsserviceapi.ResponseCode';
|
|
6783
|
+
}
|
|
6784
|
+
|
|
6785
|
+
|
|
6786
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6787
|
+
/**
|
|
6788
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
6789
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6790
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6791
|
+
* For the list of reserved names please see:
|
|
6792
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
6793
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
6794
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
6795
|
+
* @return {!Object}
|
|
6796
|
+
*/
|
|
6797
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode.prototype.toObject = function(opt_includeInstance) {
|
|
6798
|
+
return proto.sniippaymentmethodsserviceapi.ResponseCode.toObject(opt_includeInstance, this);
|
|
6799
|
+
};
|
|
6800
|
+
|
|
6801
|
+
|
|
6802
|
+
/**
|
|
6803
|
+
* Static version of the {@see toObject} method.
|
|
6804
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
6805
|
+
* instance for transitional soy proto support:
|
|
6806
|
+
* http://goto/soy-param-migration
|
|
6807
|
+
* @param {!proto.sniippaymentmethodsserviceapi.ResponseCode} msg The msg instance to transform.
|
|
6808
|
+
* @return {!Object}
|
|
6809
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6810
|
+
*/
|
|
6811
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode.toObject = function(includeInstance, msg) {
|
|
6812
|
+
var f, obj = {
|
|
6813
|
+
code: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
6814
|
+
message: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
6815
|
+
};
|
|
6816
|
+
|
|
6817
|
+
if (includeInstance) {
|
|
6818
|
+
obj.$jspbMessageInstance = msg;
|
|
6819
|
+
}
|
|
6820
|
+
return obj;
|
|
6821
|
+
};
|
|
6822
|
+
}
|
|
6823
|
+
|
|
6824
|
+
|
|
6825
|
+
/**
|
|
6826
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6827
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6828
|
+
* @return {!proto.sniippaymentmethodsserviceapi.ResponseCode}
|
|
6829
|
+
*/
|
|
6830
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode.deserializeBinary = function(bytes) {
|
|
6831
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6832
|
+
var msg = new proto.sniippaymentmethodsserviceapi.ResponseCode;
|
|
6833
|
+
return proto.sniippaymentmethodsserviceapi.ResponseCode.deserializeBinaryFromReader(msg, reader);
|
|
6834
|
+
};
|
|
6835
|
+
|
|
6836
|
+
|
|
6837
|
+
/**
|
|
6838
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6839
|
+
* given reader into the given message object.
|
|
6840
|
+
* @param {!proto.sniippaymentmethodsserviceapi.ResponseCode} msg The message object to deserialize into.
|
|
6841
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6842
|
+
* @return {!proto.sniippaymentmethodsserviceapi.ResponseCode}
|
|
6843
|
+
*/
|
|
6844
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode.deserializeBinaryFromReader = function(msg, reader) {
|
|
6845
|
+
while (reader.nextField()) {
|
|
6846
|
+
if (reader.isEndGroup()) {
|
|
6847
|
+
break;
|
|
6848
|
+
}
|
|
6849
|
+
var field = reader.getFieldNumber();
|
|
6850
|
+
switch (field) {
|
|
6851
|
+
case 1:
|
|
6852
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
6853
|
+
msg.setCode(value);
|
|
6854
|
+
break;
|
|
6855
|
+
case 2:
|
|
6856
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6857
|
+
msg.setMessage(value);
|
|
6858
|
+
break;
|
|
6859
|
+
default:
|
|
6860
|
+
reader.skipField();
|
|
6861
|
+
break;
|
|
6862
|
+
}
|
|
6863
|
+
}
|
|
6864
|
+
return msg;
|
|
6865
|
+
};
|
|
6866
|
+
|
|
6867
|
+
|
|
6868
|
+
/**
|
|
6869
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6870
|
+
* @return {!Uint8Array}
|
|
6871
|
+
*/
|
|
6872
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode.prototype.serializeBinary = function() {
|
|
6873
|
+
var writer = new jspb.BinaryWriter();
|
|
6874
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode.serializeBinaryToWriter(this, writer);
|
|
6875
|
+
return writer.getResultBuffer();
|
|
6876
|
+
};
|
|
6877
|
+
|
|
6878
|
+
|
|
6879
|
+
/**
|
|
6880
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6881
|
+
* format), writing to the given BinaryWriter.
|
|
6882
|
+
* @param {!proto.sniippaymentmethodsserviceapi.ResponseCode} message
|
|
6883
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6884
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6885
|
+
*/
|
|
6886
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode.serializeBinaryToWriter = function(message, writer) {
|
|
6887
|
+
var f = undefined;
|
|
6888
|
+
f = message.getCode();
|
|
6889
|
+
if (f !== 0) {
|
|
6890
|
+
writer.writeInt32(
|
|
6891
|
+
1,
|
|
6892
|
+
f
|
|
6893
|
+
);
|
|
6894
|
+
}
|
|
6895
|
+
f = message.getMessage();
|
|
6896
|
+
if (f.length > 0) {
|
|
6897
|
+
writer.writeString(
|
|
6898
|
+
2,
|
|
6899
|
+
f
|
|
6900
|
+
);
|
|
6901
|
+
}
|
|
6902
|
+
};
|
|
6903
|
+
|
|
6904
|
+
|
|
6905
|
+
/**
|
|
6906
|
+
* optional int32 code = 1;
|
|
6907
|
+
* @return {number}
|
|
6908
|
+
*/
|
|
6909
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode.prototype.getCode = function() {
|
|
6910
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
6911
|
+
};
|
|
6912
|
+
|
|
6913
|
+
|
|
6914
|
+
/** @param {number} value */
|
|
6915
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode.prototype.setCode = function(value) {
|
|
6916
|
+
jspb.Message.setProto3IntField(this, 1, value);
|
|
6917
|
+
};
|
|
6918
|
+
|
|
6919
|
+
|
|
6920
|
+
/**
|
|
6921
|
+
* optional string message = 2;
|
|
6922
|
+
* @return {string}
|
|
6923
|
+
*/
|
|
6924
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode.prototype.getMessage = function() {
|
|
6925
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
6926
|
+
};
|
|
6927
|
+
|
|
6928
|
+
|
|
6929
|
+
/** @param {string} value */
|
|
6930
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode.prototype.setMessage = function(value) {
|
|
6931
|
+
jspb.Message.setProto3StringField(this, 2, value);
|
|
6932
|
+
};
|
|
6933
|
+
|
|
6934
|
+
|
|
6935
|
+
|
|
6936
|
+
/**
|
|
6937
|
+
* Generated by JsPbCodeGenerator.
|
|
6938
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
6939
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
6940
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
6941
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
6942
|
+
* valid.
|
|
6943
|
+
* @extends {jspb.Message}
|
|
6944
|
+
* @constructor
|
|
6945
|
+
*/
|
|
6946
|
+
proto.sniippaymentmethodsserviceapi.UpdateCreditCard = function(opt_data) {
|
|
6947
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
6948
|
+
};
|
|
6949
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.UpdateCreditCard, jspb.Message);
|
|
6950
|
+
if (goog.DEBUG && !COMPILED) {
|
|
6951
|
+
proto.sniippaymentmethodsserviceapi.UpdateCreditCard.displayName = 'proto.sniippaymentmethodsserviceapi.UpdateCreditCard';
|
|
6952
|
+
}
|
|
6953
|
+
|
|
6954
|
+
|
|
6955
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6956
|
+
/**
|
|
6957
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
6958
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6959
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6960
|
+
* For the list of reserved names please see:
|
|
6961
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
6962
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
6963
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
6964
|
+
* @return {!Object}
|
|
6965
|
+
*/
|
|
6966
|
+
proto.sniippaymentmethodsserviceapi.UpdateCreditCard.prototype.toObject = function(opt_includeInstance) {
|
|
6967
|
+
return proto.sniippaymentmethodsserviceapi.UpdateCreditCard.toObject(opt_includeInstance, this);
|
|
6968
|
+
};
|
|
6969
|
+
|
|
6970
|
+
|
|
6971
|
+
/**
|
|
6972
|
+
* Static version of the {@see toObject} method.
|
|
6973
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
6974
|
+
* instance for transitional soy proto support:
|
|
6975
|
+
* http://goto/soy-param-migration
|
|
6976
|
+
* @param {!proto.sniippaymentmethodsserviceapi.UpdateCreditCard} msg The msg instance to transform.
|
|
6977
|
+
* @return {!Object}
|
|
6978
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6979
|
+
*/
|
|
6980
|
+
proto.sniippaymentmethodsserviceapi.UpdateCreditCard.toObject = function(includeInstance, msg) {
|
|
6981
|
+
var f, obj = {
|
|
6982
|
+
nameoncard: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6983
|
+
monthexpiry: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
6984
|
+
yearexpiry: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
6985
|
+
nickname: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
6986
|
+
};
|
|
6987
|
+
|
|
6988
|
+
if (includeInstance) {
|
|
6989
|
+
obj.$jspbMessageInstance = msg;
|
|
6990
|
+
}
|
|
6991
|
+
return obj;
|
|
6992
|
+
};
|
|
6993
|
+
}
|
|
6994
|
+
|
|
6995
|
+
|
|
6996
|
+
/**
|
|
6997
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6998
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6999
|
+
* @return {!proto.sniippaymentmethodsserviceapi.UpdateCreditCard}
|
|
7000
|
+
*/
|
|
7001
|
+
proto.sniippaymentmethodsserviceapi.UpdateCreditCard.deserializeBinary = function(bytes) {
|
|
7002
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7003
|
+
var msg = new proto.sniippaymentmethodsserviceapi.UpdateCreditCard;
|
|
7004
|
+
return proto.sniippaymentmethodsserviceapi.UpdateCreditCard.deserializeBinaryFromReader(msg, reader);
|
|
7005
|
+
};
|
|
7006
|
+
|
|
7007
|
+
|
|
7008
|
+
/**
|
|
7009
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7010
|
+
* given reader into the given message object.
|
|
7011
|
+
* @param {!proto.sniippaymentmethodsserviceapi.UpdateCreditCard} msg The message object to deserialize into.
|
|
7012
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7013
|
+
* @return {!proto.sniippaymentmethodsserviceapi.UpdateCreditCard}
|
|
7014
|
+
*/
|
|
7015
|
+
proto.sniippaymentmethodsserviceapi.UpdateCreditCard.deserializeBinaryFromReader = function(msg, reader) {
|
|
7016
|
+
while (reader.nextField()) {
|
|
7017
|
+
if (reader.isEndGroup()) {
|
|
7018
|
+
break;
|
|
7019
|
+
}
|
|
7020
|
+
var field = reader.getFieldNumber();
|
|
7021
|
+
switch (field) {
|
|
7022
|
+
case 1:
|
|
7023
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7024
|
+
msg.setNameoncard(value);
|
|
7025
|
+
break;
|
|
7026
|
+
case 2:
|
|
7027
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
7028
|
+
msg.setMonthexpiry(value);
|
|
7029
|
+
break;
|
|
7030
|
+
case 3:
|
|
7031
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
7032
|
+
msg.setYearexpiry(value);
|
|
7033
|
+
break;
|
|
7034
|
+
case 4:
|
|
7035
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7036
|
+
msg.setNickname(value);
|
|
7037
|
+
break;
|
|
7038
|
+
default:
|
|
7039
|
+
reader.skipField();
|
|
7040
|
+
break;
|
|
7041
|
+
}
|
|
7042
|
+
}
|
|
7043
|
+
return msg;
|
|
7044
|
+
};
|
|
7045
|
+
|
|
7046
|
+
|
|
7047
|
+
/**
|
|
7048
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7049
|
+
* @return {!Uint8Array}
|
|
7050
|
+
*/
|
|
7051
|
+
proto.sniippaymentmethodsserviceapi.UpdateCreditCard.prototype.serializeBinary = function() {
|
|
7052
|
+
var writer = new jspb.BinaryWriter();
|
|
7053
|
+
proto.sniippaymentmethodsserviceapi.UpdateCreditCard.serializeBinaryToWriter(this, writer);
|
|
7054
|
+
return writer.getResultBuffer();
|
|
7055
|
+
};
|
|
7056
|
+
|
|
7057
|
+
|
|
7058
|
+
/**
|
|
7059
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
7060
|
+
* format), writing to the given BinaryWriter.
|
|
7061
|
+
* @param {!proto.sniippaymentmethodsserviceapi.UpdateCreditCard} message
|
|
7062
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7063
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7064
|
+
*/
|
|
7065
|
+
proto.sniippaymentmethodsserviceapi.UpdateCreditCard.serializeBinaryToWriter = function(message, writer) {
|
|
7066
|
+
var f = undefined;
|
|
7067
|
+
f = message.getNameoncard();
|
|
7068
|
+
if (f.length > 0) {
|
|
7069
|
+
writer.writeString(
|
|
7070
|
+
1,
|
|
7071
|
+
f
|
|
7072
|
+
);
|
|
7073
|
+
}
|
|
7074
|
+
f = message.getMonthexpiry();
|
|
7075
|
+
if (f !== 0) {
|
|
7076
|
+
writer.writeInt32(
|
|
7077
|
+
2,
|
|
7078
|
+
f
|
|
7079
|
+
);
|
|
7080
|
+
}
|
|
7081
|
+
f = message.getYearexpiry();
|
|
7082
|
+
if (f !== 0) {
|
|
7083
|
+
writer.writeInt32(
|
|
7084
|
+
3,
|
|
7085
|
+
f
|
|
7086
|
+
);
|
|
7087
|
+
}
|
|
7088
|
+
f = message.getNickname();
|
|
7089
|
+
if (f.length > 0) {
|
|
7090
|
+
writer.writeString(
|
|
7091
|
+
4,
|
|
7092
|
+
f
|
|
7093
|
+
);
|
|
7094
|
+
}
|
|
7095
|
+
};
|
|
7096
|
+
|
|
7097
|
+
|
|
7098
|
+
/**
|
|
7099
|
+
* optional string nameOnCard = 1;
|
|
7100
|
+
* @return {string}
|
|
7101
|
+
*/
|
|
7102
|
+
proto.sniippaymentmethodsserviceapi.UpdateCreditCard.prototype.getNameoncard = function() {
|
|
7103
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
7104
|
+
};
|
|
7105
|
+
|
|
7106
|
+
|
|
7107
|
+
/** @param {string} value */
|
|
7108
|
+
proto.sniippaymentmethodsserviceapi.UpdateCreditCard.prototype.setNameoncard = function(value) {
|
|
7109
|
+
jspb.Message.setProto3StringField(this, 1, value);
|
|
7110
|
+
};
|
|
7111
|
+
|
|
7112
|
+
|
|
7113
|
+
/**
|
|
7114
|
+
* optional int32 monthExpiry = 2;
|
|
7115
|
+
* @return {number}
|
|
7116
|
+
*/
|
|
7117
|
+
proto.sniippaymentmethodsserviceapi.UpdateCreditCard.prototype.getMonthexpiry = function() {
|
|
7118
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
7119
|
+
};
|
|
7120
|
+
|
|
7121
|
+
|
|
7122
|
+
/** @param {number} value */
|
|
7123
|
+
proto.sniippaymentmethodsserviceapi.UpdateCreditCard.prototype.setMonthexpiry = function(value) {
|
|
7124
|
+
jspb.Message.setProto3IntField(this, 2, value);
|
|
7125
|
+
};
|
|
7126
|
+
|
|
7127
|
+
|
|
7128
|
+
/**
|
|
7129
|
+
* optional int32 yearExpiry = 3;
|
|
7130
|
+
* @return {number}
|
|
7131
|
+
*/
|
|
7132
|
+
proto.sniippaymentmethodsserviceapi.UpdateCreditCard.prototype.getYearexpiry = function() {
|
|
7133
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
7134
|
+
};
|
|
7135
|
+
|
|
7136
|
+
|
|
7137
|
+
/** @param {number} value */
|
|
7138
|
+
proto.sniippaymentmethodsserviceapi.UpdateCreditCard.prototype.setYearexpiry = function(value) {
|
|
7139
|
+
jspb.Message.setProto3IntField(this, 3, value);
|
|
7140
|
+
};
|
|
7141
|
+
|
|
7142
|
+
|
|
7143
|
+
/**
|
|
7144
|
+
* optional string nickname = 4;
|
|
7145
|
+
* @return {string}
|
|
7146
|
+
*/
|
|
7147
|
+
proto.sniippaymentmethodsserviceapi.UpdateCreditCard.prototype.getNickname = function() {
|
|
7148
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
7149
|
+
};
|
|
7150
|
+
|
|
7151
|
+
|
|
7152
|
+
/** @param {string} value */
|
|
7153
|
+
proto.sniippaymentmethodsserviceapi.UpdateCreditCard.prototype.setNickname = function(value) {
|
|
7154
|
+
jspb.Message.setProto3StringField(this, 4, value);
|
|
7155
|
+
};
|
|
7156
|
+
|
|
7157
|
+
|
|
7158
|
+
|
|
7159
|
+
/**
|
|
7160
|
+
* Generated by JsPbCodeGenerator.
|
|
7161
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7162
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7163
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7164
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7165
|
+
* valid.
|
|
7166
|
+
* @extends {jspb.Message}
|
|
7167
|
+
* @constructor
|
|
7168
|
+
*/
|
|
7169
|
+
proto.sniippaymentmethodsserviceapi.UpdateCreditCardDetailsRequest = function(opt_data) {
|
|
7170
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7171
|
+
};
|
|
7172
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.UpdateCreditCardDetailsRequest, jspb.Message);
|
|
7173
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7174
|
+
proto.sniippaymentmethodsserviceapi.UpdateCreditCardDetailsRequest.displayName = 'proto.sniippaymentmethodsserviceapi.UpdateCreditCardDetailsRequest';
|
|
7175
|
+
}
|
|
7176
|
+
|
|
7177
|
+
|
|
7178
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7179
|
+
/**
|
|
7180
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
7181
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7182
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7183
|
+
* For the list of reserved names please see:
|
|
7184
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
7185
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
7186
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
7187
|
+
* @return {!Object}
|
|
7188
|
+
*/
|
|
7189
|
+
proto.sniippaymentmethodsserviceapi.UpdateCreditCardDetailsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
7190
|
+
return proto.sniippaymentmethodsserviceapi.UpdateCreditCardDetailsRequest.toObject(opt_includeInstance, this);
|
|
7191
|
+
};
|
|
7192
|
+
|
|
7193
|
+
|
|
7194
|
+
/**
|
|
7195
|
+
* Static version of the {@see toObject} method.
|
|
7196
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
7197
|
+
* instance for transitional soy proto support:
|
|
7198
|
+
* http://goto/soy-param-migration
|
|
7199
|
+
* @param {!proto.sniippaymentmethodsserviceapi.UpdateCreditCardDetailsRequest} msg The msg instance to transform.
|
|
7200
|
+
* @return {!Object}
|
|
7201
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7202
|
+
*/
|
|
7203
|
+
proto.sniippaymentmethodsserviceapi.UpdateCreditCardDetailsRequest.toObject = function(includeInstance, msg) {
|
|
7204
|
+
var f, obj = {
|
|
7205
|
+
data: (f = msg.getData()) && proto.sniippaymentmethodsserviceapi.CreditCardDetailsUpdateRequest.toObject(includeInstance, f)
|
|
7206
|
+
};
|
|
7207
|
+
|
|
7208
|
+
if (includeInstance) {
|
|
7209
|
+
obj.$jspbMessageInstance = msg;
|
|
7210
|
+
}
|
|
7211
|
+
return obj;
|
|
7212
|
+
};
|
|
7213
|
+
}
|
|
7214
|
+
|
|
7215
|
+
|
|
7216
|
+
/**
|
|
7217
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7218
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7219
|
+
* @return {!proto.sniippaymentmethodsserviceapi.UpdateCreditCardDetailsRequest}
|
|
7220
|
+
*/
|
|
7221
|
+
proto.sniippaymentmethodsserviceapi.UpdateCreditCardDetailsRequest.deserializeBinary = function(bytes) {
|
|
7222
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7223
|
+
var msg = new proto.sniippaymentmethodsserviceapi.UpdateCreditCardDetailsRequest;
|
|
7224
|
+
return proto.sniippaymentmethodsserviceapi.UpdateCreditCardDetailsRequest.deserializeBinaryFromReader(msg, reader);
|
|
7225
|
+
};
|
|
7226
|
+
|
|
7227
|
+
|
|
7228
|
+
/**
|
|
7229
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7230
|
+
* given reader into the given message object.
|
|
7231
|
+
* @param {!proto.sniippaymentmethodsserviceapi.UpdateCreditCardDetailsRequest} msg The message object to deserialize into.
|
|
7232
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7233
|
+
* @return {!proto.sniippaymentmethodsserviceapi.UpdateCreditCardDetailsRequest}
|
|
7234
|
+
*/
|
|
7235
|
+
proto.sniippaymentmethodsserviceapi.UpdateCreditCardDetailsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
7236
|
+
while (reader.nextField()) {
|
|
7237
|
+
if (reader.isEndGroup()) {
|
|
7238
|
+
break;
|
|
7239
|
+
}
|
|
7240
|
+
var field = reader.getFieldNumber();
|
|
7241
|
+
switch (field) {
|
|
7242
|
+
case 1:
|
|
7243
|
+
var value = new proto.sniippaymentmethodsserviceapi.CreditCardDetailsUpdateRequest;
|
|
7244
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.CreditCardDetailsUpdateRequest.deserializeBinaryFromReader);
|
|
6246
7245
|
msg.setData(value);
|
|
6247
7246
|
break;
|
|
6248
7247
|
default:
|
|
@@ -6258,9 +7257,9 @@ proto.sniippaymentmethodsserviceapi.RemovePaymentMethodRequest.deserializeBinary
|
|
|
6258
7257
|
* Serializes the message to binary data (in protobuf wire format).
|
|
6259
7258
|
* @return {!Uint8Array}
|
|
6260
7259
|
*/
|
|
6261
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7260
|
+
proto.sniippaymentmethodsserviceapi.UpdateCreditCardDetailsRequest.prototype.serializeBinary = function() {
|
|
6262
7261
|
var writer = new jspb.BinaryWriter();
|
|
6263
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7262
|
+
proto.sniippaymentmethodsserviceapi.UpdateCreditCardDetailsRequest.serializeBinaryToWriter(this, writer);
|
|
6264
7263
|
return writer.getResultBuffer();
|
|
6265
7264
|
};
|
|
6266
7265
|
|
|
@@ -6268,40 +7267,40 @@ proto.sniippaymentmethodsserviceapi.RemovePaymentMethodRequest.prototype.seriali
|
|
|
6268
7267
|
/**
|
|
6269
7268
|
* Serializes the given message to binary data (in protobuf wire
|
|
6270
7269
|
* format), writing to the given BinaryWriter.
|
|
6271
|
-
* @param {!proto.sniippaymentmethodsserviceapi.
|
|
7270
|
+
* @param {!proto.sniippaymentmethodsserviceapi.UpdateCreditCardDetailsRequest} message
|
|
6272
7271
|
* @param {!jspb.BinaryWriter} writer
|
|
6273
7272
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6274
7273
|
*/
|
|
6275
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7274
|
+
proto.sniippaymentmethodsserviceapi.UpdateCreditCardDetailsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
6276
7275
|
var f = undefined;
|
|
6277
7276
|
f = message.getData();
|
|
6278
7277
|
if (f != null) {
|
|
6279
7278
|
writer.writeMessage(
|
|
6280
7279
|
1,
|
|
6281
7280
|
f,
|
|
6282
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7281
|
+
proto.sniippaymentmethodsserviceapi.CreditCardDetailsUpdateRequest.serializeBinaryToWriter
|
|
6283
7282
|
);
|
|
6284
7283
|
}
|
|
6285
7284
|
};
|
|
6286
7285
|
|
|
6287
7286
|
|
|
6288
7287
|
/**
|
|
6289
|
-
* optional
|
|
6290
|
-
* @return {?proto.sniippaymentmethodsserviceapi.
|
|
7288
|
+
* optional CreditCardDetailsUpdateRequest data = 1;
|
|
7289
|
+
* @return {?proto.sniippaymentmethodsserviceapi.CreditCardDetailsUpdateRequest}
|
|
6291
7290
|
*/
|
|
6292
|
-
proto.sniippaymentmethodsserviceapi.
|
|
6293
|
-
return /** @type{?proto.sniippaymentmethodsserviceapi.
|
|
6294
|
-
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.
|
|
7291
|
+
proto.sniippaymentmethodsserviceapi.UpdateCreditCardDetailsRequest.prototype.getData = function() {
|
|
7292
|
+
return /** @type{?proto.sniippaymentmethodsserviceapi.CreditCardDetailsUpdateRequest} */ (
|
|
7293
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.CreditCardDetailsUpdateRequest, 1));
|
|
6295
7294
|
};
|
|
6296
7295
|
|
|
6297
7296
|
|
|
6298
|
-
/** @param {?proto.sniippaymentmethodsserviceapi.
|
|
6299
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7297
|
+
/** @param {?proto.sniippaymentmethodsserviceapi.CreditCardDetailsUpdateRequest|undefined} value */
|
|
7298
|
+
proto.sniippaymentmethodsserviceapi.UpdateCreditCardDetailsRequest.prototype.setData = function(value) {
|
|
6300
7299
|
jspb.Message.setWrapperField(this, 1, value);
|
|
6301
7300
|
};
|
|
6302
7301
|
|
|
6303
7302
|
|
|
6304
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7303
|
+
proto.sniippaymentmethodsserviceapi.UpdateCreditCardDetailsRequest.prototype.clearData = function() {
|
|
6305
7304
|
this.setData(undefined);
|
|
6306
7305
|
};
|
|
6307
7306
|
|
|
@@ -6310,7 +7309,7 @@ proto.sniippaymentmethodsserviceapi.RemovePaymentMethodRequest.prototype.clearDa
|
|
|
6310
7309
|
* Returns whether this field is set.
|
|
6311
7310
|
* @return {!boolean}
|
|
6312
7311
|
*/
|
|
6313
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7312
|
+
proto.sniippaymentmethodsserviceapi.UpdateCreditCardDetailsRequest.prototype.hasData = function() {
|
|
6314
7313
|
return jspb.Message.getField(this, 1) != null;
|
|
6315
7314
|
};
|
|
6316
7315
|
|
|
@@ -6326,12 +7325,12 @@ proto.sniippaymentmethodsserviceapi.RemovePaymentMethodRequest.prototype.hasData
|
|
|
6326
7325
|
* @extends {jspb.Message}
|
|
6327
7326
|
* @constructor
|
|
6328
7327
|
*/
|
|
6329
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7328
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest = function(opt_data) {
|
|
6330
7329
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
6331
7330
|
};
|
|
6332
|
-
goog.inherits(proto.sniippaymentmethodsserviceapi.
|
|
7331
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest, jspb.Message);
|
|
6333
7332
|
if (goog.DEBUG && !COMPILED) {
|
|
6334
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7333
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.displayName = 'proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest';
|
|
6335
7334
|
}
|
|
6336
7335
|
|
|
6337
7336
|
|
|
@@ -6346,8 +7345,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
6346
7345
|
* for transitional soy proto support: http://goto/soy-param-migration
|
|
6347
7346
|
* @return {!Object}
|
|
6348
7347
|
*/
|
|
6349
|
-
proto.sniippaymentmethodsserviceapi.
|
|
6350
|
-
return proto.sniippaymentmethodsserviceapi.
|
|
7348
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.prototype.toObject = function(opt_includeInstance) {
|
|
7349
|
+
return proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.toObject(opt_includeInstance, this);
|
|
6351
7350
|
};
|
|
6352
7351
|
|
|
6353
7352
|
|
|
@@ -6356,14 +7355,13 @@ proto.sniippaymentmethodsserviceapi.ResponseCode.prototype.toObject = function(o
|
|
|
6356
7355
|
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
6357
7356
|
* instance for transitional soy proto support:
|
|
6358
7357
|
* http://goto/soy-param-migration
|
|
6359
|
-
* @param {!proto.sniippaymentmethodsserviceapi.
|
|
7358
|
+
* @param {!proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest} msg The msg instance to transform.
|
|
6360
7359
|
* @return {!Object}
|
|
6361
7360
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6362
7361
|
*/
|
|
6363
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7362
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.toObject = function(includeInstance, msg) {
|
|
6364
7363
|
var f, obj = {
|
|
6365
|
-
|
|
6366
|
-
message: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
7364
|
+
data: (f = msg.getData()) && proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.toObject(includeInstance, f)
|
|
6367
7365
|
};
|
|
6368
7366
|
|
|
6369
7367
|
if (includeInstance) {
|
|
@@ -6377,23 +7375,23 @@ proto.sniippaymentmethodsserviceapi.ResponseCode.toObject = function(includeInst
|
|
|
6377
7375
|
/**
|
|
6378
7376
|
* Deserializes binary data (in protobuf wire format).
|
|
6379
7377
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6380
|
-
* @return {!proto.sniippaymentmethodsserviceapi.
|
|
7378
|
+
* @return {!proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest}
|
|
6381
7379
|
*/
|
|
6382
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7380
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.deserializeBinary = function(bytes) {
|
|
6383
7381
|
var reader = new jspb.BinaryReader(bytes);
|
|
6384
|
-
var msg = new proto.sniippaymentmethodsserviceapi.
|
|
6385
|
-
return proto.sniippaymentmethodsserviceapi.
|
|
7382
|
+
var msg = new proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest;
|
|
7383
|
+
return proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.deserializeBinaryFromReader(msg, reader);
|
|
6386
7384
|
};
|
|
6387
7385
|
|
|
6388
7386
|
|
|
6389
7387
|
/**
|
|
6390
7388
|
* Deserializes binary data (in protobuf wire format) from the
|
|
6391
7389
|
* given reader into the given message object.
|
|
6392
|
-
* @param {!proto.sniippaymentmethodsserviceapi.
|
|
7390
|
+
* @param {!proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest} msg The message object to deserialize into.
|
|
6393
7391
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6394
|
-
* @return {!proto.sniippaymentmethodsserviceapi.
|
|
7392
|
+
* @return {!proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest}
|
|
6395
7393
|
*/
|
|
6396
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7394
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
6397
7395
|
while (reader.nextField()) {
|
|
6398
7396
|
if (reader.isEndGroup()) {
|
|
6399
7397
|
break;
|
|
@@ -6401,12 +7399,9 @@ proto.sniippaymentmethodsserviceapi.ResponseCode.deserializeBinaryFromReader = f
|
|
|
6401
7399
|
var field = reader.getFieldNumber();
|
|
6402
7400
|
switch (field) {
|
|
6403
7401
|
case 1:
|
|
6404
|
-
var value =
|
|
6405
|
-
|
|
6406
|
-
|
|
6407
|
-
case 2:
|
|
6408
|
-
var value = /** @type {string} */ (reader.readString());
|
|
6409
|
-
msg.setMessage(value);
|
|
7402
|
+
var value = new proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest;
|
|
7403
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.deserializeBinaryFromReader);
|
|
7404
|
+
msg.setData(value);
|
|
6410
7405
|
break;
|
|
6411
7406
|
default:
|
|
6412
7407
|
reader.skipField();
|
|
@@ -6421,9 +7416,9 @@ proto.sniippaymentmethodsserviceapi.ResponseCode.deserializeBinaryFromReader = f
|
|
|
6421
7416
|
* Serializes the message to binary data (in protobuf wire format).
|
|
6422
7417
|
* @return {!Uint8Array}
|
|
6423
7418
|
*/
|
|
6424
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7419
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.prototype.serializeBinary = function() {
|
|
6425
7420
|
var writer = new jspb.BinaryWriter();
|
|
6426
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7421
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.serializeBinaryToWriter(this, writer);
|
|
6427
7422
|
return writer.getResultBuffer();
|
|
6428
7423
|
};
|
|
6429
7424
|
|
|
@@ -6431,56 +7426,50 @@ proto.sniippaymentmethodsserviceapi.ResponseCode.prototype.serializeBinary = fun
|
|
|
6431
7426
|
/**
|
|
6432
7427
|
* Serializes the given message to binary data (in protobuf wire
|
|
6433
7428
|
* format), writing to the given BinaryWriter.
|
|
6434
|
-
* @param {!proto.sniippaymentmethodsserviceapi.
|
|
7429
|
+
* @param {!proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest} message
|
|
6435
7430
|
* @param {!jspb.BinaryWriter} writer
|
|
6436
7431
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6437
7432
|
*/
|
|
6438
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7433
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.serializeBinaryToWriter = function(message, writer) {
|
|
6439
7434
|
var f = undefined;
|
|
6440
|
-
f = message.
|
|
6441
|
-
if (f
|
|
6442
|
-
writer.
|
|
7435
|
+
f = message.getData();
|
|
7436
|
+
if (f != null) {
|
|
7437
|
+
writer.writeMessage(
|
|
6443
7438
|
1,
|
|
6444
|
-
f
|
|
6445
|
-
|
|
6446
|
-
}
|
|
6447
|
-
f = message.getMessage();
|
|
6448
|
-
if (f.length > 0) {
|
|
6449
|
-
writer.writeString(
|
|
6450
|
-
2,
|
|
6451
|
-
f
|
|
7439
|
+
f,
|
|
7440
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.serializeBinaryToWriter
|
|
6452
7441
|
);
|
|
6453
7442
|
}
|
|
6454
7443
|
};
|
|
6455
7444
|
|
|
6456
7445
|
|
|
6457
7446
|
/**
|
|
6458
|
-
* optional
|
|
6459
|
-
* @return {
|
|
7447
|
+
* optional PaymentMethodUpdateRequest data = 1;
|
|
7448
|
+
* @return {?proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest}
|
|
6460
7449
|
*/
|
|
6461
|
-
proto.sniippaymentmethodsserviceapi.
|
|
6462
|
-
return /** @type
|
|
7450
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.prototype.getData = function() {
|
|
7451
|
+
return /** @type{?proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest} */ (
|
|
7452
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest, 1));
|
|
6463
7453
|
};
|
|
6464
7454
|
|
|
6465
7455
|
|
|
6466
|
-
/** @param {
|
|
6467
|
-
proto.sniippaymentmethodsserviceapi.
|
|
6468
|
-
jspb.Message.
|
|
7456
|
+
/** @param {?proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest|undefined} value */
|
|
7457
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.prototype.setData = function(value) {
|
|
7458
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
6469
7459
|
};
|
|
6470
7460
|
|
|
6471
7461
|
|
|
6472
|
-
|
|
6473
|
-
|
|
6474
|
-
* @return {string}
|
|
6475
|
-
*/
|
|
6476
|
-
proto.sniippaymentmethodsserviceapi.ResponseCode.prototype.getMessage = function() {
|
|
6477
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
7462
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.prototype.clearData = function() {
|
|
7463
|
+
this.setData(undefined);
|
|
6478
7464
|
};
|
|
6479
7465
|
|
|
6480
7466
|
|
|
6481
|
-
/**
|
|
6482
|
-
|
|
6483
|
-
|
|
7467
|
+
/**
|
|
7468
|
+
* Returns whether this field is set.
|
|
7469
|
+
* @return {!boolean}
|
|
7470
|
+
*/
|
|
7471
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.prototype.hasData = function() {
|
|
7472
|
+
return jspb.Message.getField(this, 1) != null;
|
|
6484
7473
|
};
|
|
6485
7474
|
|
|
6486
7475
|
|
|
@@ -6495,12 +7484,12 @@ proto.sniippaymentmethodsserviceapi.ResponseCode.prototype.setMessage = function
|
|
|
6495
7484
|
* @extends {jspb.Message}
|
|
6496
7485
|
* @constructor
|
|
6497
7486
|
*/
|
|
6498
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7487
|
+
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest = function(opt_data) {
|
|
6499
7488
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
6500
7489
|
};
|
|
6501
|
-
goog.inherits(proto.sniippaymentmethodsserviceapi.
|
|
7490
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest, jspb.Message);
|
|
6502
7491
|
if (goog.DEBUG && !COMPILED) {
|
|
6503
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7492
|
+
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest.displayName = 'proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest';
|
|
6504
7493
|
}
|
|
6505
7494
|
|
|
6506
7495
|
|
|
@@ -6515,8 +7504,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
6515
7504
|
* for transitional soy proto support: http://goto/soy-param-migration
|
|
6516
7505
|
* @return {!Object}
|
|
6517
7506
|
*/
|
|
6518
|
-
proto.sniippaymentmethodsserviceapi.
|
|
6519
|
-
return proto.sniippaymentmethodsserviceapi.
|
|
7507
|
+
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
7508
|
+
return proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest.toObject(opt_includeInstance, this);
|
|
6520
7509
|
};
|
|
6521
7510
|
|
|
6522
7511
|
|
|
@@ -6525,13 +7514,14 @@ proto.sniippaymentmethodsserviceapi.UpdateCreditCardDetailsRequest.prototype.toO
|
|
|
6525
7514
|
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
6526
7515
|
* instance for transitional soy proto support:
|
|
6527
7516
|
* http://goto/soy-param-migration
|
|
6528
|
-
* @param {!proto.sniippaymentmethodsserviceapi.
|
|
7517
|
+
* @param {!proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest} msg The msg instance to transform.
|
|
6529
7518
|
* @return {!Object}
|
|
6530
7519
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6531
7520
|
*/
|
|
6532
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7521
|
+
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest.toObject = function(includeInstance, msg) {
|
|
6533
7522
|
var f, obj = {
|
|
6534
|
-
|
|
7523
|
+
userid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
7524
|
+
paymentmethodid: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
6535
7525
|
};
|
|
6536
7526
|
|
|
6537
7527
|
if (includeInstance) {
|
|
@@ -6545,23 +7535,23 @@ proto.sniippaymentmethodsserviceapi.UpdateCreditCardDetailsRequest.toObject = fu
|
|
|
6545
7535
|
/**
|
|
6546
7536
|
* Deserializes binary data (in protobuf wire format).
|
|
6547
7537
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6548
|
-
* @return {!proto.sniippaymentmethodsserviceapi.
|
|
7538
|
+
* @return {!proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest}
|
|
6549
7539
|
*/
|
|
6550
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7540
|
+
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest.deserializeBinary = function(bytes) {
|
|
6551
7541
|
var reader = new jspb.BinaryReader(bytes);
|
|
6552
|
-
var msg = new proto.sniippaymentmethodsserviceapi.
|
|
6553
|
-
return proto.sniippaymentmethodsserviceapi.
|
|
7542
|
+
var msg = new proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest;
|
|
7543
|
+
return proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest.deserializeBinaryFromReader(msg, reader);
|
|
6554
7544
|
};
|
|
6555
7545
|
|
|
6556
7546
|
|
|
6557
7547
|
/**
|
|
6558
7548
|
* Deserializes binary data (in protobuf wire format) from the
|
|
6559
7549
|
* given reader into the given message object.
|
|
6560
|
-
* @param {!proto.sniippaymentmethodsserviceapi.
|
|
7550
|
+
* @param {!proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest} msg The message object to deserialize into.
|
|
6561
7551
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6562
|
-
* @return {!proto.sniippaymentmethodsserviceapi.
|
|
7552
|
+
* @return {!proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest}
|
|
6563
7553
|
*/
|
|
6564
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7554
|
+
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
6565
7555
|
while (reader.nextField()) {
|
|
6566
7556
|
if (reader.isEndGroup()) {
|
|
6567
7557
|
break;
|
|
@@ -6569,9 +7559,12 @@ proto.sniippaymentmethodsserviceapi.UpdateCreditCardDetailsRequest.deserializeBi
|
|
|
6569
7559
|
var field = reader.getFieldNumber();
|
|
6570
7560
|
switch (field) {
|
|
6571
7561
|
case 1:
|
|
6572
|
-
var value =
|
|
6573
|
-
|
|
6574
|
-
|
|
7562
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
7563
|
+
msg.setUserid(value);
|
|
7564
|
+
break;
|
|
7565
|
+
case 2:
|
|
7566
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
7567
|
+
msg.setPaymentmethodid(value);
|
|
6575
7568
|
break;
|
|
6576
7569
|
default:
|
|
6577
7570
|
reader.skipField();
|
|
@@ -6586,9 +7579,9 @@ proto.sniippaymentmethodsserviceapi.UpdateCreditCardDetailsRequest.deserializeBi
|
|
|
6586
7579
|
* Serializes the message to binary data (in protobuf wire format).
|
|
6587
7580
|
* @return {!Uint8Array}
|
|
6588
7581
|
*/
|
|
6589
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7582
|
+
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest.prototype.serializeBinary = function() {
|
|
6590
7583
|
var writer = new jspb.BinaryWriter();
|
|
6591
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7584
|
+
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest.serializeBinaryToWriter(this, writer);
|
|
6592
7585
|
return writer.getResultBuffer();
|
|
6593
7586
|
};
|
|
6594
7587
|
|
|
@@ -6596,50 +7589,56 @@ proto.sniippaymentmethodsserviceapi.UpdateCreditCardDetailsRequest.prototype.ser
|
|
|
6596
7589
|
/**
|
|
6597
7590
|
* Serializes the given message to binary data (in protobuf wire
|
|
6598
7591
|
* format), writing to the given BinaryWriter.
|
|
6599
|
-
* @param {!proto.sniippaymentmethodsserviceapi.
|
|
7592
|
+
* @param {!proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest} message
|
|
6600
7593
|
* @param {!jspb.BinaryWriter} writer
|
|
6601
7594
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6602
7595
|
*/
|
|
6603
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7596
|
+
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
6604
7597
|
var f = undefined;
|
|
6605
|
-
f = message.
|
|
6606
|
-
if (f
|
|
6607
|
-
writer.
|
|
7598
|
+
f = message.getUserid();
|
|
7599
|
+
if (f !== 0) {
|
|
7600
|
+
writer.writeInt64(
|
|
6608
7601
|
1,
|
|
6609
|
-
f
|
|
6610
|
-
|
|
7602
|
+
f
|
|
7603
|
+
);
|
|
7604
|
+
}
|
|
7605
|
+
f = message.getPaymentmethodid();
|
|
7606
|
+
if (f !== 0) {
|
|
7607
|
+
writer.writeInt64(
|
|
7608
|
+
2,
|
|
7609
|
+
f
|
|
6611
7610
|
);
|
|
6612
7611
|
}
|
|
6613
7612
|
};
|
|
6614
7613
|
|
|
6615
7614
|
|
|
6616
7615
|
/**
|
|
6617
|
-
* optional
|
|
6618
|
-
* @return {
|
|
7616
|
+
* optional int64 userId = 1;
|
|
7617
|
+
* @return {number}
|
|
6619
7618
|
*/
|
|
6620
|
-
proto.sniippaymentmethodsserviceapi.
|
|
6621
|
-
return /** @type{
|
|
6622
|
-
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.CreditCardDetailsUpdateRequest, 1));
|
|
7619
|
+
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest.prototype.getUserid = function() {
|
|
7620
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
6623
7621
|
};
|
|
6624
7622
|
|
|
6625
7623
|
|
|
6626
|
-
/** @param {
|
|
6627
|
-
proto.sniippaymentmethodsserviceapi.
|
|
6628
|
-
jspb.Message.
|
|
7624
|
+
/** @param {number} value */
|
|
7625
|
+
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest.prototype.setUserid = function(value) {
|
|
7626
|
+
jspb.Message.setProto3IntField(this, 1, value);
|
|
6629
7627
|
};
|
|
6630
7628
|
|
|
6631
7629
|
|
|
6632
|
-
|
|
6633
|
-
|
|
7630
|
+
/**
|
|
7631
|
+
* optional int64 paymentMethodId = 2;
|
|
7632
|
+
* @return {number}
|
|
7633
|
+
*/
|
|
7634
|
+
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest.prototype.getPaymentmethodid = function() {
|
|
7635
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
6634
7636
|
};
|
|
6635
7637
|
|
|
6636
7638
|
|
|
6637
|
-
/**
|
|
6638
|
-
|
|
6639
|
-
|
|
6640
|
-
*/
|
|
6641
|
-
proto.sniippaymentmethodsserviceapi.UpdateCreditCardDetailsRequest.prototype.hasData = function() {
|
|
6642
|
-
return jspb.Message.getField(this, 1) != null;
|
|
7639
|
+
/** @param {number} value */
|
|
7640
|
+
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest.prototype.setPaymentmethodid = function(value) {
|
|
7641
|
+
jspb.Message.setProto3IntField(this, 2, value);
|
|
6643
7642
|
};
|
|
6644
7643
|
|
|
6645
7644
|
|
|
@@ -6654,12 +7653,12 @@ proto.sniippaymentmethodsserviceapi.UpdateCreditCardDetailsRequest.prototype.has
|
|
|
6654
7653
|
* @extends {jspb.Message}
|
|
6655
7654
|
* @constructor
|
|
6656
7655
|
*/
|
|
6657
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7656
|
+
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse = function(opt_data) {
|
|
6658
7657
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
6659
7658
|
};
|
|
6660
|
-
goog.inherits(proto.sniippaymentmethodsserviceapi.
|
|
7659
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse, jspb.Message);
|
|
6661
7660
|
if (goog.DEBUG && !COMPILED) {
|
|
6662
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7661
|
+
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse.displayName = 'proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse';
|
|
6663
7662
|
}
|
|
6664
7663
|
|
|
6665
7664
|
|
|
@@ -6674,8 +7673,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
6674
7673
|
* for transitional soy proto support: http://goto/soy-param-migration
|
|
6675
7674
|
* @return {!Object}
|
|
6676
7675
|
*/
|
|
6677
|
-
proto.sniippaymentmethodsserviceapi.
|
|
6678
|
-
return proto.sniippaymentmethodsserviceapi.
|
|
7676
|
+
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
7677
|
+
return proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse.toObject(opt_includeInstance, this);
|
|
6679
7678
|
};
|
|
6680
7679
|
|
|
6681
7680
|
|
|
@@ -6684,13 +7683,14 @@ proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.prototype.toObjec
|
|
|
6684
7683
|
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
6685
7684
|
* instance for transitional soy proto support:
|
|
6686
7685
|
* http://goto/soy-param-migration
|
|
6687
|
-
* @param {!proto.sniippaymentmethodsserviceapi.
|
|
7686
|
+
* @param {!proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse} msg The msg instance to transform.
|
|
6688
7687
|
* @return {!Object}
|
|
6689
7688
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6690
7689
|
*/
|
|
6691
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7690
|
+
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse.toObject = function(includeInstance, msg) {
|
|
6692
7691
|
var f, obj = {
|
|
6693
|
-
|
|
7692
|
+
responsecode: (f = msg.getResponsecode()) && proto.sniippaymentmethodsserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
7693
|
+
zenithtoken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
6694
7694
|
};
|
|
6695
7695
|
|
|
6696
7696
|
if (includeInstance) {
|
|
@@ -6704,23 +7704,23 @@ proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.toObject = functi
|
|
|
6704
7704
|
/**
|
|
6705
7705
|
* Deserializes binary data (in protobuf wire format).
|
|
6706
7706
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6707
|
-
* @return {!proto.sniippaymentmethodsserviceapi.
|
|
7707
|
+
* @return {!proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse}
|
|
6708
7708
|
*/
|
|
6709
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7709
|
+
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse.deserializeBinary = function(bytes) {
|
|
6710
7710
|
var reader = new jspb.BinaryReader(bytes);
|
|
6711
|
-
var msg = new proto.sniippaymentmethodsserviceapi.
|
|
6712
|
-
return proto.sniippaymentmethodsserviceapi.
|
|
7711
|
+
var msg = new proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse;
|
|
7712
|
+
return proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse.deserializeBinaryFromReader(msg, reader);
|
|
6713
7713
|
};
|
|
6714
7714
|
|
|
6715
7715
|
|
|
6716
7716
|
/**
|
|
6717
7717
|
* Deserializes binary data (in protobuf wire format) from the
|
|
6718
7718
|
* given reader into the given message object.
|
|
6719
|
-
* @param {!proto.sniippaymentmethodsserviceapi.
|
|
7719
|
+
* @param {!proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse} msg The message object to deserialize into.
|
|
6720
7720
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6721
|
-
* @return {!proto.sniippaymentmethodsserviceapi.
|
|
7721
|
+
* @return {!proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse}
|
|
6722
7722
|
*/
|
|
6723
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7723
|
+
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
6724
7724
|
while (reader.nextField()) {
|
|
6725
7725
|
if (reader.isEndGroup()) {
|
|
6726
7726
|
break;
|
|
@@ -6728,9 +7728,13 @@ proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.deserializeBinary
|
|
|
6728
7728
|
var field = reader.getFieldNumber();
|
|
6729
7729
|
switch (field) {
|
|
6730
7730
|
case 1:
|
|
6731
|
-
var value = new proto.sniippaymentmethodsserviceapi.
|
|
6732
|
-
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.
|
|
6733
|
-
msg.
|
|
7731
|
+
var value = new proto.sniippaymentmethodsserviceapi.ResponseCode;
|
|
7732
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
7733
|
+
msg.setResponsecode(value);
|
|
7734
|
+
break;
|
|
7735
|
+
case 2:
|
|
7736
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7737
|
+
msg.setZenithtoken(value);
|
|
6734
7738
|
break;
|
|
6735
7739
|
default:
|
|
6736
7740
|
reader.skipField();
|
|
@@ -6745,9 +7749,9 @@ proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.deserializeBinary
|
|
|
6745
7749
|
* Serializes the message to binary data (in protobuf wire format).
|
|
6746
7750
|
* @return {!Uint8Array}
|
|
6747
7751
|
*/
|
|
6748
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7752
|
+
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse.prototype.serializeBinary = function() {
|
|
6749
7753
|
var writer = new jspb.BinaryWriter();
|
|
6750
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7754
|
+
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse.serializeBinaryToWriter(this, writer);
|
|
6751
7755
|
return writer.getResultBuffer();
|
|
6752
7756
|
};
|
|
6753
7757
|
|
|
@@ -6755,41 +7759,48 @@ proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.prototype.seriali
|
|
|
6755
7759
|
/**
|
|
6756
7760
|
* Serializes the given message to binary data (in protobuf wire
|
|
6757
7761
|
* format), writing to the given BinaryWriter.
|
|
6758
|
-
* @param {!proto.sniippaymentmethodsserviceapi.
|
|
7762
|
+
* @param {!proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse} message
|
|
6759
7763
|
* @param {!jspb.BinaryWriter} writer
|
|
6760
7764
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6761
7765
|
*/
|
|
6762
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7766
|
+
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
6763
7767
|
var f = undefined;
|
|
6764
|
-
f = message.
|
|
7768
|
+
f = message.getResponsecode();
|
|
6765
7769
|
if (f != null) {
|
|
6766
7770
|
writer.writeMessage(
|
|
6767
7771
|
1,
|
|
6768
7772
|
f,
|
|
6769
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7773
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode.serializeBinaryToWriter
|
|
7774
|
+
);
|
|
7775
|
+
}
|
|
7776
|
+
f = message.getZenithtoken();
|
|
7777
|
+
if (f.length > 0) {
|
|
7778
|
+
writer.writeString(
|
|
7779
|
+
2,
|
|
7780
|
+
f
|
|
6770
7781
|
);
|
|
6771
7782
|
}
|
|
6772
7783
|
};
|
|
6773
7784
|
|
|
6774
7785
|
|
|
6775
7786
|
/**
|
|
6776
|
-
* optional
|
|
6777
|
-
* @return {?proto.sniippaymentmethodsserviceapi.
|
|
7787
|
+
* optional ResponseCode responseCode = 1;
|
|
7788
|
+
* @return {?proto.sniippaymentmethodsserviceapi.ResponseCode}
|
|
6778
7789
|
*/
|
|
6779
|
-
proto.sniippaymentmethodsserviceapi.
|
|
6780
|
-
return /** @type{?proto.sniippaymentmethodsserviceapi.
|
|
6781
|
-
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.
|
|
7790
|
+
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse.prototype.getResponsecode = function() {
|
|
7791
|
+
return /** @type{?proto.sniippaymentmethodsserviceapi.ResponseCode} */ (
|
|
7792
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.ResponseCode, 1));
|
|
6782
7793
|
};
|
|
6783
7794
|
|
|
6784
7795
|
|
|
6785
|
-
/** @param {?proto.sniippaymentmethodsserviceapi.
|
|
6786
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7796
|
+
/** @param {?proto.sniippaymentmethodsserviceapi.ResponseCode|undefined} value */
|
|
7797
|
+
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse.prototype.setResponsecode = function(value) {
|
|
6787
7798
|
jspb.Message.setWrapperField(this, 1, value);
|
|
6788
7799
|
};
|
|
6789
7800
|
|
|
6790
7801
|
|
|
6791
|
-
proto.sniippaymentmethodsserviceapi.
|
|
6792
|
-
this.
|
|
7802
|
+
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse.prototype.clearResponsecode = function() {
|
|
7803
|
+
this.setResponsecode(undefined);
|
|
6793
7804
|
};
|
|
6794
7805
|
|
|
6795
7806
|
|
|
@@ -6797,9 +7808,24 @@ proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.prototype.clearDa
|
|
|
6797
7808
|
* Returns whether this field is set.
|
|
6798
7809
|
* @return {!boolean}
|
|
6799
7810
|
*/
|
|
6800
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7811
|
+
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse.prototype.hasResponsecode = function() {
|
|
6801
7812
|
return jspb.Message.getField(this, 1) != null;
|
|
6802
7813
|
};
|
|
6803
7814
|
|
|
6804
7815
|
|
|
7816
|
+
/**
|
|
7817
|
+
* optional string zenithToken = 2;
|
|
7818
|
+
* @return {string}
|
|
7819
|
+
*/
|
|
7820
|
+
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse.prototype.getZenithtoken = function() {
|
|
7821
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
7822
|
+
};
|
|
7823
|
+
|
|
7824
|
+
|
|
7825
|
+
/** @param {string} value */
|
|
7826
|
+
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse.prototype.setZenithtoken = function(value) {
|
|
7827
|
+
jspb.Message.setProto3StringField(this, 2, value);
|
|
7828
|
+
};
|
|
7829
|
+
|
|
7830
|
+
|
|
6805
7831
|
goog.object.extend(exports, proto.sniippaymentmethodsserviceapi);
|