@sniipwebmaster/payment-methods-client-grpcweb 0.2.1516 → 0.2.1550
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.
|
@@ -805,6 +805,61 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseC
|
|
|
805
805
|
};
|
|
806
806
|
|
|
807
807
|
|
|
808
|
+
/**
|
|
809
|
+
* @const
|
|
810
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
811
|
+
* !proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest,
|
|
812
|
+
* !proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse>}
|
|
813
|
+
*/
|
|
814
|
+
const methodInfo_SniipPaymentMethodsServiceAPIService_GetPaymentMethodsInternal = new grpc.web.AbstractClientBase.MethodInfo(
|
|
815
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse,
|
|
816
|
+
/** @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest} request */
|
|
817
|
+
function(request) {
|
|
818
|
+
return request.serializeBinary();
|
|
819
|
+
},
|
|
820
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.deserializeBinary
|
|
821
|
+
);
|
|
822
|
+
|
|
823
|
+
|
|
824
|
+
/**
|
|
825
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest} request The
|
|
826
|
+
* request proto
|
|
827
|
+
* @param {?Object<string, string>} metadata User defined
|
|
828
|
+
* call metadata
|
|
829
|
+
* @param {function(?grpc.web.Error, ?proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse)}
|
|
830
|
+
* callback The callback function(error, response)
|
|
831
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse>|undefined}
|
|
832
|
+
* The XHR Node Readable Stream
|
|
833
|
+
*/
|
|
834
|
+
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.prototype.getPaymentMethodsInternal =
|
|
835
|
+
function(request, metadata, callback) {
|
|
836
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
837
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetPaymentMethodsInternal',
|
|
838
|
+
request,
|
|
839
|
+
metadata || {},
|
|
840
|
+
methodInfo_SniipPaymentMethodsServiceAPIService_GetPaymentMethodsInternal,
|
|
841
|
+
callback);
|
|
842
|
+
};
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
/**
|
|
846
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest} request The
|
|
847
|
+
* request proto
|
|
848
|
+
* @param {?Object<string, string>} metadata User defined
|
|
849
|
+
* call metadata
|
|
850
|
+
* @return {!Promise<!proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse>}
|
|
851
|
+
* A native promise that resolves to the response
|
|
852
|
+
*/
|
|
853
|
+
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.getPaymentMethodsInternal =
|
|
854
|
+
function(request, metadata) {
|
|
855
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
856
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetPaymentMethodsInternal',
|
|
857
|
+
request,
|
|
858
|
+
metadata || {},
|
|
859
|
+
methodInfo_SniipPaymentMethodsServiceAPIService_GetPaymentMethodsInternal);
|
|
860
|
+
};
|
|
861
|
+
|
|
862
|
+
|
|
808
863
|
/**
|
|
809
864
|
* @const
|
|
810
865
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
@@ -36,6 +36,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymen
|
|
|
36
36
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodRequest', null, global);
|
|
37
37
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodResponse', null, global);
|
|
38
38
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodsForAuditRequest', null, global);
|
|
39
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest', null, global);
|
|
39
40
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodsRequest', null, global);
|
|
40
41
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest', null, global);
|
|
41
42
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.MaskedCreditCard', null, global);
|
|
@@ -46,6 +47,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentRe
|
|
|
46
47
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodResponse', null, global);
|
|
47
48
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest', null, global);
|
|
48
49
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest', null, global);
|
|
50
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest', null, global);
|
|
49
51
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse', null, global);
|
|
50
52
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.RemovePaymentMethodRequest', null, global);
|
|
51
53
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ResponseCode', null, global);
|
|
@@ -2299,7 +2301,9 @@ proto.sniippaymentmethodsserviceapi.CreditCard.toObject = function(includeInstan
|
|
|
2299
2301
|
tokenisedcreditcardid: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
2300
2302
|
bankname: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
2301
2303
|
banklogoname: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
2302
|
-
colourscheme: (f = msg.getColourscheme()) && proto.sniippaymentmethodsserviceapi.ColourScheme.toObject(includeInstance, f)
|
|
2304
|
+
colourscheme: (f = msg.getColourscheme()) && proto.sniippaymentmethodsserviceapi.ColourScheme.toObject(includeInstance, f),
|
|
2305
|
+
iscreditcard: jspb.Message.getFieldWithDefault(msg, 12, false),
|
|
2306
|
+
isdebitcard: jspb.Message.getFieldWithDefault(msg, 13, false)
|
|
2303
2307
|
};
|
|
2304
2308
|
|
|
2305
2309
|
if (includeInstance) {
|
|
@@ -2381,6 +2385,14 @@ proto.sniippaymentmethodsserviceapi.CreditCard.deserializeBinaryFromReader = fun
|
|
|
2381
2385
|
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.ColourScheme.deserializeBinaryFromReader);
|
|
2382
2386
|
msg.setColourscheme(value);
|
|
2383
2387
|
break;
|
|
2388
|
+
case 12:
|
|
2389
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
2390
|
+
msg.setIscreditcard(value);
|
|
2391
|
+
break;
|
|
2392
|
+
case 13:
|
|
2393
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
2394
|
+
msg.setIsdebitcard(value);
|
|
2395
|
+
break;
|
|
2384
2396
|
default:
|
|
2385
2397
|
reader.skipField();
|
|
2386
2398
|
break;
|
|
@@ -2488,6 +2500,20 @@ proto.sniippaymentmethodsserviceapi.CreditCard.serializeBinaryToWriter = functio
|
|
|
2488
2500
|
proto.sniippaymentmethodsserviceapi.ColourScheme.serializeBinaryToWriter
|
|
2489
2501
|
);
|
|
2490
2502
|
}
|
|
2503
|
+
f = message.getIscreditcard();
|
|
2504
|
+
if (f) {
|
|
2505
|
+
writer.writeBool(
|
|
2506
|
+
12,
|
|
2507
|
+
f
|
|
2508
|
+
);
|
|
2509
|
+
}
|
|
2510
|
+
f = message.getIsdebitcard();
|
|
2511
|
+
if (f) {
|
|
2512
|
+
writer.writeBool(
|
|
2513
|
+
13,
|
|
2514
|
+
f
|
|
2515
|
+
);
|
|
2516
|
+
}
|
|
2491
2517
|
};
|
|
2492
2518
|
|
|
2493
2519
|
|
|
@@ -2671,6 +2697,40 @@ proto.sniippaymentmethodsserviceapi.CreditCard.prototype.hasColourscheme = funct
|
|
|
2671
2697
|
};
|
|
2672
2698
|
|
|
2673
2699
|
|
|
2700
|
+
/**
|
|
2701
|
+
* optional bool isCreditCard = 12;
|
|
2702
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
2703
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
2704
|
+
* @return {boolean}
|
|
2705
|
+
*/
|
|
2706
|
+
proto.sniippaymentmethodsserviceapi.CreditCard.prototype.getIscreditcard = function() {
|
|
2707
|
+
return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 12, false));
|
|
2708
|
+
};
|
|
2709
|
+
|
|
2710
|
+
|
|
2711
|
+
/** @param {boolean} value */
|
|
2712
|
+
proto.sniippaymentmethodsserviceapi.CreditCard.prototype.setIscreditcard = function(value) {
|
|
2713
|
+
jspb.Message.setProto3BooleanField(this, 12, value);
|
|
2714
|
+
};
|
|
2715
|
+
|
|
2716
|
+
|
|
2717
|
+
/**
|
|
2718
|
+
* optional bool isDebitCard = 13;
|
|
2719
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
2720
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
2721
|
+
* @return {boolean}
|
|
2722
|
+
*/
|
|
2723
|
+
proto.sniippaymentmethodsserviceapi.CreditCard.prototype.getIsdebitcard = function() {
|
|
2724
|
+
return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 13, false));
|
|
2725
|
+
};
|
|
2726
|
+
|
|
2727
|
+
|
|
2728
|
+
/** @param {boolean} value */
|
|
2729
|
+
proto.sniippaymentmethodsserviceapi.CreditCard.prototype.setIsdebitcard = function(value) {
|
|
2730
|
+
jspb.Message.setProto3BooleanField(this, 13, value);
|
|
2731
|
+
};
|
|
2732
|
+
|
|
2733
|
+
|
|
2674
2734
|
|
|
2675
2735
|
/**
|
|
2676
2736
|
* Generated by JsPbCodeGenerator.
|
|
@@ -4924,6 +4984,165 @@ proto.sniippaymentmethodsserviceapi.GetPaymentMethodsForAuditRequest.prototype.h
|
|
|
4924
4984
|
|
|
4925
4985
|
|
|
4926
4986
|
|
|
4987
|
+
/**
|
|
4988
|
+
* Generated by JsPbCodeGenerator.
|
|
4989
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4990
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4991
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4992
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4993
|
+
* valid.
|
|
4994
|
+
* @extends {jspb.Message}
|
|
4995
|
+
* @constructor
|
|
4996
|
+
*/
|
|
4997
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest = function(opt_data) {
|
|
4998
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4999
|
+
};
|
|
5000
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest, jspb.Message);
|
|
5001
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5002
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest.displayName = 'proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest';
|
|
5003
|
+
}
|
|
5004
|
+
|
|
5005
|
+
|
|
5006
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5007
|
+
/**
|
|
5008
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
5009
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5010
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5011
|
+
* For the list of reserved names please see:
|
|
5012
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
5013
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
5014
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
5015
|
+
* @return {!Object}
|
|
5016
|
+
*/
|
|
5017
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest.prototype.toObject = function(opt_includeInstance) {
|
|
5018
|
+
return proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest.toObject(opt_includeInstance, this);
|
|
5019
|
+
};
|
|
5020
|
+
|
|
5021
|
+
|
|
5022
|
+
/**
|
|
5023
|
+
* Static version of the {@see toObject} method.
|
|
5024
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
5025
|
+
* instance for transitional soy proto support:
|
|
5026
|
+
* http://goto/soy-param-migration
|
|
5027
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest} msg The msg instance to transform.
|
|
5028
|
+
* @return {!Object}
|
|
5029
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5030
|
+
*/
|
|
5031
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest.toObject = function(includeInstance, msg) {
|
|
5032
|
+
var f, obj = {
|
|
5033
|
+
data: (f = msg.getData()) && proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest.toObject(includeInstance, f)
|
|
5034
|
+
};
|
|
5035
|
+
|
|
5036
|
+
if (includeInstance) {
|
|
5037
|
+
obj.$jspbMessageInstance = msg;
|
|
5038
|
+
}
|
|
5039
|
+
return obj;
|
|
5040
|
+
};
|
|
5041
|
+
}
|
|
5042
|
+
|
|
5043
|
+
|
|
5044
|
+
/**
|
|
5045
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5046
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5047
|
+
* @return {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest}
|
|
5048
|
+
*/
|
|
5049
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest.deserializeBinary = function(bytes) {
|
|
5050
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5051
|
+
var msg = new proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest;
|
|
5052
|
+
return proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest.deserializeBinaryFromReader(msg, reader);
|
|
5053
|
+
};
|
|
5054
|
+
|
|
5055
|
+
|
|
5056
|
+
/**
|
|
5057
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5058
|
+
* given reader into the given message object.
|
|
5059
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest} msg The message object to deserialize into.
|
|
5060
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5061
|
+
* @return {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest}
|
|
5062
|
+
*/
|
|
5063
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
5064
|
+
while (reader.nextField()) {
|
|
5065
|
+
if (reader.isEndGroup()) {
|
|
5066
|
+
break;
|
|
5067
|
+
}
|
|
5068
|
+
var field = reader.getFieldNumber();
|
|
5069
|
+
switch (field) {
|
|
5070
|
+
case 1:
|
|
5071
|
+
var value = new proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest;
|
|
5072
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest.deserializeBinaryFromReader);
|
|
5073
|
+
msg.setData(value);
|
|
5074
|
+
break;
|
|
5075
|
+
default:
|
|
5076
|
+
reader.skipField();
|
|
5077
|
+
break;
|
|
5078
|
+
}
|
|
5079
|
+
}
|
|
5080
|
+
return msg;
|
|
5081
|
+
};
|
|
5082
|
+
|
|
5083
|
+
|
|
5084
|
+
/**
|
|
5085
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5086
|
+
* @return {!Uint8Array}
|
|
5087
|
+
*/
|
|
5088
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest.prototype.serializeBinary = function() {
|
|
5089
|
+
var writer = new jspb.BinaryWriter();
|
|
5090
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest.serializeBinaryToWriter(this, writer);
|
|
5091
|
+
return writer.getResultBuffer();
|
|
5092
|
+
};
|
|
5093
|
+
|
|
5094
|
+
|
|
5095
|
+
/**
|
|
5096
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5097
|
+
* format), writing to the given BinaryWriter.
|
|
5098
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest} message
|
|
5099
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5100
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5101
|
+
*/
|
|
5102
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest.serializeBinaryToWriter = function(message, writer) {
|
|
5103
|
+
var f = undefined;
|
|
5104
|
+
f = message.getData();
|
|
5105
|
+
if (f != null) {
|
|
5106
|
+
writer.writeMessage(
|
|
5107
|
+
1,
|
|
5108
|
+
f,
|
|
5109
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest.serializeBinaryToWriter
|
|
5110
|
+
);
|
|
5111
|
+
}
|
|
5112
|
+
};
|
|
5113
|
+
|
|
5114
|
+
|
|
5115
|
+
/**
|
|
5116
|
+
* optional PaymentMethodsInternalGetRequest data = 1;
|
|
5117
|
+
* @return {?proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest}
|
|
5118
|
+
*/
|
|
5119
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest.prototype.getData = function() {
|
|
5120
|
+
return /** @type{?proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest} */ (
|
|
5121
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest, 1));
|
|
5122
|
+
};
|
|
5123
|
+
|
|
5124
|
+
|
|
5125
|
+
/** @param {?proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest|undefined} value */
|
|
5126
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest.prototype.setData = function(value) {
|
|
5127
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
5128
|
+
};
|
|
5129
|
+
|
|
5130
|
+
|
|
5131
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest.prototype.clearData = function() {
|
|
5132
|
+
this.setData(undefined);
|
|
5133
|
+
};
|
|
5134
|
+
|
|
5135
|
+
|
|
5136
|
+
/**
|
|
5137
|
+
* Returns whether this field is set.
|
|
5138
|
+
* @return {!boolean}
|
|
5139
|
+
*/
|
|
5140
|
+
proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest.prototype.hasData = function() {
|
|
5141
|
+
return jspb.Message.getField(this, 1) != null;
|
|
5142
|
+
};
|
|
5143
|
+
|
|
5144
|
+
|
|
5145
|
+
|
|
4927
5146
|
/**
|
|
4928
5147
|
* Generated by JsPbCodeGenerator.
|
|
4929
5148
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -5300,7 +5519,9 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.toObject = function(include
|
|
|
5300
5519
|
bankname: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
5301
5520
|
banklogoname: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
5302
5521
|
colourscheme: (f = msg.getColourscheme()) && proto.sniippaymentmethodsserviceapi.ColourScheme.toObject(includeInstance, f),
|
|
5303
|
-
isdeleted: jspb.Message.getFieldWithDefault(msg, 13, false)
|
|
5522
|
+
isdeleted: jspb.Message.getFieldWithDefault(msg, 13, false),
|
|
5523
|
+
iscreditcard: jspb.Message.getFieldWithDefault(msg, 14, false),
|
|
5524
|
+
isdebitcard: jspb.Message.getFieldWithDefault(msg, 15, false)
|
|
5304
5525
|
};
|
|
5305
5526
|
|
|
5306
5527
|
if (includeInstance) {
|
|
@@ -5390,6 +5611,14 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.deserializeBinaryFromReader
|
|
|
5390
5611
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
5391
5612
|
msg.setIsdeleted(value);
|
|
5392
5613
|
break;
|
|
5614
|
+
case 14:
|
|
5615
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
5616
|
+
msg.setIscreditcard(value);
|
|
5617
|
+
break;
|
|
5618
|
+
case 15:
|
|
5619
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
5620
|
+
msg.setIsdebitcard(value);
|
|
5621
|
+
break;
|
|
5393
5622
|
default:
|
|
5394
5623
|
reader.skipField();
|
|
5395
5624
|
break;
|
|
@@ -5511,6 +5740,20 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.serializeBinaryToWriter = f
|
|
|
5511
5740
|
f
|
|
5512
5741
|
);
|
|
5513
5742
|
}
|
|
5743
|
+
f = message.getIscreditcard();
|
|
5744
|
+
if (f) {
|
|
5745
|
+
writer.writeBool(
|
|
5746
|
+
14,
|
|
5747
|
+
f
|
|
5748
|
+
);
|
|
5749
|
+
}
|
|
5750
|
+
f = message.getIsdebitcard();
|
|
5751
|
+
if (f) {
|
|
5752
|
+
writer.writeBool(
|
|
5753
|
+
15,
|
|
5754
|
+
f
|
|
5755
|
+
);
|
|
5756
|
+
}
|
|
5514
5757
|
};
|
|
5515
5758
|
|
|
5516
5759
|
|
|
@@ -5726,6 +5969,40 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.setIsdeleted = fu
|
|
|
5726
5969
|
};
|
|
5727
5970
|
|
|
5728
5971
|
|
|
5972
|
+
/**
|
|
5973
|
+
* optional bool isCreditCard = 14;
|
|
5974
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
5975
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
5976
|
+
* @return {boolean}
|
|
5977
|
+
*/
|
|
5978
|
+
proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.getIscreditcard = function() {
|
|
5979
|
+
return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 14, false));
|
|
5980
|
+
};
|
|
5981
|
+
|
|
5982
|
+
|
|
5983
|
+
/** @param {boolean} value */
|
|
5984
|
+
proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.setIscreditcard = function(value) {
|
|
5985
|
+
jspb.Message.setProto3BooleanField(this, 14, value);
|
|
5986
|
+
};
|
|
5987
|
+
|
|
5988
|
+
|
|
5989
|
+
/**
|
|
5990
|
+
* optional bool isDebitCard = 15;
|
|
5991
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
5992
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
5993
|
+
* @return {boolean}
|
|
5994
|
+
*/
|
|
5995
|
+
proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.getIsdebitcard = function() {
|
|
5996
|
+
return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 15, false));
|
|
5997
|
+
};
|
|
5998
|
+
|
|
5999
|
+
|
|
6000
|
+
/** @param {boolean} value */
|
|
6001
|
+
proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.setIsdebitcard = function(value) {
|
|
6002
|
+
jspb.Message.setProto3BooleanField(this, 15, value);
|
|
6003
|
+
};
|
|
6004
|
+
|
|
6005
|
+
|
|
5729
6006
|
|
|
5730
6007
|
/**
|
|
5731
6008
|
* Generated by JsPbCodeGenerator.
|
|
@@ -7390,6 +7667,148 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest.prototype.setU
|
|
|
7390
7667
|
|
|
7391
7668
|
|
|
7392
7669
|
|
|
7670
|
+
/**
|
|
7671
|
+
* Generated by JsPbCodeGenerator.
|
|
7672
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7673
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7674
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7675
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7676
|
+
* valid.
|
|
7677
|
+
* @extends {jspb.Message}
|
|
7678
|
+
* @constructor
|
|
7679
|
+
*/
|
|
7680
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest = function(opt_data) {
|
|
7681
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7682
|
+
};
|
|
7683
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest, jspb.Message);
|
|
7684
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7685
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest.displayName = 'proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest';
|
|
7686
|
+
}
|
|
7687
|
+
|
|
7688
|
+
|
|
7689
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7690
|
+
/**
|
|
7691
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
7692
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7693
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7694
|
+
* For the list of reserved names please see:
|
|
7695
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
7696
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
7697
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
7698
|
+
* @return {!Object}
|
|
7699
|
+
*/
|
|
7700
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest.prototype.toObject = function(opt_includeInstance) {
|
|
7701
|
+
return proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest.toObject(opt_includeInstance, this);
|
|
7702
|
+
};
|
|
7703
|
+
|
|
7704
|
+
|
|
7705
|
+
/**
|
|
7706
|
+
* Static version of the {@see toObject} method.
|
|
7707
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
7708
|
+
* instance for transitional soy proto support:
|
|
7709
|
+
* http://goto/soy-param-migration
|
|
7710
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest} msg The msg instance to transform.
|
|
7711
|
+
* @return {!Object}
|
|
7712
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7713
|
+
*/
|
|
7714
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest.toObject = function(includeInstance, msg) {
|
|
7715
|
+
var f, obj = {
|
|
7716
|
+
userid: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
7717
|
+
};
|
|
7718
|
+
|
|
7719
|
+
if (includeInstance) {
|
|
7720
|
+
obj.$jspbMessageInstance = msg;
|
|
7721
|
+
}
|
|
7722
|
+
return obj;
|
|
7723
|
+
};
|
|
7724
|
+
}
|
|
7725
|
+
|
|
7726
|
+
|
|
7727
|
+
/**
|
|
7728
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7729
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7730
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest}
|
|
7731
|
+
*/
|
|
7732
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest.deserializeBinary = function(bytes) {
|
|
7733
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7734
|
+
var msg = new proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest;
|
|
7735
|
+
return proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest.deserializeBinaryFromReader(msg, reader);
|
|
7736
|
+
};
|
|
7737
|
+
|
|
7738
|
+
|
|
7739
|
+
/**
|
|
7740
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7741
|
+
* given reader into the given message object.
|
|
7742
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest} msg The message object to deserialize into.
|
|
7743
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7744
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest}
|
|
7745
|
+
*/
|
|
7746
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
7747
|
+
while (reader.nextField()) {
|
|
7748
|
+
if (reader.isEndGroup()) {
|
|
7749
|
+
break;
|
|
7750
|
+
}
|
|
7751
|
+
var field = reader.getFieldNumber();
|
|
7752
|
+
switch (field) {
|
|
7753
|
+
case 1:
|
|
7754
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
7755
|
+
msg.setUserid(value);
|
|
7756
|
+
break;
|
|
7757
|
+
default:
|
|
7758
|
+
reader.skipField();
|
|
7759
|
+
break;
|
|
7760
|
+
}
|
|
7761
|
+
}
|
|
7762
|
+
return msg;
|
|
7763
|
+
};
|
|
7764
|
+
|
|
7765
|
+
|
|
7766
|
+
/**
|
|
7767
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7768
|
+
* @return {!Uint8Array}
|
|
7769
|
+
*/
|
|
7770
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest.prototype.serializeBinary = function() {
|
|
7771
|
+
var writer = new jspb.BinaryWriter();
|
|
7772
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest.serializeBinaryToWriter(this, writer);
|
|
7773
|
+
return writer.getResultBuffer();
|
|
7774
|
+
};
|
|
7775
|
+
|
|
7776
|
+
|
|
7777
|
+
/**
|
|
7778
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
7779
|
+
* format), writing to the given BinaryWriter.
|
|
7780
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest} message
|
|
7781
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7782
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7783
|
+
*/
|
|
7784
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest.serializeBinaryToWriter = function(message, writer) {
|
|
7785
|
+
var f = undefined;
|
|
7786
|
+
f = message.getUserid();
|
|
7787
|
+
if (f !== 0) {
|
|
7788
|
+
writer.writeInt64(
|
|
7789
|
+
1,
|
|
7790
|
+
f
|
|
7791
|
+
);
|
|
7792
|
+
}
|
|
7793
|
+
};
|
|
7794
|
+
|
|
7795
|
+
|
|
7796
|
+
/**
|
|
7797
|
+
* optional int64 userId = 1;
|
|
7798
|
+
* @return {number}
|
|
7799
|
+
*/
|
|
7800
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest.prototype.getUserid = function() {
|
|
7801
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
7802
|
+
};
|
|
7803
|
+
|
|
7804
|
+
|
|
7805
|
+
/** @param {number} value */
|
|
7806
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest.prototype.setUserid = function(value) {
|
|
7807
|
+
jspb.Message.setProto3IntField(this, 1, value);
|
|
7808
|
+
};
|
|
7809
|
+
|
|
7810
|
+
|
|
7811
|
+
|
|
7393
7812
|
/**
|
|
7394
7813
|
* Generated by JsPbCodeGenerator.
|
|
7395
7814
|
* @param {Array=} opt_data Optional initial data array, typically from a
|