@sniipwebmaster/payment-methods-client-grpcweb 26.11.9539 → 26.11.9548
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 +103 -1
- package/package.json +1 -1
|
@@ -5698,7 +5698,9 @@ proto.sniippaymentmethodsserviceapi.AddGuestPaymentMethodRequest.toObject = func
|
|
|
5698
5698
|
billid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
5699
5699
|
creditcard: (f = msg.getCreditcard()) && proto.sniippaymentmethodsserviceapi.CreditCard.toObject(includeInstance, f),
|
|
5700
5700
|
platform: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
5701
|
-
browserinfo: (f = msg.getBrowserinfo()) && proto.sniippaymentmethodsserviceapi.BrowserInfo.toObject(includeInstance, f)
|
|
5701
|
+
browserinfo: (f = msg.getBrowserinfo()) && proto.sniippaymentmethodsserviceapi.BrowserInfo.toObject(includeInstance, f),
|
|
5702
|
+
applepay: (f = msg.getApplepay()) && proto.sniippaymentmethodsserviceapi.ApplePay.toObject(includeInstance, f),
|
|
5703
|
+
googlepay: (f = msg.getGooglepay()) && proto.sniippaymentmethodsserviceapi.GooglePay.toObject(includeInstance, f)
|
|
5702
5704
|
};
|
|
5703
5705
|
|
|
5704
5706
|
if (includeInstance) {
|
|
@@ -5757,6 +5759,16 @@ proto.sniippaymentmethodsserviceapi.AddGuestPaymentMethodRequest.deserializeBina
|
|
|
5757
5759
|
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.BrowserInfo.deserializeBinaryFromReader);
|
|
5758
5760
|
msg.setBrowserinfo(value);
|
|
5759
5761
|
break;
|
|
5762
|
+
case 6:
|
|
5763
|
+
var value = new proto.sniippaymentmethodsserviceapi.ApplePay;
|
|
5764
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.ApplePay.deserializeBinaryFromReader);
|
|
5765
|
+
msg.setApplepay(value);
|
|
5766
|
+
break;
|
|
5767
|
+
case 7:
|
|
5768
|
+
var value = new proto.sniippaymentmethodsserviceapi.GooglePay;
|
|
5769
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.GooglePay.deserializeBinaryFromReader);
|
|
5770
|
+
msg.setGooglepay(value);
|
|
5771
|
+
break;
|
|
5760
5772
|
default:
|
|
5761
5773
|
reader.skipField();
|
|
5762
5774
|
break;
|
|
@@ -5823,6 +5835,22 @@ proto.sniippaymentmethodsserviceapi.AddGuestPaymentMethodRequest.serializeBinary
|
|
|
5823
5835
|
proto.sniippaymentmethodsserviceapi.BrowserInfo.serializeBinaryToWriter
|
|
5824
5836
|
);
|
|
5825
5837
|
}
|
|
5838
|
+
f = message.getApplepay();
|
|
5839
|
+
if (f != null) {
|
|
5840
|
+
writer.writeMessage(
|
|
5841
|
+
6,
|
|
5842
|
+
f,
|
|
5843
|
+
proto.sniippaymentmethodsserviceapi.ApplePay.serializeBinaryToWriter
|
|
5844
|
+
);
|
|
5845
|
+
}
|
|
5846
|
+
f = message.getGooglepay();
|
|
5847
|
+
if (f != null) {
|
|
5848
|
+
writer.writeMessage(
|
|
5849
|
+
7,
|
|
5850
|
+
f,
|
|
5851
|
+
proto.sniippaymentmethodsserviceapi.GooglePay.serializeBinaryToWriter
|
|
5852
|
+
);
|
|
5853
|
+
}
|
|
5826
5854
|
};
|
|
5827
5855
|
|
|
5828
5856
|
|
|
@@ -5954,6 +5982,80 @@ proto.sniippaymentmethodsserviceapi.AddGuestPaymentMethodRequest.prototype.hasBr
|
|
|
5954
5982
|
};
|
|
5955
5983
|
|
|
5956
5984
|
|
|
5985
|
+
/**
|
|
5986
|
+
* optional ApplePay applePay = 6;
|
|
5987
|
+
* @return {?proto.sniippaymentmethodsserviceapi.ApplePay}
|
|
5988
|
+
*/
|
|
5989
|
+
proto.sniippaymentmethodsserviceapi.AddGuestPaymentMethodRequest.prototype.getApplepay = function() {
|
|
5990
|
+
return /** @type{?proto.sniippaymentmethodsserviceapi.ApplePay} */ (
|
|
5991
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.ApplePay, 6));
|
|
5992
|
+
};
|
|
5993
|
+
|
|
5994
|
+
|
|
5995
|
+
/**
|
|
5996
|
+
* @param {?proto.sniippaymentmethodsserviceapi.ApplePay|undefined} value
|
|
5997
|
+
* @return {!proto.sniippaymentmethodsserviceapi.AddGuestPaymentMethodRequest} returns this
|
|
5998
|
+
*/
|
|
5999
|
+
proto.sniippaymentmethodsserviceapi.AddGuestPaymentMethodRequest.prototype.setApplepay = function(value) {
|
|
6000
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
6001
|
+
};
|
|
6002
|
+
|
|
6003
|
+
|
|
6004
|
+
/**
|
|
6005
|
+
* Clears the message field making it undefined.
|
|
6006
|
+
* @return {!proto.sniippaymentmethodsserviceapi.AddGuestPaymentMethodRequest} returns this
|
|
6007
|
+
*/
|
|
6008
|
+
proto.sniippaymentmethodsserviceapi.AddGuestPaymentMethodRequest.prototype.clearApplepay = function() {
|
|
6009
|
+
return this.setApplepay(undefined);
|
|
6010
|
+
};
|
|
6011
|
+
|
|
6012
|
+
|
|
6013
|
+
/**
|
|
6014
|
+
* Returns whether this field is set.
|
|
6015
|
+
* @return {boolean}
|
|
6016
|
+
*/
|
|
6017
|
+
proto.sniippaymentmethodsserviceapi.AddGuestPaymentMethodRequest.prototype.hasApplepay = function() {
|
|
6018
|
+
return jspb.Message.getField(this, 6) != null;
|
|
6019
|
+
};
|
|
6020
|
+
|
|
6021
|
+
|
|
6022
|
+
/**
|
|
6023
|
+
* optional GooglePay googlePay = 7;
|
|
6024
|
+
* @return {?proto.sniippaymentmethodsserviceapi.GooglePay}
|
|
6025
|
+
*/
|
|
6026
|
+
proto.sniippaymentmethodsserviceapi.AddGuestPaymentMethodRequest.prototype.getGooglepay = function() {
|
|
6027
|
+
return /** @type{?proto.sniippaymentmethodsserviceapi.GooglePay} */ (
|
|
6028
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.GooglePay, 7));
|
|
6029
|
+
};
|
|
6030
|
+
|
|
6031
|
+
|
|
6032
|
+
/**
|
|
6033
|
+
* @param {?proto.sniippaymentmethodsserviceapi.GooglePay|undefined} value
|
|
6034
|
+
* @return {!proto.sniippaymentmethodsserviceapi.AddGuestPaymentMethodRequest} returns this
|
|
6035
|
+
*/
|
|
6036
|
+
proto.sniippaymentmethodsserviceapi.AddGuestPaymentMethodRequest.prototype.setGooglepay = function(value) {
|
|
6037
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
6038
|
+
};
|
|
6039
|
+
|
|
6040
|
+
|
|
6041
|
+
/**
|
|
6042
|
+
* Clears the message field making it undefined.
|
|
6043
|
+
* @return {!proto.sniippaymentmethodsserviceapi.AddGuestPaymentMethodRequest} returns this
|
|
6044
|
+
*/
|
|
6045
|
+
proto.sniippaymentmethodsserviceapi.AddGuestPaymentMethodRequest.prototype.clearGooglepay = function() {
|
|
6046
|
+
return this.setGooglepay(undefined);
|
|
6047
|
+
};
|
|
6048
|
+
|
|
6049
|
+
|
|
6050
|
+
/**
|
|
6051
|
+
* Returns whether this field is set.
|
|
6052
|
+
* @return {boolean}
|
|
6053
|
+
*/
|
|
6054
|
+
proto.sniippaymentmethodsserviceapi.AddGuestPaymentMethodRequest.prototype.hasGooglepay = function() {
|
|
6055
|
+
return jspb.Message.getField(this, 7) != null;
|
|
6056
|
+
};
|
|
6057
|
+
|
|
6058
|
+
|
|
5957
6059
|
|
|
5958
6060
|
|
|
5959
6061
|
|