@sniipwebmaster/payment-gateway-service-client-grpcweb 26.9.8445 → 26.9.8463
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 +1 -285
- package/package.json +1 -1
|
@@ -119,7 +119,6 @@ goog.exportSymbol('proto.sniippaymentgatewayapi.TimingState', null, global);
|
|
|
119
119
|
goog.exportSymbol('proto.sniippaymentgatewayapi.UpdateLegRequest', null, global);
|
|
120
120
|
goog.exportSymbol('proto.sniippaymentgatewayapi.UpdateLegStatusRequest', null, global);
|
|
121
121
|
goog.exportSymbol('proto.sniippaymentgatewayapi.UpdatePublicHolidayRequest', null, global);
|
|
122
|
-
goog.exportSymbol('proto.sniippaymentgatewayapi.WalletPaymentMethodDetail', null, global);
|
|
123
122
|
/**
|
|
124
123
|
* Generated by JsPbCodeGenerator.
|
|
125
124
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1380,27 +1379,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1380
1379
|
*/
|
|
1381
1380
|
proto.sniippaymentgatewayapi.PaymentMethodCategoryAvailabilityResponse.displayName = 'proto.sniippaymentgatewayapi.PaymentMethodCategoryAvailabilityResponse';
|
|
1382
1381
|
}
|
|
1383
|
-
/**
|
|
1384
|
-
* Generated by JsPbCodeGenerator.
|
|
1385
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1386
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
1387
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
1388
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
1389
|
-
* valid.
|
|
1390
|
-
* @extends {jspb.Message}
|
|
1391
|
-
* @constructor
|
|
1392
|
-
*/
|
|
1393
|
-
proto.sniippaymentgatewayapi.WalletPaymentMethodDetail = function(opt_data) {
|
|
1394
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1395
|
-
};
|
|
1396
|
-
goog.inherits(proto.sniippaymentgatewayapi.WalletPaymentMethodDetail, jspb.Message);
|
|
1397
|
-
if (goog.DEBUG && !COMPILED) {
|
|
1398
|
-
/**
|
|
1399
|
-
* @public
|
|
1400
|
-
* @override
|
|
1401
|
-
*/
|
|
1402
|
-
proto.sniippaymentgatewayapi.WalletPaymentMethodDetail.displayName = 'proto.sniippaymentgatewayapi.WalletPaymentMethodDetail';
|
|
1403
|
-
}
|
|
1404
1382
|
/**
|
|
1405
1383
|
* Generated by JsPbCodeGenerator.
|
|
1406
1384
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -18478,166 +18456,6 @@ proto.sniippaymentgatewayapi.PaymentMethodCategoryAvailabilityResponse.prototype
|
|
|
18478
18456
|
|
|
18479
18457
|
|
|
18480
18458
|
|
|
18481
|
-
|
|
18482
|
-
|
|
18483
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
18484
|
-
/**
|
|
18485
|
-
* Creates an object representation of this proto.
|
|
18486
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
18487
|
-
* Optional fields that are not set will be set to undefined.
|
|
18488
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
18489
|
-
* For the list of reserved names please see:
|
|
18490
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
18491
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
18492
|
-
* JSPB instance for transitional soy proto support:
|
|
18493
|
-
* http://goto/soy-param-migration
|
|
18494
|
-
* @return {!Object}
|
|
18495
|
-
*/
|
|
18496
|
-
proto.sniippaymentgatewayapi.WalletPaymentMethodDetail.prototype.toObject = function(opt_includeInstance) {
|
|
18497
|
-
return proto.sniippaymentgatewayapi.WalletPaymentMethodDetail.toObject(opt_includeInstance, this);
|
|
18498
|
-
};
|
|
18499
|
-
|
|
18500
|
-
|
|
18501
|
-
/**
|
|
18502
|
-
* Static version of the {@see toObject} method.
|
|
18503
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
18504
|
-
* the JSPB instance for transitional soy proto support:
|
|
18505
|
-
* http://goto/soy-param-migration
|
|
18506
|
-
* @param {!proto.sniippaymentgatewayapi.WalletPaymentMethodDetail} msg The msg instance to transform.
|
|
18507
|
-
* @return {!Object}
|
|
18508
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18509
|
-
*/
|
|
18510
|
-
proto.sniippaymentgatewayapi.WalletPaymentMethodDetail.toObject = function(includeInstance, msg) {
|
|
18511
|
-
var f, obj = {
|
|
18512
|
-
paymenttype: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
18513
|
-
cardvariant: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
18514
|
-
};
|
|
18515
|
-
|
|
18516
|
-
if (includeInstance) {
|
|
18517
|
-
obj.$jspbMessageInstance = msg;
|
|
18518
|
-
}
|
|
18519
|
-
return obj;
|
|
18520
|
-
};
|
|
18521
|
-
}
|
|
18522
|
-
|
|
18523
|
-
|
|
18524
|
-
/**
|
|
18525
|
-
* Deserializes binary data (in protobuf wire format).
|
|
18526
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
18527
|
-
* @return {!proto.sniippaymentgatewayapi.WalletPaymentMethodDetail}
|
|
18528
|
-
*/
|
|
18529
|
-
proto.sniippaymentgatewayapi.WalletPaymentMethodDetail.deserializeBinary = function(bytes) {
|
|
18530
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
18531
|
-
var msg = new proto.sniippaymentgatewayapi.WalletPaymentMethodDetail;
|
|
18532
|
-
return proto.sniippaymentgatewayapi.WalletPaymentMethodDetail.deserializeBinaryFromReader(msg, reader);
|
|
18533
|
-
};
|
|
18534
|
-
|
|
18535
|
-
|
|
18536
|
-
/**
|
|
18537
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
18538
|
-
* given reader into the given message object.
|
|
18539
|
-
* @param {!proto.sniippaymentgatewayapi.WalletPaymentMethodDetail} msg The message object to deserialize into.
|
|
18540
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
18541
|
-
* @return {!proto.sniippaymentgatewayapi.WalletPaymentMethodDetail}
|
|
18542
|
-
*/
|
|
18543
|
-
proto.sniippaymentgatewayapi.WalletPaymentMethodDetail.deserializeBinaryFromReader = function(msg, reader) {
|
|
18544
|
-
while (reader.nextField()) {
|
|
18545
|
-
if (reader.isEndGroup()) {
|
|
18546
|
-
break;
|
|
18547
|
-
}
|
|
18548
|
-
var field = reader.getFieldNumber();
|
|
18549
|
-
switch (field) {
|
|
18550
|
-
case 1:
|
|
18551
|
-
var value = /** @type {string} */ (reader.readString());
|
|
18552
|
-
msg.setPaymenttype(value);
|
|
18553
|
-
break;
|
|
18554
|
-
case 2:
|
|
18555
|
-
var value = /** @type {string} */ (reader.readString());
|
|
18556
|
-
msg.setCardvariant(value);
|
|
18557
|
-
break;
|
|
18558
|
-
default:
|
|
18559
|
-
reader.skipField();
|
|
18560
|
-
break;
|
|
18561
|
-
}
|
|
18562
|
-
}
|
|
18563
|
-
return msg;
|
|
18564
|
-
};
|
|
18565
|
-
|
|
18566
|
-
|
|
18567
|
-
/**
|
|
18568
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
18569
|
-
* @return {!Uint8Array}
|
|
18570
|
-
*/
|
|
18571
|
-
proto.sniippaymentgatewayapi.WalletPaymentMethodDetail.prototype.serializeBinary = function() {
|
|
18572
|
-
var writer = new jspb.BinaryWriter();
|
|
18573
|
-
proto.sniippaymentgatewayapi.WalletPaymentMethodDetail.serializeBinaryToWriter(this, writer);
|
|
18574
|
-
return writer.getResultBuffer();
|
|
18575
|
-
};
|
|
18576
|
-
|
|
18577
|
-
|
|
18578
|
-
/**
|
|
18579
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
18580
|
-
* format), writing to the given BinaryWriter.
|
|
18581
|
-
* @param {!proto.sniippaymentgatewayapi.WalletPaymentMethodDetail} message
|
|
18582
|
-
* @param {!jspb.BinaryWriter} writer
|
|
18583
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18584
|
-
*/
|
|
18585
|
-
proto.sniippaymentgatewayapi.WalletPaymentMethodDetail.serializeBinaryToWriter = function(message, writer) {
|
|
18586
|
-
var f = undefined;
|
|
18587
|
-
f = message.getPaymenttype();
|
|
18588
|
-
if (f.length > 0) {
|
|
18589
|
-
writer.writeString(
|
|
18590
|
-
1,
|
|
18591
|
-
f
|
|
18592
|
-
);
|
|
18593
|
-
}
|
|
18594
|
-
f = message.getCardvariant();
|
|
18595
|
-
if (f.length > 0) {
|
|
18596
|
-
writer.writeString(
|
|
18597
|
-
2,
|
|
18598
|
-
f
|
|
18599
|
-
);
|
|
18600
|
-
}
|
|
18601
|
-
};
|
|
18602
|
-
|
|
18603
|
-
|
|
18604
|
-
/**
|
|
18605
|
-
* optional string paymentType = 1;
|
|
18606
|
-
* @return {string}
|
|
18607
|
-
*/
|
|
18608
|
-
proto.sniippaymentgatewayapi.WalletPaymentMethodDetail.prototype.getPaymenttype = function() {
|
|
18609
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
18610
|
-
};
|
|
18611
|
-
|
|
18612
|
-
|
|
18613
|
-
/**
|
|
18614
|
-
* @param {string} value
|
|
18615
|
-
* @return {!proto.sniippaymentgatewayapi.WalletPaymentMethodDetail} returns this
|
|
18616
|
-
*/
|
|
18617
|
-
proto.sniippaymentgatewayapi.WalletPaymentMethodDetail.prototype.setPaymenttype = function(value) {
|
|
18618
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
18619
|
-
};
|
|
18620
|
-
|
|
18621
|
-
|
|
18622
|
-
/**
|
|
18623
|
-
* optional string cardVariant = 2;
|
|
18624
|
-
* @return {string}
|
|
18625
|
-
*/
|
|
18626
|
-
proto.sniippaymentgatewayapi.WalletPaymentMethodDetail.prototype.getCardvariant = function() {
|
|
18627
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
18628
|
-
};
|
|
18629
|
-
|
|
18630
|
-
|
|
18631
|
-
/**
|
|
18632
|
-
* @param {string} value
|
|
18633
|
-
* @return {!proto.sniippaymentgatewayapi.WalletPaymentMethodDetail} returns this
|
|
18634
|
-
*/
|
|
18635
|
-
proto.sniippaymentgatewayapi.WalletPaymentMethodDetail.prototype.setCardvariant = function(value) {
|
|
18636
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
18637
|
-
};
|
|
18638
|
-
|
|
18639
|
-
|
|
18640
|
-
|
|
18641
18459
|
/**
|
|
18642
18460
|
* List of repeated fields within this message type.
|
|
18643
18461
|
* @private {!Array<number>}
|
|
@@ -18680,9 +18498,7 @@ proto.sniippaymentgatewayapi.PaymentMethodAvailabilityRequest.toObject = functio
|
|
|
18680
18498
|
userid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
18681
18499
|
paymentmethodidsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
18682
18500
|
isscheduled: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
18683
|
-
isbulk: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
|
18684
|
-
applepaydetail: (f = msg.getApplepaydetail()) && proto.sniippaymentgatewayapi.WalletPaymentMethodDetail.toObject(includeInstance, f),
|
|
18685
|
-
googlepaydetail: (f = msg.getGooglepaydetail()) && proto.sniippaymentgatewayapi.WalletPaymentMethodDetail.toObject(includeInstance, f)
|
|
18501
|
+
isbulk: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
|
18686
18502
|
};
|
|
18687
18503
|
|
|
18688
18504
|
if (includeInstance) {
|
|
@@ -18743,16 +18559,6 @@ proto.sniippaymentgatewayapi.PaymentMethodAvailabilityRequest.deserializeBinaryF
|
|
|
18743
18559
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
18744
18560
|
msg.setIsbulk(value);
|
|
18745
18561
|
break;
|
|
18746
|
-
case 6:
|
|
18747
|
-
var value = new proto.sniippaymentgatewayapi.WalletPaymentMethodDetail;
|
|
18748
|
-
reader.readMessage(value,proto.sniippaymentgatewayapi.WalletPaymentMethodDetail.deserializeBinaryFromReader);
|
|
18749
|
-
msg.setApplepaydetail(value);
|
|
18750
|
-
break;
|
|
18751
|
-
case 7:
|
|
18752
|
-
var value = new proto.sniippaymentgatewayapi.WalletPaymentMethodDetail;
|
|
18753
|
-
reader.readMessage(value,proto.sniippaymentgatewayapi.WalletPaymentMethodDetail.deserializeBinaryFromReader);
|
|
18754
|
-
msg.setGooglepaydetail(value);
|
|
18755
|
-
break;
|
|
18756
18562
|
default:
|
|
18757
18563
|
reader.skipField();
|
|
18758
18564
|
break;
|
|
@@ -18817,22 +18623,6 @@ proto.sniippaymentgatewayapi.PaymentMethodAvailabilityRequest.serializeBinaryToW
|
|
|
18817
18623
|
f
|
|
18818
18624
|
);
|
|
18819
18625
|
}
|
|
18820
|
-
f = message.getApplepaydetail();
|
|
18821
|
-
if (f != null) {
|
|
18822
|
-
writer.writeMessage(
|
|
18823
|
-
6,
|
|
18824
|
-
f,
|
|
18825
|
-
proto.sniippaymentgatewayapi.WalletPaymentMethodDetail.serializeBinaryToWriter
|
|
18826
|
-
);
|
|
18827
|
-
}
|
|
18828
|
-
f = message.getGooglepaydetail();
|
|
18829
|
-
if (f != null) {
|
|
18830
|
-
writer.writeMessage(
|
|
18831
|
-
7,
|
|
18832
|
-
f,
|
|
18833
|
-
proto.sniippaymentgatewayapi.WalletPaymentMethodDetail.serializeBinaryToWriter
|
|
18834
|
-
);
|
|
18835
|
-
}
|
|
18836
18626
|
};
|
|
18837
18627
|
|
|
18838
18628
|
|
|
@@ -18964,80 +18754,6 @@ proto.sniippaymentgatewayapi.PaymentMethodAvailabilityRequest.prototype.setIsbul
|
|
|
18964
18754
|
};
|
|
18965
18755
|
|
|
18966
18756
|
|
|
18967
|
-
/**
|
|
18968
|
-
* optional WalletPaymentMethodDetail applePayDetail = 6;
|
|
18969
|
-
* @return {?proto.sniippaymentgatewayapi.WalletPaymentMethodDetail}
|
|
18970
|
-
*/
|
|
18971
|
-
proto.sniippaymentgatewayapi.PaymentMethodAvailabilityRequest.prototype.getApplepaydetail = function() {
|
|
18972
|
-
return /** @type{?proto.sniippaymentgatewayapi.WalletPaymentMethodDetail} */ (
|
|
18973
|
-
jspb.Message.getWrapperField(this, proto.sniippaymentgatewayapi.WalletPaymentMethodDetail, 6));
|
|
18974
|
-
};
|
|
18975
|
-
|
|
18976
|
-
|
|
18977
|
-
/**
|
|
18978
|
-
* @param {?proto.sniippaymentgatewayapi.WalletPaymentMethodDetail|undefined} value
|
|
18979
|
-
* @return {!proto.sniippaymentgatewayapi.PaymentMethodAvailabilityRequest} returns this
|
|
18980
|
-
*/
|
|
18981
|
-
proto.sniippaymentgatewayapi.PaymentMethodAvailabilityRequest.prototype.setApplepaydetail = function(value) {
|
|
18982
|
-
return jspb.Message.setWrapperField(this, 6, value);
|
|
18983
|
-
};
|
|
18984
|
-
|
|
18985
|
-
|
|
18986
|
-
/**
|
|
18987
|
-
* Clears the message field making it undefined.
|
|
18988
|
-
* @return {!proto.sniippaymentgatewayapi.PaymentMethodAvailabilityRequest} returns this
|
|
18989
|
-
*/
|
|
18990
|
-
proto.sniippaymentgatewayapi.PaymentMethodAvailabilityRequest.prototype.clearApplepaydetail = function() {
|
|
18991
|
-
return this.setApplepaydetail(undefined);
|
|
18992
|
-
};
|
|
18993
|
-
|
|
18994
|
-
|
|
18995
|
-
/**
|
|
18996
|
-
* Returns whether this field is set.
|
|
18997
|
-
* @return {boolean}
|
|
18998
|
-
*/
|
|
18999
|
-
proto.sniippaymentgatewayapi.PaymentMethodAvailabilityRequest.prototype.hasApplepaydetail = function() {
|
|
19000
|
-
return jspb.Message.getField(this, 6) != null;
|
|
19001
|
-
};
|
|
19002
|
-
|
|
19003
|
-
|
|
19004
|
-
/**
|
|
19005
|
-
* optional WalletPaymentMethodDetail googlePayDetail = 7;
|
|
19006
|
-
* @return {?proto.sniippaymentgatewayapi.WalletPaymentMethodDetail}
|
|
19007
|
-
*/
|
|
19008
|
-
proto.sniippaymentgatewayapi.PaymentMethodAvailabilityRequest.prototype.getGooglepaydetail = function() {
|
|
19009
|
-
return /** @type{?proto.sniippaymentgatewayapi.WalletPaymentMethodDetail} */ (
|
|
19010
|
-
jspb.Message.getWrapperField(this, proto.sniippaymentgatewayapi.WalletPaymentMethodDetail, 7));
|
|
19011
|
-
};
|
|
19012
|
-
|
|
19013
|
-
|
|
19014
|
-
/**
|
|
19015
|
-
* @param {?proto.sniippaymentgatewayapi.WalletPaymentMethodDetail|undefined} value
|
|
19016
|
-
* @return {!proto.sniippaymentgatewayapi.PaymentMethodAvailabilityRequest} returns this
|
|
19017
|
-
*/
|
|
19018
|
-
proto.sniippaymentgatewayapi.PaymentMethodAvailabilityRequest.prototype.setGooglepaydetail = function(value) {
|
|
19019
|
-
return jspb.Message.setWrapperField(this, 7, value);
|
|
19020
|
-
};
|
|
19021
|
-
|
|
19022
|
-
|
|
19023
|
-
/**
|
|
19024
|
-
* Clears the message field making it undefined.
|
|
19025
|
-
* @return {!proto.sniippaymentgatewayapi.PaymentMethodAvailabilityRequest} returns this
|
|
19026
|
-
*/
|
|
19027
|
-
proto.sniippaymentgatewayapi.PaymentMethodAvailabilityRequest.prototype.clearGooglepaydetail = function() {
|
|
19028
|
-
return this.setGooglepaydetail(undefined);
|
|
19029
|
-
};
|
|
19030
|
-
|
|
19031
|
-
|
|
19032
|
-
/**
|
|
19033
|
-
* Returns whether this field is set.
|
|
19034
|
-
* @return {boolean}
|
|
19035
|
-
*/
|
|
19036
|
-
proto.sniippaymentgatewayapi.PaymentMethodAvailabilityRequest.prototype.hasGooglepaydetail = function() {
|
|
19037
|
-
return jspb.Message.getField(this, 7) != null;
|
|
19038
|
-
};
|
|
19039
|
-
|
|
19040
|
-
|
|
19041
18757
|
|
|
19042
18758
|
|
|
19043
18759
|
|