@sniipwebmaster/transaction-service-client-grpcweb 26.8.15545 → 26.8.15570
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.
|
@@ -1537,6 +1537,67 @@ proto.sniiptransactionapi.SniipTransactionAPIServicePromiseClient.prototype.getP
|
|
|
1537
1537
|
};
|
|
1538
1538
|
|
|
1539
1539
|
|
|
1540
|
+
/**
|
|
1541
|
+
* @const
|
|
1542
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1543
|
+
* !proto.sniiptransactionapi.GetPaymentMethodCategoryAvailabilityRequest,
|
|
1544
|
+
* !proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse>}
|
|
1545
|
+
*/
|
|
1546
|
+
const methodDescriptor_SniipTransactionAPIService_GetPaymentMethodCategoryAvailability = new grpc.web.MethodDescriptor(
|
|
1547
|
+
'/sniiptransactionapi.SniipTransactionAPIService/GetPaymentMethodCategoryAvailability',
|
|
1548
|
+
grpc.web.MethodType.UNARY,
|
|
1549
|
+
proto.sniiptransactionapi.GetPaymentMethodCategoryAvailabilityRequest,
|
|
1550
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse,
|
|
1551
|
+
/**
|
|
1552
|
+
* @param {!proto.sniiptransactionapi.GetPaymentMethodCategoryAvailabilityRequest} request
|
|
1553
|
+
* @return {!Uint8Array}
|
|
1554
|
+
*/
|
|
1555
|
+
function(request) {
|
|
1556
|
+
return request.serializeBinary();
|
|
1557
|
+
},
|
|
1558
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse.deserializeBinary
|
|
1559
|
+
);
|
|
1560
|
+
|
|
1561
|
+
|
|
1562
|
+
/**
|
|
1563
|
+
* @param {!proto.sniiptransactionapi.GetPaymentMethodCategoryAvailabilityRequest} request The
|
|
1564
|
+
* request proto
|
|
1565
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1566
|
+
* call metadata
|
|
1567
|
+
* @param {function(?grpc.web.RpcError, ?proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse)}
|
|
1568
|
+
* callback The callback function(error, response)
|
|
1569
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse>|undefined}
|
|
1570
|
+
* The XHR Node Readable Stream
|
|
1571
|
+
*/
|
|
1572
|
+
proto.sniiptransactionapi.SniipTransactionAPIServiceClient.prototype.getPaymentMethodCategoryAvailability =
|
|
1573
|
+
function(request, metadata, callback) {
|
|
1574
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1575
|
+
'/sniiptransactionapi.SniipTransactionAPIService/GetPaymentMethodCategoryAvailability',
|
|
1576
|
+
request,
|
|
1577
|
+
metadata || {},
|
|
1578
|
+
methodDescriptor_SniipTransactionAPIService_GetPaymentMethodCategoryAvailability,
|
|
1579
|
+
callback);
|
|
1580
|
+
};
|
|
1581
|
+
|
|
1582
|
+
|
|
1583
|
+
/**
|
|
1584
|
+
* @param {!proto.sniiptransactionapi.GetPaymentMethodCategoryAvailabilityRequest} request The
|
|
1585
|
+
* request proto
|
|
1586
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1587
|
+
* call metadata
|
|
1588
|
+
* @return {!Promise<!proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse>}
|
|
1589
|
+
* Promise that resolves to the response
|
|
1590
|
+
*/
|
|
1591
|
+
proto.sniiptransactionapi.SniipTransactionAPIServicePromiseClient.prototype.getPaymentMethodCategoryAvailability =
|
|
1592
|
+
function(request, metadata) {
|
|
1593
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1594
|
+
'/sniiptransactionapi.SniipTransactionAPIService/GetPaymentMethodCategoryAvailability',
|
|
1595
|
+
request,
|
|
1596
|
+
metadata || {},
|
|
1597
|
+
methodDescriptor_SniipTransactionAPIService_GetPaymentMethodCategoryAvailability);
|
|
1598
|
+
};
|
|
1599
|
+
|
|
1600
|
+
|
|
1540
1601
|
/**
|
|
1541
1602
|
* @const
|
|
1542
1603
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -83,6 +83,7 @@ goog.exportSymbol('proto.sniiptransactionapi.GetPaymentDetailsBulkRequest', null
|
|
|
83
83
|
goog.exportSymbol('proto.sniiptransactionapi.GetPaymentDetailsInternalRequest', null, global);
|
|
84
84
|
goog.exportSymbol('proto.sniiptransactionapi.GetPaymentDetailsRequest', null, global);
|
|
85
85
|
goog.exportSymbol('proto.sniiptransactionapi.GetPaymentHistoryForBillReceiptRequest', null, global);
|
|
86
|
+
goog.exportSymbol('proto.sniiptransactionapi.GetPaymentMethodCategoryAvailabilityRequest', null, global);
|
|
86
87
|
goog.exportSymbol('proto.sniiptransactionapi.GetPaymentReceiptRequest', null, global);
|
|
87
88
|
goog.exportSymbol('proto.sniiptransactionapi.GetPaymentsSummaryForUserDashboardInternalRequest', null, global);
|
|
88
89
|
goog.exportSymbol('proto.sniiptransactionapi.GetProcessingFeesRequest', null, global);
|
|
@@ -131,8 +132,13 @@ goog.exportSymbol('proto.sniiptransactionapi.PaymentDetailsBulkResponse', null,
|
|
|
131
132
|
goog.exportSymbol('proto.sniiptransactionapi.PaymentDetailsRequest', null, global);
|
|
132
133
|
goog.exportSymbol('proto.sniiptransactionapi.PaymentDetailsRequest.PaymentDetailsRequestPaymentMethod', null, global);
|
|
133
134
|
goog.exportSymbol('proto.sniiptransactionapi.PaymentDetailsResponse', null, global);
|
|
135
|
+
goog.exportSymbol('proto.sniiptransactionapi.PaymentErrorDetail', null, global);
|
|
134
136
|
goog.exportSymbol('proto.sniiptransactionapi.PaymentHistory', null, global);
|
|
135
137
|
goog.exportSymbol('proto.sniiptransactionapi.PaymentHistoryTitle', null, global);
|
|
138
|
+
goog.exportSymbol('proto.sniiptransactionapi.PaymentMethodCategory', null, global);
|
|
139
|
+
goog.exportSymbol('proto.sniiptransactionapi.PaymentMethodCategoryAvailability', null, global);
|
|
140
|
+
goog.exportSymbol('proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityRequest', null, global);
|
|
141
|
+
goog.exportSymbol('proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse', null, global);
|
|
136
142
|
goog.exportSymbol('proto.sniiptransactionapi.PaymentMethodDetails', null, global);
|
|
137
143
|
goog.exportSymbol('proto.sniiptransactionapi.PaymentMethodType', null, global);
|
|
138
144
|
goog.exportSymbol('proto.sniiptransactionapi.PaymentsSummaryResponse', null, global);
|
|
@@ -2908,6 +2914,111 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2908
2914
|
*/
|
|
2909
2915
|
proto.sniiptransactionapi.ResponseCode.displayName = 'proto.sniiptransactionapi.ResponseCode';
|
|
2910
2916
|
}
|
|
2917
|
+
/**
|
|
2918
|
+
* Generated by JsPbCodeGenerator.
|
|
2919
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2920
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2921
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2922
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2923
|
+
* valid.
|
|
2924
|
+
* @extends {jspb.Message}
|
|
2925
|
+
* @constructor
|
|
2926
|
+
*/
|
|
2927
|
+
proto.sniiptransactionapi.PaymentErrorDetail = function(opt_data) {
|
|
2928
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2929
|
+
};
|
|
2930
|
+
goog.inherits(proto.sniiptransactionapi.PaymentErrorDetail, jspb.Message);
|
|
2931
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2932
|
+
/**
|
|
2933
|
+
* @public
|
|
2934
|
+
* @override
|
|
2935
|
+
*/
|
|
2936
|
+
proto.sniiptransactionapi.PaymentErrorDetail.displayName = 'proto.sniiptransactionapi.PaymentErrorDetail';
|
|
2937
|
+
}
|
|
2938
|
+
/**
|
|
2939
|
+
* Generated by JsPbCodeGenerator.
|
|
2940
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2941
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2942
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2943
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2944
|
+
* valid.
|
|
2945
|
+
* @extends {jspb.Message}
|
|
2946
|
+
* @constructor
|
|
2947
|
+
*/
|
|
2948
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityRequest = function(opt_data) {
|
|
2949
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityRequest.repeatedFields_, null);
|
|
2950
|
+
};
|
|
2951
|
+
goog.inherits(proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityRequest, jspb.Message);
|
|
2952
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2953
|
+
/**
|
|
2954
|
+
* @public
|
|
2955
|
+
* @override
|
|
2956
|
+
*/
|
|
2957
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityRequest.displayName = 'proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityRequest';
|
|
2958
|
+
}
|
|
2959
|
+
/**
|
|
2960
|
+
* Generated by JsPbCodeGenerator.
|
|
2961
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2962
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2963
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2964
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2965
|
+
* valid.
|
|
2966
|
+
* @extends {jspb.Message}
|
|
2967
|
+
* @constructor
|
|
2968
|
+
*/
|
|
2969
|
+
proto.sniiptransactionapi.GetPaymentMethodCategoryAvailabilityRequest = function(opt_data) {
|
|
2970
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2971
|
+
};
|
|
2972
|
+
goog.inherits(proto.sniiptransactionapi.GetPaymentMethodCategoryAvailabilityRequest, jspb.Message);
|
|
2973
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2974
|
+
/**
|
|
2975
|
+
* @public
|
|
2976
|
+
* @override
|
|
2977
|
+
*/
|
|
2978
|
+
proto.sniiptransactionapi.GetPaymentMethodCategoryAvailabilityRequest.displayName = 'proto.sniiptransactionapi.GetPaymentMethodCategoryAvailabilityRequest';
|
|
2979
|
+
}
|
|
2980
|
+
/**
|
|
2981
|
+
* Generated by JsPbCodeGenerator.
|
|
2982
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2983
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2984
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2985
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2986
|
+
* valid.
|
|
2987
|
+
* @extends {jspb.Message}
|
|
2988
|
+
* @constructor
|
|
2989
|
+
*/
|
|
2990
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailability = function(opt_data) {
|
|
2991
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2992
|
+
};
|
|
2993
|
+
goog.inherits(proto.sniiptransactionapi.PaymentMethodCategoryAvailability, jspb.Message);
|
|
2994
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2995
|
+
/**
|
|
2996
|
+
* @public
|
|
2997
|
+
* @override
|
|
2998
|
+
*/
|
|
2999
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailability.displayName = 'proto.sniiptransactionapi.PaymentMethodCategoryAvailability';
|
|
3000
|
+
}
|
|
3001
|
+
/**
|
|
3002
|
+
* Generated by JsPbCodeGenerator.
|
|
3003
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3004
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3005
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3006
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3007
|
+
* valid.
|
|
3008
|
+
* @extends {jspb.Message}
|
|
3009
|
+
* @constructor
|
|
3010
|
+
*/
|
|
3011
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse = function(opt_data) {
|
|
3012
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse.repeatedFields_, null);
|
|
3013
|
+
};
|
|
3014
|
+
goog.inherits(proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse, jspb.Message);
|
|
3015
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3016
|
+
/**
|
|
3017
|
+
* @public
|
|
3018
|
+
* @override
|
|
3019
|
+
*/
|
|
3020
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse.displayName = 'proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse';
|
|
3021
|
+
}
|
|
2911
3022
|
/**
|
|
2912
3023
|
* Generated by JsPbCodeGenerator.
|
|
2913
3024
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -25741,7 +25852,8 @@ proto.sniiptransactionapi.PaymentDetailsBulkResponse.toObject = function(include
|
|
|
25741
25852
|
gstsurcharge: jspb.Message.getFloatingPointFieldWithDefault(msg, 32, 0.0),
|
|
25742
25853
|
surchargeratewithoutgst: jspb.Message.getFloatingPointFieldWithDefault(msg, 33, 0.0),
|
|
25743
25854
|
gstrate: jspb.Message.getFloatingPointFieldWithDefault(msg, 34, 0.0),
|
|
25744
|
-
wasmembershipfallbackapplied: jspb.Message.getBooleanFieldWithDefault(msg, 35, false)
|
|
25855
|
+
wasmembershipfallbackapplied: jspb.Message.getBooleanFieldWithDefault(msg, 35, false),
|
|
25856
|
+
paymenterrordetail: (f = msg.getPaymenterrordetail()) && proto.sniiptransactionapi.PaymentErrorDetail.toObject(includeInstance, f)
|
|
25745
25857
|
};
|
|
25746
25858
|
|
|
25747
25859
|
if (includeInstance) {
|
|
@@ -25923,6 +26035,11 @@ proto.sniiptransactionapi.PaymentDetailsBulkResponse.deserializeBinaryFromReader
|
|
|
25923
26035
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
25924
26036
|
msg.setWasmembershipfallbackapplied(value);
|
|
25925
26037
|
break;
|
|
26038
|
+
case 36:
|
|
26039
|
+
var value = new proto.sniiptransactionapi.PaymentErrorDetail;
|
|
26040
|
+
reader.readMessage(value,proto.sniiptransactionapi.PaymentErrorDetail.deserializeBinaryFromReader);
|
|
26041
|
+
msg.setPaymenterrordetail(value);
|
|
26042
|
+
break;
|
|
25926
26043
|
default:
|
|
25927
26044
|
reader.skipField();
|
|
25928
26045
|
break;
|
|
@@ -26200,6 +26317,14 @@ proto.sniiptransactionapi.PaymentDetailsBulkResponse.serializeBinaryToWriter = f
|
|
|
26200
26317
|
f
|
|
26201
26318
|
);
|
|
26202
26319
|
}
|
|
26320
|
+
f = message.getPaymenterrordetail();
|
|
26321
|
+
if (f != null) {
|
|
26322
|
+
writer.writeMessage(
|
|
26323
|
+
36,
|
|
26324
|
+
f,
|
|
26325
|
+
proto.sniiptransactionapi.PaymentErrorDetail.serializeBinaryToWriter
|
|
26326
|
+
);
|
|
26327
|
+
}
|
|
26203
26328
|
};
|
|
26204
26329
|
|
|
26205
26330
|
|
|
@@ -26910,6 +27035,43 @@ proto.sniiptransactionapi.PaymentDetailsBulkResponse.prototype.setWasmembershipf
|
|
|
26910
27035
|
};
|
|
26911
27036
|
|
|
26912
27037
|
|
|
27038
|
+
/**
|
|
27039
|
+
* optional PaymentErrorDetail paymentErrorDetail = 36;
|
|
27040
|
+
* @return {?proto.sniiptransactionapi.PaymentErrorDetail}
|
|
27041
|
+
*/
|
|
27042
|
+
proto.sniiptransactionapi.PaymentDetailsBulkResponse.prototype.getPaymenterrordetail = function() {
|
|
27043
|
+
return /** @type{?proto.sniiptransactionapi.PaymentErrorDetail} */ (
|
|
27044
|
+
jspb.Message.getWrapperField(this, proto.sniiptransactionapi.PaymentErrorDetail, 36));
|
|
27045
|
+
};
|
|
27046
|
+
|
|
27047
|
+
|
|
27048
|
+
/**
|
|
27049
|
+
* @param {?proto.sniiptransactionapi.PaymentErrorDetail|undefined} value
|
|
27050
|
+
* @return {!proto.sniiptransactionapi.PaymentDetailsBulkResponse} returns this
|
|
27051
|
+
*/
|
|
27052
|
+
proto.sniiptransactionapi.PaymentDetailsBulkResponse.prototype.setPaymenterrordetail = function(value) {
|
|
27053
|
+
return jspb.Message.setWrapperField(this, 36, value);
|
|
27054
|
+
};
|
|
27055
|
+
|
|
27056
|
+
|
|
27057
|
+
/**
|
|
27058
|
+
* Clears the message field making it undefined.
|
|
27059
|
+
* @return {!proto.sniiptransactionapi.PaymentDetailsBulkResponse} returns this
|
|
27060
|
+
*/
|
|
27061
|
+
proto.sniiptransactionapi.PaymentDetailsBulkResponse.prototype.clearPaymenterrordetail = function() {
|
|
27062
|
+
return this.setPaymenterrordetail(undefined);
|
|
27063
|
+
};
|
|
27064
|
+
|
|
27065
|
+
|
|
27066
|
+
/**
|
|
27067
|
+
* Returns whether this field is set.
|
|
27068
|
+
* @return {boolean}
|
|
27069
|
+
*/
|
|
27070
|
+
proto.sniiptransactionapi.PaymentDetailsBulkResponse.prototype.hasPaymenterrordetail = function() {
|
|
27071
|
+
return jspb.Message.getField(this, 36) != null;
|
|
27072
|
+
};
|
|
27073
|
+
|
|
27074
|
+
|
|
26913
27075
|
|
|
26914
27076
|
|
|
26915
27077
|
|
|
@@ -28099,7 +28261,8 @@ proto.sniiptransactionapi.PaymentDetailsResponse.toObject = function(includeInst
|
|
|
28099
28261
|
loyaltyprogrameligible: jspb.Message.getBooleanFieldWithDefault(msg, 38, false),
|
|
28100
28262
|
hypotheticalprogramearn: (f = msg.getHypotheticalprogramearn()) && proto.sniiptransactionapi.HypotheticalProgramEarn.toObject(includeInstance, f),
|
|
28101
28263
|
disclaimertext: jspb.Message.getFieldWithDefault(msg, 40, ""),
|
|
28102
|
-
wasmembershipfallbackapplied: jspb.Message.getBooleanFieldWithDefault(msg, 41, false)
|
|
28264
|
+
wasmembershipfallbackapplied: jspb.Message.getBooleanFieldWithDefault(msg, 41, false),
|
|
28265
|
+
paymenterrordetail: (f = msg.getPaymenterrordetail()) && proto.sniiptransactionapi.PaymentErrorDetail.toObject(includeInstance, f)
|
|
28103
28266
|
};
|
|
28104
28267
|
|
|
28105
28268
|
if (includeInstance) {
|
|
@@ -28304,6 +28467,11 @@ proto.sniiptransactionapi.PaymentDetailsResponse.deserializeBinaryFromReader = f
|
|
|
28304
28467
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
28305
28468
|
msg.setWasmembershipfallbackapplied(value);
|
|
28306
28469
|
break;
|
|
28470
|
+
case 42:
|
|
28471
|
+
var value = new proto.sniiptransactionapi.PaymentErrorDetail;
|
|
28472
|
+
reader.readMessage(value,proto.sniiptransactionapi.PaymentErrorDetail.deserializeBinaryFromReader);
|
|
28473
|
+
msg.setPaymenterrordetail(value);
|
|
28474
|
+
break;
|
|
28307
28475
|
default:
|
|
28308
28476
|
reader.skipField();
|
|
28309
28477
|
break;
|
|
@@ -28624,6 +28792,14 @@ proto.sniiptransactionapi.PaymentDetailsResponse.serializeBinaryToWriter = funct
|
|
|
28624
28792
|
f
|
|
28625
28793
|
);
|
|
28626
28794
|
}
|
|
28795
|
+
f = message.getPaymenterrordetail();
|
|
28796
|
+
if (f != null) {
|
|
28797
|
+
writer.writeMessage(
|
|
28798
|
+
42,
|
|
28799
|
+
f,
|
|
28800
|
+
proto.sniiptransactionapi.PaymentErrorDetail.serializeBinaryToWriter
|
|
28801
|
+
);
|
|
28802
|
+
}
|
|
28627
28803
|
};
|
|
28628
28804
|
|
|
28629
28805
|
|
|
@@ -29441,6 +29617,43 @@ proto.sniiptransactionapi.PaymentDetailsResponse.prototype.setWasmembershipfallb
|
|
|
29441
29617
|
};
|
|
29442
29618
|
|
|
29443
29619
|
|
|
29620
|
+
/**
|
|
29621
|
+
* optional PaymentErrorDetail paymentErrorDetail = 42;
|
|
29622
|
+
* @return {?proto.sniiptransactionapi.PaymentErrorDetail}
|
|
29623
|
+
*/
|
|
29624
|
+
proto.sniiptransactionapi.PaymentDetailsResponse.prototype.getPaymenterrordetail = function() {
|
|
29625
|
+
return /** @type{?proto.sniiptransactionapi.PaymentErrorDetail} */ (
|
|
29626
|
+
jspb.Message.getWrapperField(this, proto.sniiptransactionapi.PaymentErrorDetail, 42));
|
|
29627
|
+
};
|
|
29628
|
+
|
|
29629
|
+
|
|
29630
|
+
/**
|
|
29631
|
+
* @param {?proto.sniiptransactionapi.PaymentErrorDetail|undefined} value
|
|
29632
|
+
* @return {!proto.sniiptransactionapi.PaymentDetailsResponse} returns this
|
|
29633
|
+
*/
|
|
29634
|
+
proto.sniiptransactionapi.PaymentDetailsResponse.prototype.setPaymenterrordetail = function(value) {
|
|
29635
|
+
return jspb.Message.setWrapperField(this, 42, value);
|
|
29636
|
+
};
|
|
29637
|
+
|
|
29638
|
+
|
|
29639
|
+
/**
|
|
29640
|
+
* Clears the message field making it undefined.
|
|
29641
|
+
* @return {!proto.sniiptransactionapi.PaymentDetailsResponse} returns this
|
|
29642
|
+
*/
|
|
29643
|
+
proto.sniiptransactionapi.PaymentDetailsResponse.prototype.clearPaymenterrordetail = function() {
|
|
29644
|
+
return this.setPaymenterrordetail(undefined);
|
|
29645
|
+
};
|
|
29646
|
+
|
|
29647
|
+
|
|
29648
|
+
/**
|
|
29649
|
+
* Returns whether this field is set.
|
|
29650
|
+
* @return {boolean}
|
|
29651
|
+
*/
|
|
29652
|
+
proto.sniiptransactionapi.PaymentDetailsResponse.prototype.hasPaymenterrordetail = function() {
|
|
29653
|
+
return jspb.Message.getField(this, 42) != null;
|
|
29654
|
+
};
|
|
29655
|
+
|
|
29656
|
+
|
|
29444
29657
|
|
|
29445
29658
|
/**
|
|
29446
29659
|
* List of repeated fields within this message type.
|
|
@@ -38300,6 +38513,897 @@ proto.sniiptransactionapi.ResponseCode.prototype.setMessage = function(value) {
|
|
|
38300
38513
|
|
|
38301
38514
|
|
|
38302
38515
|
|
|
38516
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
38517
|
+
/**
|
|
38518
|
+
* Creates an object representation of this proto.
|
|
38519
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
38520
|
+
* Optional fields that are not set will be set to undefined.
|
|
38521
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
38522
|
+
* For the list of reserved names please see:
|
|
38523
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
38524
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
38525
|
+
* JSPB instance for transitional soy proto support:
|
|
38526
|
+
* http://goto/soy-param-migration
|
|
38527
|
+
* @return {!Object}
|
|
38528
|
+
*/
|
|
38529
|
+
proto.sniiptransactionapi.PaymentErrorDetail.prototype.toObject = function(opt_includeInstance) {
|
|
38530
|
+
return proto.sniiptransactionapi.PaymentErrorDetail.toObject(opt_includeInstance, this);
|
|
38531
|
+
};
|
|
38532
|
+
|
|
38533
|
+
|
|
38534
|
+
/**
|
|
38535
|
+
* Static version of the {@see toObject} method.
|
|
38536
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
38537
|
+
* the JSPB instance for transitional soy proto support:
|
|
38538
|
+
* http://goto/soy-param-migration
|
|
38539
|
+
* @param {!proto.sniiptransactionapi.PaymentErrorDetail} msg The msg instance to transform.
|
|
38540
|
+
* @return {!Object}
|
|
38541
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
38542
|
+
*/
|
|
38543
|
+
proto.sniiptransactionapi.PaymentErrorDetail.toObject = function(includeInstance, msg) {
|
|
38544
|
+
var f, obj = {
|
|
38545
|
+
title: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
38546
|
+
message: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
38547
|
+
};
|
|
38548
|
+
|
|
38549
|
+
if (includeInstance) {
|
|
38550
|
+
obj.$jspbMessageInstance = msg;
|
|
38551
|
+
}
|
|
38552
|
+
return obj;
|
|
38553
|
+
};
|
|
38554
|
+
}
|
|
38555
|
+
|
|
38556
|
+
|
|
38557
|
+
/**
|
|
38558
|
+
* Deserializes binary data (in protobuf wire format).
|
|
38559
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
38560
|
+
* @return {!proto.sniiptransactionapi.PaymentErrorDetail}
|
|
38561
|
+
*/
|
|
38562
|
+
proto.sniiptransactionapi.PaymentErrorDetail.deserializeBinary = function(bytes) {
|
|
38563
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
38564
|
+
var msg = new proto.sniiptransactionapi.PaymentErrorDetail;
|
|
38565
|
+
return proto.sniiptransactionapi.PaymentErrorDetail.deserializeBinaryFromReader(msg, reader);
|
|
38566
|
+
};
|
|
38567
|
+
|
|
38568
|
+
|
|
38569
|
+
/**
|
|
38570
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
38571
|
+
* given reader into the given message object.
|
|
38572
|
+
* @param {!proto.sniiptransactionapi.PaymentErrorDetail} msg The message object to deserialize into.
|
|
38573
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
38574
|
+
* @return {!proto.sniiptransactionapi.PaymentErrorDetail}
|
|
38575
|
+
*/
|
|
38576
|
+
proto.sniiptransactionapi.PaymentErrorDetail.deserializeBinaryFromReader = function(msg, reader) {
|
|
38577
|
+
while (reader.nextField()) {
|
|
38578
|
+
if (reader.isEndGroup()) {
|
|
38579
|
+
break;
|
|
38580
|
+
}
|
|
38581
|
+
var field = reader.getFieldNumber();
|
|
38582
|
+
switch (field) {
|
|
38583
|
+
case 1:
|
|
38584
|
+
var value = /** @type {string} */ (reader.readString());
|
|
38585
|
+
msg.setTitle(value);
|
|
38586
|
+
break;
|
|
38587
|
+
case 2:
|
|
38588
|
+
var value = /** @type {string} */ (reader.readString());
|
|
38589
|
+
msg.setMessage(value);
|
|
38590
|
+
break;
|
|
38591
|
+
default:
|
|
38592
|
+
reader.skipField();
|
|
38593
|
+
break;
|
|
38594
|
+
}
|
|
38595
|
+
}
|
|
38596
|
+
return msg;
|
|
38597
|
+
};
|
|
38598
|
+
|
|
38599
|
+
|
|
38600
|
+
/**
|
|
38601
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
38602
|
+
* @return {!Uint8Array}
|
|
38603
|
+
*/
|
|
38604
|
+
proto.sniiptransactionapi.PaymentErrorDetail.prototype.serializeBinary = function() {
|
|
38605
|
+
var writer = new jspb.BinaryWriter();
|
|
38606
|
+
proto.sniiptransactionapi.PaymentErrorDetail.serializeBinaryToWriter(this, writer);
|
|
38607
|
+
return writer.getResultBuffer();
|
|
38608
|
+
};
|
|
38609
|
+
|
|
38610
|
+
|
|
38611
|
+
/**
|
|
38612
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
38613
|
+
* format), writing to the given BinaryWriter.
|
|
38614
|
+
* @param {!proto.sniiptransactionapi.PaymentErrorDetail} message
|
|
38615
|
+
* @param {!jspb.BinaryWriter} writer
|
|
38616
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
38617
|
+
*/
|
|
38618
|
+
proto.sniiptransactionapi.PaymentErrorDetail.serializeBinaryToWriter = function(message, writer) {
|
|
38619
|
+
var f = undefined;
|
|
38620
|
+
f = message.getTitle();
|
|
38621
|
+
if (f.length > 0) {
|
|
38622
|
+
writer.writeString(
|
|
38623
|
+
1,
|
|
38624
|
+
f
|
|
38625
|
+
);
|
|
38626
|
+
}
|
|
38627
|
+
f = message.getMessage();
|
|
38628
|
+
if (f.length > 0) {
|
|
38629
|
+
writer.writeString(
|
|
38630
|
+
2,
|
|
38631
|
+
f
|
|
38632
|
+
);
|
|
38633
|
+
}
|
|
38634
|
+
};
|
|
38635
|
+
|
|
38636
|
+
|
|
38637
|
+
/**
|
|
38638
|
+
* optional string title = 1;
|
|
38639
|
+
* @return {string}
|
|
38640
|
+
*/
|
|
38641
|
+
proto.sniiptransactionapi.PaymentErrorDetail.prototype.getTitle = function() {
|
|
38642
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
38643
|
+
};
|
|
38644
|
+
|
|
38645
|
+
|
|
38646
|
+
/**
|
|
38647
|
+
* @param {string} value
|
|
38648
|
+
* @return {!proto.sniiptransactionapi.PaymentErrorDetail} returns this
|
|
38649
|
+
*/
|
|
38650
|
+
proto.sniiptransactionapi.PaymentErrorDetail.prototype.setTitle = function(value) {
|
|
38651
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
38652
|
+
};
|
|
38653
|
+
|
|
38654
|
+
|
|
38655
|
+
/**
|
|
38656
|
+
* optional string message = 2;
|
|
38657
|
+
* @return {string}
|
|
38658
|
+
*/
|
|
38659
|
+
proto.sniiptransactionapi.PaymentErrorDetail.prototype.getMessage = function() {
|
|
38660
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
38661
|
+
};
|
|
38662
|
+
|
|
38663
|
+
|
|
38664
|
+
/**
|
|
38665
|
+
* @param {string} value
|
|
38666
|
+
* @return {!proto.sniiptransactionapi.PaymentErrorDetail} returns this
|
|
38667
|
+
*/
|
|
38668
|
+
proto.sniiptransactionapi.PaymentErrorDetail.prototype.setMessage = function(value) {
|
|
38669
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
38670
|
+
};
|
|
38671
|
+
|
|
38672
|
+
|
|
38673
|
+
|
|
38674
|
+
/**
|
|
38675
|
+
* List of repeated fields within this message type.
|
|
38676
|
+
* @private {!Array<number>}
|
|
38677
|
+
* @const
|
|
38678
|
+
*/
|
|
38679
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityRequest.repeatedFields_ = [1];
|
|
38680
|
+
|
|
38681
|
+
|
|
38682
|
+
|
|
38683
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
38684
|
+
/**
|
|
38685
|
+
* Creates an object representation of this proto.
|
|
38686
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
38687
|
+
* Optional fields that are not set will be set to undefined.
|
|
38688
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
38689
|
+
* For the list of reserved names please see:
|
|
38690
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
38691
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
38692
|
+
* JSPB instance for transitional soy proto support:
|
|
38693
|
+
* http://goto/soy-param-migration
|
|
38694
|
+
* @return {!Object}
|
|
38695
|
+
*/
|
|
38696
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityRequest.prototype.toObject = function(opt_includeInstance) {
|
|
38697
|
+
return proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityRequest.toObject(opt_includeInstance, this);
|
|
38698
|
+
};
|
|
38699
|
+
|
|
38700
|
+
|
|
38701
|
+
/**
|
|
38702
|
+
* Static version of the {@see toObject} method.
|
|
38703
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
38704
|
+
* the JSPB instance for transitional soy proto support:
|
|
38705
|
+
* http://goto/soy-param-migration
|
|
38706
|
+
* @param {!proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityRequest} msg The msg instance to transform.
|
|
38707
|
+
* @return {!Object}
|
|
38708
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
38709
|
+
*/
|
|
38710
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityRequest.toObject = function(includeInstance, msg) {
|
|
38711
|
+
var f, obj = {
|
|
38712
|
+
billidsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
38713
|
+
};
|
|
38714
|
+
|
|
38715
|
+
if (includeInstance) {
|
|
38716
|
+
obj.$jspbMessageInstance = msg;
|
|
38717
|
+
}
|
|
38718
|
+
return obj;
|
|
38719
|
+
};
|
|
38720
|
+
}
|
|
38721
|
+
|
|
38722
|
+
|
|
38723
|
+
/**
|
|
38724
|
+
* Deserializes binary data (in protobuf wire format).
|
|
38725
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
38726
|
+
* @return {!proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityRequest}
|
|
38727
|
+
*/
|
|
38728
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityRequest.deserializeBinary = function(bytes) {
|
|
38729
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
38730
|
+
var msg = new proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityRequest;
|
|
38731
|
+
return proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityRequest.deserializeBinaryFromReader(msg, reader);
|
|
38732
|
+
};
|
|
38733
|
+
|
|
38734
|
+
|
|
38735
|
+
/**
|
|
38736
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
38737
|
+
* given reader into the given message object.
|
|
38738
|
+
* @param {!proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityRequest} msg The message object to deserialize into.
|
|
38739
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
38740
|
+
* @return {!proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityRequest}
|
|
38741
|
+
*/
|
|
38742
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
38743
|
+
while (reader.nextField()) {
|
|
38744
|
+
if (reader.isEndGroup()) {
|
|
38745
|
+
break;
|
|
38746
|
+
}
|
|
38747
|
+
var field = reader.getFieldNumber();
|
|
38748
|
+
switch (field) {
|
|
38749
|
+
case 1:
|
|
38750
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
|
|
38751
|
+
for (var i = 0; i < values.length; i++) {
|
|
38752
|
+
msg.addBillids(values[i]);
|
|
38753
|
+
}
|
|
38754
|
+
break;
|
|
38755
|
+
default:
|
|
38756
|
+
reader.skipField();
|
|
38757
|
+
break;
|
|
38758
|
+
}
|
|
38759
|
+
}
|
|
38760
|
+
return msg;
|
|
38761
|
+
};
|
|
38762
|
+
|
|
38763
|
+
|
|
38764
|
+
/**
|
|
38765
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
38766
|
+
* @return {!Uint8Array}
|
|
38767
|
+
*/
|
|
38768
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityRequest.prototype.serializeBinary = function() {
|
|
38769
|
+
var writer = new jspb.BinaryWriter();
|
|
38770
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityRequest.serializeBinaryToWriter(this, writer);
|
|
38771
|
+
return writer.getResultBuffer();
|
|
38772
|
+
};
|
|
38773
|
+
|
|
38774
|
+
|
|
38775
|
+
/**
|
|
38776
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
38777
|
+
* format), writing to the given BinaryWriter.
|
|
38778
|
+
* @param {!proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityRequest} message
|
|
38779
|
+
* @param {!jspb.BinaryWriter} writer
|
|
38780
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
38781
|
+
*/
|
|
38782
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityRequest.serializeBinaryToWriter = function(message, writer) {
|
|
38783
|
+
var f = undefined;
|
|
38784
|
+
f = message.getBillidsList();
|
|
38785
|
+
if (f.length > 0) {
|
|
38786
|
+
writer.writePackedInt64(
|
|
38787
|
+
1,
|
|
38788
|
+
f
|
|
38789
|
+
);
|
|
38790
|
+
}
|
|
38791
|
+
};
|
|
38792
|
+
|
|
38793
|
+
|
|
38794
|
+
/**
|
|
38795
|
+
* repeated int64 billIds = 1;
|
|
38796
|
+
* @return {!Array<number>}
|
|
38797
|
+
*/
|
|
38798
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityRequest.prototype.getBillidsList = function() {
|
|
38799
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
38800
|
+
};
|
|
38801
|
+
|
|
38802
|
+
|
|
38803
|
+
/**
|
|
38804
|
+
* @param {!Array<number>} value
|
|
38805
|
+
* @return {!proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityRequest} returns this
|
|
38806
|
+
*/
|
|
38807
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityRequest.prototype.setBillidsList = function(value) {
|
|
38808
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
38809
|
+
};
|
|
38810
|
+
|
|
38811
|
+
|
|
38812
|
+
/**
|
|
38813
|
+
* @param {number} value
|
|
38814
|
+
* @param {number=} opt_index
|
|
38815
|
+
* @return {!proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityRequest} returns this
|
|
38816
|
+
*/
|
|
38817
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityRequest.prototype.addBillids = function(value, opt_index) {
|
|
38818
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
38819
|
+
};
|
|
38820
|
+
|
|
38821
|
+
|
|
38822
|
+
/**
|
|
38823
|
+
* Clears the list making it empty but non-null.
|
|
38824
|
+
* @return {!proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityRequest} returns this
|
|
38825
|
+
*/
|
|
38826
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityRequest.prototype.clearBillidsList = function() {
|
|
38827
|
+
return this.setBillidsList([]);
|
|
38828
|
+
};
|
|
38829
|
+
|
|
38830
|
+
|
|
38831
|
+
|
|
38832
|
+
|
|
38833
|
+
|
|
38834
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
38835
|
+
/**
|
|
38836
|
+
* Creates an object representation of this proto.
|
|
38837
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
38838
|
+
* Optional fields that are not set will be set to undefined.
|
|
38839
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
38840
|
+
* For the list of reserved names please see:
|
|
38841
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
38842
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
38843
|
+
* JSPB instance for transitional soy proto support:
|
|
38844
|
+
* http://goto/soy-param-migration
|
|
38845
|
+
* @return {!Object}
|
|
38846
|
+
*/
|
|
38847
|
+
proto.sniiptransactionapi.GetPaymentMethodCategoryAvailabilityRequest.prototype.toObject = function(opt_includeInstance) {
|
|
38848
|
+
return proto.sniiptransactionapi.GetPaymentMethodCategoryAvailabilityRequest.toObject(opt_includeInstance, this);
|
|
38849
|
+
};
|
|
38850
|
+
|
|
38851
|
+
|
|
38852
|
+
/**
|
|
38853
|
+
* Static version of the {@see toObject} method.
|
|
38854
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
38855
|
+
* the JSPB instance for transitional soy proto support:
|
|
38856
|
+
* http://goto/soy-param-migration
|
|
38857
|
+
* @param {!proto.sniiptransactionapi.GetPaymentMethodCategoryAvailabilityRequest} msg The msg instance to transform.
|
|
38858
|
+
* @return {!Object}
|
|
38859
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
38860
|
+
*/
|
|
38861
|
+
proto.sniiptransactionapi.GetPaymentMethodCategoryAvailabilityRequest.toObject = function(includeInstance, msg) {
|
|
38862
|
+
var f, obj = {
|
|
38863
|
+
data: (f = msg.getData()) && proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityRequest.toObject(includeInstance, f)
|
|
38864
|
+
};
|
|
38865
|
+
|
|
38866
|
+
if (includeInstance) {
|
|
38867
|
+
obj.$jspbMessageInstance = msg;
|
|
38868
|
+
}
|
|
38869
|
+
return obj;
|
|
38870
|
+
};
|
|
38871
|
+
}
|
|
38872
|
+
|
|
38873
|
+
|
|
38874
|
+
/**
|
|
38875
|
+
* Deserializes binary data (in protobuf wire format).
|
|
38876
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
38877
|
+
* @return {!proto.sniiptransactionapi.GetPaymentMethodCategoryAvailabilityRequest}
|
|
38878
|
+
*/
|
|
38879
|
+
proto.sniiptransactionapi.GetPaymentMethodCategoryAvailabilityRequest.deserializeBinary = function(bytes) {
|
|
38880
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
38881
|
+
var msg = new proto.sniiptransactionapi.GetPaymentMethodCategoryAvailabilityRequest;
|
|
38882
|
+
return proto.sniiptransactionapi.GetPaymentMethodCategoryAvailabilityRequest.deserializeBinaryFromReader(msg, reader);
|
|
38883
|
+
};
|
|
38884
|
+
|
|
38885
|
+
|
|
38886
|
+
/**
|
|
38887
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
38888
|
+
* given reader into the given message object.
|
|
38889
|
+
* @param {!proto.sniiptransactionapi.GetPaymentMethodCategoryAvailabilityRequest} msg The message object to deserialize into.
|
|
38890
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
38891
|
+
* @return {!proto.sniiptransactionapi.GetPaymentMethodCategoryAvailabilityRequest}
|
|
38892
|
+
*/
|
|
38893
|
+
proto.sniiptransactionapi.GetPaymentMethodCategoryAvailabilityRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
38894
|
+
while (reader.nextField()) {
|
|
38895
|
+
if (reader.isEndGroup()) {
|
|
38896
|
+
break;
|
|
38897
|
+
}
|
|
38898
|
+
var field = reader.getFieldNumber();
|
|
38899
|
+
switch (field) {
|
|
38900
|
+
case 1:
|
|
38901
|
+
var value = new proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityRequest;
|
|
38902
|
+
reader.readMessage(value,proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityRequest.deserializeBinaryFromReader);
|
|
38903
|
+
msg.setData(value);
|
|
38904
|
+
break;
|
|
38905
|
+
default:
|
|
38906
|
+
reader.skipField();
|
|
38907
|
+
break;
|
|
38908
|
+
}
|
|
38909
|
+
}
|
|
38910
|
+
return msg;
|
|
38911
|
+
};
|
|
38912
|
+
|
|
38913
|
+
|
|
38914
|
+
/**
|
|
38915
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
38916
|
+
* @return {!Uint8Array}
|
|
38917
|
+
*/
|
|
38918
|
+
proto.sniiptransactionapi.GetPaymentMethodCategoryAvailabilityRequest.prototype.serializeBinary = function() {
|
|
38919
|
+
var writer = new jspb.BinaryWriter();
|
|
38920
|
+
proto.sniiptransactionapi.GetPaymentMethodCategoryAvailabilityRequest.serializeBinaryToWriter(this, writer);
|
|
38921
|
+
return writer.getResultBuffer();
|
|
38922
|
+
};
|
|
38923
|
+
|
|
38924
|
+
|
|
38925
|
+
/**
|
|
38926
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
38927
|
+
* format), writing to the given BinaryWriter.
|
|
38928
|
+
* @param {!proto.sniiptransactionapi.GetPaymentMethodCategoryAvailabilityRequest} message
|
|
38929
|
+
* @param {!jspb.BinaryWriter} writer
|
|
38930
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
38931
|
+
*/
|
|
38932
|
+
proto.sniiptransactionapi.GetPaymentMethodCategoryAvailabilityRequest.serializeBinaryToWriter = function(message, writer) {
|
|
38933
|
+
var f = undefined;
|
|
38934
|
+
f = message.getData();
|
|
38935
|
+
if (f != null) {
|
|
38936
|
+
writer.writeMessage(
|
|
38937
|
+
1,
|
|
38938
|
+
f,
|
|
38939
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityRequest.serializeBinaryToWriter
|
|
38940
|
+
);
|
|
38941
|
+
}
|
|
38942
|
+
};
|
|
38943
|
+
|
|
38944
|
+
|
|
38945
|
+
/**
|
|
38946
|
+
* optional PaymentMethodCategoryAvailabilityRequest data = 1;
|
|
38947
|
+
* @return {?proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityRequest}
|
|
38948
|
+
*/
|
|
38949
|
+
proto.sniiptransactionapi.GetPaymentMethodCategoryAvailabilityRequest.prototype.getData = function() {
|
|
38950
|
+
return /** @type{?proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityRequest} */ (
|
|
38951
|
+
jspb.Message.getWrapperField(this, proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityRequest, 1));
|
|
38952
|
+
};
|
|
38953
|
+
|
|
38954
|
+
|
|
38955
|
+
/**
|
|
38956
|
+
* @param {?proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityRequest|undefined} value
|
|
38957
|
+
* @return {!proto.sniiptransactionapi.GetPaymentMethodCategoryAvailabilityRequest} returns this
|
|
38958
|
+
*/
|
|
38959
|
+
proto.sniiptransactionapi.GetPaymentMethodCategoryAvailabilityRequest.prototype.setData = function(value) {
|
|
38960
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
38961
|
+
};
|
|
38962
|
+
|
|
38963
|
+
|
|
38964
|
+
/**
|
|
38965
|
+
* Clears the message field making it undefined.
|
|
38966
|
+
* @return {!proto.sniiptransactionapi.GetPaymentMethodCategoryAvailabilityRequest} returns this
|
|
38967
|
+
*/
|
|
38968
|
+
proto.sniiptransactionapi.GetPaymentMethodCategoryAvailabilityRequest.prototype.clearData = function() {
|
|
38969
|
+
return this.setData(undefined);
|
|
38970
|
+
};
|
|
38971
|
+
|
|
38972
|
+
|
|
38973
|
+
/**
|
|
38974
|
+
* Returns whether this field is set.
|
|
38975
|
+
* @return {boolean}
|
|
38976
|
+
*/
|
|
38977
|
+
proto.sniiptransactionapi.GetPaymentMethodCategoryAvailabilityRequest.prototype.hasData = function() {
|
|
38978
|
+
return jspb.Message.getField(this, 1) != null;
|
|
38979
|
+
};
|
|
38980
|
+
|
|
38981
|
+
|
|
38982
|
+
|
|
38983
|
+
|
|
38984
|
+
|
|
38985
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
38986
|
+
/**
|
|
38987
|
+
* Creates an object representation of this proto.
|
|
38988
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
38989
|
+
* Optional fields that are not set will be set to undefined.
|
|
38990
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
38991
|
+
* For the list of reserved names please see:
|
|
38992
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
38993
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
38994
|
+
* JSPB instance for transitional soy proto support:
|
|
38995
|
+
* http://goto/soy-param-migration
|
|
38996
|
+
* @return {!Object}
|
|
38997
|
+
*/
|
|
38998
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailability.prototype.toObject = function(opt_includeInstance) {
|
|
38999
|
+
return proto.sniiptransactionapi.PaymentMethodCategoryAvailability.toObject(opt_includeInstance, this);
|
|
39000
|
+
};
|
|
39001
|
+
|
|
39002
|
+
|
|
39003
|
+
/**
|
|
39004
|
+
* Static version of the {@see toObject} method.
|
|
39005
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
39006
|
+
* the JSPB instance for transitional soy proto support:
|
|
39007
|
+
* http://goto/soy-param-migration
|
|
39008
|
+
* @param {!proto.sniiptransactionapi.PaymentMethodCategoryAvailability} msg The msg instance to transform.
|
|
39009
|
+
* @return {!Object}
|
|
39010
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
39011
|
+
*/
|
|
39012
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailability.toObject = function(includeInstance, msg) {
|
|
39013
|
+
var f, obj = {
|
|
39014
|
+
category: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
39015
|
+
selectable: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
39016
|
+
paymenterrordetail: (f = msg.getPaymenterrordetail()) && proto.sniiptransactionapi.PaymentErrorDetail.toObject(includeInstance, f)
|
|
39017
|
+
};
|
|
39018
|
+
|
|
39019
|
+
if (includeInstance) {
|
|
39020
|
+
obj.$jspbMessageInstance = msg;
|
|
39021
|
+
}
|
|
39022
|
+
return obj;
|
|
39023
|
+
};
|
|
39024
|
+
}
|
|
39025
|
+
|
|
39026
|
+
|
|
39027
|
+
/**
|
|
39028
|
+
* Deserializes binary data (in protobuf wire format).
|
|
39029
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
39030
|
+
* @return {!proto.sniiptransactionapi.PaymentMethodCategoryAvailability}
|
|
39031
|
+
*/
|
|
39032
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailability.deserializeBinary = function(bytes) {
|
|
39033
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
39034
|
+
var msg = new proto.sniiptransactionapi.PaymentMethodCategoryAvailability;
|
|
39035
|
+
return proto.sniiptransactionapi.PaymentMethodCategoryAvailability.deserializeBinaryFromReader(msg, reader);
|
|
39036
|
+
};
|
|
39037
|
+
|
|
39038
|
+
|
|
39039
|
+
/**
|
|
39040
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
39041
|
+
* given reader into the given message object.
|
|
39042
|
+
* @param {!proto.sniiptransactionapi.PaymentMethodCategoryAvailability} msg The message object to deserialize into.
|
|
39043
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
39044
|
+
* @return {!proto.sniiptransactionapi.PaymentMethodCategoryAvailability}
|
|
39045
|
+
*/
|
|
39046
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailability.deserializeBinaryFromReader = function(msg, reader) {
|
|
39047
|
+
while (reader.nextField()) {
|
|
39048
|
+
if (reader.isEndGroup()) {
|
|
39049
|
+
break;
|
|
39050
|
+
}
|
|
39051
|
+
var field = reader.getFieldNumber();
|
|
39052
|
+
switch (field) {
|
|
39053
|
+
case 1:
|
|
39054
|
+
var value = /** @type {!proto.sniiptransactionapi.PaymentMethodCategory} */ (reader.readEnum());
|
|
39055
|
+
msg.setCategory(value);
|
|
39056
|
+
break;
|
|
39057
|
+
case 2:
|
|
39058
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
39059
|
+
msg.setSelectable(value);
|
|
39060
|
+
break;
|
|
39061
|
+
case 3:
|
|
39062
|
+
var value = new proto.sniiptransactionapi.PaymentErrorDetail;
|
|
39063
|
+
reader.readMessage(value,proto.sniiptransactionapi.PaymentErrorDetail.deserializeBinaryFromReader);
|
|
39064
|
+
msg.setPaymenterrordetail(value);
|
|
39065
|
+
break;
|
|
39066
|
+
default:
|
|
39067
|
+
reader.skipField();
|
|
39068
|
+
break;
|
|
39069
|
+
}
|
|
39070
|
+
}
|
|
39071
|
+
return msg;
|
|
39072
|
+
};
|
|
39073
|
+
|
|
39074
|
+
|
|
39075
|
+
/**
|
|
39076
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
39077
|
+
* @return {!Uint8Array}
|
|
39078
|
+
*/
|
|
39079
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailability.prototype.serializeBinary = function() {
|
|
39080
|
+
var writer = new jspb.BinaryWriter();
|
|
39081
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailability.serializeBinaryToWriter(this, writer);
|
|
39082
|
+
return writer.getResultBuffer();
|
|
39083
|
+
};
|
|
39084
|
+
|
|
39085
|
+
|
|
39086
|
+
/**
|
|
39087
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
39088
|
+
* format), writing to the given BinaryWriter.
|
|
39089
|
+
* @param {!proto.sniiptransactionapi.PaymentMethodCategoryAvailability} message
|
|
39090
|
+
* @param {!jspb.BinaryWriter} writer
|
|
39091
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
39092
|
+
*/
|
|
39093
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailability.serializeBinaryToWriter = function(message, writer) {
|
|
39094
|
+
var f = undefined;
|
|
39095
|
+
f = message.getCategory();
|
|
39096
|
+
if (f !== 0.0) {
|
|
39097
|
+
writer.writeEnum(
|
|
39098
|
+
1,
|
|
39099
|
+
f
|
|
39100
|
+
);
|
|
39101
|
+
}
|
|
39102
|
+
f = message.getSelectable();
|
|
39103
|
+
if (f) {
|
|
39104
|
+
writer.writeBool(
|
|
39105
|
+
2,
|
|
39106
|
+
f
|
|
39107
|
+
);
|
|
39108
|
+
}
|
|
39109
|
+
f = message.getPaymenterrordetail();
|
|
39110
|
+
if (f != null) {
|
|
39111
|
+
writer.writeMessage(
|
|
39112
|
+
3,
|
|
39113
|
+
f,
|
|
39114
|
+
proto.sniiptransactionapi.PaymentErrorDetail.serializeBinaryToWriter
|
|
39115
|
+
);
|
|
39116
|
+
}
|
|
39117
|
+
};
|
|
39118
|
+
|
|
39119
|
+
|
|
39120
|
+
/**
|
|
39121
|
+
* optional PaymentMethodCategory category = 1;
|
|
39122
|
+
* @return {!proto.sniiptransactionapi.PaymentMethodCategory}
|
|
39123
|
+
*/
|
|
39124
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailability.prototype.getCategory = function() {
|
|
39125
|
+
return /** @type {!proto.sniiptransactionapi.PaymentMethodCategory} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
39126
|
+
};
|
|
39127
|
+
|
|
39128
|
+
|
|
39129
|
+
/**
|
|
39130
|
+
* @param {!proto.sniiptransactionapi.PaymentMethodCategory} value
|
|
39131
|
+
* @return {!proto.sniiptransactionapi.PaymentMethodCategoryAvailability} returns this
|
|
39132
|
+
*/
|
|
39133
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailability.prototype.setCategory = function(value) {
|
|
39134
|
+
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
39135
|
+
};
|
|
39136
|
+
|
|
39137
|
+
|
|
39138
|
+
/**
|
|
39139
|
+
* optional bool selectable = 2;
|
|
39140
|
+
* @return {boolean}
|
|
39141
|
+
*/
|
|
39142
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailability.prototype.getSelectable = function() {
|
|
39143
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
39144
|
+
};
|
|
39145
|
+
|
|
39146
|
+
|
|
39147
|
+
/**
|
|
39148
|
+
* @param {boolean} value
|
|
39149
|
+
* @return {!proto.sniiptransactionapi.PaymentMethodCategoryAvailability} returns this
|
|
39150
|
+
*/
|
|
39151
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailability.prototype.setSelectable = function(value) {
|
|
39152
|
+
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
39153
|
+
};
|
|
39154
|
+
|
|
39155
|
+
|
|
39156
|
+
/**
|
|
39157
|
+
* optional PaymentErrorDetail paymentErrorDetail = 3;
|
|
39158
|
+
* @return {?proto.sniiptransactionapi.PaymentErrorDetail}
|
|
39159
|
+
*/
|
|
39160
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailability.prototype.getPaymenterrordetail = function() {
|
|
39161
|
+
return /** @type{?proto.sniiptransactionapi.PaymentErrorDetail} */ (
|
|
39162
|
+
jspb.Message.getWrapperField(this, proto.sniiptransactionapi.PaymentErrorDetail, 3));
|
|
39163
|
+
};
|
|
39164
|
+
|
|
39165
|
+
|
|
39166
|
+
/**
|
|
39167
|
+
* @param {?proto.sniiptransactionapi.PaymentErrorDetail|undefined} value
|
|
39168
|
+
* @return {!proto.sniiptransactionapi.PaymentMethodCategoryAvailability} returns this
|
|
39169
|
+
*/
|
|
39170
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailability.prototype.setPaymenterrordetail = function(value) {
|
|
39171
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
39172
|
+
};
|
|
39173
|
+
|
|
39174
|
+
|
|
39175
|
+
/**
|
|
39176
|
+
* Clears the message field making it undefined.
|
|
39177
|
+
* @return {!proto.sniiptransactionapi.PaymentMethodCategoryAvailability} returns this
|
|
39178
|
+
*/
|
|
39179
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailability.prototype.clearPaymenterrordetail = function() {
|
|
39180
|
+
return this.setPaymenterrordetail(undefined);
|
|
39181
|
+
};
|
|
39182
|
+
|
|
39183
|
+
|
|
39184
|
+
/**
|
|
39185
|
+
* Returns whether this field is set.
|
|
39186
|
+
* @return {boolean}
|
|
39187
|
+
*/
|
|
39188
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailability.prototype.hasPaymenterrordetail = function() {
|
|
39189
|
+
return jspb.Message.getField(this, 3) != null;
|
|
39190
|
+
};
|
|
39191
|
+
|
|
39192
|
+
|
|
39193
|
+
|
|
39194
|
+
/**
|
|
39195
|
+
* List of repeated fields within this message type.
|
|
39196
|
+
* @private {!Array<number>}
|
|
39197
|
+
* @const
|
|
39198
|
+
*/
|
|
39199
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse.repeatedFields_ = [2];
|
|
39200
|
+
|
|
39201
|
+
|
|
39202
|
+
|
|
39203
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
39204
|
+
/**
|
|
39205
|
+
* Creates an object representation of this proto.
|
|
39206
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
39207
|
+
* Optional fields that are not set will be set to undefined.
|
|
39208
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
39209
|
+
* For the list of reserved names please see:
|
|
39210
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
39211
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
39212
|
+
* JSPB instance for transitional soy proto support:
|
|
39213
|
+
* http://goto/soy-param-migration
|
|
39214
|
+
* @return {!Object}
|
|
39215
|
+
*/
|
|
39216
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse.prototype.toObject = function(opt_includeInstance) {
|
|
39217
|
+
return proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse.toObject(opt_includeInstance, this);
|
|
39218
|
+
};
|
|
39219
|
+
|
|
39220
|
+
|
|
39221
|
+
/**
|
|
39222
|
+
* Static version of the {@see toObject} method.
|
|
39223
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
39224
|
+
* the JSPB instance for transitional soy proto support:
|
|
39225
|
+
* http://goto/soy-param-migration
|
|
39226
|
+
* @param {!proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse} msg The msg instance to transform.
|
|
39227
|
+
* @return {!Object}
|
|
39228
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
39229
|
+
*/
|
|
39230
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse.toObject = function(includeInstance, msg) {
|
|
39231
|
+
var f, obj = {
|
|
39232
|
+
responsecode: (f = msg.getResponsecode()) && proto.sniiptransactionapi.ResponseCode.toObject(includeInstance, f),
|
|
39233
|
+
categoriesList: jspb.Message.toObjectList(msg.getCategoriesList(),
|
|
39234
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailability.toObject, includeInstance)
|
|
39235
|
+
};
|
|
39236
|
+
|
|
39237
|
+
if (includeInstance) {
|
|
39238
|
+
obj.$jspbMessageInstance = msg;
|
|
39239
|
+
}
|
|
39240
|
+
return obj;
|
|
39241
|
+
};
|
|
39242
|
+
}
|
|
39243
|
+
|
|
39244
|
+
|
|
39245
|
+
/**
|
|
39246
|
+
* Deserializes binary data (in protobuf wire format).
|
|
39247
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
39248
|
+
* @return {!proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse}
|
|
39249
|
+
*/
|
|
39250
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse.deserializeBinary = function(bytes) {
|
|
39251
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
39252
|
+
var msg = new proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse;
|
|
39253
|
+
return proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse.deserializeBinaryFromReader(msg, reader);
|
|
39254
|
+
};
|
|
39255
|
+
|
|
39256
|
+
|
|
39257
|
+
/**
|
|
39258
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
39259
|
+
* given reader into the given message object.
|
|
39260
|
+
* @param {!proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse} msg The message object to deserialize into.
|
|
39261
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
39262
|
+
* @return {!proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse}
|
|
39263
|
+
*/
|
|
39264
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
39265
|
+
while (reader.nextField()) {
|
|
39266
|
+
if (reader.isEndGroup()) {
|
|
39267
|
+
break;
|
|
39268
|
+
}
|
|
39269
|
+
var field = reader.getFieldNumber();
|
|
39270
|
+
switch (field) {
|
|
39271
|
+
case 1:
|
|
39272
|
+
var value = new proto.sniiptransactionapi.ResponseCode;
|
|
39273
|
+
reader.readMessage(value,proto.sniiptransactionapi.ResponseCode.deserializeBinaryFromReader);
|
|
39274
|
+
msg.setResponsecode(value);
|
|
39275
|
+
break;
|
|
39276
|
+
case 2:
|
|
39277
|
+
var value = new proto.sniiptransactionapi.PaymentMethodCategoryAvailability;
|
|
39278
|
+
reader.readMessage(value,proto.sniiptransactionapi.PaymentMethodCategoryAvailability.deserializeBinaryFromReader);
|
|
39279
|
+
msg.addCategories(value);
|
|
39280
|
+
break;
|
|
39281
|
+
default:
|
|
39282
|
+
reader.skipField();
|
|
39283
|
+
break;
|
|
39284
|
+
}
|
|
39285
|
+
}
|
|
39286
|
+
return msg;
|
|
39287
|
+
};
|
|
39288
|
+
|
|
39289
|
+
|
|
39290
|
+
/**
|
|
39291
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
39292
|
+
* @return {!Uint8Array}
|
|
39293
|
+
*/
|
|
39294
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse.prototype.serializeBinary = function() {
|
|
39295
|
+
var writer = new jspb.BinaryWriter();
|
|
39296
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse.serializeBinaryToWriter(this, writer);
|
|
39297
|
+
return writer.getResultBuffer();
|
|
39298
|
+
};
|
|
39299
|
+
|
|
39300
|
+
|
|
39301
|
+
/**
|
|
39302
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
39303
|
+
* format), writing to the given BinaryWriter.
|
|
39304
|
+
* @param {!proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse} message
|
|
39305
|
+
* @param {!jspb.BinaryWriter} writer
|
|
39306
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
39307
|
+
*/
|
|
39308
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse.serializeBinaryToWriter = function(message, writer) {
|
|
39309
|
+
var f = undefined;
|
|
39310
|
+
f = message.getResponsecode();
|
|
39311
|
+
if (f != null) {
|
|
39312
|
+
writer.writeMessage(
|
|
39313
|
+
1,
|
|
39314
|
+
f,
|
|
39315
|
+
proto.sniiptransactionapi.ResponseCode.serializeBinaryToWriter
|
|
39316
|
+
);
|
|
39317
|
+
}
|
|
39318
|
+
f = message.getCategoriesList();
|
|
39319
|
+
if (f.length > 0) {
|
|
39320
|
+
writer.writeRepeatedMessage(
|
|
39321
|
+
2,
|
|
39322
|
+
f,
|
|
39323
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailability.serializeBinaryToWriter
|
|
39324
|
+
);
|
|
39325
|
+
}
|
|
39326
|
+
};
|
|
39327
|
+
|
|
39328
|
+
|
|
39329
|
+
/**
|
|
39330
|
+
* optional ResponseCode responseCode = 1;
|
|
39331
|
+
* @return {?proto.sniiptransactionapi.ResponseCode}
|
|
39332
|
+
*/
|
|
39333
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse.prototype.getResponsecode = function() {
|
|
39334
|
+
return /** @type{?proto.sniiptransactionapi.ResponseCode} */ (
|
|
39335
|
+
jspb.Message.getWrapperField(this, proto.sniiptransactionapi.ResponseCode, 1));
|
|
39336
|
+
};
|
|
39337
|
+
|
|
39338
|
+
|
|
39339
|
+
/**
|
|
39340
|
+
* @param {?proto.sniiptransactionapi.ResponseCode|undefined} value
|
|
39341
|
+
* @return {!proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse} returns this
|
|
39342
|
+
*/
|
|
39343
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse.prototype.setResponsecode = function(value) {
|
|
39344
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
39345
|
+
};
|
|
39346
|
+
|
|
39347
|
+
|
|
39348
|
+
/**
|
|
39349
|
+
* Clears the message field making it undefined.
|
|
39350
|
+
* @return {!proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse} returns this
|
|
39351
|
+
*/
|
|
39352
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse.prototype.clearResponsecode = function() {
|
|
39353
|
+
return this.setResponsecode(undefined);
|
|
39354
|
+
};
|
|
39355
|
+
|
|
39356
|
+
|
|
39357
|
+
/**
|
|
39358
|
+
* Returns whether this field is set.
|
|
39359
|
+
* @return {boolean}
|
|
39360
|
+
*/
|
|
39361
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse.prototype.hasResponsecode = function() {
|
|
39362
|
+
return jspb.Message.getField(this, 1) != null;
|
|
39363
|
+
};
|
|
39364
|
+
|
|
39365
|
+
|
|
39366
|
+
/**
|
|
39367
|
+
* repeated PaymentMethodCategoryAvailability categories = 2;
|
|
39368
|
+
* @return {!Array<!proto.sniiptransactionapi.PaymentMethodCategoryAvailability>}
|
|
39369
|
+
*/
|
|
39370
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse.prototype.getCategoriesList = function() {
|
|
39371
|
+
return /** @type{!Array<!proto.sniiptransactionapi.PaymentMethodCategoryAvailability>} */ (
|
|
39372
|
+
jspb.Message.getRepeatedWrapperField(this, proto.sniiptransactionapi.PaymentMethodCategoryAvailability, 2));
|
|
39373
|
+
};
|
|
39374
|
+
|
|
39375
|
+
|
|
39376
|
+
/**
|
|
39377
|
+
* @param {!Array<!proto.sniiptransactionapi.PaymentMethodCategoryAvailability>} value
|
|
39378
|
+
* @return {!proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse} returns this
|
|
39379
|
+
*/
|
|
39380
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse.prototype.setCategoriesList = function(value) {
|
|
39381
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
39382
|
+
};
|
|
39383
|
+
|
|
39384
|
+
|
|
39385
|
+
/**
|
|
39386
|
+
* @param {!proto.sniiptransactionapi.PaymentMethodCategoryAvailability=} opt_value
|
|
39387
|
+
* @param {number=} opt_index
|
|
39388
|
+
* @return {!proto.sniiptransactionapi.PaymentMethodCategoryAvailability}
|
|
39389
|
+
*/
|
|
39390
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse.prototype.addCategories = function(opt_value, opt_index) {
|
|
39391
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.sniiptransactionapi.PaymentMethodCategoryAvailability, opt_index);
|
|
39392
|
+
};
|
|
39393
|
+
|
|
39394
|
+
|
|
39395
|
+
/**
|
|
39396
|
+
* Clears the list making it empty but non-null.
|
|
39397
|
+
* @return {!proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse} returns this
|
|
39398
|
+
*/
|
|
39399
|
+
proto.sniiptransactionapi.PaymentMethodCategoryAvailabilityResponse.prototype.clearCategoriesList = function() {
|
|
39400
|
+
return this.setCategoriesList([]);
|
|
39401
|
+
};
|
|
39402
|
+
|
|
39403
|
+
|
|
39404
|
+
|
|
39405
|
+
|
|
39406
|
+
|
|
38303
39407
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
38304
39408
|
/**
|
|
38305
39409
|
* Creates an object representation of this proto.
|
|
@@ -45471,4 +46575,20 @@ proto.sniiptransactionapi.DeliveryBatchType = {
|
|
|
45471
46575
|
DELIVERY_BATCH_TYPE_PAYROLL: 2
|
|
45472
46576
|
};
|
|
45473
46577
|
|
|
46578
|
+
/**
|
|
46579
|
+
* @enum {number}
|
|
46580
|
+
*/
|
|
46581
|
+
proto.sniiptransactionapi.PaymentMethodCategory = {
|
|
46582
|
+
PAYMENT_METHOD_CATEGORY_UNKNOWN: 0,
|
|
46583
|
+
PAYMENT_METHOD_CATEGORY_CARD: 1,
|
|
46584
|
+
PAYMENT_METHOD_CATEGORY_BANK_ACCOUNT: 2,
|
|
46585
|
+
PAYMENT_METHOD_CATEGORY_PAYTO_BANK_ACCOUNT: 3,
|
|
46586
|
+
PAYMENT_METHOD_CATEGORY_GOOGLE_PAY: 4,
|
|
46587
|
+
PAYMENT_METHOD_CATEGORY_APPLE_PAY: 5,
|
|
46588
|
+
PAYMENT_METHOD_CATEGORY_WEX_CARD: 6,
|
|
46589
|
+
PAYMENT_METHOD_CATEGORY_ALIPAY: 7,
|
|
46590
|
+
PAYMENT_METHOD_CATEGORY_WE_CHAT_PAY: 8,
|
|
46591
|
+
PAYMENT_METHOD_CATEGORY_CLICK2PAY: 9
|
|
46592
|
+
};
|
|
46593
|
+
|
|
45474
46594
|
goog.object.extend(exports, proto.sniiptransactionapi);
|