@sniipwebmaster/payment-methods-client-grpcweb 0.2.2444 → 0.2.2472

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.
@@ -1300,6 +1300,61 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseC
1300
1300
  };
1301
1301
 
1302
1302
 
1303
+ /**
1304
+ * @const
1305
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
1306
+ * !proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest,
1307
+ * !proto.sniippaymentmethodsserviceapi.ResponseCode>}
1308
+ */
1309
+ const methodInfo_SniipPaymentMethodsServiceAPIService_UpdateMasterBinLookupOverride = new grpc.web.AbstractClientBase.MethodInfo(
1310
+ proto.sniippaymentmethodsserviceapi.ResponseCode,
1311
+ /** @param {!proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest} request */
1312
+ function(request) {
1313
+ return request.serializeBinary();
1314
+ },
1315
+ proto.sniippaymentmethodsserviceapi.ResponseCode.deserializeBinary
1316
+ );
1317
+
1318
+
1319
+ /**
1320
+ * @param {!proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest} request The
1321
+ * request proto
1322
+ * @param {?Object<string, string>} metadata User defined
1323
+ * call metadata
1324
+ * @param {function(?grpc.web.Error, ?proto.sniippaymentmethodsserviceapi.ResponseCode)}
1325
+ * callback The callback function(error, response)
1326
+ * @return {!grpc.web.ClientReadableStream<!proto.sniippaymentmethodsserviceapi.ResponseCode>|undefined}
1327
+ * The XHR Node Readable Stream
1328
+ */
1329
+ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.prototype.updateMasterBinLookupOverride =
1330
+ function(request, metadata, callback) {
1331
+ return this.client_.rpcCall(this.hostname_ +
1332
+ '/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/UpdateMasterBinLookupOverride',
1333
+ request,
1334
+ metadata || {},
1335
+ methodInfo_SniipPaymentMethodsServiceAPIService_UpdateMasterBinLookupOverride,
1336
+ callback);
1337
+ };
1338
+
1339
+
1340
+ /**
1341
+ * @param {!proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest} request The
1342
+ * request proto
1343
+ * @param {?Object<string, string>} metadata User defined
1344
+ * call metadata
1345
+ * @return {!Promise<!proto.sniippaymentmethodsserviceapi.ResponseCode>}
1346
+ * A native promise that resolves to the response
1347
+ */
1348
+ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.updateMasterBinLookupOverride =
1349
+ function(request, metadata) {
1350
+ return this.client_.unaryCall(this.hostname_ +
1351
+ '/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/UpdateMasterBinLookupOverride',
1352
+ request,
1353
+ metadata || {},
1354
+ methodInfo_SniipPaymentMethodsServiceAPIService_UpdateMasterBinLookupOverride);
1355
+ };
1356
+
1357
+
1303
1358
  /**
1304
1359
  * @const
1305
1360
  * @type {!grpc.web.AbstractClientBase.MethodInfo<
@@ -40,6 +40,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternal
40
40
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodsRequest', null, global);
41
41
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest', null, global);
42
42
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.MaskedCreditCard', null, global);
43
+ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest', null, global);
43
44
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethod', null, global);
44
45
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodDeleteRequest', null, global);
45
46
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentRequest', null, global);
@@ -58,6 +59,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse',
58
59
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.RemovePaymentMethodRequest', null, global);
59
60
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ResponseCode', null, global);
60
61
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdateCreditCard', null, global);
62
+ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest', null, global);
61
63
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest', null, global);
62
64
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest', null, global);
63
65
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest', null, global);
@@ -6609,6 +6611,655 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.setIsverified = f
6609
6611
 
6610
6612
 
6611
6613
 
6614
+ /**
6615
+ * Generated by JsPbCodeGenerator.
6616
+ * @param {Array=} opt_data Optional initial data array, typically from a
6617
+ * server response, or constructed directly in Javascript. The array is used
6618
+ * in place and becomes part of the constructed object. It is not cloned.
6619
+ * If no data is provided, the constructed object will be empty, but still
6620
+ * valid.
6621
+ * @extends {jspb.Message}
6622
+ * @constructor
6623
+ */
6624
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest = function(opt_data) {
6625
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
6626
+ };
6627
+ goog.inherits(proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest, jspb.Message);
6628
+ if (goog.DEBUG && !COMPILED) {
6629
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.displayName = 'proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest';
6630
+ }
6631
+
6632
+
6633
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6634
+ /**
6635
+ * Creates an object representation of this proto suitable for use in Soy templates.
6636
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6637
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6638
+ * For the list of reserved names please see:
6639
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
6640
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
6641
+ * for transitional soy proto support: http://goto/soy-param-migration
6642
+ * @return {!Object}
6643
+ */
6644
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.toObject = function(opt_includeInstance) {
6645
+ return proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.toObject(opt_includeInstance, this);
6646
+ };
6647
+
6648
+
6649
+ /**
6650
+ * Static version of the {@see toObject} method.
6651
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
6652
+ * instance for transitional soy proto support:
6653
+ * http://goto/soy-param-migration
6654
+ * @param {!proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest} msg The msg instance to transform.
6655
+ * @return {!Object}
6656
+ */
6657
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.toObject = function(includeInstance, msg) {
6658
+ var f, obj = {
6659
+ bin: msg.getBin(),
6660
+ panlength: msg.getPanlength(),
6661
+ luhn: msg.getLuhn(),
6662
+ bincardscheme: msg.getBincardscheme(),
6663
+ bincardtype: msg.getBincardtype(),
6664
+ bincardbrand: msg.getBincardbrand(),
6665
+ bincardprepaid: msg.getBincardprepaid(),
6666
+ countrynumeric: msg.getCountrynumeric(),
6667
+ countryalpha2: msg.getCountryalpha2(),
6668
+ countryname: msg.getCountryname(),
6669
+ countrycurrency: msg.getCountrycurrency(),
6670
+ countrylatitude: msg.getCountrylatitude(),
6671
+ countrylongitude: msg.getCountrylongitude(),
6672
+ bankname: msg.getBankname(),
6673
+ bankdisplayname: msg.getBankdisplayname(),
6674
+ bankurl: msg.getBankurl(),
6675
+ bankphone: msg.getBankphone(),
6676
+ banklogoname: msg.getBanklogoname(),
6677
+ cardtype: msg.getCardtype()
6678
+ };
6679
+
6680
+ if (includeInstance) {
6681
+ obj.$jspbMessageInstance = msg;
6682
+ }
6683
+ return obj;
6684
+ };
6685
+ }
6686
+
6687
+
6688
+ /**
6689
+ * Deserializes binary data (in protobuf wire format).
6690
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6691
+ * @return {!proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest}
6692
+ */
6693
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.deserializeBinary = function(bytes) {
6694
+ var reader = new jspb.BinaryReader(bytes);
6695
+ var msg = new proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest;
6696
+ return proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.deserializeBinaryFromReader(msg, reader);
6697
+ };
6698
+
6699
+
6700
+ /**
6701
+ * Deserializes binary data (in protobuf wire format) from the
6702
+ * given reader into the given message object.
6703
+ * @param {!proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest} msg The message object to deserialize into.
6704
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6705
+ * @return {!proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest}
6706
+ */
6707
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.deserializeBinaryFromReader = function(msg, reader) {
6708
+ while (reader.nextField()) {
6709
+ if (reader.isEndGroup()) {
6710
+ break;
6711
+ }
6712
+ var field = reader.getFieldNumber();
6713
+ switch (field) {
6714
+ case 1:
6715
+ var value = /** @type {string} */ (reader.readString());
6716
+ msg.setBin(value);
6717
+ break;
6718
+ case 2:
6719
+ var value = /** @type {number} */ (reader.readInt32());
6720
+ msg.setPanlength(value);
6721
+ break;
6722
+ case 3:
6723
+ var value = /** @type {boolean} */ (reader.readBool());
6724
+ msg.setLuhn(value);
6725
+ break;
6726
+ case 4:
6727
+ var value = /** @type {string} */ (reader.readString());
6728
+ msg.setBincardscheme(value);
6729
+ break;
6730
+ case 5:
6731
+ var value = /** @type {string} */ (reader.readString());
6732
+ msg.setBincardtype(value);
6733
+ break;
6734
+ case 6:
6735
+ var value = /** @type {string} */ (reader.readString());
6736
+ msg.setBincardbrand(value);
6737
+ break;
6738
+ case 7:
6739
+ var value = /** @type {boolean} */ (reader.readBool());
6740
+ msg.setBincardprepaid(value);
6741
+ break;
6742
+ case 8:
6743
+ var value = /** @type {string} */ (reader.readString());
6744
+ msg.setCountrynumeric(value);
6745
+ break;
6746
+ case 9:
6747
+ var value = /** @type {string} */ (reader.readString());
6748
+ msg.setCountryalpha2(value);
6749
+ break;
6750
+ case 10:
6751
+ var value = /** @type {string} */ (reader.readString());
6752
+ msg.setCountryname(value);
6753
+ break;
6754
+ case 11:
6755
+ var value = /** @type {string} */ (reader.readString());
6756
+ msg.setCountrycurrency(value);
6757
+ break;
6758
+ case 12:
6759
+ var value = /** @type {number} */ (reader.readInt64());
6760
+ msg.setCountrylatitude(value);
6761
+ break;
6762
+ case 13:
6763
+ var value = /** @type {number} */ (reader.readInt64());
6764
+ msg.setCountrylongitude(value);
6765
+ break;
6766
+ case 14:
6767
+ var value = /** @type {string} */ (reader.readString());
6768
+ msg.setBankname(value);
6769
+ break;
6770
+ case 15:
6771
+ var value = /** @type {string} */ (reader.readString());
6772
+ msg.setBankdisplayname(value);
6773
+ break;
6774
+ case 16:
6775
+ var value = /** @type {string} */ (reader.readString());
6776
+ msg.setBankurl(value);
6777
+ break;
6778
+ case 17:
6779
+ var value = /** @type {string} */ (reader.readString());
6780
+ msg.setBankphone(value);
6781
+ break;
6782
+ case 18:
6783
+ var value = /** @type {string} */ (reader.readString());
6784
+ msg.setBanklogoname(value);
6785
+ break;
6786
+ case 19:
6787
+ var value = /** @type {string} */ (reader.readString());
6788
+ msg.setCardtype(value);
6789
+ break;
6790
+ default:
6791
+ reader.skipField();
6792
+ break;
6793
+ }
6794
+ }
6795
+ return msg;
6796
+ };
6797
+
6798
+
6799
+ /**
6800
+ * Class method variant: serializes the given message to binary data
6801
+ * (in protobuf wire format), writing to the given BinaryWriter.
6802
+ * @param {!proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest} message
6803
+ * @param {!jspb.BinaryWriter} writer
6804
+ */
6805
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.serializeBinaryToWriter = function(message, writer) {
6806
+ message.serializeBinaryToWriter(writer);
6807
+ };
6808
+
6809
+
6810
+ /**
6811
+ * Serializes the message to binary data (in protobuf wire format).
6812
+ * @return {!Uint8Array}
6813
+ */
6814
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.serializeBinary = function() {
6815
+ var writer = new jspb.BinaryWriter();
6816
+ this.serializeBinaryToWriter(writer);
6817
+ return writer.getResultBuffer();
6818
+ };
6819
+
6820
+
6821
+ /**
6822
+ * Serializes the message to binary data (in protobuf wire format),
6823
+ * writing to the given BinaryWriter.
6824
+ * @param {!jspb.BinaryWriter} writer
6825
+ */
6826
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.serializeBinaryToWriter = function (writer) {
6827
+ var f = undefined;
6828
+ f = this.getBin();
6829
+ if (f.length > 0) {
6830
+ writer.writeString(
6831
+ 1,
6832
+ f
6833
+ );
6834
+ }
6835
+ f = this.getPanlength();
6836
+ if (f !== 0) {
6837
+ writer.writeInt32(
6838
+ 2,
6839
+ f
6840
+ );
6841
+ }
6842
+ f = this.getLuhn();
6843
+ if (f) {
6844
+ writer.writeBool(
6845
+ 3,
6846
+ f
6847
+ );
6848
+ }
6849
+ f = this.getBincardscheme();
6850
+ if (f.length > 0) {
6851
+ writer.writeString(
6852
+ 4,
6853
+ f
6854
+ );
6855
+ }
6856
+ f = this.getBincardtype();
6857
+ if (f.length > 0) {
6858
+ writer.writeString(
6859
+ 5,
6860
+ f
6861
+ );
6862
+ }
6863
+ f = this.getBincardbrand();
6864
+ if (f.length > 0) {
6865
+ writer.writeString(
6866
+ 6,
6867
+ f
6868
+ );
6869
+ }
6870
+ f = this.getBincardprepaid();
6871
+ if (f) {
6872
+ writer.writeBool(
6873
+ 7,
6874
+ f
6875
+ );
6876
+ }
6877
+ f = this.getCountrynumeric();
6878
+ if (f.length > 0) {
6879
+ writer.writeString(
6880
+ 8,
6881
+ f
6882
+ );
6883
+ }
6884
+ f = this.getCountryalpha2();
6885
+ if (f.length > 0) {
6886
+ writer.writeString(
6887
+ 9,
6888
+ f
6889
+ );
6890
+ }
6891
+ f = this.getCountryname();
6892
+ if (f.length > 0) {
6893
+ writer.writeString(
6894
+ 10,
6895
+ f
6896
+ );
6897
+ }
6898
+ f = this.getCountrycurrency();
6899
+ if (f.length > 0) {
6900
+ writer.writeString(
6901
+ 11,
6902
+ f
6903
+ );
6904
+ }
6905
+ f = this.getCountrylatitude();
6906
+ if (f !== 0) {
6907
+ writer.writeInt64(
6908
+ 12,
6909
+ f
6910
+ );
6911
+ }
6912
+ f = this.getCountrylongitude();
6913
+ if (f !== 0) {
6914
+ writer.writeInt64(
6915
+ 13,
6916
+ f
6917
+ );
6918
+ }
6919
+ f = this.getBankname();
6920
+ if (f.length > 0) {
6921
+ writer.writeString(
6922
+ 14,
6923
+ f
6924
+ );
6925
+ }
6926
+ f = this.getBankdisplayname();
6927
+ if (f.length > 0) {
6928
+ writer.writeString(
6929
+ 15,
6930
+ f
6931
+ );
6932
+ }
6933
+ f = this.getBankurl();
6934
+ if (f.length > 0) {
6935
+ writer.writeString(
6936
+ 16,
6937
+ f
6938
+ );
6939
+ }
6940
+ f = this.getBankphone();
6941
+ if (f.length > 0) {
6942
+ writer.writeString(
6943
+ 17,
6944
+ f
6945
+ );
6946
+ }
6947
+ f = this.getBanklogoname();
6948
+ if (f.length > 0) {
6949
+ writer.writeString(
6950
+ 18,
6951
+ f
6952
+ );
6953
+ }
6954
+ f = this.getCardtype();
6955
+ if (f.length > 0) {
6956
+ writer.writeString(
6957
+ 19,
6958
+ f
6959
+ );
6960
+ }
6961
+ };
6962
+
6963
+
6964
+ /**
6965
+ * Creates a deep clone of this proto. No data is shared with the original.
6966
+ * @return {!proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest} The clone.
6967
+ */
6968
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.cloneMessage = function() {
6969
+ return /** @type {!proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest} */ (jspb.Message.cloneMessage(this));
6970
+ };
6971
+
6972
+
6973
+ /**
6974
+ * optional string bin = 1;
6975
+ * @return {string}
6976
+ */
6977
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.getBin = function() {
6978
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 1, ""));
6979
+ };
6980
+
6981
+
6982
+ /** @param {string} value */
6983
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.setBin = function(value) {
6984
+ jspb.Message.setField(this, 1, value);
6985
+ };
6986
+
6987
+
6988
+ /**
6989
+ * optional int32 panLength = 2;
6990
+ * @return {number}
6991
+ */
6992
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.getPanlength = function() {
6993
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
6994
+ };
6995
+
6996
+
6997
+ /** @param {number} value */
6998
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.setPanlength = function(value) {
6999
+ jspb.Message.setField(this, 2, value);
7000
+ };
7001
+
7002
+
7003
+ /**
7004
+ * optional bool luhn = 3;
7005
+ * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
7006
+ * You should avoid comparisons like {@code val === true/false} in those cases.
7007
+ * @return {boolean}
7008
+ */
7009
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.getLuhn = function() {
7010
+ return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 3, false));
7011
+ };
7012
+
7013
+
7014
+ /** @param {boolean} value */
7015
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.setLuhn = function(value) {
7016
+ jspb.Message.setField(this, 3, value);
7017
+ };
7018
+
7019
+
7020
+ /**
7021
+ * optional string binCardScheme = 4;
7022
+ * @return {string}
7023
+ */
7024
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.getBincardscheme = function() {
7025
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 4, ""));
7026
+ };
7027
+
7028
+
7029
+ /** @param {string} value */
7030
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.setBincardscheme = function(value) {
7031
+ jspb.Message.setField(this, 4, value);
7032
+ };
7033
+
7034
+
7035
+ /**
7036
+ * optional string binCardType = 5;
7037
+ * @return {string}
7038
+ */
7039
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.getBincardtype = function() {
7040
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 5, ""));
7041
+ };
7042
+
7043
+
7044
+ /** @param {string} value */
7045
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.setBincardtype = function(value) {
7046
+ jspb.Message.setField(this, 5, value);
7047
+ };
7048
+
7049
+
7050
+ /**
7051
+ * optional string binCardBrand = 6;
7052
+ * @return {string}
7053
+ */
7054
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.getBincardbrand = function() {
7055
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 6, ""));
7056
+ };
7057
+
7058
+
7059
+ /** @param {string} value */
7060
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.setBincardbrand = function(value) {
7061
+ jspb.Message.setField(this, 6, value);
7062
+ };
7063
+
7064
+
7065
+ /**
7066
+ * optional bool binCardPrepaid = 7;
7067
+ * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
7068
+ * You should avoid comparisons like {@code val === true/false} in those cases.
7069
+ * @return {boolean}
7070
+ */
7071
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.getBincardprepaid = function() {
7072
+ return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 7, false));
7073
+ };
7074
+
7075
+
7076
+ /** @param {boolean} value */
7077
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.setBincardprepaid = function(value) {
7078
+ jspb.Message.setField(this, 7, value);
7079
+ };
7080
+
7081
+
7082
+ /**
7083
+ * optional string countryNumeric = 8;
7084
+ * @return {string}
7085
+ */
7086
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.getCountrynumeric = function() {
7087
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 8, ""));
7088
+ };
7089
+
7090
+
7091
+ /** @param {string} value */
7092
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.setCountrynumeric = function(value) {
7093
+ jspb.Message.setField(this, 8, value);
7094
+ };
7095
+
7096
+
7097
+ /**
7098
+ * optional string countryAlpha2 = 9;
7099
+ * @return {string}
7100
+ */
7101
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.getCountryalpha2 = function() {
7102
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 9, ""));
7103
+ };
7104
+
7105
+
7106
+ /** @param {string} value */
7107
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.setCountryalpha2 = function(value) {
7108
+ jspb.Message.setField(this, 9, value);
7109
+ };
7110
+
7111
+
7112
+ /**
7113
+ * optional string countryName = 10;
7114
+ * @return {string}
7115
+ */
7116
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.getCountryname = function() {
7117
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 10, ""));
7118
+ };
7119
+
7120
+
7121
+ /** @param {string} value */
7122
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.setCountryname = function(value) {
7123
+ jspb.Message.setField(this, 10, value);
7124
+ };
7125
+
7126
+
7127
+ /**
7128
+ * optional string countryCurrency = 11;
7129
+ * @return {string}
7130
+ */
7131
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.getCountrycurrency = function() {
7132
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 11, ""));
7133
+ };
7134
+
7135
+
7136
+ /** @param {string} value */
7137
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.setCountrycurrency = function(value) {
7138
+ jspb.Message.setField(this, 11, value);
7139
+ };
7140
+
7141
+
7142
+ /**
7143
+ * optional int64 countryLatitude = 12;
7144
+ * @return {number}
7145
+ */
7146
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.getCountrylatitude = function() {
7147
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 12, 0));
7148
+ };
7149
+
7150
+
7151
+ /** @param {number} value */
7152
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.setCountrylatitude = function(value) {
7153
+ jspb.Message.setField(this, 12, value);
7154
+ };
7155
+
7156
+
7157
+ /**
7158
+ * optional int64 countryLongitude = 13;
7159
+ * @return {number}
7160
+ */
7161
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.getCountrylongitude = function() {
7162
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 13, 0));
7163
+ };
7164
+
7165
+
7166
+ /** @param {number} value */
7167
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.setCountrylongitude = function(value) {
7168
+ jspb.Message.setField(this, 13, value);
7169
+ };
7170
+
7171
+
7172
+ /**
7173
+ * optional string bankName = 14;
7174
+ * @return {string}
7175
+ */
7176
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.getBankname = function() {
7177
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 14, ""));
7178
+ };
7179
+
7180
+
7181
+ /** @param {string} value */
7182
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.setBankname = function(value) {
7183
+ jspb.Message.setField(this, 14, value);
7184
+ };
7185
+
7186
+
7187
+ /**
7188
+ * optional string bankDisplayName = 15;
7189
+ * @return {string}
7190
+ */
7191
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.getBankdisplayname = function() {
7192
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 15, ""));
7193
+ };
7194
+
7195
+
7196
+ /** @param {string} value */
7197
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.setBankdisplayname = function(value) {
7198
+ jspb.Message.setField(this, 15, value);
7199
+ };
7200
+
7201
+
7202
+ /**
7203
+ * optional string bankUrl = 16;
7204
+ * @return {string}
7205
+ */
7206
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.getBankurl = function() {
7207
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 16, ""));
7208
+ };
7209
+
7210
+
7211
+ /** @param {string} value */
7212
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.setBankurl = function(value) {
7213
+ jspb.Message.setField(this, 16, value);
7214
+ };
7215
+
7216
+
7217
+ /**
7218
+ * optional string bankPhone = 17;
7219
+ * @return {string}
7220
+ */
7221
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.getBankphone = function() {
7222
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 17, ""));
7223
+ };
7224
+
7225
+
7226
+ /** @param {string} value */
7227
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.setBankphone = function(value) {
7228
+ jspb.Message.setField(this, 17, value);
7229
+ };
7230
+
7231
+
7232
+ /**
7233
+ * optional string bankLogoName = 18;
7234
+ * @return {string}
7235
+ */
7236
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.getBanklogoname = function() {
7237
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 18, ""));
7238
+ };
7239
+
7240
+
7241
+ /** @param {string} value */
7242
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.setBanklogoname = function(value) {
7243
+ jspb.Message.setField(this, 18, value);
7244
+ };
7245
+
7246
+
7247
+ /**
7248
+ * optional string cardType = 19;
7249
+ * @return {string}
7250
+ */
7251
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.getCardtype = function() {
7252
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 19, ""));
7253
+ };
7254
+
7255
+
7256
+ /** @param {string} value */
7257
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.setCardtype = function(value) {
7258
+ jspb.Message.setField(this, 19, value);
7259
+ };
7260
+
7261
+
7262
+
6612
7263
  /**
6613
7264
  * Generated by JsPbCodeGenerator.
6614
7265
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -7192,7 +7843,8 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentRequest.toObject = fu
7192
7843
  paymentmethodid: msg.getPaymentmethodid(),
7193
7844
  accesstoken: msg.getAccesstoken(),
7194
7845
  userid: msg.getUserid(),
7195
- ispaymentaccesskey: msg.getIspaymentaccesskey()
7846
+ ispaymentaccesskey: msg.getIspaymentaccesskey(),
7847
+ cvv: msg.getCvv()
7196
7848
  };
7197
7849
 
7198
7850
  if (includeInstance) {
@@ -7245,6 +7897,10 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentRequest.deserializeBi
7245
7897
  var value = /** @type {boolean} */ (reader.readBool());
