@sniipwebmaster/payment-methods-client-grpcweb 0.2.608 → 0.2.624
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 +79 -8
- package/package.json +1 -1
|
@@ -5228,7 +5228,7 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodDeleteRequest.prototype.toObjec
|
|
|
5228
5228
|
*/
|
|
5229
5229
|
proto.sniippaymentmethodsserviceapi.PaymentMethodDeleteRequest.toObject = function(includeInstance, msg) {
|
|
5230
5230
|
var f, obj = {
|
|
5231
|
-
|
|
5231
|
+
paymentmethodid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
5232
5232
|
accesstoken: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
5233
5233
|
isconfirmeddelete: jspb.Message.getFieldWithDefault(msg, 3, false)
|
|
5234
5234
|
};
|
|
@@ -5269,7 +5269,7 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodDeleteRequest.deserializeBinary
|
|
|
5269
5269
|
switch (field) {
|
|
5270
5270
|
case 1:
|
|
5271
5271
|
var value = /** @type {number} */ (reader.readInt64());
|
|
5272
|
-
msg.
|
|
5272
|
+
msg.setPaymentmethodid(value);
|
|
5273
5273
|
break;
|
|
5274
5274
|
case 2:
|
|
5275
5275
|
var value = /** @type {string} */ (reader.readString());
|
|
@@ -5308,7 +5308,7 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodDeleteRequest.prototype.seriali
|
|
|
5308
5308
|
*/
|
|
5309
5309
|
proto.sniippaymentmethodsserviceapi.PaymentMethodDeleteRequest.serializeBinaryToWriter = function(message, writer) {
|
|
5310
5310
|
var f = undefined;
|
|
5311
|
-
f = message.
|
|
5311
|
+
f = message.getPaymentmethodid();
|
|
5312
5312
|
if (f !== 0) {
|
|
5313
5313
|
writer.writeInt64(
|
|
5314
5314
|
1,
|
|
@@ -5333,16 +5333,16 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodDeleteRequest.serializeBinaryTo
|
|
|
5333
5333
|
|
|
5334
5334
|
|
|
5335
5335
|
/**
|
|
5336
|
-
* optional int64
|
|
5336
|
+
* optional int64 paymentMethodId = 1;
|
|
5337
5337
|
* @return {number}
|
|
5338
5338
|
*/
|
|
5339
|
-
proto.sniippaymentmethodsserviceapi.PaymentMethodDeleteRequest.prototype.
|
|
5339
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodDeleteRequest.prototype.getPaymentmethodid = function() {
|
|
5340
5340
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
5341
5341
|
};
|
|
5342
5342
|
|
|
5343
5343
|
|
|
5344
5344
|
/** @param {number} value */
|
|
5345
|
-
proto.sniippaymentmethodsserviceapi.PaymentMethodDeleteRequest.prototype.
|
|
5345
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodDeleteRequest.prototype.setPaymentmethodid = function(value) {
|
|
5346
5346
|
jspb.Message.setProto3IntField(this, 1, value);
|
|
5347
5347
|
};
|
|
5348
5348
|
|
|
@@ -7521,7 +7521,8 @@ proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest.prototype.toObje
|
|
|
7521
7521
|
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest.toObject = function(includeInstance, msg) {
|
|
7522
7522
|
var f, obj = {
|
|
7523
7523
|
userid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
7524
|
-
paymentmethodid: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
7524
|
+
paymentmethodid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
7525
|
+
accesstoken: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
7525
7526
|
};
|
|
7526
7527
|
|
|
7527
7528
|
if (includeInstance) {
|
|
@@ -7566,6 +7567,10 @@ proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest.deserializeBinar
|
|
|
7566
7567
|
var value = /** @type {number} */ (reader.readInt64());
|
|
7567
7568
|
msg.setPaymentmethodid(value);
|
|
7568
7569
|
break;
|
|
7570
|
+
case 3:
|
|
7571
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7572
|
+
msg.setAccesstoken(value);
|
|
7573
|
+
break;
|
|
7569
7574
|
default:
|
|
7570
7575
|
reader.skipField();
|
|
7571
7576
|
break;
|
|
@@ -7609,6 +7614,13 @@ proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest.serializeBinaryT
|
|
|
7609
7614
|
f
|
|
7610
7615
|
);
|
|
7611
7616
|
}
|
|
7617
|
+
f = message.getAccesstoken();
|
|
7618
|
+
if (f.length > 0) {
|
|
7619
|
+
writer.writeString(
|
|
7620
|
+
3,
|
|
7621
|
+
f
|
|
7622
|
+
);
|
|
7623
|
+
}
|
|
7612
7624
|
};
|
|
7613
7625
|
|
|
7614
7626
|
|
|
@@ -7642,6 +7654,21 @@ proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest.prototype.setPay
|
|
|
7642
7654
|
};
|
|
7643
7655
|
|
|
7644
7656
|
|
|
7657
|
+
/**
|
|
7658
|
+
* optional string accessToken = 3;
|
|
7659
|
+
* @return {string}
|
|
7660
|
+
*/
|
|
7661
|
+
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest.prototype.getAccesstoken = function() {
|
|
7662
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
7663
|
+
};
|
|
7664
|
+
|
|
7665
|
+
|
|
7666
|
+
/** @param {string} value */
|
|
7667
|
+
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest.prototype.setAccesstoken = function(value) {
|
|
7668
|
+
jspb.Message.setProto3StringField(this, 3, value);
|
|
7669
|
+
};
|
|
7670
|
+
|
|
7671
|
+
|
|
7645
7672
|
|
|
7646
7673
|
/**
|
|
7647
7674
|
* Generated by JsPbCodeGenerator.
|
|
@@ -7690,7 +7717,8 @@ proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse.prototype.toObj
|
|
|
7690
7717
|
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse.toObject = function(includeInstance, msg) {
|
|
7691
7718
|
var f, obj = {
|
|
7692
7719
|
responsecode: (f = msg.getResponsecode()) && proto.sniippaymentmethodsserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
7693
|
-
zenithtoken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
7720
|
+
zenithtoken: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
7721
|
+
creditcard: (f = msg.getCreditcard()) && proto.sniippaymentmethodsserviceapi.CreditCard.toObject(includeInstance, f)
|
|
7694
7722
|
};
|
|
7695
7723
|
|
|
7696
7724
|
if (includeInstance) {
|
|
@@ -7736,6 +7764,11 @@ proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse.deserializeBina
|
|
|
7736
7764
|
var value = /** @type {string} */ (reader.readString());
|
|
7737
7765
|
msg.setZenithtoken(value);
|
|
7738
7766
|
break;
|
|
7767
|
+
case 3:
|
|
7768
|
+
var value = new proto.sniippaymentmethodsserviceapi.CreditCard;
|
|
7769
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.CreditCard.deserializeBinaryFromReader);
|
|
7770
|
+
msg.setCreditcard(value);
|
|
7771
|
+
break;
|
|
7739
7772
|
default:
|
|
7740
7773
|
reader.skipField();
|
|
7741
7774
|
break;
|
|
@@ -7780,6 +7813,14 @@ proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse.serializeBinary
|
|
|
7780
7813
|
f
|
|
7781
7814
|
);
|
|
7782
7815
|
}
|
|
7816
|
+
f = message.getCreditcard();
|
|
7817
|
+
if (f != null) {
|
|
7818
|
+
writer.writeMessage(
|
|
7819
|
+
3,
|
|
7820
|
+
f,
|
|
7821
|
+
proto.sniippaymentmethodsserviceapi.CreditCard.serializeBinaryToWriter
|
|
7822
|
+
);
|
|
7823
|
+
}
|
|
7783
7824
|
};
|
|
7784
7825
|
|
|
7785
7826
|
|
|
@@ -7828,4 +7869,34 @@ proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse.prototype.setZe
|
|
|
7828
7869
|
};
|
|
7829
7870
|
|
|
7830
7871
|
|
|
7872
|
+
/**
|
|
7873
|
+
* optional CreditCard creditCard = 3;
|
|
7874
|
+
* @return {?proto.sniippaymentmethodsserviceapi.CreditCard}
|
|
7875
|
+
*/
|
|
7876
|
+
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse.prototype.getCreditcard = function() {
|
|
7877
|
+
return /** @type{?proto.sniippaymentmethodsserviceapi.CreditCard} */ (
|
|
7878
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.CreditCard, 3));
|
|
7879
|
+
};
|
|
7880
|
+
|
|
7881
|
+
|
|
7882
|
+
/** @param {?proto.sniippaymentmethodsserviceapi.CreditCard|undefined} value */
|
|
7883
|
+
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse.prototype.setCreditcard = function(value) {
|
|
7884
|
+
jspb.Message.setWrapperField(this, 3, value);
|
|
7885
|
+
};
|
|
7886
|
+
|
|
7887
|
+
|
|
7888
|
+
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse.prototype.clearCreditcard = function() {
|
|
7889
|
+
this.setCreditcard(undefined);
|
|
7890
|
+
};
|
|
7891
|
+
|
|
7892
|
+
|
|
7893
|
+
/**
|
|
7894
|
+
* Returns whether this field is set.
|
|
7895
|
+
* @return {!boolean}
|
|
7896
|
+
*/
|
|
7897
|
+
proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse.prototype.hasCreditcard = function() {
|
|
7898
|
+
return jspb.Message.getField(this, 3) != null;
|
|
7899
|
+
};
|
|
7900
|
+
|
|
7901
|
+
|
|
7831
7902
|
goog.object.extend(exports, proto.sniippaymentmethodsserviceapi);
|