@sniipwebmaster/payment-methods-client-grpcweb-ts 24.13.5812 → 24.13.5832
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.d.ts +38 -0
- package/dependancies/service_pb.js +316 -2
- package/package.json +1 -1
|
@@ -627,6 +627,11 @@ export class BillConfigsForPaymentRequest extends jspb.Message {
|
|
|
627
627
|
hasApplepaydetail(): boolean;
|
|
628
628
|
clearApplepaydetail(): BillConfigsForPaymentRequest;
|
|
629
629
|
|
|
630
|
+
getGooglepaydetail(): GooglePayDetail | undefined;
|
|
631
|
+
setGooglepaydetail(value?: GooglePayDetail): BillConfigsForPaymentRequest;
|
|
632
|
+
hasGooglepaydetail(): boolean;
|
|
633
|
+
clearGooglepaydetail(): BillConfigsForPaymentRequest;
|
|
634
|
+
|
|
630
635
|
serializeBinary(): Uint8Array;
|
|
631
636
|
toObject(includeInstance?: boolean): BillConfigsForPaymentRequest.AsObject;
|
|
632
637
|
static toObject(includeInstance: boolean, msg: BillConfigsForPaymentRequest): BillConfigsForPaymentRequest.AsObject;
|
|
@@ -641,6 +646,7 @@ export namespace BillConfigsForPaymentRequest {
|
|
|
641
646
|
paymentmethodid: number,
|
|
642
647
|
userid: number,
|
|
643
648
|
applepaydetail?: ApplePayDetail.AsObject,
|
|
649
|
+
googlepaydetail?: GooglePayDetail.AsObject,
|
|
644
650
|
}
|
|
645
651
|
}
|
|
646
652
|
|
|
@@ -2566,6 +2572,32 @@ export namespace ValidateApplePayRequest {
|
|
|
2566
2572
|
}
|
|
2567
2573
|
}
|
|
2568
2574
|
|
|
2575
|
+
export class ValidateGooglePayRequest extends jspb.Message {
|
|
2576
|
+
getIsgooglepaycard(): boolean;
|
|
2577
|
+
setIsgooglepaycard(value: boolean): ValidateGooglePayRequest;
|
|
2578
|
+
|
|
2579
|
+
getPaymenttype(): string;
|
|
2580
|
+
setPaymenttype(value: string): ValidateGooglePayRequest;
|
|
2581
|
+
|
|
2582
|
+
getCardvariant(): string;
|
|
2583
|
+
setCardvariant(value: string): ValidateGooglePayRequest;
|
|
2584
|
+
|
|
2585
|
+
serializeBinary(): Uint8Array;
|
|
2586
|
+
toObject(includeInstance?: boolean): ValidateGooglePayRequest.AsObject;
|
|
2587
|
+
static toObject(includeInstance: boolean, msg: ValidateGooglePayRequest): ValidateGooglePayRequest.AsObject;
|
|
2588
|
+
static serializeBinaryToWriter(message: ValidateGooglePayRequest, writer: jspb.BinaryWriter): void;
|
|
2589
|
+
static deserializeBinary(bytes: Uint8Array): ValidateGooglePayRequest;
|
|
2590
|
+
static deserializeBinaryFromReader(message: ValidateGooglePayRequest, reader: jspb.BinaryReader): ValidateGooglePayRequest;
|
|
2591
|
+
}
|
|
2592
|
+
|
|
2593
|
+
export namespace ValidateGooglePayRequest {
|
|
2594
|
+
export type AsObject = {
|
|
2595
|
+
isgooglepaycard: boolean,
|
|
2596
|
+
paymenttype: string,
|
|
2597
|
+
cardvariant: string,
|
|
2598
|
+
}
|
|
2599
|
+
}
|
|
2600
|
+
|
|
2569
2601
|
export class ValidatePaymentMethodsRequest extends jspb.Message {
|
|
2570
2602
|
getUserid(): number;
|
|
2571
2603
|
setUserid(value: number): ValidatePaymentMethodsRequest;
|
|
@@ -2585,6 +2617,11 @@ export class ValidatePaymentMethodsRequest extends jspb.Message {
|
|
|
2585
2617
|
hasApplepaypaymentmethoddetails(): boolean;
|
|
2586
2618
|
clearApplepaypaymentmethoddetails(): ValidatePaymentMethodsRequest;
|
|
2587
2619
|
|
|
2620
|
+
getGooglepaypaymentmethoddetails(): ValidateGooglePayRequest | undefined;
|
|
2621
|
+
setGooglepaypaymentmethoddetails(value?: ValidateGooglePayRequest): ValidatePaymentMethodsRequest;
|
|
2622
|
+
hasGooglepaypaymentmethoddetails(): boolean;
|
|
2623
|
+
clearGooglepaypaymentmethoddetails(): ValidatePaymentMethodsRequest;
|
|
2624
|
+
|
|
2588
2625
|
serializeBinary(): Uint8Array;
|
|
2589
2626
|
toObject(includeInstance?: boolean): ValidatePaymentMethodsRequest.AsObject;
|
|
2590
2627
|
static toObject(includeInstance: boolean, msg: ValidatePaymentMethodsRequest): ValidatePaymentMethodsRequest.AsObject;
|
|
@@ -2599,6 +2636,7 @@ export namespace ValidatePaymentMethodsRequest {
|
|
|
2599
2636
|
paymentmethodidsList: Array<number>,
|
|
2600
2637
|
paymentmethodgroupidsList: Array<number>,
|
|
2601
2638
|
applepaypaymentmethoddetails?: ValidateApplePayRequest.AsObject,
|
|
2639
|
+
googlepaypaymentmethoddetails?: ValidateGooglePayRequest.AsObject,
|
|
2602
2640
|
}
|
|
2603
2641
|
}
|
|
2604
2642
|
|
|
@@ -101,6 +101,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodReques
|
|
|
101
101
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdateWexCard', null, global);
|
|
102
102
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdateWexCardRequest', null, global);
|
|
103
103
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest', null, global);
|
|
104
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ValidateGooglePayRequest', null, global);
|
|
104
105
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ValidatePaymentMethodsRequest', null, global);
|
|
105
106
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ValidatePaymentMethodsResponse', null, global);
|
|
106
107
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ValidatedPaymentMethodsResponse', null, global);
|
|
@@ -1835,6 +1836,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1835
1836
|
*/
|
|
1836
1837
|
proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest.displayName = 'proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest';
|
|
1837
1838
|
}
|
|
1839
|
+
/**
|
|
1840
|
+
* Generated by JsPbCodeGenerator.
|
|
1841
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1842
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1843
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1844
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1845
|
+
* valid.
|
|
1846
|
+
* @extends {jspb.Message}
|
|
1847
|
+
* @constructor
|
|
1848
|
+
*/
|
|
1849
|
+
proto.sniippaymentmethodsserviceapi.ValidateGooglePayRequest = function(opt_data) {
|
|
1850
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1851
|
+
};
|
|
1852
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.ValidateGooglePayRequest, jspb.Message);
|
|
1853
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1854
|
+
/**
|
|
1855
|
+
* @public
|
|
1856
|
+
* @override
|
|
1857
|
+
*/
|
|
1858
|
+
proto.sniippaymentmethodsserviceapi.ValidateGooglePayRequest.displayName = 'proto.sniippaymentmethodsserviceapi.ValidateGooglePayRequest';
|
|
1859
|
+
}
|
|
1838
1860
|
/**
|
|
1839
1861
|
* Generated by JsPbCodeGenerator.
|
|
1840
1862
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -6654,7 +6676,8 @@ proto.sniippaymentmethodsserviceapi.BillConfigsForPaymentRequest.toObject = func
|
|
|
6654
6676
|
billidsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
6655
6677
|
paymentmethodid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
6656
6678
|
userid: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
6657
|
-
applepaydetail: (f = msg.getApplepaydetail()) && proto.sniippaymentmethodsserviceapi.ApplePayDetail.toObject(includeInstance, f)
|
|
6679
|
+
applepaydetail: (f = msg.getApplepaydetail()) && proto.sniippaymentmethodsserviceapi.ApplePayDetail.toObject(includeInstance, f),
|
|
6680
|
+
googlepaydetail: (f = msg.getGooglepaydetail()) && proto.sniippaymentmethodsserviceapi.GooglePayDetail.toObject(includeInstance, f)
|
|
6658
6681
|
};
|
|
6659
6682
|
|
|
6660
6683
|
if (includeInstance) {
|
|
@@ -6710,6 +6733,11 @@ proto.sniippaymentmethodsserviceapi.BillConfigsForPaymentRequest.deserializeBina
|
|
|
6710
6733
|
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.ApplePayDetail.deserializeBinaryFromReader);
|
|
6711
6734
|
msg.setApplepaydetail(value);
|
|
6712
6735
|
break;
|
|
6736
|
+
case 5:
|
|
6737
|
+
var value = new proto.sniippaymentmethodsserviceapi.GooglePayDetail;
|
|
6738
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.GooglePayDetail.deserializeBinaryFromReader);
|
|
6739
|
+
msg.setGooglepaydetail(value);
|
|
6740
|
+
break;
|
|
6713
6741
|
default:
|
|
6714
6742
|
reader.skipField();
|
|
6715
6743
|
break;
|
|
@@ -6768,6 +6796,14 @@ proto.sniippaymentmethodsserviceapi.BillConfigsForPaymentRequest.serializeBinary
|
|
|
6768
6796
|
proto.sniippaymentmethodsserviceapi.ApplePayDetail.serializeBinaryToWriter
|
|
6769
6797
|
);
|
|
6770
6798
|
}
|
|
6799
|
+
f = message.getGooglepaydetail();
|
|
6800
|
+
if (f != null) {
|
|
6801
|
+
writer.writeMessage(
|
|
6802
|
+
5,
|
|
6803
|
+
f,
|
|
6804
|
+
proto.sniippaymentmethodsserviceapi.GooglePayDetail.serializeBinaryToWriter
|
|
6805
|
+
);
|
|
6806
|
+
}
|
|
6771
6807
|
};
|
|
6772
6808
|
|
|
6773
6809
|
|
|
@@ -6881,6 +6917,43 @@ proto.sniippaymentmethodsserviceapi.BillConfigsForPaymentRequest.prototype.hasAp
|
|
|
6881
6917
|
};
|
|
6882
6918
|
|
|
6883
6919
|
|
|
6920
|
+
/**
|
|
6921
|
+
* optional GooglePayDetail googlePayDetail = 5;
|
|
6922
|
+
* @return {?proto.sniippaymentmethodsserviceapi.GooglePayDetail}
|
|
6923
|
+
*/
|
|
6924
|
+
proto.sniippaymentmethodsserviceapi.BillConfigsForPaymentRequest.prototype.getGooglepaydetail = function() {
|
|
6925
|
+
return /** @type{?proto.sniippaymentmethodsserviceapi.GooglePayDetail} */ (
|
|
6926
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.GooglePayDetail, 5));
|
|
6927
|
+
};
|
|
6928
|
+
|
|
6929
|
+
|
|
6930
|
+
/**
|
|
6931
|
+
* @param {?proto.sniippaymentmethodsserviceapi.GooglePayDetail|undefined} value
|
|
6932
|
+
* @return {!proto.sniippaymentmethodsserviceapi.BillConfigsForPaymentRequest} returns this
|
|
6933
|
+
*/
|
|
6934
|
+
proto.sniippaymentmethodsserviceapi.BillConfigsForPaymentRequest.prototype.setGooglepaydetail = function(value) {
|
|
6935
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
6936
|
+
};
|
|
6937
|
+
|
|
6938
|
+
|
|
6939
|
+
/**
|
|
6940
|
+
* Clears the message field making it undefined.
|
|
6941
|
+
* @return {!proto.sniippaymentmethodsserviceapi.BillConfigsForPaymentRequest} returns this
|
|
6942
|
+
*/
|
|
6943
|
+
proto.sniippaymentmethodsserviceapi.BillConfigsForPaymentRequest.prototype.clearGooglepaydetail = function() {
|
|
6944
|
+
return this.setGooglepaydetail(undefined);
|
|
6945
|
+
};
|
|
6946
|
+
|
|
6947
|
+
|
|
6948
|
+
/**
|
|
6949
|
+
* Returns whether this field is set.
|
|
6950
|
+
* @return {boolean}
|
|
6951
|
+
*/
|
|
6952
|
+
proto.sniippaymentmethodsserviceapi.BillConfigsForPaymentRequest.prototype.hasGooglepaydetail = function() {
|
|
6953
|
+
return jspb.Message.getField(this, 5) != null;
|
|
6954
|
+
};
|
|
6955
|
+
|
|
6956
|
+
|
|
6884
6957
|
|
|
6885
6958
|
/**
|
|
6886
6959
|
* List of repeated fields within this message type.
|
|
@@ -21442,6 +21515,196 @@ proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest.prototype.setCardvar
|
|
|
21442
21515
|
|
|
21443
21516
|
|
|
21444
21517
|
|
|
21518
|
+
|
|
21519
|
+
|
|
21520
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
21521
|
+
/**
|
|
21522
|
+
* Creates an object representation of this proto.
|
|
21523
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
21524
|
+
* Optional fields that are not set will be set to undefined.
|
|
21525
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
21526
|
+
* For the list of reserved names please see:
|
|
21527
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
21528
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
21529
|
+
* JSPB instance for transitional soy proto support:
|
|
21530
|
+
* http://goto/soy-param-migration
|
|
21531
|
+
* @return {!Object}
|
|
21532
|
+
*/
|
|
21533
|
+
proto.sniippaymentmethodsserviceapi.ValidateGooglePayRequest.prototype.toObject = function(opt_includeInstance) {
|
|
21534
|
+
return proto.sniippaymentmethodsserviceapi.ValidateGooglePayRequest.toObject(opt_includeInstance, this);
|
|
21535
|
+
};
|
|
21536
|
+
|
|
21537
|
+
|
|
21538
|
+
/**
|
|
21539
|
+
* Static version of the {@see toObject} method.
|
|
21540
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
21541
|
+
* the JSPB instance for transitional soy proto support:
|
|
21542
|
+
* http://goto/soy-param-migration
|
|
21543
|
+
* @param {!proto.sniippaymentmethodsserviceapi.ValidateGooglePayRequest} msg The msg instance to transform.
|
|
21544
|
+
* @return {!Object}
|
|
21545
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21546
|
+
*/
|
|
21547
|
+
proto.sniippaymentmethodsserviceapi.ValidateGooglePayRequest.toObject = function(includeInstance, msg) {
|
|
21548
|
+
var f, obj = {
|
|
21549
|
+
isgooglepaycard: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
21550
|
+
paymenttype: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
21551
|
+
cardvariant: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
21552
|
+
};
|
|
21553
|
+
|
|
21554
|
+
if (includeInstance) {
|
|
21555
|
+
obj.$jspbMessageInstance = msg;
|
|
21556
|
+
}
|
|
21557
|
+
return obj;
|
|
21558
|
+
};
|
|
21559
|
+
}
|
|
21560
|
+
|
|
21561
|
+
|
|
21562
|
+
/**
|
|
21563
|
+
* Deserializes binary data (in protobuf wire format).
|
|
21564
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
21565
|
+
* @return {!proto.sniippaymentmethodsserviceapi.ValidateGooglePayRequest}
|
|
21566
|
+
*/
|
|
21567
|
+
proto.sniippaymentmethodsserviceapi.ValidateGooglePayRequest.deserializeBinary = function(bytes) {
|
|
21568
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
21569
|
+
var msg = new proto.sniippaymentmethodsserviceapi.ValidateGooglePayRequest;
|
|
21570
|
+
return proto.sniippaymentmethodsserviceapi.ValidateGooglePayRequest.deserializeBinaryFromReader(msg, reader);
|
|
21571
|
+
};
|
|
21572
|
+
|
|
21573
|
+
|
|
21574
|
+
/**
|
|
21575
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
21576
|
+
* given reader into the given message object.
|
|
21577
|
+
* @param {!proto.sniippaymentmethodsserviceapi.ValidateGooglePayRequest} msg The message object to deserialize into.
|
|
21578
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
21579
|
+
* @return {!proto.sniippaymentmethodsserviceapi.ValidateGooglePayRequest}
|
|
21580
|
+
*/
|
|
21581
|
+
proto.sniippaymentmethodsserviceapi.ValidateGooglePayRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
21582
|
+
while (reader.nextField()) {
|
|
21583
|
+
if (reader.isEndGroup()) {
|
|
21584
|
+
break;
|
|
21585
|
+
}
|
|
21586
|
+
var field = reader.getFieldNumber();
|
|
21587
|
+
switch (field) {
|
|
21588
|
+
case 1:
|
|
21589
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
21590
|
+
msg.setIsgooglepaycard(value);
|
|
21591
|
+
break;
|
|
21592
|
+
case 2:
|
|
21593
|
+
var value = /** @type {string} */ (reader.readString());
|
|
21594
|
+
msg.setPaymenttype(value);
|
|
21595
|
+
break;
|
|
21596
|
+
case 3:
|
|
21597
|
+
var value = /** @type {string} */ (reader.readString());
|
|
21598
|
+
msg.setCardvariant(value);
|
|
21599
|
+
break;
|
|
21600
|
+
default:
|
|
21601
|
+
reader.skipField();
|
|
21602
|
+
break;
|
|
21603
|
+
}
|
|
21604
|
+
}
|
|
21605
|
+
return msg;
|
|
21606
|
+
};
|
|
21607
|
+
|
|
21608
|
+
|
|
21609
|
+
/**
|
|
21610
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
21611
|
+
* @return {!Uint8Array}
|
|
21612
|
+
*/
|
|
21613
|
+
proto.sniippaymentmethodsserviceapi.ValidateGooglePayRequest.prototype.serializeBinary = function() {
|
|
21614
|
+
var writer = new jspb.BinaryWriter();
|
|
21615
|
+
proto.sniippaymentmethodsserviceapi.ValidateGooglePayRequest.serializeBinaryToWriter(this, writer);
|
|
21616
|
+
return writer.getResultBuffer();
|
|
21617
|
+
};
|
|
21618
|
+
|
|
21619
|
+
|
|
21620
|
+
/**
|
|
21621
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
21622
|
+
* format), writing to the given BinaryWriter.
|
|
21623
|
+
* @param {!proto.sniippaymentmethodsserviceapi.ValidateGooglePayRequest} message
|
|
21624
|
+
* @param {!jspb.BinaryWriter} writer
|
|
21625
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21626
|
+
*/
|
|
21627
|
+
proto.sniippaymentmethodsserviceapi.ValidateGooglePayRequest.serializeBinaryToWriter = function(message, writer) {
|
|
21628
|
+
var f = undefined;
|
|
21629
|
+
f = message.getIsgooglepaycard();
|
|
21630
|
+
if (f) {
|
|
21631
|
+
writer.writeBool(
|
|
21632
|
+
1,
|
|
21633
|
+
f
|
|
21634
|
+
);
|
|
21635
|
+
}
|
|
21636
|
+
f = message.getPaymenttype();
|
|
21637
|
+
if (f.length > 0) {
|
|
21638
|
+
writer.writeString(
|
|
21639
|
+
2,
|
|
21640
|
+
f
|
|
21641
|
+
);
|
|
21642
|
+
}
|
|
21643
|
+
f = message.getCardvariant();
|
|
21644
|
+
if (f.length > 0) {
|
|
21645
|
+
writer.writeString(
|
|
21646
|
+
3,
|
|
21647
|
+
f
|
|
21648
|
+
);
|
|
21649
|
+
}
|
|
21650
|
+
};
|
|
21651
|
+
|
|
21652
|
+
|
|
21653
|
+
/**
|
|
21654
|
+
* optional bool isGooglePayCard = 1;
|
|
21655
|
+
* @return {boolean}
|
|
21656
|
+
*/
|
|
21657
|
+
proto.sniippaymentmethodsserviceapi.ValidateGooglePayRequest.prototype.getIsgooglepaycard = function() {
|
|
21658
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
21659
|
+
};
|
|
21660
|
+
|
|
21661
|
+
|
|
21662
|
+
/**
|
|
21663
|
+
* @param {boolean} value
|
|
21664
|
+
* @return {!proto.sniippaymentmethodsserviceapi.ValidateGooglePayRequest} returns this
|
|
21665
|
+
*/
|
|
21666
|
+
proto.sniippaymentmethodsserviceapi.ValidateGooglePayRequest.prototype.setIsgooglepaycard = function(value) {
|
|
21667
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
21668
|
+
};
|
|
21669
|
+
|
|
21670
|
+
|
|
21671
|
+
/**
|
|
21672
|
+
* optional string paymentType = 2;
|
|
21673
|
+
* @return {string}
|
|
21674
|
+
*/
|
|
21675
|
+
proto.sniippaymentmethodsserviceapi.ValidateGooglePayRequest.prototype.getPaymenttype = function() {
|
|
21676
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
21677
|
+
};
|
|
21678
|
+
|
|
21679
|
+
|
|
21680
|
+
/**
|
|
21681
|
+
* @param {string} value
|
|
21682
|
+
* @return {!proto.sniippaymentmethodsserviceapi.ValidateGooglePayRequest} returns this
|
|
21683
|
+
*/
|
|
21684
|
+
proto.sniippaymentmethodsserviceapi.ValidateGooglePayRequest.prototype.setPaymenttype = function(value) {
|
|
21685
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
21686
|
+
};
|
|
21687
|
+
|
|
21688
|
+
|
|
21689
|
+
/**
|
|
21690
|
+
* optional string cardVariant = 3;
|
|
21691
|
+
* @return {string}
|
|
21692
|
+
*/
|
|
21693
|
+
proto.sniippaymentmethodsserviceapi.ValidateGooglePayRequest.prototype.getCardvariant = function() {
|
|
21694
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
21695
|
+
};
|
|
21696
|
+
|
|
21697
|
+
|
|
21698
|
+
/**
|
|
21699
|
+
* @param {string} value
|
|
21700
|
+
* @return {!proto.sniippaymentmethodsserviceapi.ValidateGooglePayRequest} returns this
|
|
21701
|
+
*/
|
|
21702
|
+
proto.sniippaymentmethodsserviceapi.ValidateGooglePayRequest.prototype.setCardvariant = function(value) {
|
|
21703
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
21704
|
+
};
|
|
21705
|
+
|
|
21706
|
+
|
|
21707
|
+
|
|
21445
21708
|
/**
|
|
21446
21709
|
* List of repeated fields within this message type.
|
|
21447
21710
|
* @private {!Array<number>}
|
|
@@ -21483,7 +21746,8 @@ proto.sniippaymentmethodsserviceapi.ValidatePaymentMethodsRequest.toObject = fun
|
|
|
21483
21746
|
userid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
21484
21747
|
paymentmethodidsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
21485
21748
|
paymentmethodgroupidsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
21486
|
-
applepaypaymentmethoddetails: (f = msg.getApplepaypaymentmethoddetails()) && proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest.toObject(includeInstance, f)
|
|
21749
|
+
applepaypaymentmethoddetails: (f = msg.getApplepaypaymentmethoddetails()) && proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest.toObject(includeInstance, f),
|
|
21750
|
+
googlepaypaymentmethoddetails: (f = msg.getGooglepaypaymentmethoddetails()) && proto.sniippaymentmethodsserviceapi.ValidateGooglePayRequest.toObject(includeInstance, f)
|
|
21487
21751
|
};
|
|
21488
21752
|
|
|
21489
21753
|
if (includeInstance) {
|
|
@@ -21541,6 +21805,11 @@ proto.sniippaymentmethodsserviceapi.ValidatePaymentMethodsRequest.deserializeBin
|
|
|
21541
21805
|
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest.deserializeBinaryFromReader);
|
|
21542
21806
|
msg.setApplepaypaymentmethoddetails(value);
|
|
21543
21807
|
break;
|
|
21808
|
+
case 5:
|
|
21809
|
+
var value = new proto.sniippaymentmethodsserviceapi.ValidateGooglePayRequest;
|
|
21810
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.ValidateGooglePayRequest.deserializeBinaryFromReader);
|
|
21811
|
+
msg.setGooglepaypaymentmethoddetails(value);
|
|
21812
|
+
break;
|
|
21544
21813
|
default:
|
|
21545
21814
|
reader.skipField();
|
|
21546
21815
|
break;
|
|
@@ -21599,6 +21868,14 @@ proto.sniippaymentmethodsserviceapi.ValidatePaymentMethodsRequest.serializeBinar
|
|
|
21599
21868
|
proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest.serializeBinaryToWriter
|
|
21600
21869
|
);
|
|
21601
21870
|
}
|
|
21871
|
+
f = message.getGooglepaypaymentmethoddetails();
|
|
21872
|
+
if (f != null) {
|
|
21873
|
+
writer.writeMessage(
|
|
21874
|
+
5,
|
|
21875
|
+
f,
|
|
21876
|
+
proto.sniippaymentmethodsserviceapi.ValidateGooglePayRequest.serializeBinaryToWriter
|
|
21877
|
+
);
|
|
21878
|
+
}
|
|
21602
21879
|
};
|
|
21603
21880
|
|
|
21604
21881
|
|
|
@@ -21731,6 +22008,43 @@ proto.sniippaymentmethodsserviceapi.ValidatePaymentMethodsRequest.prototype.hasA
|
|
|
21731
22008
|
};
|
|
21732
22009
|
|
|
21733
22010
|
|
|
22011
|
+
/**
|
|
22012
|
+
* optional ValidateGooglePayRequest googlePayPaymentMethodDetails = 5;
|
|
22013
|
+
* @return {?proto.sniippaymentmethodsserviceapi.ValidateGooglePayRequest}
|
|
22014
|
+
*/
|
|
22015
|
+
proto.sniippaymentmethodsserviceapi.ValidatePaymentMethodsRequest.prototype.getGooglepaypaymentmethoddetails = function() {
|
|
22016
|
+
return /** @type{?proto.sniippaymentmethodsserviceapi.ValidateGooglePayRequest} */ (
|
|
22017
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.ValidateGooglePayRequest, 5));
|
|
22018
|
+
};
|
|
22019
|
+
|
|
22020
|
+
|
|
22021
|
+
/**
|
|
22022
|
+
* @param {?proto.sniippaymentmethodsserviceapi.ValidateGooglePayRequest|undefined} value
|
|
22023
|
+
* @return {!proto.sniippaymentmethodsserviceapi.ValidatePaymentMethodsRequest} returns this
|
|
22024
|
+
*/
|
|
22025
|
+
proto.sniippaymentmethodsserviceapi.ValidatePaymentMethodsRequest.prototype.setGooglepaypaymentmethoddetails = function(value) {
|
|
22026
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
22027
|
+
};
|
|
22028
|
+
|
|
22029
|
+
|
|
22030
|
+
/**
|
|
22031
|
+
* Clears the message field making it undefined.
|
|
22032
|
+
* @return {!proto.sniippaymentmethodsserviceapi.ValidatePaymentMethodsRequest} returns this
|
|
22033
|
+
*/
|
|
22034
|
+
proto.sniippaymentmethodsserviceapi.ValidatePaymentMethodsRequest.prototype.clearGooglepaypaymentmethoddetails = function() {
|
|
22035
|
+
return this.setGooglepaypaymentmethoddetails(undefined);
|
|
22036
|
+
};
|
|
22037
|
+
|
|
22038
|
+
|
|
22039
|
+
/**
|
|
22040
|
+
* Returns whether this field is set.
|
|
22041
|
+
* @return {boolean}
|
|
22042
|
+
*/
|
|
22043
|
+
proto.sniippaymentmethodsserviceapi.ValidatePaymentMethodsRequest.prototype.hasGooglepaypaymentmethoddetails = function() {
|
|
22044
|
+
return jspb.Message.getField(this, 5) != null;
|
|
22045
|
+
};
|
|
22046
|
+
|
|
22047
|
+
|
|
21734
22048
|
|
|
21735
22049
|
/**
|
|
21736
22050
|
* List of repeated fields within this message type.
|