@sniipwebmaster/payment-methods-client-grpcweb 21.8.3247 → 21.8.3256
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dependancies/service_pb.js +905 -128
- package/package.json +1 -1
|
@@ -30,6 +30,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CreatePaymentMethodGroupR
|
|
|
30
30
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CreditCard', null, global);
|
|
31
31
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CreditCardForPaymentRequest', null, global);
|
|
32
32
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest', null, global);
|
|
33
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.Gateway', null, global);
|
|
33
34
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetActivatedPaymentMethodRequest', null, global);
|
|
34
35
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetCardHashRequest', null, global);
|
|
35
36
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetCardHashesForUserRequest', null, global);
|
|
@@ -43,6 +44,8 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodsForAudit
|
|
|
43
44
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest', null, global);
|
|
44
45
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodsRequest', null, global);
|
|
45
46
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest', null, global);
|
|
47
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GooglePay', null, global);
|
|
48
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GooglePayDetail', null, global);
|
|
46
49
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.MaskedCreditCard', null, global);
|
|
47
50
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest', null, global);
|
|
48
51
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethod', null, global);
|
|
@@ -940,7 +943,8 @@ proto.sniippaymentmethodsserviceapi.AddPaymentMethod.toObject = function(include
|
|
|
940
943
|
creditcard: (f = msg.getCreditcard()) && proto.sniippaymentmethodsserviceapi.CreditCard.toObject(includeInstance, f),
|
|
941
944
|
bankaccount: (f = msg.getBankaccount()) && proto.sniippaymentmethodsserviceapi.BankAccount.toObject(includeInstance, f),
|
|
942
945
|
accesstoken: msg.getAccesstoken(),
|
|
943
|
-
applepay: (f = msg.getApplepay()) && proto.sniippaymentmethodsserviceapi.ApplePay.toObject(includeInstance, f)
|
|
946
|
+
applepay: (f = msg.getApplepay()) && proto.sniippaymentmethodsserviceapi.ApplePay.toObject(includeInstance, f),
|
|
947
|
+
googlepay: (f = msg.getGooglepay()) && proto.sniippaymentmethodsserviceapi.GooglePay.toObject(includeInstance, f)
|
|
944
948
|
};
|
|
945
949
|
|
|
946
950
|
if (includeInstance) {
|
|
@@ -1000,6 +1004,11 @@ proto.sniippaymentmethodsserviceapi.AddPaymentMethod.deserializeBinaryFromReader
|
|
|
1000
1004
|
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.ApplePay.deserializeBinaryFromReader);
|
|
1001
1005
|
msg.setApplepay(value);
|
|
1002
1006
|
break;
|
|
1007
|
+
case 6:
|
|
1008
|
+
var value = new proto.sniippaymentmethodsserviceapi.GooglePay;
|
|
1009
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.GooglePay.deserializeBinaryFromReader);
|
|
1010
|
+
msg.setGooglepay(value);
|
|
1011
|
+
break;
|
|
1003
1012
|
default:
|
|
1004
1013
|
reader.skipField();
|
|
1005
1014
|
break;
|
|
@@ -1076,6 +1085,14 @@ proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.serializeBinaryTo
|
|
|
1076
1085
|
proto.sniippaymentmethodsserviceapi.ApplePay.serializeBinaryToWriter
|
|
1077
1086
|
);
|
|
1078
1087
|
}
|
|
1088
|
+
f = this.getGooglepay();
|
|
1089
|
+
if (f != null) {
|
|
1090
|
+
writer.writeMessage(
|
|
1091
|
+
6,
|
|
1092
|
+
f,
|
|
1093
|
+
proto.sniippaymentmethodsserviceapi.GooglePay.serializeBinaryToWriter
|
|
1094
|
+
);
|
|
1095
|
+
}
|
|
1079
1096
|
};
|
|
1080
1097
|
|
|
1081
1098
|
|
|
@@ -1208,6 +1225,36 @@ proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.hasApplepay = fun
|
|
|
1208
1225
|
};
|
|
1209
1226
|
|
|
1210
1227
|
|
|
1228
|
+
/**
|
|
1229
|
+
* optional GooglePay googlePay = 6;
|
|
1230
|
+
* @return {proto.sniippaymentmethodsserviceapi.GooglePay}
|
|
1231
|
+
*/
|
|
1232
|
+
proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.getGooglepay = function() {
|
|
1233
|
+
return /** @type{proto.sniippaymentmethodsserviceapi.GooglePay} */ (
|
|
1234
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.GooglePay, 6));
|
|
1235
|
+
};
|
|
1236
|
+
|
|
1237
|
+
|
|
1238
|
+
/** @param {proto.sniippaymentmethodsserviceapi.GooglePay|undefined} value */
|
|
1239
|
+
proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.setGooglepay = function(value) {
|
|
1240
|
+
jspb.Message.setWrapperField(this, 6, value);
|
|
1241
|
+
};
|
|
1242
|
+
|
|
1243
|
+
|
|
1244
|
+
proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.clearGooglepay = function() {
|
|
1245
|
+
this.setGooglepay(undefined);
|
|
1246
|
+
};
|
|
1247
|
+
|
|
1248
|
+
|
|
1249
|
+
/**
|
|
1250
|
+
* Returns whether this field is set.
|
|
1251
|
+
* @return{!boolean}
|
|
1252
|
+
*/
|
|
1253
|
+
proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.hasGooglepay = function() {
|
|
1254
|
+
return jspb.Message.getField(this, 6) != null;
|
|
1255
|
+
};
|
|
1256
|
+
|
|
1257
|
+
|
|
1211
1258
|
|
|
1212
1259
|
/**
|
|
1213
1260
|
* Generated by JsPbCodeGenerator.
|
|
@@ -7168,125 +7215,730 @@ proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest.toObject = fu
|
|
|
7168
7215
|
}
|
|
7169
7216
|
return obj;
|
|
7170
7217
|
};
|
|
7171
|
-
}
|
|
7218
|
+
}
|
|
7219
|
+
|
|
7220
|
+
|
|
7221
|
+
/**
|
|
7222
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7223
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7224
|
+
* @return {!proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest}
|
|
7225
|
+
*/
|
|
7226
|
+
proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest.deserializeBinary = function(bytes) {
|
|
7227
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7228
|
+
var msg = new proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest;
|
|
7229
|
+
return proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest.deserializeBinaryFromReader(msg, reader);
|
|
7230
|
+
};
|
|
7231
|
+
|
|
7232
|
+
|
|
7233
|
+
/**
|
|
7234
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7235
|
+
* given reader into the given message object.
|
|
7236
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest} msg The message object to deserialize into.
|
|
7237
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7238
|
+
* @return {!proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest}
|
|
7239
|
+
*/
|
|
7240
|
+
proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
7241
|
+
while (reader.nextField()) {
|
|
7242
|
+
if (reader.isEndGroup()) {
|
|
7243
|
+
break;
|
|
7244
|
+
}
|
|
7245
|
+
var field = reader.getFieldNumber();
|
|
7246
|
+
switch (field) {
|
|
7247
|
+
case 1:
|
|
7248
|
+
var value = new proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest;
|
|
7249
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest.deserializeBinaryFromReader);
|
|
7250
|
+
msg.setData(value);
|
|
7251
|
+
break;
|
|
7252
|
+
default:
|
|
7253
|
+
reader.skipField();
|
|
7254
|
+
break;
|
|
7255
|
+
}
|
|
7256
|
+
}
|
|
7257
|
+
return msg;
|
|
7258
|
+
};
|
|
7259
|
+
|
|
7260
|
+
|
|
7261
|
+
/**
|
|
7262
|
+
* Class method variant: serializes the given message to binary data
|
|
7263
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
7264
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest} message
|
|
7265
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7266
|
+
*/
|
|
7267
|
+
proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
7268
|
+
message.serializeBinaryToWriter(writer);
|
|
7269
|
+
};
|
|
7270
|
+
|
|
7271
|
+
|
|
7272
|
+
/**
|
|
7273
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7274
|
+
* @return {!Uint8Array}
|
|
7275
|
+
*/
|
|
7276
|
+
proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest.prototype.serializeBinary = function() {
|
|
7277
|
+
var writer = new jspb.BinaryWriter();
|
|
7278
|
+
this.serializeBinaryToWriter(writer);
|
|
7279
|
+
return writer.getResultBuffer();
|
|
7280
|
+
};
|
|
7281
|
+
|
|
7282
|
+
|
|
7283
|
+
/**
|
|
7284
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
7285
|
+
* writing to the given BinaryWriter.
|
|
7286
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7287
|
+
*/
|
|
7288
|
+
proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
7289
|
+
var f = undefined;
|
|
7290
|
+
f = this.getData();
|
|
7291
|
+
if (f != null) {
|
|
7292
|
+
writer.writeMessage(
|
|
7293
|
+
1,
|
|
7294
|
+
f,
|
|
7295
|
+
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest.serializeBinaryToWriter
|
|
7296
|
+
);
|
|
7297
|
+
}
|
|
7298
|
+
};
|
|
7299
|
+
|
|
7300
|
+
|
|
7301
|
+
/**
|
|
7302
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
7303
|
+
* @return {!proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest} The clone.
|
|
7304
|
+
*/
|
|
7305
|
+
proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest.prototype.cloneMessage = function() {
|
|
7306
|
+
return /** @type {!proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest} */ (jspb.Message.cloneMessage(this));
|
|
7307
|
+
};
|
|
7308
|
+
|
|
7309
|
+
|
|
7310
|
+
/**
|
|
7311
|
+
* optional ZenithPaymentDetailsRequest data = 1;
|
|
7312
|
+
* @return {proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest}
|
|
7313
|
+
*/
|
|
7314
|
+
proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest.prototype.getData = function() {
|
|
7315
|
+
return /** @type{proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest} */ (
|
|
7316
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest, 1));
|
|
7317
|
+
};
|
|
7318
|
+
|
|
7319
|
+
|
|
7320
|
+
/** @param {proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest|undefined} value */
|
|
7321
|
+
proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest.prototype.setData = function(value) {
|
|
7322
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
7323
|
+
};
|
|
7324
|
+
|
|
7325
|
+
|
|
7326
|
+
proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest.prototype.clearData = function() {
|
|
7327
|
+
this.setData(undefined);
|
|
7328
|
+
};
|
|
7329
|
+
|
|
7330
|
+
|
|
7331
|
+
/**
|
|
7332
|
+
* Returns whether this field is set.
|
|
7333
|
+
* @return{!boolean}
|
|
7334
|
+
*/
|
|
7335
|
+
proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest.prototype.hasData = function() {
|
|
7336
|
+
return jspb.Message.getField(this, 1) != null;
|
|
7337
|
+
};
|
|
7338
|
+
|
|
7339
|
+
|
|
7340
|
+
|
|
7341
|
+
/**
|
|
7342
|
+
* Generated by JsPbCodeGenerator.
|
|
7343
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7344
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7345
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7346
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7347
|
+
* valid.
|
|
7348
|
+
* @extends {jspb.Message}
|
|
7349
|
+
* @constructor
|
|
7350
|
+
*/
|
|
7351
|
+
proto.sniippaymentmethodsserviceapi.GooglePay = function(opt_data) {
|
|
7352
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7353
|
+
};
|
|
7354
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.GooglePay, jspb.Message);
|
|
7355
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7356
|
+
proto.sniippaymentmethodsserviceapi.GooglePay.displayName = 'proto.sniippaymentmethodsserviceapi.GooglePay';
|
|
7357
|
+
}
|
|
7358
|
+
|
|
7359
|
+
|
|
7360
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7361
|
+
/**
|
|
7362
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
7363
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7364
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7365
|
+
* For the list of reserved names please see:
|
|
7366
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
7367
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
7368
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
7369
|
+
* @return {!Object}
|
|
7370
|
+
*/
|
|
7371
|
+
proto.sniippaymentmethodsserviceapi.GooglePay.prototype.toObject = function(opt_includeInstance) {
|
|
7372
|
+
return proto.sniippaymentmethodsserviceapi.GooglePay.toObject(opt_includeInstance, this);
|
|
7373
|
+
};
|
|
7374
|
+
|
|
7375
|
+
|
|
7376
|
+
/**
|
|
7377
|
+
* Static version of the {@see toObject} method.
|
|
7378
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
7379
|
+
* instance for transitional soy proto support:
|
|
7380
|
+
* http://goto/soy-param-migration
|
|
7381
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GooglePay} msg The msg instance to transform.
|
|
7382
|
+
* @return {!Object}
|
|
7383
|
+
*/
|
|
7384
|
+
proto.sniippaymentmethodsserviceapi.GooglePay.toObject = function(includeInstance, msg) {
|
|
7385
|
+
var f, obj = {
|
|
7386
|
+
paymentdatajson: msg.getPaymentdatajson(),
|
|
7387
|
+
gateway: msg.getGateway()
|
|
7388
|
+
};
|
|
7389
|
+
|
|
7390
|
+
if (includeInstance) {
|
|
7391
|
+
obj.$jspbMessageInstance = msg;
|
|
7392
|
+
}
|
|
7393
|
+
return obj;
|
|
7394
|
+
};
|
|
7395
|
+
}
|
|
7396
|
+
|
|
7397
|
+
|
|
7398
|
+
/**
|
|
7399
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7400
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7401
|
+
* @return {!proto.sniippaymentmethodsserviceapi.GooglePay}
|
|
7402
|
+
*/
|
|
7403
|
+
proto.sniippaymentmethodsserviceapi.GooglePay.deserializeBinary = function(bytes) {
|
|
7404
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7405
|
+
var msg = new proto.sniippaymentmethodsserviceapi.GooglePay;
|
|
7406
|
+
return proto.sniippaymentmethodsserviceapi.GooglePay.deserializeBinaryFromReader(msg, reader);
|
|
7407
|
+
};
|
|
7408
|
+
|
|
7409
|
+
|
|
7410
|
+
/**
|
|
7411
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7412
|
+
* given reader into the given message object.
|
|
7413
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GooglePay} msg The message object to deserialize into.
|
|
7414
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7415
|
+
* @return {!proto.sniippaymentmethodsserviceapi.GooglePay}
|
|
7416
|
+
*/
|
|
7417
|
+
proto.sniippaymentmethodsserviceapi.GooglePay.deserializeBinaryFromReader = function(msg, reader) {
|
|
7418
|
+
while (reader.nextField()) {
|
|
7419
|
+
if (reader.isEndGroup()) {
|
|
7420
|
+
break;
|
|
7421
|
+
}
|
|
7422
|
+
var field = reader.getFieldNumber();
|
|
7423
|
+
switch (field) {
|
|
7424
|
+
case 1:
|
|
7425
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7426
|
+
msg.setPaymentdatajson(value);
|
|
7427
|
+
break;
|
|
7428
|
+
case 2:
|
|
7429
|
+
var value = /** @type {!proto.sniippaymentmethodsserviceapi.Gateway} */ (reader.readEnum());
|
|
7430
|
+
msg.setGateway(value);
|
|
7431
|
+
break;
|
|
7432
|
+
default:
|
|
7433
|
+
reader.skipField();
|
|
7434
|
+
break;
|
|
7435
|
+
}
|
|
7436
|
+
}
|
|
7437
|
+
return msg;
|
|
7438
|
+
};
|
|
7439
|
+
|
|
7440
|
+
|
|
7441
|
+
/**
|
|
7442
|
+
* Class method variant: serializes the given message to binary data
|
|
7443
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
7444
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GooglePay} message
|
|
7445
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7446
|
+
*/
|
|
7447
|
+
proto.sniippaymentmethodsserviceapi.GooglePay.serializeBinaryToWriter = function(message, writer) {
|
|
7448
|
+
message.serializeBinaryToWriter(writer);
|
|
7449
|
+
};
|
|
7450
|
+
|
|
7451
|
+
|
|
7452
|
+
/**
|
|
7453
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7454
|
+
* @return {!Uint8Array}
|
|
7455
|
+
*/
|
|
7456
|
+
proto.sniippaymentmethodsserviceapi.GooglePay.prototype.serializeBinary = function() {
|
|
7457
|
+
var writer = new jspb.BinaryWriter();
|
|
7458
|
+
this.serializeBinaryToWriter(writer);
|
|
7459
|
+
return writer.getResultBuffer();
|
|
7460
|
+
};
|
|
7461
|
+
|
|
7462
|
+
|
|
7463
|
+
/**
|
|
7464
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
7465
|
+
* writing to the given BinaryWriter.
|
|
7466
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7467
|
+
*/
|
|
7468
|
+
proto.sniippaymentmethodsserviceapi.GooglePay.prototype.serializeBinaryToWriter = function (writer) {
|
|
7469
|
+
var f = undefined;
|
|
7470
|
+
f = this.getPaymentdatajson();
|
|
7471
|
+
if (f.length > 0) {
|
|
7472
|
+
writer.writeString(
|
|
7473
|
+
1,
|
|
7474
|
+
f
|
|
7475
|
+
);
|
|
7476
|
+
}
|
|
7477
|
+
f = this.getGateway();
|
|
7478
|
+
if (f !== 0.0) {
|
|
7479
|
+
writer.writeEnum(
|
|
7480
|
+
2,
|
|
7481
|
+
f
|
|
7482
|
+
);
|
|
7483
|
+
}
|
|
7484
|
+
};
|
|
7485
|
+
|
|
7486
|
+
|
|
7487
|
+
/**
|
|
7488
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
7489
|
+
* @return {!proto.sniippaymentmethodsserviceapi.GooglePay} The clone.
|
|
7490
|
+
*/
|
|
7491
|
+
proto.sniippaymentmethodsserviceapi.GooglePay.prototype.cloneMessage = function() {
|
|
7492
|
+
return /** @type {!proto.sniippaymentmethodsserviceapi.GooglePay} */ (jspb.Message.cloneMessage(this));
|
|
7493
|
+
};
|
|
7494
|
+
|
|
7495
|
+
|
|
7496
|
+
/**
|
|
7497
|
+
* optional string paymentDataJson = 1;
|
|
7498
|
+
* @return {string}
|
|
7499
|
+
*/
|
|
7500
|
+
proto.sniippaymentmethodsserviceapi.GooglePay.prototype.getPaymentdatajson = function() {
|
|
7501
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 1, ""));
|
|
7502
|
+
};
|
|
7503
|
+
|
|
7504
|
+
|
|
7505
|
+
/** @param {string} value */
|
|
7506
|
+
proto.sniippaymentmethodsserviceapi.GooglePay.prototype.setPaymentdatajson = function(value) {
|
|
7507
|
+
jspb.Message.setField(this, 1, value);
|
|
7508
|
+
};
|
|
7509
|
+
|
|
7510
|
+
|
|
7511
|
+
/**
|
|
7512
|
+
* optional Gateway gateway = 2;
|
|
7513
|
+
* @return {!proto.sniippaymentmethodsserviceapi.Gateway}
|
|
7514
|
+
*/
|
|
7515
|
+
proto.sniippaymentmethodsserviceapi.GooglePay.prototype.getGateway = function() {
|
|
7516
|
+
return /** @type {!proto.sniippaymentmethodsserviceapi.Gateway} */ (jspb.Message.getFieldProto3(this, 2, 0));
|
|
7517
|
+
};
|
|
7518
|
+
|
|
7519
|
+
|
|
7520
|
+
/** @param {!proto.sniippaymentmethodsserviceapi.Gateway} value */
|
|
7521
|
+
proto.sniippaymentmethodsserviceapi.GooglePay.prototype.setGateway = function(value) {
|
|
7522
|
+
jspb.Message.setField(this, 2, value);
|
|
7523
|
+
};
|
|
7524
|
+
|
|
7525
|
+
|
|
7526
|
+
|
|
7527
|
+
/**
|
|
7528
|
+
* Generated by JsPbCodeGenerator.
|
|
7529
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7530
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7531
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7532
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7533
|
+
* valid.
|
|
7534
|
+
* @extends {jspb.Message}
|
|
7535
|
+
* @constructor
|
|
7536
|
+
*/
|
|
7537
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail = function(opt_data) {
|
|
7538
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7539
|
+
};
|
|
7540
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.GooglePayDetail, jspb.Message);
|
|
7541
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7542
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.displayName = 'proto.sniippaymentmethodsserviceapi.GooglePayDetail';
|
|
7543
|
+
}
|
|
7544
|
+
|
|
7545
|
+
|
|
7546
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7547
|
+
/**
|
|
7548
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
7549
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7550
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7551
|
+
* For the list of reserved names please see:
|
|
7552
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
7553
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
7554
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
7555
|
+
* @return {!Object}
|
|
7556
|
+
*/
|
|
7557
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.toObject = function(opt_includeInstance) {
|
|
7558
|
+
return proto.sniippaymentmethodsserviceapi.GooglePayDetail.toObject(opt_includeInstance, this);
|
|
7559
|
+
};
|
|
7560
|
+
|
|
7561
|
+
|
|
7562
|
+
/**
|
|
7563
|
+
* Static version of the {@see toObject} method.
|
|
7564
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
7565
|
+
* instance for transitional soy proto support:
|
|
7566
|
+
* http://goto/soy-param-migration
|
|
7567
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GooglePayDetail} msg The msg instance to transform.
|
|
7568
|
+
* @return {!Object}
|
|
7569
|
+
*/
|
|
7570
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.toObject = function(includeInstance, msg) {
|
|
7571
|
+
var f, obj = {
|
|
7572
|
+
googlepay: (f = msg.getGooglepay()) && proto.sniippaymentmethodsserviceapi.GooglePay.toObject(includeInstance, f),
|
|
7573
|
+
fingerprint: msg.getFingerprint(),
|
|
7574
|
+
last4: msg.getLast4(),
|
|
7575
|
+
stripecardid: msg.getStripecardid(),
|
|
7576
|
+
stripetokenid: msg.getStripetokenid(),
|
|
7577
|
+
paymentType: msg.getPaymentType(),
|
|
7578
|
+
cardvariant: msg.getCardvariant(),
|
|
7579
|
+
stripecustomerid: msg.getStripecustomerid(),
|
|
7580
|
+
createddatetime: msg.getCreateddatetime(),
|
|
7581
|
+
fatzebratokenid: msg.getFatzebratokenid()
|
|
7582
|
+
};
|
|
7583
|
+
|
|
7584
|
+
if (includeInstance) {
|
|
7585
|
+
obj.$jspbMessageInstance = msg;
|
|
7586
|
+
}
|
|
7587
|
+
return obj;
|
|
7588
|
+
};
|
|
7589
|
+
}
|
|
7590
|
+
|
|
7591
|
+
|
|
7592
|
+
/**
|
|
7593
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7594
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7595
|
+
* @return {!proto.sniippaymentmethodsserviceapi.GooglePayDetail}
|
|
7596
|
+
*/
|
|
7597
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.deserializeBinary = function(bytes) {
|
|
7598
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7599
|
+
var msg = new proto.sniippaymentmethodsserviceapi.GooglePayDetail;
|
|
7600
|
+
return proto.sniippaymentmethodsserviceapi.GooglePayDetail.deserializeBinaryFromReader(msg, reader);
|
|
7601
|
+
};
|
|
7602
|
+
|
|
7603
|
+
|
|
7604
|
+
/**
|
|
7605
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7606
|
+
* given reader into the given message object.
|
|
7607
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GooglePayDetail} msg The message object to deserialize into.
|
|
7608
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7609
|
+
* @return {!proto.sniippaymentmethodsserviceapi.GooglePayDetail}
|
|
7610
|
+
*/
|
|
7611
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.deserializeBinaryFromReader = function(msg, reader) {
|
|
7612
|
+
while (reader.nextField()) {
|
|
7613
|
+
if (reader.isEndGroup()) {
|
|
7614
|
+
break;
|
|
7615
|
+
}
|
|
7616
|
+
var field = reader.getFieldNumber();
|
|
7617
|
+
switch (field) {
|
|
7618
|
+
case 1:
|
|
7619
|
+
var value = new proto.sniippaymentmethodsserviceapi.GooglePay;
|
|
7620
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.GooglePay.deserializeBinaryFromReader);
|
|
7621
|
+
msg.setGooglepay(value);
|
|
7622
|
+
break;
|
|
7623
|
+
case 2:
|
|
7624
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7625
|
+
msg.setFingerprint(value);
|
|
7626
|
+
break;
|
|
7627
|
+
case 3:
|
|
7628
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7629
|
+
msg.setLast4(value);
|
|
7630
|
+
break;
|
|
7631
|
+
case 4:
|
|
7632
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7633
|
+
msg.setStripecardid(value);
|
|
7634
|
+
break;
|
|
7635
|
+
case 5:
|
|
7636
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7637
|
+
msg.setStripetokenid(value);
|
|
7638
|
+
break;
|
|
7639
|
+
case 6:
|
|
7640
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7641
|
+
msg.setPaymentType(value);
|
|
7642
|
+
break;
|
|
7643
|
+
case 7:
|
|
7644
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7645
|
+
msg.setCardvariant(value);
|
|
7646
|
+
break;
|
|
7647
|
+
case 8:
|
|
7648
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7649
|
+
msg.setStripecustomerid(value);
|
|
7650
|
+
break;
|
|
7651
|
+
case 9:
|
|
7652
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7653
|
+
msg.setCreateddatetime(value);
|
|
7654
|
+
break;
|
|
7655
|
+
case 10:
|
|
7656
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7657
|
+
msg.setFatzebratokenid(value);
|
|
7658
|
+
break;
|
|
7659
|
+
default:
|
|
7660
|
+
reader.skipField();
|
|
7661
|
+
break;
|
|
7662
|
+
}
|
|
7663
|
+
}
|
|
7664
|
+
return msg;
|
|
7665
|
+
};
|
|
7666
|
+
|
|
7667
|
+
|
|
7668
|
+
/**
|
|
7669
|
+
* Class method variant: serializes the given message to binary data
|
|
7670
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
7671
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GooglePayDetail} message
|
|
7672
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7673
|
+
*/
|
|
7674
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.serializeBinaryToWriter = function(message, writer) {
|
|
7675
|
+
message.serializeBinaryToWriter(writer);
|
|
7676
|
+
};
|
|
7677
|
+
|
|
7678
|
+
|
|
7679
|
+
/**
|
|
7680
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7681
|
+
* @return {!Uint8Array}
|
|
7682
|
+
*/
|
|
7683
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.serializeBinary = function() {
|
|
7684
|
+
var writer = new jspb.BinaryWriter();
|
|
7685
|
+
this.serializeBinaryToWriter(writer);
|
|
7686
|
+
return writer.getResultBuffer();
|
|
7687
|
+
};
|
|
7688
|
+
|
|
7689
|
+
|
|
7690
|
+
/**
|
|
7691
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
7692
|
+
* writing to the given BinaryWriter.
|
|
7693
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7694
|
+
*/
|
|
7695
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.serializeBinaryToWriter = function (writer) {
|
|
7696
|
+
var f = undefined;
|
|
7697
|
+
f = this.getGooglepay();
|
|
7698
|
+
if (f != null) {
|
|
7699
|
+
writer.writeMessage(
|
|
7700
|
+
1,
|
|
7701
|
+
f,
|
|
7702
|
+
proto.sniippaymentmethodsserviceapi.GooglePay.serializeBinaryToWriter
|
|
7703
|
+
);
|
|
7704
|
+
}
|
|
7705
|
+
f = this.getFingerprint();
|
|
7706
|
+
if (f.length > 0) {
|
|
7707
|
+
writer.writeString(
|
|
7708
|
+
2,
|
|
7709
|
+
f
|
|
7710
|
+
);
|
|
7711
|
+
}
|
|
7712
|
+
f = this.getLast4();
|
|
7713
|
+
if (f.length > 0) {
|
|
7714
|
+
writer.writeString(
|
|
7715
|
+
3,
|
|
7716
|
+
f
|
|
7717
|
+
);
|
|
7718
|
+
}
|
|
7719
|
+
f = this.getStripecardid();
|
|
7720
|
+
if (f.length > 0) {
|
|
7721
|
+
writer.writeString(
|
|
7722
|
+
4,
|
|
7723
|
+
f
|
|
7724
|
+
);
|
|
7725
|
+
}
|
|
7726
|
+
f = this.getStripetokenid();
|
|
7727
|
+
if (f.length > 0) {
|
|
7728
|
+
writer.writeString(
|
|
7729
|
+
5,
|
|
7730
|
+
f
|
|
7731
|
+
);
|
|
7732
|
+
}
|
|
7733
|
+
f = this.getPaymentType();
|
|
7734
|
+
if (f.length > 0) {
|
|
7735
|
+
writer.writeString(
|
|
7736
|
+
6,
|
|
7737
|
+
f
|
|
7738
|
+
);
|
|
7739
|
+
}
|
|
7740
|
+
f = this.getCardvariant();
|
|
7741
|
+
if (f.length > 0) {
|
|
7742
|
+
writer.writeString(
|
|
7743
|
+
7,
|
|
7744
|
+
f
|
|
7745
|
+
);
|
|
7746
|
+
}
|
|
7747
|
+
f = this.getStripecustomerid();
|
|
7748
|
+
if (f.length > 0) {
|
|
7749
|
+
writer.writeString(
|
|
7750
|
+
8,
|
|
7751
|
+
f
|
|
7752
|
+
);
|
|
7753
|
+
}
|
|
7754
|
+
f = this.getCreateddatetime();
|
|
7755
|
+
if (f.length > 0) {
|
|
7756
|
+
writer.writeString(
|
|
7757
|
+
9,
|
|
7758
|
+
f
|
|
7759
|
+
);
|
|
7760
|
+
}
|
|
7761
|
+
f = this.getFatzebratokenid();
|
|
7762
|
+
if (f.length > 0) {
|
|
7763
|
+
writer.writeString(
|
|
7764
|
+
10,
|
|
7765
|
+
f
|
|
7766
|
+
);
|
|
7767
|
+
}
|
|
7768
|
+
};
|
|
7769
|
+
|
|
7770
|
+
|
|
7771
|
+
/**
|
|
7772
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
7773
|
+
* @return {!proto.sniippaymentmethodsserviceapi.GooglePayDetail} The clone.
|
|
7774
|
+
*/
|
|
7775
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.cloneMessage = function() {
|
|
7776
|
+
return /** @type {!proto.sniippaymentmethodsserviceapi.GooglePayDetail} */ (jspb.Message.cloneMessage(this));
|
|
7777
|
+
};
|
|
7778
|
+
|
|
7779
|
+
|
|
7780
|
+
/**
|
|
7781
|
+
* optional GooglePay googlePay = 1;
|
|
7782
|
+
* @return {proto.sniippaymentmethodsserviceapi.GooglePay}
|
|
7783
|
+
*/
|
|
7784
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.getGooglepay = function() {
|
|
7785
|
+
return /** @type{proto.sniippaymentmethodsserviceapi.GooglePay} */ (
|
|
7786
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.GooglePay, 1));
|
|
7787
|
+
};
|
|
7788
|
+
|
|
7789
|
+
|
|
7790
|
+
/** @param {proto.sniippaymentmethodsserviceapi.GooglePay|undefined} value */
|
|
7791
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.setGooglepay = function(value) {
|
|
7792
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
7793
|
+
};
|
|
7794
|
+
|
|
7795
|
+
|
|
7796
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.clearGooglepay = function() {
|
|
7797
|
+
this.setGooglepay(undefined);
|
|
7798
|
+
};
|
|
7799
|
+
|
|
7800
|
+
|
|
7801
|
+
/**
|
|
7802
|
+
* Returns whether this field is set.
|
|
7803
|
+
* @return{!boolean}
|
|
7804
|
+
*/
|
|
7805
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.hasGooglepay = function() {
|
|
7806
|
+
return jspb.Message.getField(this, 1) != null;
|
|
7807
|
+
};
|
|
7808
|
+
|
|
7809
|
+
|
|
7810
|
+
/**
|
|
7811
|
+
* optional string fingerprint = 2;
|
|
7812
|
+
* @return {string}
|
|
7813
|
+
*/
|
|
7814
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.getFingerprint = function() {
|
|
7815
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 2, ""));
|
|
7816
|
+
};
|
|
7817
|
+
|
|
7818
|
+
|
|
7819
|
+
/** @param {string} value */
|
|
7820
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.setFingerprint = function(value) {
|
|
7821
|
+
jspb.Message.setField(this, 2, value);
|
|
7822
|
+
};
|
|
7823
|
+
|
|
7824
|
+
|
|
7825
|
+
/**
|
|
7826
|
+
* optional string last4 = 3;
|
|
7827
|
+
* @return {string}
|
|
7828
|
+
*/
|
|
7829
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.getLast4 = function() {
|
|
7830
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 3, ""));
|
|
7831
|
+
};
|
|
7832
|
+
|
|
7833
|
+
|
|
7834
|
+
/** @param {string} value */
|
|
7835
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.setLast4 = function(value) {
|
|
7836
|
+
jspb.Message.setField(this, 3, value);
|
|
7837
|
+
};
|
|
7838
|
+
|
|
7839
|
+
|
|
7840
|
+
/**
|
|
7841
|
+
* optional string stripeCardId = 4;
|
|
7842
|
+
* @return {string}
|
|
7843
|
+
*/
|
|
7844
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.getStripecardid = function() {
|
|
7845
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 4, ""));
|
|
7846
|
+
};
|
|
7847
|
+
|
|
7848
|
+
|
|
7849
|
+
/** @param {string} value */
|
|
7850
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.setStripecardid = function(value) {
|
|
7851
|
+
jspb.Message.setField(this, 4, value);
|
|
7852
|
+
};
|
|
7172
7853
|
|
|
7173
7854
|
|
|
7174
7855
|
/**
|
|
7175
|
-
*
|
|
7176
|
-
* @
|
|
7177
|
-
* @return {!proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest}
|
|
7856
|
+
* optional string stripeTokenId = 5;
|
|
7857
|
+
* @return {string}
|
|
7178
7858
|
*/
|
|
7179
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7180
|
-
|
|
7181
|
-
var msg = new proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest;
|
|
7182
|
-
return proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest.deserializeBinaryFromReader(msg, reader);
|
|
7859
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.getStripetokenid = function() {
|
|
7860
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 5, ""));
|
|
7183
7861
|
};
|
|
7184
7862
|
|
|
7185
7863
|
|
|
7186
|
-
/**
|
|
7187
|
-
|
|
7188
|
-
|
|
7189
|
-
* @param {!proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest} msg The message object to deserialize into.
|
|
7190
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7191
|
-
* @return {!proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest}
|
|
7192
|
-
*/
|
|
7193
|
-
proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
7194
|
-
while (reader.nextField()) {
|
|
7195
|
-
if (reader.isEndGroup()) {
|
|
7196
|
-
break;
|
|
7197
|
-
}
|
|
7198
|
-
var field = reader.getFieldNumber();
|
|
7199
|
-
switch (field) {
|
|
7200
|
-
case 1:
|
|
7201
|
-
var value = new proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest;
|
|
7202
|
-
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest.deserializeBinaryFromReader);
|
|
7203
|
-
msg.setData(value);
|
|
7204
|
-
break;
|
|
7205
|
-
default:
|
|
7206
|
-
reader.skipField();
|
|
7207
|
-
break;
|
|
7208
|
-
}
|
|
7209
|
-
}
|
|
7210
|
-
return msg;
|
|
7864
|
+
/** @param {string} value */
|
|
7865
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.setStripetokenid = function(value) {
|
|
7866
|
+
jspb.Message.setField(this, 5, value);
|
|
7211
7867
|
};
|
|
7212
7868
|
|
|
7213
7869
|
|
|
7214
7870
|
/**
|
|
7215
|
-
*
|
|
7216
|
-
*
|
|
7217
|
-
* @param {!proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest} message
|
|
7218
|
-
* @param {!jspb.BinaryWriter} writer
|
|
7871
|
+
* optional string payment_type = 6;
|
|
7872
|
+
* @return {string}
|
|
7219
7873
|
*/
|
|
7220
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7221
|
-
|
|
7874
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.getPaymentType = function() {
|
|
7875
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 6, ""));
|
|
7222
7876
|
};
|
|
7223
7877
|
|
|
7224
7878
|
|
|
7225
|
-
/**
|
|
7226
|
-
|
|
7227
|
-
|
|
7228
|
-
*/
|
|
7229
|
-
proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest.prototype.serializeBinary = function() {
|
|
7230
|
-
var writer = new jspb.BinaryWriter();
|
|
7231
|
-
this.serializeBinaryToWriter(writer);
|
|
7232
|
-
return writer.getResultBuffer();
|
|
7879
|
+
/** @param {string} value */
|
|
7880
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.setPaymentType = function(value) {
|
|
7881
|
+
jspb.Message.setField(this, 6, value);
|
|
7233
7882
|
};
|
|
7234
7883
|
|
|
7235
7884
|
|
|
7236
7885
|
/**
|
|
7237
|
-
*
|
|
7238
|
-
*
|
|
7239
|
-
* @param {!jspb.BinaryWriter} writer
|
|
7886
|
+
* optional string cardVariant = 7;
|
|
7887
|
+
* @return {string}
|
|
7240
7888
|
*/
|
|
7241
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7242
|
-
|
|
7243
|
-
f = this.getData();
|
|
7244
|
-
if (f != null) {
|
|
7245
|
-
writer.writeMessage(
|
|
7246
|
-
1,
|
|
7247
|
-
f,
|
|
7248
|
-
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest.serializeBinaryToWriter
|
|
7249
|
-
);
|
|
7250
|
-
}
|
|
7889
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.getCardvariant = function() {
|
|
7890
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 7, ""));
|
|
7251
7891
|
};
|
|
7252
7892
|
|
|
7253
7893
|
|
|
7254
|
-
/**
|
|
7255
|
-
|
|
7256
|
-
|
|
7257
|
-
*/
|
|
7258
|
-
proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest.prototype.cloneMessage = function() {
|
|
7259
|
-
return /** @type {!proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest} */ (jspb.Message.cloneMessage(this));
|
|
7894
|
+
/** @param {string} value */
|
|
7895
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.setCardvariant = function(value) {
|
|
7896
|
+
jspb.Message.setField(this, 7, value);
|
|
7260
7897
|
};
|
|
7261
7898
|
|
|
7262
7899
|
|
|
7263
7900
|
/**
|
|
7264
|
-
* optional
|
|
7265
|
-
* @return {
|
|
7901
|
+
* optional string stripeCustomerId = 8;
|
|
7902
|
+
* @return {string}
|
|
7266
7903
|
*/
|
|
7267
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7268
|
-
return /** @type{
|
|
7269
|
-
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest, 1));
|
|
7904
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.getStripecustomerid = function() {
|
|
7905
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 8, ""));
|
|
7270
7906
|
};
|
|
7271
7907
|
|
|
7272
7908
|
|
|
7273
|
-
/** @param {
|
|
7274
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7275
|
-
jspb.Message.
|
|
7909
|
+
/** @param {string} value */
|
|
7910
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.setStripecustomerid = function(value) {
|
|
7911
|
+
jspb.Message.setField(this, 8, value);
|
|
7276
7912
|
};
|
|
7277
7913
|
|
|
7278
7914
|
|
|
7279
|
-
|
|
7280
|
-
|
|
7915
|
+
/**
|
|
7916
|
+
* optional string createdDateTime = 9;
|
|
7917
|
+
* @return {string}
|
|
7918
|
+
*/
|
|
7919
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.getCreateddatetime = function() {
|
|
7920
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 9, ""));
|
|
7921
|
+
};
|
|
7922
|
+
|
|
7923
|
+
|
|
7924
|
+
/** @param {string} value */
|
|
7925
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.setCreateddatetime = function(value) {
|
|
7926
|
+
jspb.Message.setField(this, 9, value);
|
|
7281
7927
|
};
|
|
7282
7928
|
|
|
7283
7929
|
|
|
7284
7930
|
/**
|
|
7285
|
-
*
|
|
7286
|
-
* @return{
|
|
7931
|
+
* optional string fatZebraTokenId = 10;
|
|
7932
|
+
* @return {string}
|
|
7287
7933
|
*/
|
|
7288
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7289
|
-
return jspb.Message.
|
|
7934
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.getFatzebratokenid = function() {
|
|
7935
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 10, ""));
|
|
7936
|
+
};
|
|
7937
|
+
|
|
7938
|
+
|
|
7939
|
+
/** @param {string} value */
|
|
7940
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.prototype.setFatzebratokenid = function(value) {
|
|
7941
|
+
jspb.Message.setField(this, 10, value);
|
|
7290
7942
|
};
|
|
7291
7943
|
|
|
7292
7944
|
|
|
@@ -8732,7 +9384,8 @@ proto.sniippaymentmethodsserviceapi.PaymentMethod.toObject = function(includeIns
|
|
|
8732
9384
|
bankaccount: (f = msg.getBankaccount()) && proto.sniippaymentmethodsserviceapi.BankAccount.toObject(includeInstance, f),
|
|
8733
9385
|
activationsList: jspb.Message.toObjectList(msg.getActivationsList(),
|
|
8734
9386
|
proto.sniippaymentmethodsserviceapi.Activation.toObject, includeInstance),
|
|
8735
|
-
applepaydetail: (f = msg.getApplepaydetail()) && proto.sniippaymentmethodsserviceapi.ApplePayDetail.toObject(includeInstance, f)
|
|
9387
|
+
applepaydetail: (f = msg.getApplepaydetail()) && proto.sniippaymentmethodsserviceapi.ApplePayDetail.toObject(includeInstance, f),
|
|
9388
|
+
googlepaydetail: (f = msg.getGooglepaydetail()) && proto.sniippaymentmethodsserviceapi.GooglePayDetail.toObject(includeInstance, f)
|
|
8736
9389
|
};
|
|
8737
9390
|
|
|
8738
9391
|
if (includeInstance) {
|
|
@@ -8798,6 +9451,11 @@ proto.sniippaymentmethodsserviceapi.PaymentMethod.deserializeBinaryFromReader =
|
|
|
8798
9451
|
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.ApplePayDetail.deserializeBinaryFromReader);
|
|
8799
9452
|
msg.setApplepaydetail(value);
|
|
8800
9453
|
break;
|
|
9454
|
+
case 9:
|
|
9455
|
+
var value = new proto.sniippaymentmethodsserviceapi.GooglePayDetail;
|
|
9456
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.GooglePayDetail.deserializeBinaryFromReader);
|
|
9457
|
+
msg.setGooglepaydetail(value);
|
|
9458
|
+
break;
|
|
8801
9459
|
default:
|
|
8802
9460
|
reader.skipField();
|
|
8803
9461
|
break;
|
|
@@ -8882,6 +9540,14 @@ proto.sniippaymentmethodsserviceapi.PaymentMethod.prototype.serializeBinaryToWri
|
|
|
8882
9540
|
proto.sniippaymentmethodsserviceapi.ApplePayDetail.serializeBinaryToWriter
|
|
8883
9541
|
);
|
|
8884
9542
|
}
|
|
9543
|
+
f = this.getGooglepaydetail();
|
|
9544
|
+
if (f != null) {
|
|
9545
|
+
writer.writeMessage(
|
|
9546
|
+
9,
|
|
9547
|
+
f,
|
|
9548
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.serializeBinaryToWriter
|
|
9549
|
+
);
|
|
9550
|
+
}
|
|
8885
9551
|
};
|
|
8886
9552
|
|
|
8887
9553
|
|
|
@@ -9037,6 +9703,36 @@ proto.sniippaymentmethodsserviceapi.PaymentMethod.prototype.hasApplepaydetail =
|
|
|
9037
9703
|
};
|
|
9038
9704
|
|
|
9039
9705
|
|
|
9706
|
+
/**
|
|
9707
|
+
* optional GooglePayDetail googlePayDetail = 9;
|
|
9708
|
+
* @return {proto.sniippaymentmethodsserviceapi.GooglePayDetail}
|
|
9709
|
+
*/
|
|
9710
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethod.prototype.getGooglepaydetail = function() {
|
|
9711
|
+
return /** @type{proto.sniippaymentmethodsserviceapi.GooglePayDetail} */ (
|
|
9712
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.GooglePayDetail, 9));
|
|
9713
|
+
};
|
|
9714
|
+
|
|
9715
|
+
|
|
9716
|
+
/** @param {proto.sniippaymentmethodsserviceapi.GooglePayDetail|undefined} value */
|
|
9717
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethod.prototype.setGooglepaydetail = function(value) {
|
|
9718
|
+
jspb.Message.setWrapperField(this, 9, value);
|
|
9719
|
+
};
|
|
9720
|
+
|
|
9721
|
+
|
|
9722
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethod.prototype.clearGooglepaydetail = function() {
|
|
9723
|
+
this.setGooglepaydetail(undefined);
|
|
9724
|
+
};
|
|
9725
|
+
|
|
9726
|
+
|
|
9727
|
+
/**
|
|
9728
|
+
* Returns whether this field is set.
|
|
9729
|
+
* @return{!boolean}
|
|
9730
|
+
*/
|
|
9731
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethod.prototype.hasGooglepaydetail = function() {
|
|
9732
|
+
return jspb.Message.getField(this, 9) != null;
|
|
9733
|
+
};
|
|
9734
|
+
|
|
9735
|
+
|
|
9040
9736
|
|
|
9041
9737
|
/**
|
|
9042
9738
|
* Generated by JsPbCodeGenerator.
|
|
@@ -9745,7 +10441,8 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse.toObject = f
|
|
|
9745
10441
|
paymenttype: msg.getPaymenttype(),
|
|
9746
10442
|
creditcard: (f = msg.getCreditcard()) && proto.sniippaymentmethodsserviceapi.CreditCard.toObject(includeInstance, f),
|
|
9747
10443
|
bankaccount: (f = msg.getBankaccount()) && proto.sniippaymentmethodsserviceapi.BankAccount.toObject(includeInstance, f),
|
|
9748
|
-
applepaydetail: (f = msg.getApplepaydetail()) && proto.sniippaymentmethodsserviceapi.ApplePayDetail.toObject(includeInstance, f)
|
|
10444
|
+
applepaydetail: (f = msg.getApplepaydetail()) && proto.sniippaymentmethodsserviceapi.ApplePayDetail.toObject(includeInstance, f),
|
|
10445
|
+
googlepaydetail: (f = msg.getGooglepaydetail()) && proto.sniippaymentmethodsserviceapi.GooglePayDetail.toObject(includeInstance, f)
|
|
9749
10446
|
};
|
|
9750
10447
|
|
|
9751
10448
|
if (includeInstance) {
|
|
@@ -9810,6 +10507,11 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse.deserializeB
|
|
|
9810
10507
|
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.ApplePayDetail.deserializeBinaryFromReader);
|
|
9811
10508
|
msg.setApplepaydetail(value);
|
|
9812
10509
|
break;
|
|
10510
|
+
case 7:
|
|
10511
|
+
var value = new proto.sniippaymentmethodsserviceapi.GooglePayDetail;
|
|
10512
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.GooglePayDetail.deserializeBinaryFromReader);
|
|
10513
|
+
msg.setGooglepaydetail(value);
|
|
10514
|
+
break;
|
|
9813
10515
|
default:
|
|
9814
10516
|
reader.skipField();
|
|
9815
10517
|
break;
|
|
@@ -9894,6 +10596,14 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse.prototype.se
|
|
|
9894
10596
|
proto.sniippaymentmethodsserviceapi.ApplePayDetail.serializeBinaryToWriter
|
|
9895
10597
|
);
|
|
9896
10598
|
}
|
|
10599
|
+
f = this.getGooglepaydetail();
|
|
10600
|
+
if (f != null) {
|
|
10601
|
+
writer.writeMessage(
|
|
10602
|
+
7,
|
|
10603
|
+
f,
|
|
10604
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.serializeBinaryToWriter
|
|
10605
|
+
);
|
|
10606
|
+
}
|
|
9897
10607
|
};
|
|
9898
10608
|
|
|
9899
10609
|
|
|
@@ -10056,6 +10766,36 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse.prototype.ha
|
|
|
10056
10766
|
};
|
|
10057
10767
|
|
|
10058
10768
|
|
|
10769
|
+
/**
|
|
10770
|
+
* optional GooglePayDetail googlePayDetail = 7;
|
|
10771
|
+
* @return {proto.sniippaymentmethodsserviceapi.GooglePayDetail}
|
|
10772
|
+
*/
|
|
10773
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse.prototype.getGooglepaydetail = function() {
|
|
10774
|
+
return /** @type{proto.sniippaymentmethodsserviceapi.GooglePayDetail} */ (
|
|
10775
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.GooglePayDetail, 7));
|
|
10776
|
+
};
|
|
10777
|
+
|
|
10778
|
+
|
|
10779
|
+
/** @param {proto.sniippaymentmethodsserviceapi.GooglePayDetail|undefined} value */
|
|
10780
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse.prototype.setGooglepaydetail = function(value) {
|
|
10781
|
+
jspb.Message.setWrapperField(this, 7, value);
|
|
10782
|
+
};
|
|
10783
|
+
|
|
10784
|
+
|
|
10785
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse.prototype.clearGooglepaydetail = function() {
|
|
10786
|
+
this.setGooglepaydetail(undefined);
|
|
10787
|
+
};
|
|
10788
|
+
|
|
10789
|
+
|
|
10790
|
+
/**
|
|
10791
|
+
* Returns whether this field is set.
|
|
10792
|
+
* @return{!boolean}
|
|
10793
|
+
*/
|
|
10794
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse.prototype.hasGooglepaydetail = function() {
|
|
10795
|
+
return jspb.Message.getField(this, 7) != null;
|
|
10796
|
+
};
|
|
10797
|
+
|
|
10798
|
+
|
|
10059
10799
|
|
|
10060
10800
|
/**
|
|
10061
10801
|
* Generated by JsPbCodeGenerator.
|
|
@@ -12476,8 +13216,9 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest.prototype.toOb
|
|
|
12476
13216
|
proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest.toObject = function(includeInstance, msg) {
|
|
12477
13217
|
var f, obj = {
|
|
12478
13218
|
userid: msg.getUserid(),
|
|
12479
|
-
|
|
12480
|
-
|
|
13219
|
+
excludedeleted: msg.getExcludedeleted(),
|
|
13220
|
+
excludeapplepay: msg.getExcludeapplepay(),
|
|
13221
|
+
excludegooglepay: msg.getExcludegooglepay()
|
|
12481
13222
|
};
|
|
12482
13223
|
|
|
12483
13224
|
if (includeInstance) {
|
|
@@ -12520,11 +13261,15 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest.deserializeBin
|
|
|
12520
13261
|
break;
|
|
12521
13262
|
case 2:
|
|
12522
13263
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
12523
|
-
msg.
|
|
13264
|
+
msg.setExcludedeleted(value);
|
|
12524
13265
|
break;
|
|
12525
13266
|
case 3:
|
|
12526
13267
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
12527
|
-
msg.
|
|
13268
|
+
msg.setExcludeapplepay(value);
|
|
13269
|
+
break;
|
|
13270
|
+
case 4:
|
|
13271
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
13272
|
+
msg.setExcludegooglepay(value);
|
|
12528
13273
|
break;
|
|
12529
13274
|
default:
|
|
12530
13275
|
reader.skipField();
|
|
@@ -12571,20 +13316,27 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest.prototype.seri
|
|
|
12571
13316
|
f
|
|
12572
13317
|
);
|
|
12573
13318
|
}
|
|
12574
|
-
f = this.
|
|
13319
|
+
f = this.getExcludedeleted();
|
|
12575
13320
|
if (f) {
|
|
12576
13321
|
writer.writeBool(
|
|
12577
13322
|
2,
|
|
12578
13323
|
f
|
|
12579
13324
|
);
|
|
12580
13325
|
}
|
|
12581
|
-
f = this.
|
|
13326
|
+
f = this.getExcludeapplepay();
|
|
12582
13327
|
if (f) {
|
|
12583
13328
|
writer.writeBool(
|
|
12584
13329
|
3,
|
|
12585
13330
|
f
|
|
12586
13331
|
);
|
|
12587
13332
|
}
|
|
13333
|
+
f = this.getExcludegooglepay();
|
|
13334
|
+
if (f) {
|
|
13335
|
+
writer.writeBool(
|
|
13336
|
+
4,
|
|
13337
|
+
f
|
|
13338
|
+
);
|
|
13339
|
+
}
|
|
12588
13340
|
};
|
|
12589
13341
|
|
|
12590
13342
|
|
|
@@ -12613,39 +13365,56 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest.prototype.setU
|
|
|
12613
13365
|
|
|
12614
13366
|
|
|
12615
13367
|
/**
|
|
12616
|
-
* optional bool
|
|
13368
|
+
* optional bool excludeDeleted = 2;
|
|
12617
13369
|
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
12618
13370
|
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
12619
13371
|
* @return {boolean}
|
|
12620
13372
|
*/
|
|
12621
|
-
proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest.prototype.
|
|
13373
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest.prototype.getExcludedeleted = function() {
|
|
12622
13374
|
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 2, false));
|
|
12623
13375
|
};
|
|
12624
13376
|
|
|
12625
13377
|
|
|
12626
13378
|
/** @param {boolean} value */
|
|
12627
|
-
proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest.prototype.
|
|
13379
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest.prototype.setExcludedeleted = function(value) {
|
|
12628
13380
|
jspb.Message.setField(this, 2, value);
|
|
12629
13381
|
};
|
|
12630
13382
|
|
|
12631
13383
|
|
|
12632
13384
|
/**
|
|
12633
|
-
* optional bool
|
|
13385
|
+
* optional bool excludeApplePay = 3;
|
|
12634
13386
|
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
12635
13387
|
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
12636
13388
|
* @return {boolean}
|
|
12637
13389
|
*/
|
|
12638
|
-
proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest.prototype.
|
|
13390
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest.prototype.getExcludeapplepay = function() {
|
|
12639
13391
|
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 3, false));
|
|
12640
13392
|
};
|
|
12641
13393
|
|
|
12642
13394
|
|
|
12643
13395
|
/** @param {boolean} value */
|
|
12644
|
-
proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest.prototype.
|
|
13396
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest.prototype.setExcludeapplepay = function(value) {
|
|
12645
13397
|
jspb.Message.setField(this, 3, value);
|
|
12646
13398
|
};
|
|
12647
13399
|
|
|
12648
13400
|
|
|
13401
|
+
/**
|
|
13402
|
+
* optional bool excludeGooglePay = 4;
|
|
13403
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
13404
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
13405
|
+
* @return {boolean}
|
|
13406
|
+
*/
|
|
13407
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest.prototype.getExcludegooglepay = function() {
|
|
13408
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 4, false));
|
|
13409
|
+
};
|
|
13410
|
+
|
|
13411
|
+
|
|
13412
|
+
/** @param {boolean} value */
|
|
13413
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest.prototype.setExcludegooglepay = function(value) {
|
|
13414
|
+
jspb.Message.setField(this, 4, value);
|
|
13415
|
+
};
|
|
13416
|
+
|
|
13417
|
+
|
|
12649
13418
|
|
|
12650
13419
|
/**
|
|
12651
13420
|
* Generated by JsPbCodeGenerator.
|
|
@@ -14120,8 +14889,8 @@ proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.prototype.to
|
|
|
14120
14889
|
*/
|
|
14121
14890
|
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.toObject = function(includeInstance, msg) {
|
|
14122
14891
|
var f, obj = {
|
|
14123
|
-
|
|
14124
|
-
|
|
14892
|
+
groupid: msg.getGroupid(),
|
|
14893
|
+
data: (f = msg.getData()) && proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest.toObject(includeInstance, f)
|
|
14125
14894
|
};
|
|
14126
14895
|
|
|
14127
14896
|
if (includeInstance) {
|
|
@@ -14159,14 +14928,14 @@ proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.deserializeB
|
|
|
14159
14928
|
var field = reader.getFieldNumber();
|
|
14160
14929
|
switch (field) {
|
|
14161
14930
|
case 1:
|
|
14931
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
14932
|
+
msg.setGroupid(value);
|
|
14933
|
+
break;
|
|
14934
|
+
case 2:
|
|
14162
14935
|
var value = new proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest;
|
|
14163
14936
|
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest.deserializeBinaryFromReader);
|
|
14164
14937
|
msg.setData(value);
|
|
14165
14938
|
break;
|
|
14166
|
-
case 2:
|
|
14167
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
14168
|
-
msg.setGroupid(value);
|
|
14169
|
-
break;
|
|
14170
14939
|
default:
|
|
14171
14940
|
reader.skipField();
|
|
14172
14941
|
break;
|
|
@@ -14205,21 +14974,21 @@ proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.prototype.se
|
|
|
14205
14974
|
*/
|
|
14206
14975
|
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
14207
14976
|
var f = undefined;
|
|
14977
|
+
f = this.getGroupid();
|
|
14978
|
+
if (f !== 0) {
|
|
14979
|
+
writer.writeInt64(
|
|
14980
|
+
1,
|
|
14981
|
+
f
|
|
14982
|
+
);
|
|
14983
|
+
}
|
|
14208
14984
|
f = this.getData();
|
|
14209
14985
|
if (f != null) {
|
|
14210
14986
|
writer.writeMessage(
|
|
14211
|
-
|
|
14987
|
+
2,
|
|
14212
14988
|
f,
|
|
14213
14989
|
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest.serializeBinaryToWriter
|
|
14214
14990
|
);
|
|
14215
14991
|
}
|
|
14216
|
-
f = this.getGroupid();
|
|
14217
|
-
if (f !== 0) {
|
|
14218
|
-
writer.writeInt64(
|
|
14219
|
-
2,
|
|
14220
|
-
f
|
|
14221
|
-
);
|
|
14222
|
-
}
|
|
14223
14992
|
};
|
|
14224
14993
|
|
|
14225
14994
|
|
|
@@ -14233,18 +15002,33 @@ proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.prototype.cl
|
|
|
14233
15002
|
|
|
14234
15003
|
|
|
14235
15004
|
/**
|
|
14236
|
-
* optional
|
|
15005
|
+
* optional int64 groupId = 1;
|
|
15006
|
+
* @return {number}
|
|
15007
|
+
*/
|
|
15008
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.prototype.getGroupid = function() {
|
|
15009
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
|
|
15010
|
+
};
|
|
15011
|
+
|
|
15012
|
+
|
|
15013
|
+
/** @param {number} value */
|
|
15014
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.prototype.setGroupid = function(value) {
|
|
15015
|
+
jspb.Message.setField(this, 1, value);
|
|
15016
|
+
};
|
|
15017
|
+
|
|
15018
|
+
|
|
15019
|
+
/**
|
|
15020
|
+
* optional PaymentMethodGroupPatchRequest data = 2;
|
|
14237
15021
|
* @return {proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest}
|
|
14238
15022
|
*/
|
|
14239
15023
|
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.prototype.getData = function() {
|
|
14240
15024
|
return /** @type{proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest} */ (
|
|
14241
|
-
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest,
|
|
15025
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest, 2));
|
|
14242
15026
|
};
|
|
14243
15027
|
|
|
14244
15028
|
|
|
14245
15029
|
/** @param {proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest|undefined} value */
|
|
14246
15030
|
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.prototype.setData = function(value) {
|
|
14247
|
-
jspb.Message.setWrapperField(this,
|
|
15031
|
+
jspb.Message.setWrapperField(this, 2, value);
|
|
14248
15032
|
};
|
|
14249
15033
|
|
|
14250
15034
|
|
|
@@ -14258,22 +15042,7 @@ proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.prototype.cl
|
|
|
14258
15042
|
* @return{!boolean}
|
|
14259
15043
|
*/
|
|
14260
15044
|
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.prototype.hasData = function() {
|
|
14261
|
-
return jspb.Message.getField(this,
|
|
14262
|
-
};
|
|
14263
|
-
|
|
14264
|
-
|
|
14265
|
-
/**
|
|
14266
|
-
* optional int64 groupId = 2;
|
|
14267
|
-
* @return {number}
|
|
14268
|
-
*/
|
|
14269
|
-
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.prototype.getGroupid = function() {
|
|
14270
|
-
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
|
|
14271
|
-
};
|
|
14272
|
-
|
|
14273
|
-
|
|
14274
|
-
/** @param {number} value */
|
|
14275
|
-
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.prototype.setGroupid = function(value) {
|
|
14276
|
-
jspb.Message.setField(this, 2, value);
|
|
15045
|
+
return jspb.Message.getField(this, 2) != null;
|
|
14277
15046
|
};
|
|
14278
15047
|
|
|
14279
15048
|
|
|
@@ -15644,4 +16413,12 @@ proto.sniippaymentmethodsserviceapi.ZenithTokenAddResponse.prototype.setZenithto
|
|
|
15644
16413
|
};
|
|
15645
16414
|
|
|
15646
16415
|
|
|
16416
|
+
/**
|
|
16417
|
+
* @enum {number}
|
|
16418
|
+
*/
|
|
16419
|
+
proto.sniippaymentmethodsserviceapi.Gateway = {
|
|
16420
|
+
STRIPE: 0,
|
|
16421
|
+
FAT_ZEBRA: 1
|
|
16422
|
+
};
|
|
16423
|
+
|
|
15647
16424
|
goog.object.extend(exports, proto.sniippaymentmethodsserviceapi);
|