@sniipwebmaster/payment-methods-client-grpcweb 0.2.2602 → 0.2.2624

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.
@@ -1520,5 +1520,60 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseC
1520
1520
  };
1521
1521
 
1522
1522
 
1523
+ /**
1524
+ * @const
1525
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
1526
+ * !proto.sniippaymentmethodsserviceapi.VerifyCreditCardRequest,
1527
+ * !proto.sniippaymentmethodsserviceapi.ResponseCode>}
1528
+ */
1529
+ const methodInfo_SniipPaymentMethodsServiceAPIService_VerifyCreditCard = new grpc.web.AbstractClientBase.MethodInfo(
1530
+ proto.sniippaymentmethodsserviceapi.ResponseCode,
1531
+ /** @param {!proto.sniippaymentmethodsserviceapi.VerifyCreditCardRequest} request */
1532
+ function(request) {
1533
+ return request.serializeBinary();
1534
+ },
1535
+ proto.sniippaymentmethodsserviceapi.ResponseCode.deserializeBinary
1536
+ );
1537
+
1538
+
1539
+ /**
1540
+ * @param {!proto.sniippaymentmethodsserviceapi.VerifyCreditCardRequest} request The
1541
+ * request proto
1542
+ * @param {?Object<string, string>} metadata User defined
1543
+ * call metadata
1544
+ * @param {function(?grpc.web.Error, ?proto.sniippaymentmethodsserviceapi.ResponseCode)}
1545
+ * callback The callback function(error, response)
1546
+ * @return {!grpc.web.ClientReadableStream<!proto.sniippaymentmethodsserviceapi.ResponseCode>|undefined}
1547
+ * The XHR Node Readable Stream
1548
+ */
1549
+ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.prototype.verifyCreditCard =
1550
+ function(request, metadata, callback) {
1551
+ return this.client_.rpcCall(this.hostname_ +
1552
+ '/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/VerifyCreditCard',
1553
+ request,
1554
+ metadata || {},
1555
+ methodInfo_SniipPaymentMethodsServiceAPIService_VerifyCreditCard,
1556
+ callback);
1557
+ };
1558
+
1559
+
1560
+ /**
1561
+ * @param {!proto.sniippaymentmethodsserviceapi.VerifyCreditCardRequest} request The
1562
+ * request proto
1563
+ * @param {?Object<string, string>} metadata User defined
1564
+ * call metadata
1565
+ * @return {!Promise<!proto.sniippaymentmethodsserviceapi.ResponseCode>}
1566
+ * A native promise that resolves to the response
1567
+ */
1568
+ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.verifyCreditCard =
1569
+ function(request, metadata) {
1570
+ return this.client_.unaryCall(this.hostname_ +
1571
+ '/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/VerifyCreditCard',
1572
+ request,
1573
+ metadata || {},
1574
+ methodInfo_SniipPaymentMethodsServiceAPIService_VerifyCreditCard);
1575
+ };
1576
+
1577
+
1523
1578
  module.exports = proto.sniippaymentmethodsserviceapi;
1524
1579
 
@@ -27,6 +27,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ColourScheme', null, glob
27
27
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CreatePaymentMethodGroupRequest', null, global);
28
28
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CreditCard', null, global);
29
29
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CreditCardForPaymentRequest', null, global);
30
+ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest', null, global);
30
31
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetActivatedPaymentMethodRequest', null, global);
31
32
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetCardHashRequest', null, global);
32
33
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetCardHashesForUserRequest', null, global);
@@ -64,6 +65,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdateCreditCard', null,
64
65
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest', null, global);
65
66
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest', null, global);
66
67
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest', null, global);
68
+ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.VerifyCreditCardRequest', null, global);
67
69
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest', null, global);
68
70
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse', null, global);
69
71
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ZenithTokenAddRequest', null, global);
@@ -3821,6 +3823,246 @@ proto.sniippaymentmethodsserviceapi.CreditCardForPaymentRequest.prototype.setIsp
3821
3823
 
3822
3824
 
3823
3825
 
