@sniipwebmaster/transaction-service-client-grpcweb-ts 26.2.13919 → 26.2.13937
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.
|
@@ -2492,5 +2492,48 @@ export class SniipTransactionAPIServiceClient {
|
|
|
2492
2492
|
this.methodDescriptorVoidRewardForTransaction);
|
|
2493
2493
|
}
|
|
2494
2494
|
|
|
2495
|
+
methodDescriptorGetUserPaymentProcessors = new grpcWeb.MethodDescriptor(
|
|
2496
|
+
'/sniiptransactionapi.SniipTransactionAPIService/GetUserPaymentProcessors',
|
|
2497
|
+
grpcWeb.MethodType.UNARY,
|
|
2498
|
+
service_pb.GetUserPaymentProcessorsRequest,
|
|
2499
|
+
service_pb.GetUserPaymentProcessorsResponse,
|
|
2500
|
+
(request: service_pb.GetUserPaymentProcessorsRequest) => {
|
|
2501
|
+
return request.serializeBinary();
|
|
2502
|
+
},
|
|
2503
|
+
service_pb.GetUserPaymentProcessorsResponse.deserializeBinary
|
|
2504
|
+
);
|
|
2505
|
+
|
|
2506
|
+
getUserPaymentProcessors(
|
|
2507
|
+
request: service_pb.GetUserPaymentProcessorsRequest,
|
|
2508
|
+
metadata?: grpcWeb.Metadata | null): Promise<service_pb.GetUserPaymentProcessorsResponse>;
|
|
2509
|
+
|
|
2510
|
+
getUserPaymentProcessors(
|
|
2511
|
+
request: service_pb.GetUserPaymentProcessorsRequest,
|
|
2512
|
+
metadata: grpcWeb.Metadata | null,
|
|
2513
|
+
callback: (err: grpcWeb.RpcError,
|
|
2514
|
+
response: service_pb.GetUserPaymentProcessorsResponse) => void): grpcWeb.ClientReadableStream<service_pb.GetUserPaymentProcessorsResponse>;
|
|
2515
|
+
|
|
2516
|
+
getUserPaymentProcessors(
|
|
2517
|
+
request: service_pb.GetUserPaymentProcessorsRequest,
|
|
2518
|
+
metadata?: grpcWeb.Metadata | null,
|
|
2519
|
+
callback?: (err: grpcWeb.RpcError,
|
|
2520
|
+
response: service_pb.GetUserPaymentProcessorsResponse) => void) {
|
|
2521
|
+
if (callback !== undefined) {
|
|
2522
|
+
return this.client_.rpcCall(
|
|
2523
|
+
this.hostname_ +
|
|
2524
|
+
'/sniiptransactionapi.SniipTransactionAPIService/GetUserPaymentProcessors',
|
|
2525
|
+
request,
|
|
2526
|
+
metadata || {},
|
|
2527
|
+
this.methodDescriptorGetUserPaymentProcessors,
|
|
2528
|
+
callback);
|
|
2529
|
+
}
|
|
2530
|
+
return this.client_.unaryCall(
|
|
2531
|
+
this.hostname_ +
|
|
2532
|
+
'/sniiptransactionapi.SniipTransactionAPIService/GetUserPaymentProcessors',
|
|
2533
|
+
request,
|
|
2534
|
+
metadata || {},
|
|
2535
|
+
this.methodDescriptorGetUserPaymentProcessors);
|
|
2536
|
+
}
|
|
2537
|
+
|
|
2495
2538
|
}
|
|
2496
2539
|
|
|
@@ -5111,6 +5111,50 @@ export namespace GetPaymentsSummaryForUserDashboardInternalRequest {
|
|
|
5111
5111
|
}
|
|
5112
5112
|
}
|
|
5113
5113
|
|
|
5114
|
+
export class GetUserPaymentProcessorsRequest extends jspb.Message {
|
|
5115
|
+
getUserid(): number;
|
|
5116
|
+
setUserid(value: number): GetUserPaymentProcessorsRequest;
|
|
5117
|
+
|
|
5118
|
+
serializeBinary(): Uint8Array;
|
|
5119
|
+
toObject(includeInstance?: boolean): GetUserPaymentProcessorsRequest.AsObject;
|
|
5120
|
+
static toObject(includeInstance: boolean, msg: GetUserPaymentProcessorsRequest): GetUserPaymentProcessorsRequest.AsObject;
|
|
5121
|
+
static serializeBinaryToWriter(message: GetUserPaymentProcessorsRequest, writer: jspb.BinaryWriter): void;
|
|
5122
|
+
static deserializeBinary(bytes: Uint8Array): GetUserPaymentProcessorsRequest;
|
|
5123
|
+
static deserializeBinaryFromReader(message: GetUserPaymentProcessorsRequest, reader: jspb.BinaryReader): GetUserPaymentProcessorsRequest;
|
|
5124
|
+
}
|
|
5125
|
+
|
|
5126
|
+
export namespace GetUserPaymentProcessorsRequest {
|
|
5127
|
+
export type AsObject = {
|
|
5128
|
+
userid: number,
|
|
5129
|
+
}
|
|
5130
|
+
}
|
|
5131
|
+
|
|
5132
|
+
export class GetUserPaymentProcessorsResponse extends jspb.Message {
|
|
5133
|
+
getResponsecode(): ResponseCode | undefined;
|
|
5134
|
+
setResponsecode(value?: ResponseCode): GetUserPaymentProcessorsResponse;
|
|
5135
|
+
hasResponsecode(): boolean;
|
|
5136
|
+
clearResponsecode(): GetUserPaymentProcessorsResponse;
|
|
5137
|
+
|
|
5138
|
+
getPaymentprocessorsList(): Array<string>;
|
|
5139
|
+
setPaymentprocessorsList(value: Array<string>): GetUserPaymentProcessorsResponse;
|
|
5140
|
+
clearPaymentprocessorsList(): GetUserPaymentProcessorsResponse;
|
|
5141
|
+
addPaymentprocessors(value: string, index?: number): GetUserPaymentProcessorsResponse;
|
|
5142
|
+
|
|
5143
|
+
serializeBinary(): Uint8Array;
|
|
5144
|
+
toObject(includeInstance?: boolean): GetUserPaymentProcessorsResponse.AsObject;
|
|
5145
|
+
static toObject(includeInstance: boolean, msg: GetUserPaymentProcessorsResponse): GetUserPaymentProcessorsResponse.AsObject;
|
|
5146
|
+
static serializeBinaryToWriter(message: GetUserPaymentProcessorsResponse, writer: jspb.BinaryWriter): void;
|
|
5147
|
+
static deserializeBinary(bytes: Uint8Array): GetUserPaymentProcessorsResponse;
|
|
5148
|
+
static deserializeBinaryFromReader(message: GetUserPaymentProcessorsResponse, reader: jspb.BinaryReader): GetUserPaymentProcessorsResponse;
|
|
5149
|
+
}
|
|
5150
|
+
|
|
5151
|
+
export namespace GetUserPaymentProcessorsResponse {
|
|
5152
|
+
export type AsObject = {
|
|
5153
|
+
responsecode?: ResponseCode.AsObject,
|
|
5154
|
+
paymentprocessorsList: Array<string>,
|
|
5155
|
+
}
|
|
5156
|
+
}
|
|
5157
|
+
|
|
5114
5158
|
export enum CardValidationResult {
|
|
5115
5159
|
CARD_VALIDATION_RESULT_UNKNOWN = 0,
|
|
5116
5160
|
CARD_VALIDATION_RESULT_PENDING = 1,
|
|
@@ -90,6 +90,8 @@ goog.exportSymbol('proto.sniiptransactionapi.GetTotalAmountForBillRequest', null
|
|
|
90
90
|
goog.exportSymbol('proto.sniiptransactionapi.GetTransactionInternalRequest', null, global);
|
|
91
91
|
goog.exportSymbol('proto.sniiptransactionapi.GetTransactionRequest', null, global);
|
|
92
92
|
goog.exportSymbol('proto.sniiptransactionapi.GetTransactionsRequest', null, global);
|
|
93
|
+
goog.exportSymbol('proto.sniiptransactionapi.GetUserPaymentProcessorsRequest', null, global);
|
|
94
|
+
goog.exportSymbol('proto.sniiptransactionapi.GetUserPaymentProcessorsResponse', null, global);
|
|
93
95
|
goog.exportSymbol('proto.sniiptransactionapi.GetUserTransactionsRequest', null, global);
|
|
94
96
|
goog.exportSymbol('proto.sniiptransactionapi.GetUserTransactionsResponse', null, global);
|
|
95
97
|
goog.exportSymbol('proto.sniiptransactionapi.GooglePayDetails', null, global);
|
|
@@ -3171,6 +3173,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
3171
3173
|
*/
|
|
3172
3174
|
proto.sniiptransactionapi.GetPaymentsSummaryForUserDashboardInternalRequest.displayName = 'proto.sniiptransactionapi.GetPaymentsSummaryForUserDashboardInternalRequest';
|
|
3173
3175
|
}
|
|
3176
|
+
/**
|
|
3177
|
+
* Generated by JsPbCodeGenerator.
|
|
3178
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3179
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3180
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3181
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3182
|
+
* valid.
|
|
3183
|
+
* @extends {jspb.Message}
|
|
3184
|
+
* @constructor
|
|
3185
|
+
*/
|
|
3186
|
+
proto.sniiptransactionapi.GetUserPaymentProcessorsRequest = function(opt_data) {
|
|
3187
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3188
|
+
};
|
|
3189
|
+
goog.inherits(proto.sniiptransactionapi.GetUserPaymentProcessorsRequest, jspb.Message);
|
|
3190
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3191
|
+
/**
|
|
3192
|
+
* @public
|
|
3193
|
+
* @override
|
|
3194
|
+
*/
|
|
3195
|
+
proto.sniiptransactionapi.GetUserPaymentProcessorsRequest.displayName = 'proto.sniiptransactionapi.GetUserPaymentProcessorsRequest';
|
|
3196
|
+
}
|
|
3197
|
+
/**
|
|
3198
|
+
* Generated by JsPbCodeGenerator.
|
|
3199
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3200
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3201
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3202
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3203
|
+
* valid.
|
|
3204
|
+
* @extends {jspb.Message}
|
|
3205
|
+
* @constructor
|
|
3206
|
+
*/
|
|
3207
|
+
proto.sniiptransactionapi.GetUserPaymentProcessorsResponse = function(opt_data) {
|
|
3208
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.sniiptransactionapi.GetUserPaymentProcessorsResponse.repeatedFields_, null);
|
|
3209
|
+
};
|
|
3210
|
+
goog.inherits(proto.sniiptransactionapi.GetUserPaymentProcessorsResponse, jspb.Message);
|
|
3211
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3212
|
+
/**
|
|
3213
|
+
* @public
|
|
3214
|
+
* @override
|
|
3215
|
+
*/
|
|
3216
|
+
proto.sniiptransactionapi.GetUserPaymentProcessorsResponse.displayName = 'proto.sniiptransactionapi.GetUserPaymentProcessorsResponse';
|
|
3217
|
+
}
|
|
3174
3218
|
|
|
3175
3219
|
|
|
3176
3220
|
|
|
@@ -41367,6 +41411,343 @@ proto.sniiptransactionapi.GetPaymentsSummaryForUserDashboardInternalRequest.prot
|
|
|
41367
41411
|
};
|
|
41368
41412
|
|
|
41369
41413
|
|
|
41414
|
+
|
|
41415
|
+
|
|
41416
|
+
|
|
41417
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
41418
|
+
/**
|
|
41419
|
+
* Creates an object representation of this proto.
|
|
41420
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
41421
|
+
* Optional fields that are not set will be set to undefined.
|
|
41422
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
41423
|
+
* For the list of reserved names please see:
|
|
41424
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
41425
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
41426
|
+
* JSPB instance for transitional soy proto support:
|
|
41427
|
+
* http://goto/soy-param-migration
|
|
41428
|
+
* @return {!Object}
|
|
41429
|
+
*/
|
|
41430
|
+
proto.sniiptransactionapi.GetUserPaymentProcessorsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
41431
|
+
return proto.sniiptransactionapi.GetUserPaymentProcessorsRequest.toObject(opt_includeInstance, this);
|
|
41432
|
+
};
|
|
41433
|
+
|
|
41434
|
+
|
|
41435
|
+
/**
|
|
41436
|
+
* Static version of the {@see toObject} method.
|
|
41437
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
41438
|
+
* the JSPB instance for transitional soy proto support:
|
|
41439
|
+
* http://goto/soy-param-migration
|
|
41440
|
+
* @param {!proto.sniiptransactionapi.GetUserPaymentProcessorsRequest} msg The msg instance to transform.
|
|
41441
|
+
* @return {!Object}
|
|
41442
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
41443
|
+
*/
|
|
41444
|
+
proto.sniiptransactionapi.GetUserPaymentProcessorsRequest.toObject = function(includeInstance, msg) {
|
|
41445
|
+
var f, obj = {
|
|
41446
|
+
userid: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
41447
|
+
};
|
|
41448
|
+
|
|
41449
|
+
if (includeInstance) {
|
|
41450
|
+
obj.$jspbMessageInstance = msg;
|
|
41451
|
+
}
|
|
41452
|
+
return obj;
|
|
41453
|
+
};
|
|
41454
|
+
}
|
|
41455
|
+
|
|
41456
|
+
|
|
41457
|
+
/**
|
|
41458
|
+
* Deserializes binary data (in protobuf wire format).
|
|
41459
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
41460
|
+
* @return {!proto.sniiptransactionapi.GetUserPaymentProcessorsRequest}
|
|
41461
|
+
*/
|
|
41462
|
+
proto.sniiptransactionapi.GetUserPaymentProcessorsRequest.deserializeBinary = function(bytes) {
|
|
41463
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
41464
|
+
var msg = new proto.sniiptransactionapi.GetUserPaymentProcessorsRequest;
|
|
41465
|
+
return proto.sniiptransactionapi.GetUserPaymentProcessorsRequest.deserializeBinaryFromReader(msg, reader);
|
|
41466
|
+
};
|
|
41467
|
+
|
|
41468
|
+
|
|
41469
|
+
/**
|
|
41470
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
41471
|
+
* given reader into the given message object.
|
|
41472
|
+
* @param {!proto.sniiptransactionapi.GetUserPaymentProcessorsRequest} msg The message object to deserialize into.
|
|
41473
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
41474
|
+
* @return {!proto.sniiptransactionapi.GetUserPaymentProcessorsRequest}
|
|
41475
|
+
*/
|
|
41476
|
+
proto.sniiptransactionapi.GetUserPaymentProcessorsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
41477
|
+
while (reader.nextField()) {
|
|
41478
|
+
if (reader.isEndGroup()) {
|
|
41479
|
+
break;
|
|
41480
|
+
}
|
|
41481
|
+
var field = reader.getFieldNumber();
|
|
41482
|
+
switch (field) {
|
|
41483
|
+
case 1:
|
|
41484
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
41485
|
+
msg.setUserid(value);
|
|
41486
|
+
break;
|
|
41487
|
+
default:
|
|
41488
|
+
reader.skipField();
|
|
41489
|
+
break;
|
|
41490
|
+
}
|
|
41491
|
+
}
|
|
41492
|
+
return msg;
|
|
41493
|
+
};
|
|
41494
|
+
|
|
41495
|
+
|
|
41496
|
+
/**
|
|
41497
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
41498
|
+
* @return {!Uint8Array}
|
|
41499
|
+
*/
|
|
41500
|
+
proto.sniiptransactionapi.GetUserPaymentProcessorsRequest.prototype.serializeBinary = function() {
|
|
41501
|
+
var writer = new jspb.BinaryWriter();
|
|
41502
|
+
proto.sniiptransactionapi.GetUserPaymentProcessorsRequest.serializeBinaryToWriter(this, writer);
|
|
41503
|
+
return writer.getResultBuffer();
|
|
41504
|
+
};
|
|
41505
|
+
|
|
41506
|
+
|
|
41507
|
+
/**
|
|
41508
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
41509
|
+
* format), writing to the given BinaryWriter.
|
|
41510
|
+
* @param {!proto.sniiptransactionapi.GetUserPaymentProcessorsRequest} message
|
|
41511
|
+
* @param {!jspb.BinaryWriter} writer
|
|
41512
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
41513
|
+
*/
|
|
41514
|
+
proto.sniiptransactionapi.GetUserPaymentProcessorsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
41515
|
+
var f = undefined;
|
|
41516
|
+
f = message.getUserid();
|
|
41517
|
+
if (f !== 0) {
|
|
41518
|
+
writer.writeInt64(
|
|
41519
|
+
1,
|
|
41520
|
+
f
|
|
41521
|
+
);
|
|
41522
|
+
}
|
|
41523
|
+
};
|
|
41524
|
+
|
|
41525
|
+
|
|
41526
|
+
/**
|
|
41527
|
+
* optional int64 userId = 1;
|
|
41528
|
+
* @return {number}
|
|
41529
|
+
*/
|
|
41530
|
+
proto.sniiptransactionapi.GetUserPaymentProcessorsRequest.prototype.getUserid = function() {
|
|
41531
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
41532
|
+
};
|
|
41533
|
+
|
|
41534
|
+
|
|
41535
|
+
/**
|
|
41536
|
+
* @param {number} value
|
|
41537
|
+
* @return {!proto.sniiptransactionapi.GetUserPaymentProcessorsRequest} returns this
|
|
41538
|
+
*/
|
|
41539
|
+
proto.sniiptransactionapi.GetUserPaymentProcessorsRequest.prototype.setUserid = function(value) {
|
|
41540
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
41541
|
+
};
|
|
41542
|
+
|
|
41543
|
+
|
|
41544
|
+
|
|
41545
|
+
/**
|
|
41546
|
+
* List of repeated fields within this message type.
|
|
41547
|
+
* @private {!Array<number>}
|
|
41548
|
+
* @const
|
|
41549
|
+
*/
|
|
41550
|
+
proto.sniiptransactionapi.GetUserPaymentProcessorsResponse.repeatedFields_ = [2];
|
|
41551
|
+
|
|
41552
|
+
|
|
41553
|
+
|
|
41554
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
41555
|
+
/**
|
|
41556
|
+
* Creates an object representation of this proto.
|
|
41557
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
41558
|
+
* Optional fields that are not set will be set to undefined.
|
|
41559
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
41560
|
+
* For the list of reserved names please see:
|
|
41561
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
41562
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
41563
|
+
* JSPB instance for transitional soy proto support:
|
|
41564
|
+
* http://goto/soy-param-migration
|
|
41565
|
+
* @return {!Object}
|
|
41566
|
+
*/
|
|
41567
|
+
proto.sniiptransactionapi.GetUserPaymentProcessorsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
41568
|
+
return proto.sniiptransactionapi.GetUserPaymentProcessorsResponse.toObject(opt_includeInstance, this);
|
|
41569
|
+
};
|
|
41570
|
+
|
|
41571
|
+
|
|
41572
|
+
/**
|
|
41573
|
+
* Static version of the {@see toObject} method.
|
|
41574
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
41575
|
+
* the JSPB instance for transitional soy proto support:
|
|
41576
|
+
* http://goto/soy-param-migration
|
|
41577
|
+
* @param {!proto.sniiptransactionapi.GetUserPaymentProcessorsResponse} msg The msg instance to transform.
|
|
41578
|
+
* @return {!Object}
|
|
41579
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
41580
|
+
*/
|
|
41581
|
+
proto.sniiptransactionapi.GetUserPaymentProcessorsResponse.toObject = function(includeInstance, msg) {
|
|
41582
|
+
var f, obj = {
|
|
41583
|
+
responsecode: (f = msg.getResponsecode()) && proto.sniiptransactionapi.ResponseCode.toObject(includeInstance, f),
|
|
41584
|
+
paymentprocessorsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
41585
|
+
};
|
|
41586
|
+
|
|
41587
|
+
if (includeInstance) {
|
|
41588
|
+
obj.$jspbMessageInstance = msg;
|
|
41589
|
+
}
|
|
41590
|
+
return obj;
|
|
41591
|
+
};
|
|
41592
|
+
}
|
|
41593
|
+
|
|
41594
|
+
|
|
41595
|
+
/**
|
|
41596
|
+
* Deserializes binary data (in protobuf wire format).
|
|
41597
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
41598
|
+
* @return {!proto.sniiptransactionapi.GetUserPaymentProcessorsResponse}
|
|
41599
|
+
*/
|
|
41600
|
+
proto.sniiptransactionapi.GetUserPaymentProcessorsResponse.deserializeBinary = function(bytes) {
|
|
41601
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
41602
|
+
var msg = new proto.sniiptransactionapi.GetUserPaymentProcessorsResponse;
|
|
41603
|
+
return proto.sniiptransactionapi.GetUserPaymentProcessorsResponse.deserializeBinaryFromReader(msg, reader);
|
|
41604
|
+
};
|
|
41605
|
+
|
|
41606
|
+
|
|
41607
|
+
/**
|
|
41608
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
41609
|
+
* given reader into the given message object.
|
|
41610
|
+
* @param {!proto.sniiptransactionapi.GetUserPaymentProcessorsResponse} msg The message object to deserialize into.
|
|
41611
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
41612
|
+
* @return {!proto.sniiptransactionapi.GetUserPaymentProcessorsResponse}
|
|
41613
|
+
*/
|
|
41614
|
+
proto.sniiptransactionapi.GetUserPaymentProcessorsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
41615
|
+
while (reader.nextField()) {
|
|
41616
|
+
if (reader.isEndGroup()) {
|
|
41617
|
+
break;
|
|
41618
|
+
}
|
|
41619
|
+
var field = reader.getFieldNumber();
|
|
41620
|
+
switch (field) {
|
|
41621
|
+
case 1:
|
|
41622
|
+
var value = new proto.sniiptransactionapi.ResponseCode;
|
|
41623
|
+
reader.readMessage(value,proto.sniiptransactionapi.ResponseCode.deserializeBinaryFromReader);
|
|
41624
|
+
msg.setResponsecode(value);
|
|
41625
|
+
break;
|
|
41626
|
+
case 2:
|
|
41627
|
+
var value = /** @type {string} */ (reader.readString());
|
|
41628
|
+
msg.addPaymentprocessors(value);
|
|
41629
|
+
break;
|
|
41630
|
+
default:
|
|
41631
|
+
reader.skipField();
|
|
41632
|
+
break;
|
|
41633
|
+
}
|
|
41634
|
+
}
|
|
41635
|
+
return msg;
|
|
41636
|
+
};
|
|
41637
|
+
|
|
41638
|
+
|
|
41639
|
+
/**
|
|
41640
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
41641
|
+
* @return {!Uint8Array}
|
|
41642
|
+
*/
|
|
41643
|
+
proto.sniiptransactionapi.GetUserPaymentProcessorsResponse.prototype.serializeBinary = function() {
|
|
41644
|
+
var writer = new jspb.BinaryWriter();
|
|
41645
|
+
proto.sniiptransactionapi.GetUserPaymentProcessorsResponse.serializeBinaryToWriter(this, writer);
|
|
41646
|
+
return writer.getResultBuffer();
|
|
41647
|
+
};
|
|
41648
|
+
|
|
41649
|
+
|
|
41650
|
+
/**
|
|
41651
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
41652
|
+
* format), writing to the given BinaryWriter.
|
|
41653
|
+
* @param {!proto.sniiptransactionapi.GetUserPaymentProcessorsResponse} message
|
|
41654
|
+
* @param {!jspb.BinaryWriter} writer
|
|
41655
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
41656
|
+
*/
|
|
41657
|
+
proto.sniiptransactionapi.GetUserPaymentProcessorsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
41658
|
+
var f = undefined;
|
|
41659
|
+
f = message.getResponsecode();
|
|
41660
|
+
if (f != null) {
|
|
41661
|
+
writer.writeMessage(
|
|
41662
|
+
1,
|
|
41663
|
+
f,
|
|
41664
|
+
proto.sniiptransactionapi.ResponseCode.serializeBinaryToWriter
|
|
41665
|
+
);
|
|
41666
|
+
}
|
|
41667
|
+
f = message.getPaymentprocessorsList();
|
|
41668
|
+
if (f.length > 0) {
|
|
41669
|
+
writer.writeRepeatedString(
|
|
41670
|
+
2,
|
|
41671
|
+
f
|
|
41672
|
+
);
|
|
41673
|
+
}
|
|
41674
|
+
};
|
|
41675
|
+
|
|
41676
|
+
|
|
41677
|
+
/**
|
|
41678
|
+
* optional ResponseCode responseCode = 1;
|
|
41679
|
+
* @return {?proto.sniiptransactionapi.ResponseCode}
|
|
41680
|
+
*/
|
|
41681
|
+
proto.sniiptransactionapi.GetUserPaymentProcessorsResponse.prototype.getResponsecode = function() {
|
|
41682
|
+
return /** @type{?proto.sniiptransactionapi.ResponseCode} */ (
|
|
41683
|
+
jspb.Message.getWrapperField(this, proto.sniiptransactionapi.ResponseCode, 1));
|
|
41684
|
+
};
|
|
41685
|
+
|
|
41686
|
+
|
|
41687
|
+
/**
|
|
41688
|
+
* @param {?proto.sniiptransactionapi.ResponseCode|undefined} value
|
|
41689
|
+
* @return {!proto.sniiptransactionapi.GetUserPaymentProcessorsResponse} returns this
|
|
41690
|
+
*/
|
|
41691
|
+
proto.sniiptransactionapi.GetUserPaymentProcessorsResponse.prototype.setResponsecode = function(value) {
|
|
41692
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
41693
|
+
};
|
|
41694
|
+
|
|
41695
|
+
|
|
41696
|
+
/**
|
|
41697
|
+
* Clears the message field making it undefined.
|
|
41698
|
+
* @return {!proto.sniiptransactionapi.GetUserPaymentProcessorsResponse} returns this
|
|
41699
|
+
*/
|
|
41700
|
+
proto.sniiptransactionapi.GetUserPaymentProcessorsResponse.prototype.clearResponsecode = function() {
|
|
41701
|
+
return this.setResponsecode(undefined);
|
|
41702
|
+
};
|
|
41703
|
+
|
|
41704
|
+
|
|
41705
|
+
/**
|
|
41706
|
+
* Returns whether this field is set.
|
|
41707
|
+
* @return {boolean}
|
|
41708
|
+
*/
|
|
41709
|
+
proto.sniiptransactionapi.GetUserPaymentProcessorsResponse.prototype.hasResponsecode = function() {
|
|
41710
|
+
return jspb.Message.getField(this, 1) != null;
|
|
41711
|
+
};
|
|
41712
|
+
|
|
41713
|
+
|
|
41714
|
+
/**
|
|
41715
|
+
* repeated string paymentProcessors = 2;
|
|
41716
|
+
* @return {!Array<string>}
|
|
41717
|
+
*/
|
|
41718
|
+
proto.sniiptransactionapi.GetUserPaymentProcessorsResponse.prototype.getPaymentprocessorsList = function() {
|
|
41719
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
41720
|
+
};
|
|
41721
|
+
|
|
41722
|
+
|
|
41723
|
+
/**
|
|
41724
|
+
* @param {!Array<string>} value
|
|
41725
|
+
* @return {!proto.sniiptransactionapi.GetUserPaymentProcessorsResponse} returns this
|
|
41726
|
+
*/
|
|
41727
|
+
proto.sniiptransactionapi.GetUserPaymentProcessorsResponse.prototype.setPaymentprocessorsList = function(value) {
|
|
41728
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
41729
|
+
};
|
|
41730
|
+
|
|
41731
|
+
|
|
41732
|
+
/**
|
|
41733
|
+
* @param {string} value
|
|
41734
|
+
* @param {number=} opt_index
|
|
41735
|
+
* @return {!proto.sniiptransactionapi.GetUserPaymentProcessorsResponse} returns this
|
|
41736
|
+
*/
|
|
41737
|
+
proto.sniiptransactionapi.GetUserPaymentProcessorsResponse.prototype.addPaymentprocessors = function(value, opt_index) {
|
|
41738
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
41739
|
+
};
|
|
41740
|
+
|
|
41741
|
+
|
|
41742
|
+
/**
|
|
41743
|
+
* Clears the list making it empty but non-null.
|
|
41744
|
+
* @return {!proto.sniiptransactionapi.GetUserPaymentProcessorsResponse} returns this
|
|
41745
|
+
*/
|
|
41746
|
+
proto.sniiptransactionapi.GetUserPaymentProcessorsResponse.prototype.clearPaymentprocessorsList = function() {
|
|
41747
|
+
return this.setPaymentprocessorsList([]);
|
|
41748
|
+
};
|
|
41749
|
+
|
|
41750
|
+
|
|
41370
41751
|
/**
|
|
41371
41752
|
* @enum {number}
|
|
41372
41753
|
*/
|