@sniipwebmaster/payment-methods-client-grpcweb 0.2.616 → 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 +73 -2
- package/package.json +1 -1
|
@@ -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);
|