7246
7898
  msg.setIspaymentaccesskey(value);
7247
7899
  break;
7900
+ case 5:
7901
+ var value = /** @type {string} */ (reader.readString());
7902
+ msg.setCvv(value);
7903
+ break;
7248
7904
  default:
7249
7905
  reader.skipField();
7250
7906
  break;
@@ -7311,6 +7967,13 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentRequest.prototype.ser
7311
7967
  f
7312
7968
  );
7313
7969
  }
7970
+ f = this.getCvv();
7971
+ if (f.length > 0) {
7972
+ writer.writeString(
7973
+ 5,
7974
+ f
7975
+ );
7976
+ }
7314
7977
  };
7315
7978
 
7316
7979
 
@@ -7385,6 +8048,21 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentRequest.prototype.set
7385
8048
  };
7386
8049
 
7387
8050
 
8051
+ /**
8052
+ * optional string cvv = 5;
8053
+ * @return {string}
8054
+ */
8055
+ proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentRequest.prototype.getCvv = function() {
8056
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 5, ""));
8057
+ };
8058
+
8059
+
8060
+ /** @param {string} value */
8061
+ proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentRequest.prototype.setCvv = function(value) {
8062
+ jspb.Message.setField(this, 5, value);
8063
+ };
8064
+
8065
+
7388
8066
 
