@sniipwebmaster/payment-methods-client-grpcweb 26.3.8052 → 26.3.8070
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.
|
@@ -2945,6 +2945,67 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseC
|
|
|
2945
2945
|
};
|
|
2946
2946
|
|
|
2947
2947
|
|
|
2948
|
+
/**
|
|
2949
|
+
* @const
|
|
2950
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
2951
|
+
* !proto.sniippaymentmethodsserviceapi.ResetAmendRejectedFlagRequest,
|
|
2952
|
+
* !proto.sniippaymentmethodsserviceapi.ResponseCode>}
|
|
2953
|
+
*/
|
|
2954
|
+
const methodDescriptor_SniipPaymentMethodsServiceAPIService_ResetAmendRejectedFlag = new grpc.web.MethodDescriptor(
|
|
2955
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/ResetAmendRejectedFlag',
|
|
2956
|
+
grpc.web.MethodType.UNARY,
|
|
2957
|
+
proto.sniippaymentmethodsserviceapi.ResetAmendRejectedFlagRequest,
|
|
2958
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode,
|
|
2959
|
+
/**
|
|
2960
|
+
* @param {!proto.sniippaymentmethodsserviceapi.ResetAmendRejectedFlagRequest} request
|
|
2961
|
+
* @return {!Uint8Array}
|
|
2962
|
+
*/
|
|
2963
|
+
function(request) {
|
|
2964
|
+
return request.serializeBinary();
|
|
2965
|
+
},
|
|
2966
|
+
proto.sniippaymentmethodsserviceapi.ResponseCode.deserializeBinary
|
|
2967
|
+
);
|
|
2968
|
+
|
|
2969
|
+
|
|
2970
|
+
/**
|
|
2971
|
+
* @param {!proto.sniippaymentmethodsserviceapi.ResetAmendRejectedFlagRequest} request The
|
|
2972
|
+
* request proto
|
|
2973
|
+
* @param {?Object<string, string>} metadata User defined
|
|
2974
|
+
* call metadata
|
|
2975
|
+
* @param {function(?grpc.web.RpcError, ?proto.sniippaymentmethodsserviceapi.ResponseCode)}
|
|
2976
|
+
* callback The callback function(error, response)
|
|
2977
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniippaymentmethodsserviceapi.ResponseCode>|undefined}
|
|
2978
|
+
* The XHR Node Readable Stream
|
|
2979
|
+
*/
|
|
2980
|
+
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.prototype.resetAmendRejectedFlag =
|
|
2981
|
+
function(request, metadata, callback) {
|
|
2982
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
2983
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/ResetAmendRejectedFlag',
|
|
2984
|
+
request,
|
|
2985
|
+
metadata || {},
|
|
2986
|
+
methodDescriptor_SniipPaymentMethodsServiceAPIService_ResetAmendRejectedFlag,
|
|
2987
|
+
callback);
|
|
2988
|
+
};
|
|
2989
|
+
|
|
2990
|
+
|
|
2991
|
+
/**
|
|
2992
|
+
* @param {!proto.sniippaymentmethodsserviceapi.ResetAmendRejectedFlagRequest} request The
|
|
2993
|
+
* request proto
|
|
2994
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
2995
|
+
* call metadata
|
|
2996
|
+
* @return {!Promise<!proto.sniippaymentmethodsserviceapi.ResponseCode>}
|
|
2997
|
+
* Promise that resolves to the response
|
|
2998
|
+
*/
|
|
2999
|
+
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.resetAmendRejectedFlag =
|
|
3000
|
+
function(request, metadata) {
|
|
3001
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
3002
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/ResetAmendRejectedFlag',
|
|
3003
|
+
request,
|
|
3004
|
+
metadata || {},
|
|
3005
|
+
methodDescriptor_SniipPaymentMethodsServiceAPIService_ResetAmendRejectedFlag);
|
|
3006
|
+
};
|
|
3007
|
+
|
|
3008
|
+
|
|
2948
3009
|
/**
|
|
2949
3010
|
* @const
|
|
2950
3011
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -117,6 +117,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse',
|
|
|
117
117
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentProcessor', null, global);
|
|
118
118
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaytoBankAccount', null, global);
|
|
119
119
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.RemovePaymentMethodRequest', null, global);
|
|
120
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ResetAmendRejectedFlagRequest', null, global);
|
|
120
121
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ResponseCode', null, global);
|
|
121
122
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.RetryPayToAgreementRequest', null, global);
|
|
122
123
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse', null, global);
|
|
@@ -2558,6 +2559,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2558
2559
|
*/
|
|
2559
2560
|
proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentRequest.displayName = 'proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentRequest';
|
|
2560
2561
|
}
|
|
2562
|
+
/**
|
|
2563
|
+
* Generated by JsPbCodeGenerator.
|
|
2564
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2565
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2566
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2567
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2568
|
+
* valid.
|
|
2569
|
+
* @extends {jspb.Message}
|
|
2570
|
+
* @constructor
|
|
2571
|
+
*/
|
|
2572
|
+
proto.sniippaymentmethodsserviceapi.ResetAmendRejectedFlagRequest = function(opt_data) {
|
|
2573
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2574
|
+
};
|
|
2575
|
+
goog.inherits(proto.sniippaymentmethodsserviceapi.ResetAmendRejectedFlagRequest, jspb.Message);
|
|
2576
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2577
|
+
/**
|
|
2578
|
+
* @public
|
|
2579
|
+
* @override
|
|
2580
|
+
*/
|
|
2581
|
+
proto.sniippaymentmethodsserviceapi.ResetAmendRejectedFlagRequest.displayName = 'proto.sniippaymentmethodsserviceapi.ResetAmendRejectedFlagRequest';
|
|
2582
|
+
}
|
|
2561
2583
|
/**
|
|
2562
2584
|
* Generated by JsPbCodeGenerator.
|
|
2563
2585
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -31142,6 +31164,166 @@ proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentRequest.prototype.setPay
|
|
|
31142
31164
|
|
|
31143
31165
|
|
|
31144
31166
|
|
|
31167
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
31168
|
+
/**
|
|
31169
|
+
* Creates an object representation of this proto.
|
|
31170
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
31171
|
+
* Optional fields that are not set will be set to undefined.
|
|
31172
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
31173
|
+
* For the list of reserved names please see:
|
|
31174
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
31175
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
31176
|
+
* JSPB instance for transitional soy proto support:
|
|
31177
|
+
* http://goto/soy-param-migration
|
|
31178
|
+
* @return {!Object}
|
|
31179
|
+
*/
|
|
31180
|
+
proto.sniippaymentmethodsserviceapi.ResetAmendRejectedFlagRequest.prototype.toObject = function(opt_includeInstance) {
|
|
31181
|
+
return proto.sniippaymentmethodsserviceapi.ResetAmendRejectedFlagRequest.toObject(opt_includeInstance, this);
|
|
31182
|
+
};
|
|
31183
|
+
|
|
31184
|
+
|
|
31185
|
+
/**
|
|
31186
|
+
* Static version of the {@see toObject} method.
|
|
31187
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
31188
|
+
* the JSPB instance for transitional soy proto support:
|
|
31189
|
+
* http://goto/soy-param-migration
|
|
31190
|
+
* @param {!proto.sniippaymentmethodsserviceapi.ResetAmendRejectedFlagRequest} msg The msg instance to transform.
|
|
31191
|
+
* @return {!Object}
|
|
31192
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
31193
|
+
*/
|
|
31194
|
+
proto.sniippaymentmethodsserviceapi.ResetAmendRejectedFlagRequest.toObject = function(includeInstance, msg) {
|
|
31195
|
+
var f, obj = {
|
|
31196
|
+
paymentmethodid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
31197
|
+
amendrejected: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
|
31198
|
+
};
|
|
31199
|
+
|
|
31200
|
+
if (includeInstance) {
|
|
31201
|
+
obj.$jspbMessageInstance = msg;
|
|
31202
|
+
}
|
|
31203
|
+
return obj;
|
|
31204
|
+
};
|
|
31205
|
+
}
|
|
31206
|
+
|
|
31207
|
+
|
|
31208
|
+
/**
|
|
31209
|
+
* Deserializes binary data (in protobuf wire format).
|
|
31210
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
31211
|
+
* @return {!proto.sniippaymentmethodsserviceapi.ResetAmendRejectedFlagRequest}
|
|
31212
|
+
*/
|
|
31213
|
+
proto.sniippaymentmethodsserviceapi.ResetAmendRejectedFlagRequest.deserializeBinary = function(bytes) {
|
|
31214
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
31215
|
+
var msg = new proto.sniippaymentmethodsserviceapi.ResetAmendRejectedFlagRequest;
|
|
31216
|
+
return proto.sniippaymentmethodsserviceapi.ResetAmendRejectedFlagRequest.deserializeBinaryFromReader(msg, reader);
|
|
31217
|
+
};
|
|
31218
|
+
|
|
31219
|
+
|
|
31220
|
+
/**
|
|
31221
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
31222
|
+
* given reader into the given message object.
|
|
31223
|
+
* @param {!proto.sniippaymentmethodsserviceapi.ResetAmendRejectedFlagRequest} msg The message object to deserialize into.
|
|
31224
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
31225
|
+
* @return {!proto.sniippaymentmethodsserviceapi.ResetAmendRejectedFlagRequest}
|
|
31226
|
+
*/
|
|
31227
|
+
proto.sniippaymentmethodsserviceapi.ResetAmendRejectedFlagRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
31228
|
+
while (reader.nextField()) {
|
|
31229
|
+
if (reader.isEndGroup()) {
|
|
31230
|
+
break;
|
|
31231
|
+
}
|
|
31232
|
+
var field = reader.getFieldNumber();
|
|
31233
|
+
switch (field) {
|
|
31234
|
+
case 1:
|
|
31235
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
31236
|
+
msg.setPaymentmethodid(value);
|
|
31237
|
+
break;
|
|
31238
|
+
case 2:
|
|
31239
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
31240
|
+
msg.setAmendrejected(value);
|
|
31241
|
+
break;
|
|
31242
|
+
default:
|
|
31243
|
+
reader.skipField();
|
|
31244
|
+
break;
|
|
31245
|
+
}
|
|
31246
|
+
}
|
|
31247
|
+
return msg;
|
|
31248
|
+
};
|
|
31249
|
+
|
|
31250
|
+
|
|
31251
|
+
/**
|
|
31252
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
31253
|
+
* @return {!Uint8Array}
|
|
31254
|
+
*/
|
|
31255
|
+
proto.sniippaymentmethodsserviceapi.ResetAmendRejectedFlagRequest.prototype.serializeBinary = function() {
|
|
31256
|
+
var writer = new jspb.BinaryWriter();
|
|
31257
|
+
proto.sniippaymentmethodsserviceapi.ResetAmendRejectedFlagRequest.serializeBinaryToWriter(this, writer);
|
|
31258
|
+
return writer.getResultBuffer();
|
|
31259
|
+
};
|
|
31260
|
+
|
|
31261
|
+
|
|
31262
|
+
/**
|
|
31263
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
31264
|
+
* format), writing to the given BinaryWriter.
|
|
31265
|
+
* @param {!proto.sniippaymentmethodsserviceapi.ResetAmendRejectedFlagRequest} message
|
|
31266
|
+
* @param {!jspb.BinaryWriter} writer
|
|
31267
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
31268
|
+
*/
|
|
31269
|
+
proto.sniippaymentmethodsserviceapi.ResetAmendRejectedFlagRequest.serializeBinaryToWriter = function(message, writer) {
|
|
31270
|
+
var f = undefined;
|
|
31271
|
+
f = message.getPaymentmethodid();
|
|
31272
|
+
if (f !== 0) {
|
|
31273
|
+
writer.writeInt64(
|
|
31274
|
+
1,
|
|
31275
|
+
f
|
|
31276
|
+
);
|
|
31277
|
+
}
|
|
31278
|
+
f = message.getAmendrejected();
|
|
31279
|
+
if (f) {
|
|
31280
|
+
writer.writeBool(
|
|
31281
|
+
2,
|
|
31282
|
+
f
|
|
31283
|
+
);
|
|
31284
|
+
}
|
|
31285
|
+
};
|
|
31286
|
+
|
|
31287
|
+
|
|
31288
|
+
/**
|
|
31289
|
+
* optional int64 paymentMethodId = 1;
|
|
31290
|
+
* @return {number}
|
|
31291
|
+
*/
|
|
31292
|
+
proto.sniippaymentmethodsserviceapi.ResetAmendRejectedFlagRequest.prototype.getPaymentmethodid = function() {
|
|
31293
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
31294
|
+
};
|
|
31295
|
+
|
|
31296
|
+
|
|
31297
|
+
/**
|
|
31298
|
+
* @param {number} value
|
|
31299
|
+
* @return {!proto.sniippaymentmethodsserviceapi.ResetAmendRejectedFlagRequest} returns this
|
|
31300
|
+
*/
|
|
31301
|
+
proto.sniippaymentmethodsserviceapi.ResetAmendRejectedFlagRequest.prototype.setPaymentmethodid = function(value) {
|
|
31302
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
31303
|
+
};
|
|
31304
|
+
|
|
31305
|
+
|
|
31306
|
+
/**
|
|
31307
|
+
* optional bool amendRejected = 2;
|
|
31308
|
+
* @return {boolean}
|
|
31309
|
+
*/
|
|
31310
|
+
proto.sniippaymentmethodsserviceapi.ResetAmendRejectedFlagRequest.prototype.getAmendrejected = function() {
|
|
31311
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
31312
|
+
};
|
|
31313
|
+
|
|
31314
|
+
|
|
31315
|
+
/**
|
|
31316
|
+
* @param {boolean} value
|
|
31317
|
+
* @return {!proto.sniippaymentmethodsserviceapi.ResetAmendRejectedFlagRequest} returns this
|
|
31318
|
+
*/
|
|
31319
|
+
proto.sniippaymentmethodsserviceapi.ResetAmendRejectedFlagRequest.prototype.setAmendrejected = function(value) {
|
|
31320
|
+
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
31321
|
+
};
|
|
31322
|
+
|
|
31323
|
+
|
|
31324
|
+
|
|
31325
|
+
|
|
31326
|
+
|
|
31145
31327
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
31146
31328
|
/**
|
|
31147
31329
|
* Creates an object representation of this proto.
|