@sniipwebmaster/payment-methods-client-grpcweb 0.2.572 → 0.2.584
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.
|
@@ -4761,7 +4761,7 @@ proto.sniippaymentmethodsserviceapi.PaymentMethod.prototype.toObject = function(
|
|
|
4761
4761
|
*/
|
|
4762
4762
|
proto.sniippaymentmethodsserviceapi.PaymentMethod.toObject = function(includeInstance, msg) {
|
|
4763
4763
|
var f, obj = {
|
|
4764
|
-
|
|
4764
|
+
paymentmethodid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
4765
4765
|
paymenttype: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4766
4766
|
maskedcreditcard: (f = msg.getMaskedcreditcard()) && proto.sniippaymentmethodsserviceapi.MaskedCreditCard.toObject(includeInstance, f),
|
|
4767
4767
|
bankaccount: (f = msg.getBankaccount()) && proto.sniippaymentmethodsserviceapi.BankAccount.toObject(includeInstance, f),
|
|
@@ -4805,7 +4805,7 @@ proto.sniippaymentmethodsserviceapi.PaymentMethod.deserializeBinaryFromReader =
|
|
|
4805
4805
|
switch (field) {
|
|
4806
4806
|
case 1:
|
|
4807
4807
|
var value = /** @type {number} */ (reader.readInt64());
|
|
4808
|
-
msg.
|
|
4808
|
+
msg.setPaymentmethodid(value);
|
|
4809
4809
|
break;
|
|
4810
4810
|
case 2:
|
|
4811
4811
|
var value = /** @type {string} */ (reader.readString());
|
|
@@ -4855,7 +4855,7 @@ proto.sniippaymentmethodsserviceapi.PaymentMethod.prototype.serializeBinary = fu
|
|
|
4855
4855
|
*/
|
|
4856
4856
|
proto.sniippaymentmethodsserviceapi.PaymentMethod.serializeBinaryToWriter = function(message, writer) {
|
|
4857
4857
|
var f = undefined;
|
|
4858
|
-
f = message.
|
|
4858
|
+
f = message.getPaymentmethodid();
|
|
4859
4859
|
if (f !== 0) {
|
|
4860
4860
|
writer.writeInt64(
|
|
4861
4861
|
1,
|
|
@@ -4897,16 +4897,16 @@ proto.sniippaymentmethodsserviceapi.PaymentMethod.serializeBinaryToWriter = func
|
|
|
4897
4897
|
|
|
4898
4898
|
|
|
4899
4899
|
/**
|
|
4900
|
-
* optional int64
|
|
4900
|
+
* optional int64 paymentMethodId = 1;
|
|
4901
4901
|
* @return {number}
|
|
4902
4902
|
*/
|
|
4903
|
-
proto.sniippaymentmethodsserviceapi.PaymentMethod.prototype.
|
|
4903
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethod.prototype.getPaymentmethodid = function() {
|
|
4904
4904
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
4905
4905
|
};
|
|
4906
4906
|
|
|
4907
4907
|
|
|
4908
4908
|
/** @param {number} value */
|
|
4909
|
-
proto.sniippaymentmethodsserviceapi.PaymentMethod.prototype.
|
|
4909
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethod.prototype.setPaymentmethodid = function(value) {
|
|
4910
4910
|
jspb.Message.setProto3IntField(this, 1, value);
|
|
4911
4911
|
};
|
|
4912
4912
|
|