7389
8067
  /**
7390
8068
  * Generated by JsPbCodeGenerator.
@@ -10750,6 +11428,182 @@ proto.sniippaymentmethodsserviceapi.UpdateCreditCard.prototype.setCvv = function
10750
11428
 
10751
11429
 
10752
11430
 
11431
+ /**
11432
+ * Generated by JsPbCodeGenerator.
11433
+ * @param {Array=} opt_data Optional initial data array, typically from a
11434
+ * server response, or constructed directly in Javascript. The array is used
11435
+ * in place and becomes part of the constructed object. It is not cloned.
11436
+ * If no data is provided, the constructed object will be empty, but still
11437
+ * valid.
11438
+ * @extends {jspb.Message}
11439
+ * @constructor
11440
+ */
11441
+ proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest = function(opt_data) {
11442
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
11443
+ };
11444
+ goog.inherits(proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest, jspb.Message);
11445
+ if (goog.DEBUG && !COMPILED) {
11446
+ proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest.displayName = 'proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest';
11447
+ }
11448
+
11449
+
11450
+ if (jspb.Message.GENERATE_TO_OBJECT) {
11451
+ /**
11452
+ * Creates an object representation of this proto suitable for use in Soy templates.
11453
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
11454
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
11455
+ * For the list of reserved names please see:
11456
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
11457
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
11458
+ * for transitional soy proto support: http://goto/soy-param-migration
11459
+ * @return {!Object}
11460
+ */
11461
+ proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest.prototype.toObject = function(opt_includeInstance) {
11462
+ return proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest.toObject(opt_includeInstance, this);
11463
+ };
11464
+
11465
+
11466
+ /**
11467
+ * Static version of the {@see toObject} method.
11468
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
11469
+ * instance for transitional soy proto support:
11470
+ * http://goto/soy-param-migration
11471
+ * @param {!proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest} msg The msg instance to transform.
11472
+ * @return {!Object}
11473
+ */
11474
+ proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest.toObject = function(includeInstance, msg) {
11475
+ var f, obj = {
11476
+ data: (f = msg.getData()) && proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.toObject(includeInstance, f)
11477
+ };
11478
+
11479
+ if (includeInstance) {
11480
+ obj.$jspbMessageInstance = msg;
11481
+ }
11482
+ return obj;
11483
+ };
11484
+ }
11485
+
11486
+
11487
+ /**
11488
+ * Deserializes binary data (in protobuf wire format).
11489
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
11490
+ * @return {!proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest}
11491
+ */
11492
+ proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest.deserializeBinary = function(bytes) {
11493
+ var reader = new jspb.BinaryReader(bytes);
11494
+ var msg = new proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest;
11495
+ return proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest.deserializeBinaryFromReader(msg, reader);
11496
+ };
11497
+
11498
+
11499
+ /**
11500
+ * Deserializes binary data (in protobuf wire format) from the
11501
+ * given reader into the given message object.
11502
+ * @param {!proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest} msg The message object to deserialize into.
11503
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
11504
+ * @return {!proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest}
11505
+ */
11506
+ proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest.deserializeBinaryFromReader = function(msg, reader) {
11507
+ while (reader.nextField()) {
11508
+ if (reader.isEndGroup()) {
11509
+ break;
11510
+ }
11511
+ var field = reader.getFieldNumber();
11512
+ switch (field) {
11513
+ case 1:
11514
+ var value = new proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest;
11515
+ reader.readMessage(value,proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.deserializeBinaryFromReader);
11516
+ msg.setData(value);
11517
+ break;
11518
+ default:
11519
+ reader.skipField();
11520
+ break;
11521
+ }
11522
+ }
11523
+ return msg;
11524
+ };
11525
+
11526
+
11527
+ /**
11528
+ * Class method variant: serializes the given message to binary data
11529
+ * (in protobuf wire format), writing to the given BinaryWriter.
11530
+ * @param {!proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest} message
11531
+ * @param {!jspb.BinaryWriter} writer
11532
+ */
11533
+ proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest.serializeBinaryToWriter = function(message, writer) {
11534
+ message.serializeBinaryToWriter(writer);
11535
+ };
11536
+
11537
+
11538
+ /**
11539
+ * Serializes the message to binary data (in protobuf wire format).
11540
+ * @return {!Uint8Array}
11541
+ */
11542
+ proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest.prototype.serializeBinary = function() {
11543
+ var writer = new jspb.BinaryWriter();
11544
+ this.serializeBinaryToWriter(writer);
11545
+ return writer.getResultBuffer();
11546
+ };
11547
+
11548
+
11549
+ /**
11550
+ * Serializes the message to binary data (in protobuf wire format),
11551
+ * writing to the given BinaryWriter.
11552
+ * @param {!jspb.BinaryWriter} writer
11553
+ */
11554
+ proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest.prototype.serializeBinaryToWriter = function (writer) {
11555
+ var f = undefined;
11556
+ f = this.getData();
11557
+ if (f != null) {
11558
+ writer.writeMessage(
11559
+ 1,
11560
+ f,
11561
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.serializeBinaryToWriter
11562
+ );
11563
+ }
11564
+ };
11565
+
11566
+
11567
+ /**
11568
+ * Creates a deep clone of this proto. No data is shared with the original.
11569
+ * @return {!proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest} The clone.
11570
+ */
11571
+ proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest.prototype.cloneMessage = function() {
11572
+ return /** @type {!proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest} */ (jspb.Message.cloneMessage(this));
11573
+ };
11574
+
11575
+
11576
+ /**
11577
+ * optional MasterBinLookupOverrideUpdateRequest data = 1;
11578
+ * @return {proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest}
11579
+ */
11580
+ proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest.prototype.getData = function() {
11581
+ return /** @type{proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest} */ (
11582
+ jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest, 1));
11583
+ };
11584
+
11585
+
11586
+ /** @param {proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest|undefined} value */
11587
+ proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest.prototype.setData = function(value) {
11588
+ jspb.Message.setWrapperField(this, 1, value);
11589
+ };
11590
+
11591
+
11592
+ proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest.prototype.clearData = function() {
11593
+ this.setData(undefined);
11594
+ };
11595
+
11596
+
11597
+ /**
11598
+ * Returns whether this field is set.
11599
+ * @return{!boolean}
11600
+ */
11601
+ proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest.prototype.hasData = function() {
11602
+ return jspb.Message.getField(this, 1) != null;
11603
+ };
11604
+
11605
+
11606
+
10753
11607
  /**
10754
11608
  * Generated by JsPbCodeGenerator.
10755
11609
  * @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.2444",
3
+ "version": "0.2.2472",
4
4
  "description": "payment-methods-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",