3826
+ /**
3827
+ * Generated by JsPbCodeGenerator.
3828
+ * @param {Array=} opt_data Optional initial data array, typically from a
3829
+ * server response, or constructed directly in Javascript. The array is used
3830
+ * in place and becomes part of the constructed object. It is not cloned.
3831
+ * If no data is provided, the constructed object will be empty, but still
3832
+ * valid.
3833
+ * @extends {jspb.Message}
3834
+ * @constructor
3835
+ */
3836
+ proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest = function(opt_data) {
3837
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3838
+ };
3839
+ goog.inherits(proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest, jspb.Message);
3840
+ if (goog.DEBUG && !COMPILED) {
3841
+ proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest.displayName = 'proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest';
3842
+ }
3843
+
3844
+
3845
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3846
+ /**
3847
+ * Creates an object representation of this proto suitable for use in Soy templates.
3848
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3849
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3850
+ * For the list of reserved names please see:
3851
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
3852
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
3853
+ * for transitional soy proto support: http://goto/soy-param-migration
3854
+ * @return {!Object}
3855
+ */
3856
+ proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest.prototype.toObject = function(opt_includeInstance) {
3857
+ return proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest.toObject(opt_includeInstance, this);
3858
+ };
3859
+
3860
+
3861
+ /**
3862
+ * Static version of the {@see toObject} method.
3863
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
3864
+ * instance for transitional soy proto support:
3865
+ * http://goto/soy-param-migration
3866
+ * @param {!proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest} msg The msg instance to transform.
3867
+ * @return {!Object}
3868
+ */
3869
+ proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest.toObject = function(includeInstance, msg) {
3870
+ var f, obj = {
3871
+ paymentmethodid: msg.getPaymentmethodid(),
3872
+ cvv: msg.getCvv(),
3873
+ userid: msg.getUserid(),
3874
+ accesstoken: msg.getAccesstoken()
3875
+ };
3876
+
3877
+ if (includeInstance) {
3878
+ obj.$jspbMessageInstance = msg;
3879
+ }
3880
+ return obj;
3881
+ };
3882
+ }
3883
+
3884
+
3885
+ /**
3886
+ * Deserializes binary data (in protobuf wire format).
3887
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3888
+ * @return {!proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest}
3889
+ */
3890
+ proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest.deserializeBinary = function(bytes) {
3891
+ var reader = new jspb.BinaryReader(bytes);
3892
+ var msg = new proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest;
3893
+ return proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest.deserializeBinaryFromReader(msg, reader);
3894
+ };
3895
+
3896
+
3897
+ /**
3898
+ * Deserializes binary data (in protobuf wire format) from the
3899
+ * given reader into the given message object.
3900
+ * @param {!proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest} msg The message object to deserialize into.
3901
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3902
+ * @return {!proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest}
3903
+ */
3904
+ proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest.deserializeBinaryFromReader = function(msg, reader) {
3905
+ while (reader.nextField()) {
3906
+ if (reader.isEndGroup()) {
3907
+ break;
3908
+ }
3909
+ var field = reader.getFieldNumber();
3910
+ switch (field) {
3911
+ case 1:
3912
+ var value = /** @type {number} */ (reader.readInt64());
3913
+ msg.setPaymentmethodid(value);
3914
+ break;
3915
+ case 2:
3916
+ var value = /** @type {string} */ (reader.readString());
3917
+ msg.setCvv(value);
3918
+ break;
3919
+ case 3:
3920
+ var value = /** @type {number} */ (reader.readInt64());
3921
+ msg.setUserid(value);
3922
+ break;
3923
+ case 4:
3924
+ var value = /** @type {string} */ (reader.readString());
3925
+ msg.setAccesstoken(value);
3926
+ break;
3927
+ default:
3928
+ reader.skipField();
3929
+ break;
3930
+ }
3931
+ }
3932
+ return msg;
3933
+ };
3934
+
3935
+
3936
+ /**
3937
+ * Class method variant: serializes the given message to binary data
3938
+ * (in protobuf wire format), writing to the given BinaryWriter.
3939
+ * @param {!proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest} message
3940
+ * @param {!jspb.BinaryWriter} writer
3941
+ */
3942
+ proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest.serializeBinaryToWriter = function(message, writer) {
3943
+ message.serializeBinaryToWriter(writer);
3944
+ };
3945
+
3946
+
3947
+ /**
3948
+ * Serializes the message to binary data (in protobuf wire format).
3949
+ * @return {!Uint8Array}
3950
+ */
3951
+ proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest.prototype.serializeBinary = function() {
3952
+ var writer = new jspb.BinaryWriter();
3953
+ this.serializeBinaryToWriter(writer);
3954
+ return writer.getResultBuffer();
3955
+ };
3956
+
3957
+
3958
+ /**
3959
+ * Serializes the message to binary data (in protobuf wire format),
3960
+ * writing to the given BinaryWriter.
3961
+ * @param {!jspb.BinaryWriter} writer
3962
+ */
3963
+ proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest.prototype.serializeBinaryToWriter = function (writer) {
3964
+ var f = undefined;
3965
+ f = this.getPaymentmethodid();
3966
+ if (f !== 0) {
3967
+ writer.writeInt64(
3968
+ 1,
3969
+ f
3970
+ );
3971
+ }
3972
+ f = this.getCvv();
3973
+ if (f.length > 0) {
3974
+ writer.writeString(
3975
+ 2,
3976
+ f
3977
+ );
3978
+ }
3979
+ f = this.getUserid();
3980
+ if (f !== 0) {
3981
+ writer.writeInt64(
3982
+ 3,
3983
+ f
3984
+ );
3985
+ }
3986
+ f = this.getAccesstoken();
3987
+ if (f.length > 0) {
3988
+ writer.writeString(
3989
+ 4,
3990
+ f
3991
+ );
3992
+ }
3993
+ };
3994
+
3995
+
3996
+ /**
3997
+ * Creates a deep clone of this proto. No data is shared with the original.
3998
+ * @return {!proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest} The clone.
3999
+ */
4000
+ proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest.prototype.cloneMessage = function() {
4001
+ return /** @type {!proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest} */ (jspb.Message.cloneMessage(this));
4002
+ };
4003
+
4004
+
4005
+ /**
4006
+ * optional int64 paymentMethodId = 1;
4007
+ * @return {number}
4008
+ */
4009
+ proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest.prototype.getPaymentmethodid = function() {
4010
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
4011
+ };
4012
+
4013
+
4014
+ /** @param {number} value */
4015
+ proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest.prototype.setPaymentmethodid = function(value) {
4016
+ jspb.Message.setField(this, 1, value);
4017
+ };
4018
+
4019
+
4020
+ /**
4021
+ * optional string cvv = 2;
4022
+ * @return {string}
4023
+ */
4024
+ proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest.prototype.getCvv = function() {
4025
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 2, ""));
4026
+ };
4027
+
4028
+
4029
+ /** @param {string} value */
4030
+ proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest.prototype.setCvv = function(value) {
4031
+ jspb.Message.setField(this, 2, value);
4032
+ };
4033
+
4034
+
4035
+ /**
4036
+ * optional int64 userId = 3;
4037
+ * @return {number}
4038
+ */
4039
+ proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest.prototype.getUserid = function() {
4040
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 3, 0));
4041
+ };
4042
+
4043
+
4044
+ /** @param {number} value */
4045
+ proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest.prototype.setUserid = function(value) {
4046
+ jspb.Message.setField(this, 3, value);
4047
+ };
4048
+
4049
+
4050
+ /**
4051
+ * optional string accessToken = 4;
4052
+ * @return {string}
4053
+ */
4054
+ proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest.prototype.getAccesstoken = function() {
4055
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 4, ""));
4056
+ };
4057
+
4058
+
4059
+ /** @param {string} value */
4060
+ proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest.prototype.setAccesstoken = function(value) {
4061
+ jspb.Message.setField(this, 4, value);
4062
+ };
4063
+
4064
+
4065
+
3824
4066
  /**
3825
4067
  * Generated by JsPbCodeGenerator.
3826
4068
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -12334,6 +12576,182 @@ proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.prototype.hasData
12334
12576
 
12335
12577
 
12336
12578
 
12579
+ /**
12580
+ * Generated by JsPbCodeGenerator.
12581
+ * @param {Array=} opt_data Optional initial data array, typically from a
12582
+ * server response, or constructed directly in Javascript. The array is used
12583
+ * in place and becomes part of the constructed object. It is not cloned.
12584
+ * If no data is provided, the constructed object will be empty, but still
12585
+ * valid.
12586
+ * @extends {jspb.Message}
12587
+ * @constructor
12588
+ */
12589
+ proto.sniippaymentmethodsserviceapi.VerifyCreditCardRequest = function(opt_data) {
12590
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
12591
+ };
12592
+ goog.inherits(proto.sniippaymentmethodsserviceapi.VerifyCreditCardRequest, jspb.Message);
12593
+ if (goog.DEBUG && !COMPILED) {
12594
+ proto.sniippaymentmethodsserviceapi.VerifyCreditCardRequest.displayName = 'proto.sniippaymentmethodsserviceapi.VerifyCreditCardRequest';
12595
+ }
12596
+
12597
+
12598
+ if (jspb.Message.GENERATE_TO_OBJECT) {
12599
+ /**
12600
+ * Creates an object representation of this proto suitable for use in Soy templates.
12601
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
12602
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
12603
+ * For the list of reserved names please see:
12604
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
12605
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
12606
+ * for transitional soy proto support: http://goto/soy-param-migration
12607
+ * @return {!Object}
12608
+ */
12609
+ proto.sniippaymentmethodsserviceapi.VerifyCreditCardRequest.prototype.toObject = function(opt_includeInstance) {
12610
+ return proto.sniippaymentmethodsserviceapi.VerifyCreditCardRequest.toObject(opt_includeInstance, this);
12611
+ };
12612
+
12613
+
12614
+ /**
12615
+ * Static version of the {@see toObject} method.
12616
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
12617
+ * instance for transitional soy proto support:
12618
+ * http://goto/soy-param-migration
12619
+ * @param {!proto.sniippaymentmethodsserviceapi.VerifyCreditCardRequest} msg The msg instance to transform.
12620
+ * @return {!Object}
12621
+ */
12622
+ proto.sniippaymentmethodsserviceapi.VerifyCreditCardRequest.toObject = function(includeInstance, msg) {
12623
+ var f, obj = {
12624
+ data: (f = msg.getData()) && proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest.toObject(includeInstance, f)
12625
+ };
12626
+
12627
+ if (includeInstance) {
12628
+ obj.$jspbMessageInstance = msg;
12629
+ }
12630
+ return obj;
12631
+ };
12632
+ }
12633
+
12634
+
12635
+ /**
12636
+ * Deserializes binary data (in protobuf wire format).
12637
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
12638
+ * @return {!proto.sniippaymentmethodsserviceapi.VerifyCreditCardRequest}
12639
+ */
12640
+ proto.sniippaymentmethodsserviceapi.VerifyCreditCardRequest.deserializeBinary = function(bytes) {
12641
+ var reader = new jspb.BinaryReader(bytes);
12642
+ var msg = new proto.sniippaymentmethodsserviceapi.VerifyCreditCardRequest;
12643
+ return proto.sniippaymentmethodsserviceapi.VerifyCreditCardRequest.deserializeBinaryFromReader(msg, reader);
12644
+ };
12645
+
12646
+
12647
+ /**
12648
+ * Deserializes binary data (in protobuf wire format) from the
12649
+ * given reader into the given message object.
12650
+ * @param {!proto.sniippaymentmethodsserviceapi.VerifyCreditCardRequest} msg The message object to deserialize into.
12651
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
12652
+ * @return {!proto.sniippaymentmethodsserviceapi.VerifyCreditCardRequest}
12653
+ */
12654
+ proto.sniippaymentmethodsserviceapi.VerifyCreditCardRequest.deserializeBinaryFromReader = function(msg, reader) {
12655
+ while (reader.nextField()) {
12656
+ if (reader.isEndGroup()) {
12657
+ break;
12658
+ }
12659
+ var field = reader.getFieldNumber();
12660
+ switch (field) {
12661
+ case 1:
12662
+ var value = new proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest;
12663
+ reader.readMessage(value,proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest.deserializeBinaryFromReader);
12664
+ msg.setData(value);
12665
+ break;
12666
+ default:
12667
+ reader.skipField();
12668
+ break;
12669
+ }
12670
+ }
12671
+ return msg;
12672
+ };
12673
+
12674
+
12675
+ /**
12676
+ * Class method variant: serializes the given message to binary data
12677
+ * (in protobuf wire format), writing to the given BinaryWriter.
12678
+ * @param {!proto.sniippaymentmethodsserviceapi.VerifyCreditCardRequest} message
12679
+ * @param {!jspb.BinaryWriter} writer
12680
+ */
12681
+ proto.sniippaymentmethodsserviceapi.VerifyCreditCardRequest.serializeBinaryToWriter = function(message, writer) {
12682
+ message.serializeBinaryToWriter(writer);
12683
+ };
12684
+
12685
+
12686
+ /**
12687
+ * Serializes the message to binary data (in protobuf wire format).
12688
+ * @return {!Uint8Array}
12689
+ */
12690
+ proto.sniippaymentmethodsserviceapi.VerifyCreditCardRequest.prototype.serializeBinary = function() {
12691
+ var writer = new jspb.BinaryWriter();
12692
+ this.serializeBinaryToWriter(writer);
12693
+ return writer.getResultBuffer();
12694
+ };
12695
+
12696
+
12697
+ /**
12698
+ * Serializes the message to binary data (in protobuf wire format),
12699
+ * writing to the given BinaryWriter.
12700
+ * @param {!jspb.BinaryWriter} writer
12701
+ */
12702
+ proto.sniippaymentmethodsserviceapi.VerifyCreditCardRequest.prototype.serializeBinaryToWriter = function (writer) {
12703
+ var f = undefined;
12704
+ f = this.getData();
12705
+ if (f != null) {
12706
+ writer.writeMessage(
12707
+ 1,
12708
+ f,
12709
+ proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest.serializeBinaryToWriter
12710
+ );
12711
+ }
12712
+ };
12713
+
12714
+
12715
+ /**
12716
+ * Creates a deep clone of this proto. No data is shared with the original.
12717
+ * @return {!proto.sniippaymentmethodsserviceapi.VerifyCreditCardRequest} The clone.
12718
+ */
12719
+ proto.sniippaymentmethodsserviceapi.VerifyCreditCardRequest.prototype.cloneMessage = function() {
12720
+ return /** @type {!proto.sniippaymentmethodsserviceapi.VerifyCreditCardRequest} */ (jspb.Message.cloneMessage(this));
12721
+ };
12722
+
12723
+
12724
+ /**
12725
+ * optional CreditCardVerifyRequest data = 1;
12726
+ * @return {proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest}
12727
+ */
12728
+ proto.sniippaymentmethodsserviceapi.VerifyCreditCardRequest.prototype.getData = function() {
12729
+ return /** @type{proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest} */ (
12730
+ jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest, 1));
12731
+ };
12732
+
12733
+
12734
+ /** @param {proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest|undefined} value */
12735
+ proto.sniippaymentmethodsserviceapi.VerifyCreditCardRequest.prototype.setData = function(value) {
12736
+ jspb.Message.setWrapperField(this, 1, value);
12737
+ };
12738
+
12739
+
12740
+ proto.sniippaymentmethodsserviceapi.VerifyCreditCardRequest.prototype.clearData = function() {
12741
+ this.setData(undefined);
12742
+ };
12743
+
12744
+
12745
+ /**
12746
+ * Returns whether this field is set.
12747
+ * @return{!boolean}
12748
+ */
12749
+ proto.sniippaymentmethodsserviceapi.VerifyCreditCardRequest.prototype.hasData = function() {
12750
+ return jspb.Message.getField(this, 1) != null;
12751
+ };
12752
+
12753
+
12754
+
12337
12755
  /**
12338
12756
  * Generated by JsPbCodeGenerator.
12339
12757
  * @param {Array=} opt_data Optional initial data array, typically from a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/payment-methods-client-grpcweb",
3
- "version": "0.2.2602",
3
+ "version": "0.2.2624",
4
4
  "description": "payment-methods-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",