@sniipwebmaster/payment-methods-client-grpcweb 0.2.2395 → 0.2.2413
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_grpc_web_pb.js +110 -0
- package/dependancies/service_pb.js +867 -82
- package/package.json +1 -1
|
@@ -365,6 +365,61 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseC
|
|
|
365
365
|
};
|
|
366
366
|
|
|
367
367
|
|
|
368
|
+
/**
|
|
369
|
+
* @const
|
|
370
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
371
|
+
* !proto.sniippaymentmethodsserviceapi.CreatePaymentMethodGroupRequest,
|
|
372
|
+
* !proto.sniippaymentmethodsserviceapi.ResponseCode>}
|
|
373
|
+
*/
|
|
374
|
+
const methodInfo_SniipPaymentMethodsServiceAPIService_CreatePaymentMethodGroup = new grpc.web.AbstractClientBase.MethodInfo(
|
|
375
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode,
|
|
376
|
+
/** @param {!proto.sniippaymentmethodsserviceapi.CreatePaymentMethodGroupRequest} request */
|
|
377
|
+
function(request) {
|
|
378
|
+
return request.serializeBinary();
|
|
379
|
+
},
|
|
380
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode.deserializeBinary
|
|
381
|
+
);
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* @param {!proto.sniippaymentmethodsserviceapi.CreatePaymentMethodGroupRequest} request The
|
|
386
|
+
* request proto
|
|
387
|
+
* @param {?Object<string, string>} metadata User defined
|
|
388
|
+
* call metadata
|
|
389
|
+
* @param {function(?grpc.web.Error, ?proto.sniippaymentmethodsserviceapi.ResponseCode)}
|
|
390
|
+
* callback The callback function(error, response)
|
|
391
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniippaymentmethodsserviceapi.ResponseCode>|undefined}
|
|
392
|
+
* The XHR Node Readable Stream
|
|
393
|
+
*/
|
|
394
|
+
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.prototype.createPaymentMethodGroup =
|
|
395
|
+
function(request, metadata, callback) {
|
|
396
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
397
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/CreatePaymentMethodGroup',
|
|
398
|
+
request,
|
|
399
|
+
metadata || {},
|
|
400
|
+
methodInfo_SniipPaymentMethodsServiceAPIService_CreatePaymentMethodGroup,
|
|
401
|
+
callback);
|
|
402
|
+
};
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
* @param {!proto.sniippaymentmethodsserviceapi.CreatePaymentMethodGroupRequest} request The
|
|
407
|
+
* request proto
|
|
408
|
+
* @param {?Object<string, string>} metadata User defined
|
|
409
|
+
* call metadata
|
|
410
|
+
* @return {!Promise<!proto.sniippaymentmethodsserviceapi.ResponseCode>}
|
|
411
|
+
* A native promise that resolves to the response
|
|
412
|
+
*/
|
|
413
|
+
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.createPaymentMethodGroup =
|
|
414
|
+
function(request, metadata) {
|
|
415
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
416
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/CreatePaymentMethodGroup',
|
|
417
|
+
request,
|
|
418
|
+
metadata || {},
|
|
419
|
+
methodInfo_SniipPaymentMethodsServiceAPIService_CreatePaymentMethodGroup);
|
|
420
|
+
};
|
|
421
|
+
|
|
422
|
+
|
|
368
423
|
/**
|
|
369
424
|
* @const
|
|
370
425
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
@@ -1300,5 +1355,60 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseC
|
|
|
1300
1355
|
};
|
|
1301
1356
|
|
|
1302
1357
|
|
|
1358
|
+
/**
|
|
1359
|
+
* @const
|
|
1360
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
1361
|
+
* !proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest,
|
|
1362
|
+
* !proto.sniippaymentmethodsserviceapi.ResponseCode>}
|
|
1363
|
+
*/
|
|
1364
|
+
const methodInfo_SniipPaymentMethodsServiceAPIService_UpdatePaymentMethodGroup = new grpc.web.AbstractClientBase.MethodInfo(
|
|
1365
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode,
|
|
1366
|
+
/** @param {!proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest} request */
|
|
1367
|
+
function(request) {
|
|
1368
|
+
return request.serializeBinary();
|
|
1369
|
+
},
|
|
1370
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode.deserializeBinary
|
|
1371
|
+
);
|
|
1372
|
+
|
|
1373
|
+
|
|
1374
|
+
/**
|
|
1375
|
+
* @param {!proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest} request The
|
|
1376
|
+
* request proto
|
|
1377
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1378
|
+
* call metadata
|
|
1379
|
+
* @param {function(?grpc.web.Error, ?proto.sniippaymentmethodsserviceapi.ResponseCode)}
|
|
1380
|
+
* callback The callback function(error, response)
|
|
1381
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniippaymentmethodsserviceapi.ResponseCode>|undefined}
|
|
1382
|
+
* The XHR Node Readable Stream
|
|
1383
|
+
*/
|
|
1384
|
+
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.prototype.updatePaymentMethodGroup =
|
|
1385
|
+
function(request, metadata, callback) {
|
|
1386
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1387
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/UpdatePaymentMethodGroup',
|
|
1388
|
+
request,
|
|
1389
|
+
metadata || {},
|
|
1390
|
+
methodInfo_SniipPaymentMethodsServiceAPIService_UpdatePaymentMethodGroup,
|
|
1391
|
+
callback);
|
|
1392
|
+
};
|
|
1393
|
+
|
|
1394
|
+
|
|
1395
|
+
/**
|
|
1396
|
+
* @param {!proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest} request The
|
|
1397
|
+
* request proto
|
|
1398
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1399
|
+
* call metadata
|
|
1400
|
+
* @return {!Promise<!proto.sniippaymentmethodsserviceapi.ResponseCode>}
|
|
1401
|
+
* A native promise that resolves to the response
|
|
1402
|
+
*/
|
|
1403
|
+
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.updatePaymentMethodGroup =
|
|
1404
|
+
function(request, metadata) {
|
|
1405
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1406
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/UpdatePaymentMethodGroup',
|
|
1407
|
+
request,
|
|
1408
|
+
metadata || {},
|
|
1409
|
+
methodInfo_SniipPaymentMethodsServiceAPIService_UpdatePaymentMethodGroup);
|
|
1410
|
+
};
|
|
1411
|
+
|
|
1412
|
+
|
|
1303
1413
|
module.exports = proto.sniippaymentmethodsserviceapi;
|
|
1304
1414
|
|
|
@@ -24,6 +24,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CardHashResponse', null,
|
|
|
24
24
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CardHashesForUserRequest', null, global);
|
|
25
25
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CardHashesForUserResponse', null, global);
|
|
26
26
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ColourScheme', null, global);
|
|
27
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CreatePaymentMethodGroupRequest', null, global);
|
|
27
28
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CreditCard', null, global);
|
|
28
29
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CreditCardForPaymentRequest', null, global);
|
|
29
30
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetActivatedPaymentMethodRequest', null, global);
|
|
@@ -44,7 +45,9 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodDeleteReques
|
|
|
44
45
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentRequest', null, global);
|
|
45
46
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse', null, global);
|
|
46
47
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodGroup', null, global);
|
|
48
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest', null, global);
|
|
47
49
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse', null, global);
|
|
50
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest', null, global);
|
|
48
51
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodGroupsResponse', null, global);
|
|
49
52
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodResponse', null, global);
|
|
50
53
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodTypesResponse', null, global);
|
|
@@ -55,6 +58,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse',
|
|
|
55
58
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.RemovePaymentMethodRequest', null, global);
|
|
56
59
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ResponseCode', null, global);
|
|
57
60
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdateCreditCard', null, global);
|
|
61
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest', null, global);
|
|
58
62
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest', null, global);
|
|
59
63
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest', null, global);
|
|
60
64
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse', null, global);
|
|
@@ -2833,6 +2837,182 @@ proto.sniippaymentmethodsserviceapi.ColourScheme.prototype.setIsdark = function(
|
|
|
2833
2837
|
|
|
2834
2838
|
|
|
2835
2839
|
|
|
2840
|
+
/**
|
|
2841
|
+
* Generated by JsPbCodeGenerator.
|
|
2842
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2843
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2844
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2845
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2846
|
+
* valid.
|
|
2847
|
+
* @extends {jspb.Message}
|
|
2848
|
+
* @constructor
|
|
2849
|
+
*/
|
|
2850
|
+
proto.sniippaymentmethodsserviceapi.CreatePaymentMethodGroupRequest = function(opt_data) {
|
|
2851
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2852
|
+
};
|
|
2853
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.CreatePaymentMethodGroupRequest, jspb.Message);
|
|
2854
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2855
|
+
proto.sniippaymentmethodsserviceapi.CreatePaymentMethodGroupRequest.displayName = 'proto.sniippaymentmethodsserviceapi.CreatePaymentMethodGroupRequest';
|
|
2856
|
+
}
|
|
2857
|
+
|
|
2858
|
+
|
|
2859
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2860
|
+
/**
|
|
2861
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
2862
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2863
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2864
|
+
* For the list of reserved names please see:
|
|
2865
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
2866
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
2867
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
2868
|
+
* @return {!Object}
|
|
2869
|
+
*/
|
|
2870
|
+
proto.sniippaymentmethodsserviceapi.CreatePaymentMethodGroupRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2871
|
+
return proto.sniippaymentmethodsserviceapi.CreatePaymentMethodGroupRequest.toObject(opt_includeInstance, this);
|
|
2872
|
+
};
|
|
2873
|
+
|
|
2874
|
+
|
|
2875
|
+
/**
|
|
2876
|
+
* Static version of the {@see toObject} method.
|
|
2877
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
2878
|
+
* instance for transitional soy proto support:
|
|
2879
|
+
* http://goto/soy-param-migration
|
|
2880
|
+
* @param {!proto.sniippaymentmethodsserviceapi.CreatePaymentMethodGroupRequest} msg The msg instance to transform.
|
|
2881
|
+
* @return {!Object}
|
|
2882
|
+
*/
|
|
2883
|
+
proto.sniippaymentmethodsserviceapi.CreatePaymentMethodGroupRequest.toObject = function(includeInstance, msg) {
|
|
2884
|
+
var f, obj = {
|
|
2885
|
+
data: (f = msg.getData()) && proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest.toObject(includeInstance, f)
|
|
2886
|
+
};
|
|
2887
|
+
|
|
2888
|
+
if (includeInstance) {
|
|
2889
|
+
obj.$jspbMessageInstance = msg;
|
|
2890
|
+
}
|
|
2891
|
+
return obj;
|
|
2892
|
+
};
|
|
2893
|
+
}
|
|
2894
|
+
|
|
2895
|
+
|
|
2896
|
+
/**
|
|
2897
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2898
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2899
|
+
* @return {!proto.sniippaymentmethodsserviceapi.CreatePaymentMethodGroupRequest}
|
|
2900
|
+
*/
|
|
2901
|
+
proto.sniippaymentmethodsserviceapi.CreatePaymentMethodGroupRequest.deserializeBinary = function(bytes) {
|
|
2902
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2903
|
+
var msg = new proto.sniippaymentmethodsserviceapi.CreatePaymentMethodGroupRequest;
|
|
2904
|
+
return proto.sniippaymentmethodsserviceapi.CreatePaymentMethodGroupRequest.deserializeBinaryFromReader(msg, reader);
|
|
2905
|
+
};
|
|
2906
|
+
|
|
2907
|
+
|
|
2908
|
+
/**
|
|
2909
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2910
|
+
* given reader into the given message object.
|
|
2911
|
+
* @param {!proto.sniippaymentmethodsserviceapi.CreatePaymentMethodGroupRequest} msg The message object to deserialize into.
|
|
2912
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2913
|
+
* @return {!proto.sniippaymentmethodsserviceapi.CreatePaymentMethodGroupRequest}
|
|
2914
|
+
*/
|
|
2915
|
+
proto.sniippaymentmethodsserviceapi.CreatePaymentMethodGroupRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2916
|
+
while (reader.nextField()) {
|
|
2917
|
+
if (reader.isEndGroup()) {
|
|
2918
|
+
break;
|
|
2919
|
+
}
|
|
2920
|
+
var field = reader.getFieldNumber();
|
|
2921
|
+
switch (field) {
|
|
2922
|
+
case 1:
|
|
2923
|
+
var value = new proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest;
|
|
2924
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest.deserializeBinaryFromReader);
|
|
2925
|
+
msg.setData(value);
|
|
2926
|
+
break;
|
|
2927
|
+
default:
|
|
2928
|
+
reader.skipField();
|
|
2929
|
+
break;
|
|
2930
|
+
}
|
|
2931
|
+
}
|
|
2932
|
+
return msg;
|
|
2933
|
+
};
|
|
2934
|
+
|
|
2935
|
+
|
|
2936
|
+
/**
|
|
2937
|
+
* Class method variant: serializes the given message to binary data
|
|
2938
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
2939
|
+
* @param {!proto.sniippaymentmethodsserviceapi.CreatePaymentMethodGroupRequest} message
|
|
2940
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2941
|
+
*/
|
|
2942
|
+
proto.sniippaymentmethodsserviceapi.CreatePaymentMethodGroupRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2943
|
+
message.serializeBinaryToWriter(writer);
|
|
2944
|
+
};
|
|
2945
|
+
|
|
2946
|
+
|
|
2947
|
+
/**
|
|
2948
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2949
|
+
* @return {!Uint8Array}
|
|
2950
|
+
*/
|
|
2951
|
+
proto.sniippaymentmethodsserviceapi.CreatePaymentMethodGroupRequest.prototype.serializeBinary = function() {
|
|
2952
|
+
var writer = new jspb.BinaryWriter();
|
|
2953
|
+
this.serializeBinaryToWriter(writer);
|
|
2954
|
+
return writer.getResultBuffer();
|
|
2955
|
+
};
|
|
2956
|
+
|
|
2957
|
+
|
|
2958
|
+
/**
|
|
2959
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
2960
|
+
* writing to the given BinaryWriter.
|
|
2961
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2962
|
+
*/
|
|
2963
|
+
proto.sniippaymentmethodsserviceapi.CreatePaymentMethodGroupRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
2964
|
+
var f = undefined;
|
|
2965
|
+
f = this.getData();
|
|
2966
|
+
if (f != null) {
|
|
2967
|
+
writer.writeMessage(
|
|
2968
|
+
1,
|
|
2969
|
+
f,
|
|
2970
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest.serializeBinaryToWriter
|
|
2971
|
+
);
|
|
2972
|
+
}
|
|
2973
|
+
};
|
|
2974
|
+
|
|
2975
|
+
|
|
2976
|
+
/**
|
|
2977
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
2978
|
+
* @return {!proto.sniippaymentmethodsserviceapi.CreatePaymentMethodGroupRequest} The clone.
|
|
2979
|
+
*/
|
|
2980
|
+
proto.sniippaymentmethodsserviceapi.CreatePaymentMethodGroupRequest.prototype.cloneMessage = function() {
|
|
2981
|
+
return /** @type {!proto.sniippaymentmethodsserviceapi.CreatePaymentMethodGroupRequest} */ (jspb.Message.cloneMessage(this));
|
|
2982
|
+
};
|
|
2983
|
+
|
|
2984
|
+
|
|
2985
|
+
/**
|
|
2986
|
+
* optional PaymentMethodGroupCreateRequest data = 1;
|
|
2987
|
+
* @return {proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest}
|
|
2988
|
+
*/
|
|
2989
|
+
proto.sniippaymentmethodsserviceapi.CreatePaymentMethodGroupRequest.prototype.getData = function() {
|
|
2990
|
+
return /** @type{proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest} */ (
|
|
2991
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest, 1));
|
|
2992
|
+
};
|
|
2993
|
+
|
|
2994
|
+
|
|
2995
|
+
/** @param {proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest|undefined} value */
|
|
2996
|
+
proto.sniippaymentmethodsserviceapi.CreatePaymentMethodGroupRequest.prototype.setData = function(value) {
|
|
2997
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
2998
|
+
};
|
|
2999
|
+
|
|
3000
|
+
|
|
3001
|
+
proto.sniippaymentmethodsserviceapi.CreatePaymentMethodGroupRequest.prototype.clearData = function() {
|
|
3002
|
+
this.setData(undefined);
|
|
3003
|
+
};
|
|
3004
|
+
|
|
3005
|
+
|
|
3006
|
+
/**
|
|
3007
|
+
* Returns whether this field is set.
|
|
3008
|
+
* @return{!boolean}
|
|
3009
|
+
*/
|
|
3010
|
+
proto.sniippaymentmethodsserviceapi.CreatePaymentMethodGroupRequest.prototype.hasData = function() {
|
|
3011
|
+
return jspb.Message.getField(this, 1) != null;
|
|
3012
|
+
};
|
|
3013
|
+
|
|
3014
|
+
|
|
3015
|
+
|
|
2836
3016
|
/**
|
|
2837
3017
|
* Generated by JsPbCodeGenerator.
|
|
2838
3018
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -7762,13 +7942,20 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodGroup.prototype.clearPaymentmet
|
|
|
7762
7942
|
* @extends {jspb.Message}
|
|
7763
7943
|
* @constructor
|
|
7764
7944
|
*/
|
|
7765
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7766
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
7945
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest = function(opt_data) {
|
|
7946
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest.repeatedFields_, null);
|
|
7767
7947
|
};
|
|
7768
|
-
goog.inherits(proto.sniippaymentmethodsserviceapi.
|
|
7948
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest, jspb.Message);
|
|
7769
7949
|
if (goog.DEBUG && !COMPILED) {
|
|
7770
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7950
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest.displayName = 'proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest';
|
|
7771
7951
|
}
|
|
7952
|
+
/**
|
|
7953
|
+
* List of repeated fields within this message type.
|
|
7954
|
+
* @private {!Array<number>}
|
|
7955
|
+
* @const
|
|
7956
|
+
*/
|
|
7957
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest.repeatedFields_ = [2];
|
|
7958
|
+
|
|
7772
7959
|
|
|
7773
7960
|
|
|
7774
7961
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -7782,8 +7969,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
7782
7969
|
* for transitional soy proto support: http://goto/soy-param-migration
|
|
7783
7970
|
* @return {!Object}
|
|
7784
7971
|
*/
|
|
7785
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7786
|
-
return proto.sniippaymentmethodsserviceapi.
|
|
7972
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest.prototype.toObject = function(opt_includeInstance) {
|
|
7973
|
+
return proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest.toObject(opt_includeInstance, this);
|
|
7787
7974
|
};
|
|
7788
7975
|
|
|
7789
7976
|
|
|
@@ -7792,13 +7979,13 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse.prototype.toOb
|
|
|
7792
7979
|
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
7793
7980
|
* instance for transitional soy proto support:
|
|
7794
7981
|
* http://goto/soy-param-migration
|
|
7795
|
-
* @param {!proto.sniippaymentmethodsserviceapi.
|
|
7982
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest} msg The msg instance to transform.
|
|
7796
7983
|
* @return {!Object}
|
|
7797
7984
|
*/
|
|
7798
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7985
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest.toObject = function(includeInstance, msg) {
|
|
7799
7986
|
var f, obj = {
|
|
7800
|
-
|
|
7801
|
-
|
|
7987
|
+
name: msg.getName(),
|
|
7988
|
+
paymentmethodsList: jspb.Message.getField(msg, 2)
|
|
7802
7989
|
};
|
|
7803
7990
|
|
|
7804
7991
|
if (includeInstance) {
|
|
@@ -7812,23 +7999,23 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse.toObject = fun
|
|
|
7812
7999
|
/**
|
|
7813
8000
|
* Deserializes binary data (in protobuf wire format).
|
|
7814
8001
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7815
|
-
* @return {!proto.sniippaymentmethodsserviceapi.
|
|
8002
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest}
|
|
7816
8003
|
*/
|
|
7817
|
-
proto.sniippaymentmethodsserviceapi.
|
|
8004
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest.deserializeBinary = function(bytes) {
|
|
7818
8005
|
var reader = new jspb.BinaryReader(bytes);
|
|
7819
|
-
var msg = new proto.sniippaymentmethodsserviceapi.
|
|
7820
|
-
return proto.sniippaymentmethodsserviceapi.
|
|
8006
|
+
var msg = new proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest;
|
|
8007
|
+
return proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest.deserializeBinaryFromReader(msg, reader);
|
|
7821
8008
|
};
|
|
7822
8009
|
|
|
7823
8010
|
|
|
7824
8011
|
/**
|
|
7825
8012
|
* Deserializes binary data (in protobuf wire format) from the
|
|
7826
8013
|
* given reader into the given message object.
|
|
7827
|
-
* @param {!proto.sniippaymentmethodsserviceapi.
|
|
8014
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest} msg The message object to deserialize into.
|
|
7828
8015
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7829
|
-
* @return {!proto.sniippaymentmethodsserviceapi.
|
|
8016
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest}
|
|
7830
8017
|
*/
|
|
7831
|
-
proto.sniippaymentmethodsserviceapi.
|
|
8018
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
7832
8019
|
while (reader.nextField()) {
|
|
7833
8020
|
if (reader.isEndGroup()) {
|
|
7834
8021
|
break;
|
|
@@ -7836,14 +8023,13 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse.deserializeBin
|
|
|
7836
8023
|
var field = reader.getFieldNumber();
|
|
7837
8024
|
switch (field) {
|
|
7838
8025
|
case 1:
|
|
7839
|
-
var value =
|
|
7840
|
-
|
|
7841
|
-
msg.setResponsecode(value);
|
|
8026
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8027
|
+
msg.setName(value);
|
|
7842
8028
|
break;
|
|
7843
8029
|
case 2:
|
|
7844
|
-
var value =
|
|
7845
|
-
|
|
7846
|
-
msg.
|
|
8030
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8031
|
+
msg.getPaymentmethodsList().push(value);
|
|
8032
|
+
msg.setPaymentmethodsList(msg.getPaymentmethodsList());
|
|
7847
8033
|
break;
|
|
7848
8034
|
default:
|
|
7849
8035
|
reader.skipField();
|
|
@@ -7857,10 +8043,10 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse.deserializeBin
|
|
|
7857
8043
|
/**
|
|
7858
8044
|
* Class method variant: serializes the given message to binary data
|
|
7859
8045
|
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
7860
|
-
* @param {!proto.sniippaymentmethodsserviceapi.
|
|
8046
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest} message
|
|
7861
8047
|
* @param {!jspb.BinaryWriter} writer
|
|
7862
8048
|
*/
|
|
7863
|
-
proto.sniippaymentmethodsserviceapi.
|
|
8049
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest.serializeBinaryToWriter = function(message, writer) {
|
|
7864
8050
|
message.serializeBinaryToWriter(writer);
|
|
7865
8051
|
};
|
|
7866
8052
|
|
|
@@ -7869,7 +8055,7 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse.serializeBinar
|
|
|
7869
8055
|
* Serializes the message to binary data (in protobuf wire format).
|
|
7870
8056
|
* @return {!Uint8Array}
|
|
7871
8057
|
*/
|
|
7872
|
-
proto.sniippaymentmethodsserviceapi.
|
|
8058
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest.prototype.serializeBinary = function() {
|
|
7873
8059
|
var writer = new jspb.BinaryWriter();
|
|
7874
8060
|
this.serializeBinaryToWriter(writer);
|
|
7875
8061
|
return writer.getResultBuffer();
|
|
@@ -7881,22 +8067,20 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse.prototype.seri
|
|
|
7881
8067
|
* writing to the given BinaryWriter.
|
|
7882
8068
|
* @param {!jspb.BinaryWriter} writer
|
|
7883
8069
|
*/
|
|
7884
|
-
proto.sniippaymentmethodsserviceapi.
|
|
8070
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
7885
8071
|
var f = undefined;
|
|
7886
|
-
f = this.
|
|
7887
|
-
if (f
|
|
7888
|
-
writer.
|
|
8072
|
+
f = this.getName();
|
|
8073
|
+
if (f.length > 0) {
|
|
8074
|
+
writer.writeString(
|
|
7889
8075
|
1,
|
|
7890
|
-
f
|
|
7891
|
-
proto.sniippaymentmethodsserviceapi.ResponseCode.serializeBinaryToWriter
|
|
8076
|
+
f
|
|
7892
8077
|
);
|
|
7893
8078
|
}
|
|
7894
|
-
f = this.
|
|
7895
|
-
if (f
|
|
7896
|
-
writer.
|
|
8079
|
+
f = this.getPaymentmethodsList();
|
|
8080
|
+
if (f.length > 0) {
|
|
8081
|
+
writer.writeRepeatedString(
|
|
7897
8082
|
2,
|
|
7898
|
-
f
|
|
7899
|
-
proto.sniippaymentmethodsserviceapi.PaymentMethodGroup.serializeBinaryToWriter
|
|
8083
|
+
f
|
|
7900
8084
|
);
|
|
7901
8085
|
}
|
|
7902
8086
|
};
|
|
@@ -7904,70 +8088,47 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse.prototype.seri
|
|
|
7904
8088
|
|
|
7905
8089
|
/**
|
|
7906
8090
|
* Creates a deep clone of this proto. No data is shared with the original.
|
|
7907
|
-
* @return {!proto.sniippaymentmethodsserviceapi.
|
|
8091
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest} The clone.
|
|
7908
8092
|
*/
|
|
7909
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7910
|
-
return /** @type {!proto.sniippaymentmethodsserviceapi.
|
|
8093
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest.prototype.cloneMessage = function() {
|
|
8094
|
+
return /** @type {!proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest} */ (jspb.Message.cloneMessage(this));
|
|
7911
8095
|
};
|
|
7912
8096
|
|
|
7913
8097
|
|
|
7914
8098
|
/**
|
|
7915
|
-
* optional
|
|
7916
|
-
* @return {
|
|
8099
|
+
* optional string name = 1;
|
|
8100
|
+
* @return {string}
|
|
7917
8101
|
*/
|
|
7918
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7919
|
-
return /** @type{
|
|
7920
|
-
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.ResponseCode, 1));
|
|
7921
|
-
};
|
|
7922
|
-
|
|
7923
|
-
|
|
7924
|
-
/** @param {proto.sniippaymentmethodsserviceapi.ResponseCode|undefined} value */
|
|
7925
|
-
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse.prototype.setResponsecode = function(value) {
|
|
7926
|
-
jspb.Message.setWrapperField(this, 1, value);
|
|
7927
|
-
};
|
|
7928
|
-
|
|
7929
|
-
|
|
7930
|
-
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse.prototype.clearResponsecode = function() {
|
|
7931
|
-
this.setResponsecode(undefined);
|
|
8102
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest.prototype.getName = function() {
|
|
8103
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 1, ""));
|
|
7932
8104
|
};
|
|
7933
8105
|
|
|
7934
8106
|
|
|
7935
|
-
/**
|
|
7936
|
-
|
|
7937
|
-
|
|
7938
|
-
*/
|
|
7939
|
-
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse.prototype.hasResponsecode = function() {
|
|
7940
|
-
return jspb.Message.getField(this, 1) != null;
|
|
8107
|
+
/** @param {string} value */
|
|
8108
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest.prototype.setName = function(value) {
|
|
8109
|
+
jspb.Message.setField(this, 1, value);
|
|
7941
8110
|
};
|
|
7942
8111
|
|
|
7943
8112
|
|
|
7944
8113
|
/**
|
|
7945
|
-
*
|
|
7946
|
-
*
|
|
8114
|
+
* repeated string paymentMethods = 2;
|
|
8115
|
+
* If you change this array by adding, removing or replacing elements, or if you
|
|
8116
|
+
* replace the array itself, then you must call the setter to update it.
|
|
8117
|
+
* @return {!Array.<string>}
|
|
7947
8118
|
*/
|
|
7948
|
-
proto.sniippaymentmethodsserviceapi.
|
|
7949
|
-
return /** @type{
|
|
7950
|
-
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.PaymentMethodGroup, 2));
|
|
7951
|
-
};
|
|
7952
|
-
|
|
7953
|
-
|
|
7954
|
-
/** @param {proto.sniippaymentmethodsserviceapi.PaymentMethodGroup|undefined} value */
|
|
7955
|
-
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse.prototype.setGroup = function(value) {
|
|
7956
|
-
jspb.Message.setWrapperField(this, 2, value);
|
|
8119
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest.prototype.getPaymentmethodsList = function() {
|
|
8120
|
+
return /** @type {!Array.<string>} */ (jspb.Message.getField(this, 2));
|
|
7957
8121
|
};
|
|
7958
8122
|
|
|
7959
8123
|
|
|
7960
|
-
|
|
7961
|
-
|
|
8124
|
+
/** @param {Array.<string>} value */
|
|
8125
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest.prototype.setPaymentmethodsList = function(value) {
|
|
8126
|
+
jspb.Message.setField(this, 2, value || []);
|
|
7962
8127
|
};
|
|
7963
8128
|
|
|
7964
8129
|
|
|
7965
|
-
|
|
7966
|
-
|
|
7967
|
-
* @return{!boolean}
|
|
7968
|
-
*/
|
|
7969
|
-
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse.prototype.hasGroup = function() {
|
|
7970
|
-
return jspb.Message.getField(this, 2) != null;
|
|
8130
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupCreateRequest.prototype.clearPaymentmethodsList = function() {
|
|
8131
|
+
jspb.Message.setField(this, 2, []);
|
|
7971
8132
|
};
|
|
7972
8133
|
|
|
7973
8134
|
|
|
@@ -7982,7 +8143,428 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse.prototype.hasG
|
|
|
7982
8143
|
* @extends {jspb.Message}
|
|
7983
8144
|
* @constructor
|
|
7984
8145
|
*/
|
|
7985
|
-
proto.sniippaymentmethodsserviceapi.
|
|
8146
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse = function(opt_data) {
|
|
8147
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
8148
|
+
};
|
|
8149
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse, jspb.Message);
|
|
8150
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8151
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse.displayName = 'proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse';
|
|
8152
|
+
}
|
|
8153
|
+
|
|
8154
|
+
|
|
8155
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8156
|
+
/**
|
|
8157
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
8158
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
8159
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
8160
|
+
* For the list of reserved names please see:
|
|
8161
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
8162
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
8163
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
8164
|
+
* @return {!Object}
|
|
8165
|
+
*/
|
|
8166
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse.prototype.toObject = function(opt_includeInstance) {
|
|
8167
|
+
return proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse.toObject(opt_includeInstance, this);
|
|
8168
|
+
};
|
|
8169
|
+
|
|
8170
|
+
|
|
8171
|
+
/**
|
|
8172
|
+
* Static version of the {@see toObject} method.
|
|
8173
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
8174
|
+
* instance for transitional soy proto support:
|
|
8175
|
+
* http://goto/soy-param-migration
|
|
8176
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse} msg The msg instance to transform.
|
|
8177
|
+
* @return {!Object}
|
|
8178
|
+
*/
|
|
8179
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse.toObject = function(includeInstance, msg) {
|
|
8180
|
+
var f, obj = {
|
|
8181
|
+
responsecode: (f = msg.getResponsecode()) && proto.sniippaymentmethodsserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
8182
|
+
group: (f = msg.getGroup()) && proto.sniippaymentmethodsserviceapi.PaymentMethodGroup.toObject(includeInstance, f)
|
|
8183
|
+
};
|
|
8184
|
+
|
|
8185
|
+
if (includeInstance) {
|
|
8186
|
+
obj.$jspbMessageInstance = msg;
|
|
8187
|
+
}
|
|
8188
|
+
return obj;
|
|
8189
|
+
};
|
|
8190
|
+
}
|
|
8191
|
+
|
|
8192
|
+
|
|
8193
|
+
/**
|
|
8194
|
+
* Deserializes binary data (in protobuf wire format).
|
|
8195
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8196
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse}
|
|
8197
|
+
*/
|
|
8198
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse.deserializeBinary = function(bytes) {
|
|
8199
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
8200
|
+
var msg = new proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse;
|
|
8201
|
+
return proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse.deserializeBinaryFromReader(msg, reader);
|
|
8202
|
+
};
|
|
8203
|
+
|
|
8204
|
+
|
|
8205
|
+
/**
|
|
8206
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
8207
|
+
* given reader into the given message object.
|
|
8208
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse} msg The message object to deserialize into.
|
|
8209
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8210
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse}
|
|
8211
|
+
*/
|
|
8212
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
8213
|
+
while (reader.nextField()) {
|
|
8214
|
+
if (reader.isEndGroup()) {
|
|
8215
|
+
break;
|
|
8216
|
+
}
|
|
8217
|
+
var field = reader.getFieldNumber();
|
|
8218
|
+
switch (field) {
|
|
8219
|
+
case 1:
|
|
8220
|
+
var value = new proto.sniippaymentmethodsserviceapi.ResponseCode;
|
|
8221
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
8222
|
+
msg.setResponsecode(value);
|
|
8223
|
+
break;
|
|
8224
|
+
case 2:
|
|
8225
|
+
var value = new proto.sniippaymentmethodsserviceapi.PaymentMethodGroup;
|
|
8226
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.PaymentMethodGroup.deserializeBinaryFromReader);
|
|
8227
|
+
msg.setGroup(value);
|
|
8228
|
+
break;
|
|
8229
|
+
default:
|
|
8230
|
+
reader.skipField();
|
|
8231
|
+
break;
|
|
8232
|
+
}
|
|
8233
|
+
}
|
|
8234
|
+
return msg;
|
|
8235
|
+
};
|
|
8236
|
+
|
|
8237
|
+
|
|
8238
|
+
/**
|
|
8239
|
+
* Class method variant: serializes the given message to binary data
|
|
8240
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
8241
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse} message
|
|
8242
|
+
* @param {!jspb.BinaryWriter} writer
|
|
8243
|
+
*/
|
|
8244
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse.serializeBinaryToWriter = function(message, writer) {
|
|
8245
|
+
message.serializeBinaryToWriter(writer);
|
|
8246
|
+
};
|
|
8247
|
+
|
|
8248
|
+
|
|
8249
|
+
/**
|
|
8250
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
8251
|
+
* @return {!Uint8Array}
|
|
8252
|
+
*/
|
|
8253
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse.prototype.serializeBinary = function() {
|
|
8254
|
+
var writer = new jspb.BinaryWriter();
|
|
8255
|
+
this.serializeBinaryToWriter(writer);
|
|
8256
|
+
return writer.getResultBuffer();
|
|
8257
|
+
};
|
|
8258
|
+
|
|
8259
|
+
|
|
8260
|
+
/**
|
|
8261
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
8262
|
+
* writing to the given BinaryWriter.
|
|
8263
|
+
* @param {!jspb.BinaryWriter} writer
|
|
8264
|
+
*/
|
|
8265
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse.prototype.serializeBinaryToWriter = function (writer) {
|
|
8266
|
+
var f = undefined;
|
|
8267
|
+
f = this.getResponsecode();
|
|
8268
|
+
if (f != null) {
|
|
8269
|
+
writer.writeMessage(
|
|
8270
|
+
1,
|
|
8271
|
+
f,
|
|
8272
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode.serializeBinaryToWriter
|
|
8273
|
+
);
|
|
8274
|
+
}
|
|
8275
|
+
f = this.getGroup();
|
|
8276
|
+
if (f != null) {
|
|
8277
|
+
writer.writeMessage(
|
|
8278
|
+
2,
|
|
8279
|
+
f,
|
|
8280
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroup.serializeBinaryToWriter
|
|
8281
|
+
);
|
|
8282
|
+
}
|
|
8283
|
+
};
|
|
8284
|
+
|
|
8285
|
+
|
|
8286
|
+
/**
|
|
8287
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
8288
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse} The clone.
|
|
8289
|
+
*/
|
|
8290
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse.prototype.cloneMessage = function() {
|
|
8291
|
+
return /** @type {!proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse} */ (jspb.Message.cloneMessage(this));
|
|
8292
|
+
};
|
|
8293
|
+
|
|
8294
|
+
|
|
8295
|
+
/**
|
|
8296
|
+
* optional ResponseCode responseCode = 1;
|
|
8297
|
+
* @return {proto.sniippaymentmethodsserviceapi.ResponseCode}
|
|
8298
|
+
*/
|
|
8299
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse.prototype.getResponsecode = function() {
|
|
8300
|
+
return /** @type{proto.sniippaymentmethodsserviceapi.ResponseCode} */ (
|
|
8301
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.ResponseCode, 1));
|
|
8302
|
+
};
|
|
8303
|
+
|
|
8304
|
+
|
|
8305
|
+
/** @param {proto.sniippaymentmethodsserviceapi.ResponseCode|undefined} value */
|
|
8306
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse.prototype.setResponsecode = function(value) {
|
|
8307
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
8308
|
+
};
|
|
8309
|
+
|
|
8310
|
+
|
|
8311
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse.prototype.clearResponsecode = function() {
|
|
8312
|
+
this.setResponsecode(undefined);
|
|
8313
|
+
};
|
|
8314
|
+
|
|
8315
|
+
|
|
8316
|
+
/**
|
|
8317
|
+
* Returns whether this field is set.
|
|
8318
|
+
* @return{!boolean}
|
|
8319
|
+
*/
|
|
8320
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse.prototype.hasResponsecode = function() {
|
|
8321
|
+
return jspb.Message.getField(this, 1) != null;
|
|
8322
|
+
};
|
|
8323
|
+
|
|
8324
|
+
|
|
8325
|
+
/**
|
|
8326
|
+
* optional PaymentMethodGroup group = 2;
|
|
8327
|
+
* @return {proto.sniippaymentmethodsserviceapi.PaymentMethodGroup}
|
|
8328
|
+
*/
|
|
8329
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse.prototype.getGroup = function() {
|
|
8330
|
+
return /** @type{proto.sniippaymentmethodsserviceapi.PaymentMethodGroup} */ (
|
|
8331
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.PaymentMethodGroup, 2));
|
|
8332
|
+
};
|
|
8333
|
+
|
|
8334
|
+
|
|
8335
|
+
/** @param {proto.sniippaymentmethodsserviceapi.PaymentMethodGroup|undefined} value */
|
|
8336
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse.prototype.setGroup = function(value) {
|
|
8337
|
+
jspb.Message.setWrapperField(this, 2, value);
|
|
8338
|
+
};
|
|
8339
|
+
|
|
8340
|
+
|
|
8341
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse.prototype.clearGroup = function() {
|
|
8342
|
+
this.setGroup(undefined);
|
|
8343
|
+
};
|
|
8344
|
+
|
|
8345
|
+
|
|
8346
|
+
/**
|
|
8347
|
+
* Returns whether this field is set.
|
|
8348
|
+
* @return{!boolean}
|
|
8349
|
+
*/
|
|
8350
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupGetResponse.prototype.hasGroup = function() {
|
|
8351
|
+
return jspb.Message.getField(this, 2) != null;
|
|
8352
|
+
};
|
|
8353
|
+
|
|
8354
|
+
|
|
8355
|
+
|
|
8356
|
+
/**
|
|
8357
|
+
* Generated by JsPbCodeGenerator.
|
|
8358
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8359
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8360
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8361
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8362
|
+
* valid.
|
|
8363
|
+
* @extends {jspb.Message}
|
|
8364
|
+
* @constructor
|
|
8365
|
+
*/
|
|
8366
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest = function(opt_data) {
|
|
8367
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest.repeatedFields_, null);
|
|
8368
|
+
};
|
|
8369
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest, jspb.Message);
|
|
8370
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8371
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest.displayName = 'proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest';
|
|
8372
|
+
}
|
|
8373
|
+
/**
|
|
8374
|
+
* List of repeated fields within this message type.
|
|
8375
|
+
* @private {!Array<number>}
|
|
8376
|
+
* @const
|
|
8377
|
+
*/
|
|
8378
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest.repeatedFields_ = [2];
|
|
8379
|
+
|
|
8380
|
+
|
|
8381
|
+
|
|
8382
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8383
|
+
/**
|
|
8384
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
8385
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
8386
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
8387
|
+
* For the list of reserved names please see:
|
|
8388
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
8389
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
8390
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
8391
|
+
* @return {!Object}
|
|
8392
|
+
*/
|
|
8393
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest.prototype.toObject = function(opt_includeInstance) {
|
|
8394
|
+
return proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest.toObject(opt_includeInstance, this);
|
|
8395
|
+
};
|
|
8396
|
+
|
|
8397
|
+
|
|
8398
|
+
/**
|
|
8399
|
+
* Static version of the {@see toObject} method.
|
|
8400
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
8401
|
+
* instance for transitional soy proto support:
|
|
8402
|
+
* http://goto/soy-param-migration
|
|
8403
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest} msg The msg instance to transform.
|
|
8404
|
+
* @return {!Object}
|
|
8405
|
+
*/
|
|
8406
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest.toObject = function(includeInstance, msg) {
|
|
8407
|
+
var f, obj = {
|
|
8408
|
+
name: msg.getName(),
|
|
8409
|
+
paymentmethodsList: jspb.Message.getField(msg, 2)
|
|
8410
|
+
};
|
|
8411
|
+
|
|
8412
|
+
if (includeInstance) {
|
|
8413
|
+
obj.$jspbMessageInstance = msg;
|
|
8414
|
+
}
|
|
8415
|
+
return obj;
|
|
8416
|
+
};
|
|
8417
|
+
}
|
|
8418
|
+
|
|
8419
|
+
|
|
8420
|
+
/**
|
|
8421
|
+
* Deserializes binary data (in protobuf wire format).
|
|
8422
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8423
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest}
|
|
8424
|
+
*/
|
|
8425
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest.deserializeBinary = function(bytes) {
|
|
8426
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
8427
|
+
var msg = new proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest;
|
|
8428
|
+
return proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest.deserializeBinaryFromReader(msg, reader);
|
|
8429
|
+
};
|
|
8430
|
+
|
|
8431
|
+
|
|
8432
|
+
/**
|
|
8433
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
8434
|
+
* given reader into the given message object.
|
|
8435
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest} msg The message object to deserialize into.
|
|
8436
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8437
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest}
|
|
8438
|
+
*/
|
|
8439
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
8440
|
+
while (reader.nextField()) {
|
|
8441
|
+
if (reader.isEndGroup()) {
|
|
8442
|
+
break;
|
|
8443
|
+
}
|
|
8444
|
+
var field = reader.getFieldNumber();
|
|
8445
|
+
switch (field) {
|
|
8446
|
+
case 1:
|
|
8447
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8448
|
+
msg.setName(value);
|
|
8449
|
+
break;
|
|
8450
|
+
case 2:
|
|
8451
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8452
|
+
msg.getPaymentmethodsList().push(value);
|
|
8453
|
+
msg.setPaymentmethodsList(msg.getPaymentmethodsList());
|
|
8454
|
+
break;
|
|
8455
|
+
default:
|
|
8456
|
+
reader.skipField();
|
|
8457
|
+
break;
|
|
8458
|
+
}
|
|
8459
|
+
}
|
|
8460
|
+
return msg;
|
|
8461
|
+
};
|
|
8462
|
+
|
|
8463
|
+
|
|
8464
|
+
/**
|
|
8465
|
+
* Class method variant: serializes the given message to binary data
|
|
8466
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
8467
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest} message
|
|
8468
|
+
* @param {!jspb.BinaryWriter} writer
|
|
8469
|
+
*/
|
|
8470
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest.serializeBinaryToWriter = function(message, writer) {
|
|
8471
|
+
message.serializeBinaryToWriter(writer);
|
|
8472
|
+
};
|
|
8473
|
+
|
|
8474
|
+
|
|
8475
|
+
/**
|
|
8476
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
8477
|
+
* @return {!Uint8Array}
|
|
8478
|
+
*/
|
|
8479
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest.prototype.serializeBinary = function() {
|
|
8480
|
+
var writer = new jspb.BinaryWriter();
|
|
8481
|
+
this.serializeBinaryToWriter(writer);
|
|
8482
|
+
return writer.getResultBuffer();
|
|
8483
|
+
};
|
|
8484
|
+
|
|
8485
|
+
|
|
8486
|
+
/**
|
|
8487
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
8488
|
+
* writing to the given BinaryWriter.
|
|
8489
|
+
* @param {!jspb.BinaryWriter} writer
|
|
8490
|
+
*/
|
|
8491
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
8492
|
+
var f = undefined;
|
|
8493
|
+
f = this.getName();
|
|
8494
|
+
if (f.length > 0) {
|
|
8495
|
+
writer.writeString(
|
|
8496
|
+
1,
|
|
8497
|
+
f
|
|
8498
|
+
);
|
|
8499
|
+
}
|
|
8500
|
+
f = this.getPaymentmethodsList();
|
|
8501
|
+
if (f.length > 0) {
|
|
8502
|
+
writer.writeRepeatedString(
|
|
8503
|
+
2,
|
|
8504
|
+
f
|
|
8505
|
+
);
|
|
8506
|
+
}
|
|
8507
|
+
};
|
|
8508
|
+
|
|
8509
|
+
|
|
8510
|
+
/**
|
|
8511
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
8512
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest} The clone.
|
|
8513
|
+
*/
|
|
8514
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest.prototype.cloneMessage = function() {
|
|
8515
|
+
return /** @type {!proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest} */ (jspb.Message.cloneMessage(this));
|
|
8516
|
+
};
|
|
8517
|
+
|
|
8518
|
+
|
|
8519
|
+
/**
|
|
8520
|
+
* optional string name = 1;
|
|
8521
|
+
* @return {string}
|
|
8522
|
+
*/
|
|
8523
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest.prototype.getName = function() {
|
|
8524
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 1, ""));
|
|
8525
|
+
};
|
|
8526
|
+
|
|
8527
|
+
|
|
8528
|
+
/** @param {string} value */
|
|
8529
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest.prototype.setName = function(value) {
|
|
8530
|
+
jspb.Message.setField(this, 1, value);
|
|
8531
|
+
};
|
|
8532
|
+
|
|
8533
|
+
|
|
8534
|
+
/**
|
|
8535
|
+
* repeated string paymentMethods = 2;
|
|
8536
|
+
* If you change this array by adding, removing or replacing elements, or if you
|
|
8537
|
+
* replace the array itself, then you must call the setter to update it.
|
|
8538
|
+
* @return {!Array.<string>}
|
|
8539
|
+
*/
|
|
8540
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest.prototype.getPaymentmethodsList = function() {
|
|
8541
|
+
return /** @type {!Array.<string>} */ (jspb.Message.getField(this, 2));
|
|
8542
|
+
};
|
|
8543
|
+
|
|
8544
|
+
|
|
8545
|
+
/** @param {Array.<string>} value */
|
|
8546
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest.prototype.setPaymentmethodsList = function(value) {
|
|
8547
|
+
jspb.Message.setField(this, 2, value || []);
|
|
8548
|
+
};
|
|
8549
|
+
|
|
8550
|
+
|
|
8551
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest.prototype.clearPaymentmethodsList = function() {
|
|
8552
|
+
jspb.Message.setField(this, 2, []);
|
|
8553
|
+
};
|
|
8554
|
+
|
|
8555
|
+
|
|
8556
|
+
|
|
8557
|
+
/**
|
|
8558
|
+
* Generated by JsPbCodeGenerator.
|
|
8559
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8560
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8561
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8562
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8563
|
+
* valid.
|
|
8564
|
+
* @extends {jspb.Message}
|
|
8565
|
+
* @constructor
|
|
8566
|
+
*/
|
|
8567
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupsResponse = function(opt_data) {
|
|
7986
8568
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.sniippaymentmethodsserviceapi.PaymentMethodGroupsResponse.repeatedFields_, null);
|
|
7987
8569
|
};
|
|
7988
8570
|
goog.inherits(proto.sniippaymentmethodsserviceapi.PaymentMethodGroupsResponse, jspb.Message);
|
|
@@ -10168,6 +10750,209 @@ proto.sniippaymentmethodsserviceapi.UpdateCreditCard.prototype.setCvv = function
|
|
|
10168
10750
|
|
|
10169
10751
|
|
|
10170
10752
|
|
|
10753
|
+
/**
|
|
10754
|
+
* Generated by JsPbCodeGenerator.
|
|
10755
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
10756
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
10757
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
10758
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
10759
|
+
* valid.
|
|
10760
|
+
* @extends {jspb.Message}
|
|
10761
|
+
* @constructor
|
|
10762
|
+
*/
|
|
10763
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest = function(opt_data) {
|
|
10764
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
10765
|
+
};
|
|
10766
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest, jspb.Message);
|
|
10767
|
+
if (goog.DEBUG && !COMPILED) {
|
|
10768
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.displayName = 'proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest';
|
|
10769
|
+
}
|
|
10770
|
+
|
|
10771
|
+
|
|
10772
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10773
|
+
/**
|
|
10774
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
10775
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10776
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10777
|
+
* For the list of reserved names please see:
|
|
10778
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
10779
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
10780
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
10781
|
+
* @return {!Object}
|
|
10782
|
+
*/
|
|
10783
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.prototype.toObject = function(opt_includeInstance) {
|
|
10784
|
+
return proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.toObject(opt_includeInstance, this);
|
|
10785
|
+
};
|
|
10786
|
+
|
|
10787
|
+
|
|
10788
|
+
/**
|
|
10789
|
+
* Static version of the {@see toObject} method.
|
|
10790
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
10791
|
+
* instance for transitional soy proto support:
|
|
10792
|
+
* http://goto/soy-param-migration
|
|
10793
|
+
* @param {!proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest} msg The msg instance to transform.
|
|
10794
|
+
* @return {!Object}
|
|
10795
|
+
*/
|
|
10796
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.toObject = function(includeInstance, msg) {
|
|
10797
|
+
var f, obj = {
|
|
10798
|
+
groupid: msg.getGroupid(),
|
|
10799
|
+
data: (f = msg.getData()) && proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest.toObject(includeInstance, f)
|
|
10800
|
+
};
|
|
10801
|
+
|
|
10802
|
+
if (includeInstance) {
|
|
10803
|
+
obj.$jspbMessageInstance = msg;
|
|
10804
|
+
}
|
|
10805
|
+
return obj;
|
|
10806
|
+
};
|
|
10807
|
+
}
|
|
10808
|
+
|
|
10809
|
+
|
|
10810
|
+
/**
|
|
10811
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10812
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10813
|
+
* @return {!proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest}
|
|
10814
|
+
*/
|
|
10815
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.deserializeBinary = function(bytes) {
|
|
10816
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10817
|
+
var msg = new proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest;
|
|
10818
|
+
return proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.deserializeBinaryFromReader(msg, reader);
|
|
10819
|
+
};
|
|
10820
|
+
|
|
10821
|
+
|
|
10822
|
+
/**
|
|
10823
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10824
|
+
* given reader into the given message object.
|
|
10825
|
+
* @param {!proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest} msg The message object to deserialize into.
|
|
10826
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10827
|
+
* @return {!proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest}
|
|
10828
|
+
*/
|
|
10829
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
10830
|
+
while (reader.nextField()) {
|
|
10831
|
+
if (reader.isEndGroup()) {
|
|
10832
|
+
break;
|
|
10833
|
+
}
|
|
10834
|
+
var field = reader.getFieldNumber();
|
|
10835
|
+
switch (field) {
|
|
10836
|
+
case 1:
|
|
10837
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
10838
|
+
msg.setGroupid(value);
|
|
10839
|
+
break;
|
|
10840
|
+
case 2:
|
|
10841
|
+
var value = new proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest;
|
|
10842
|
+
reader.readMessage(value,proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest.deserializeBinaryFromReader);
|
|
10843
|
+
msg.setData(value);
|
|
10844
|
+
break;
|
|
10845
|
+
default:
|
|
10846
|
+
reader.skipField();
|
|
10847
|
+
break;
|
|
10848
|
+
}
|
|
10849
|
+
}
|
|
10850
|
+
return msg;
|
|
10851
|
+
};
|
|
10852
|
+
|
|
10853
|
+
|
|
10854
|
+
/**
|
|
10855
|
+
* Class method variant: serializes the given message to binary data
|
|
10856
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
10857
|
+
* @param {!proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest} message
|
|
10858
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10859
|
+
*/
|
|
10860
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.serializeBinaryToWriter = function(message, writer) {
|
|
10861
|
+
message.serializeBinaryToWriter(writer);
|
|
10862
|
+
};
|
|
10863
|
+
|
|
10864
|
+
|
|
10865
|
+
/**
|
|
10866
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10867
|
+
* @return {!Uint8Array}
|
|
10868
|
+
*/
|
|
10869
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.prototype.serializeBinary = function() {
|
|
10870
|
+
var writer = new jspb.BinaryWriter();
|
|
10871
|
+
this.serializeBinaryToWriter(writer);
|
|
10872
|
+
return writer.getResultBuffer();
|
|
10873
|
+
};
|
|
10874
|
+
|
|
10875
|
+
|
|
10876
|
+
/**
|
|
10877
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
10878
|
+
* writing to the given BinaryWriter.
|
|
10879
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10880
|
+
*/
|
|
10881
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
10882
|
+
var f = undefined;
|
|
10883
|
+
f = this.getGroupid();
|
|
10884
|
+
if (f !== 0) {
|
|
10885
|
+
writer.writeInt64(
|
|
10886
|
+
1,
|
|
10887
|
+
f
|
|
10888
|
+
);
|
|
10889
|
+
}
|
|
10890
|
+
f = this.getData();
|
|
10891
|
+
if (f != null) {
|
|
10892
|
+
writer.writeMessage(
|
|
10893
|
+
2,
|
|
10894
|
+
f,
|
|
10895
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest.serializeBinaryToWriter
|
|
10896
|
+
);
|
|
10897
|
+
}
|
|
10898
|
+
};
|
|
10899
|
+
|
|
10900
|
+
|
|
10901
|
+
/**
|
|
10902
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
10903
|
+
* @return {!proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest} The clone.
|
|
10904
|
+
*/
|
|
10905
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.prototype.cloneMessage = function() {
|
|
10906
|
+
return /** @type {!proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest} */ (jspb.Message.cloneMessage(this));
|
|
10907
|
+
};
|
|
10908
|
+
|
|
10909
|
+
|
|
10910
|
+
/**
|
|
10911
|
+
* optional int64 groupId = 1;
|
|
10912
|
+
* @return {number}
|
|
10913
|
+
*/
|
|
10914
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.prototype.getGroupid = function() {
|
|
10915
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
|
|
10916
|
+
};
|
|
10917
|
+
|
|
10918
|
+
|
|
10919
|
+
/** @param {number} value */
|
|
10920
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.prototype.setGroupid = function(value) {
|
|
10921
|
+
jspb.Message.setField(this, 1, value);
|
|
10922
|
+
};
|
|
10923
|
+
|
|
10924
|
+
|
|
10925
|
+
/**
|
|
10926
|
+
* optional PaymentMethodGroupPatchRequest data = 2;
|
|
10927
|
+
* @return {proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest}
|
|
10928
|
+
*/
|
|
10929
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.prototype.getData = function() {
|
|
10930
|
+
return /** @type{proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest} */ (
|
|
10931
|
+
jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest, 2));
|
|
10932
|
+
};
|
|
10933
|
+
|
|
10934
|
+
|
|
10935
|
+
/** @param {proto.sniippaymentmethodsserviceapi.PaymentMethodGroupPatchRequest|undefined} value */
|
|
10936
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.prototype.setData = function(value) {
|
|
10937
|
+
jspb.Message.setWrapperField(this, 2, value);
|
|
10938
|
+
};
|
|
10939
|
+
|
|
10940
|
+
|
|
10941
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.prototype.clearData = function() {
|
|
10942
|
+
this.setData(undefined);
|
|
10943
|
+
};
|
|
10944
|
+
|
|
10945
|
+
|
|
10946
|
+
/**
|
|
10947
|
+
* Returns whether this field is set.
|
|
10948
|
+
* @return{!boolean}
|
|
10949
|
+
*/
|
|
10950
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest.prototype.hasData = function() {
|
|
10951
|
+
return jspb.Message.getField(this, 2) != null;
|
|
10952
|
+
};
|
|
10953
|
+
|
|
10954
|
+
|
|
10955
|
+
|
|
10171
10956
|
/**
|
|
10172
10957
|
* Generated by JsPbCodeGenerator.
|
|
10173
10958
|
* @param {Array=} opt_data Optional initial data array, typically from a
|