@sniipwebmaster/payment-methods-client-grpcweb 0.2.259 → 0.2.283

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.
@@ -415,52 +415,52 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseC
415
415
  /**
416
416
  * @const
417
417
  * @type {!grpc.web.AbstractClientBase.MethodInfo<
418
- * !proto.sniippaymentmethodsserviceapi.GetPaymentMethodsRequest,
419
- * !proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse>}
418
+ * !proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest,
419
+ * !proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse>}
420
420
  */
421
- const methodInfo_SniipPaymentMethodsServiceAPIService_GetPaymentMethods = new grpc.web.AbstractClientBase.MethodInfo(
422
- proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse,
423
- /** @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsRequest} request */
421
+ const methodInfo_SniipPaymentMethodsServiceAPIService_GetPaymentMethodForPayment = new grpc.web.AbstractClientBase.MethodInfo(
422
+ proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse,
423
+ /** @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest} request */
424
424
  function(request) {
425
425
  return request.serializeBinary();
426
426
  },
427
- proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.deserializeBinary
427
+ proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse.deserializeBinary
428
428
  );
429
429
 
430
430
 
431
431
  /**
432
- * @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsRequest} request The
432
+ * @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest} request The
433
433
  * request proto
434
434
  * @param {!Object<string, string>} metadata User defined
435
435
  * call metadata
436
- * @param {function(?grpc.web.Error, ?proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse)}
436
+ * @param {function(?grpc.web.Error, ?proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse)}
437
437
  * callback The callback function(error, response)
438
- * @return {!grpc.web.ClientReadableStream<!proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse>|undefined}
438
+ * @return {!grpc.web.ClientReadableStream<!proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse>|undefined}
439
439
  * The XHR Node Readable Stream
440
440
  */
441
- proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.prototype.getPaymentMethods =
441
+ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.prototype.getPaymentMethodForPayment =
442
442
  function(request, metadata, callback) {
443
443
  return this.client_.rpcCall(this.hostname_ +
444
- '/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetPaymentMethods',
444
+ '/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetPaymentMethodForPayment',
445
445
  request,
446
446
  metadata,
447
- methodInfo_SniipPaymentMethodsServiceAPIService_GetPaymentMethods,
447
+ methodInfo_SniipPaymentMethodsServiceAPIService_GetPaymentMethodForPayment,
448
448
  callback);
449
449
  };
450
450
 
451
451
 
452
452
  /**
453
- * @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsRequest} request The
453
+ * @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest} request The
454
454
  * request proto
455
455
  * @param {!Object<string, string>} metadata User defined
456
456
  * call metadata
457
- * @return {!Promise<!proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse>}
457
+ * @return {!Promise<!proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse>}
458
458
  * The XHR Node Readable Stream
459
459
  */
460
- proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.getPaymentMethods =
460
+ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.getPaymentMethodForPayment =
461
461
  function(request, metadata) {
462
462
  return new Promise((resolve, reject) => {
463
- this.delegateClient_.getPaymentMethods(
463
+ this.delegateClient_.getPaymentMethodForPayment(
464
464
  request, metadata, (error, response) => {
465
465
  error ? reject(error) : resolve(response);
466
466
  });
@@ -471,52 +471,52 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseC
471
471
  /**
472
472
  * @const
473
473
  * @type {!grpc.web.AbstractClientBase.MethodInfo<
474
- * !proto.sniippaymentmethodsserviceapi.InternalGetCreditCardRequest,
475
- * !proto.sniippaymentmethodsserviceapi.GetCreditCardResponse>}
474
+ * !proto.sniippaymentmethodsserviceapi.GetPaymentMethodsRequest,
475
+ * !proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse>}
476
476
  */
477
- const methodInfo_SniipPaymentMethodsServiceAPIService_InternalGetCreditCard = new grpc.web.AbstractClientBase.MethodInfo(
478
- proto.sniippaymentmethodsserviceapi.GetCreditCardResponse,
479
- /** @param {!proto.sniippaymentmethodsserviceapi.InternalGetCreditCardRequest} request */
477
+ const methodInfo_SniipPaymentMethodsServiceAPIService_GetPaymentMethods = new grpc.web.AbstractClientBase.MethodInfo(
478
+ proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse,
479
+ /** @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsRequest} request */
480
480
  function(request) {
481
481
  return request.serializeBinary();
482
482
  },
483
- proto.sniippaymentmethodsserviceapi.GetCreditCardResponse.deserializeBinary
483
+ proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.deserializeBinary
484
484
  );
485
485
 
486
486
 
487
487
  /**
488
- * @param {!proto.sniippaymentmethodsserviceapi.InternalGetCreditCardRequest} request The
488
+ * @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsRequest} request The
489
489
  * request proto
490
490
  * @param {!Object<string, string>} metadata User defined
491
491
  * call metadata
492
- * @param {function(?grpc.web.Error, ?proto.sniippaymentmethodsserviceapi.GetCreditCardResponse)}
492
+ * @param {function(?grpc.web.Error, ?proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse)}
493
493
  * callback The callback function(error, response)
494
- * @return {!grpc.web.ClientReadableStream<!proto.sniippaymentmethodsserviceapi.GetCreditCardResponse>|undefined}
494
+ * @return {!grpc.web.ClientReadableStream<!proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse>|undefined}
495
495
  * The XHR Node Readable Stream
496
496
  */
497
- proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.prototype.internalGetCreditCard =
497
+ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.prototype.getPaymentMethods =
498
498
  function(request, metadata, callback) {
499
499
  return this.client_.rpcCall(this.hostname_ +
500
- '/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/InternalGetCreditCard',
500
+ '/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetPaymentMethods',
501
501
  request,
502
502
  metadata,
503
- methodInfo_SniipPaymentMethodsServiceAPIService_InternalGetCreditCard,
503
+ methodInfo_SniipPaymentMethodsServiceAPIService_GetPaymentMethods,
504
504
  callback);
505
505
  };
506
506
 
507
507
 
508
508
  /**
509
- * @param {!proto.sniippaymentmethodsserviceapi.InternalGetCreditCardRequest} request The
509
+ * @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsRequest} request The
510
510
  * request proto
511
511
  * @param {!Object<string, string>} metadata User defined
512
512
  * call metadata
513
- * @return {!Promise<!proto.sniippaymentmethodsserviceapi.GetCreditCardResponse>}
513
+ * @return {!Promise<!proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse>}
514
514
  * The XHR Node Readable Stream
515
515
  */
516
- proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.internalGetCreditCard =
516
+ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.getPaymentMethods =
517
517
  function(request, metadata) {
518
518
  return new Promise((resolve, reject) => {
519
- this.delegateClient_.internalGetCreditCard(
519
+ this.delegateClient_.getPaymentMethods(
520
520
  request, metadata, (error, response) => {
521
521
  error ? reject(error) : resolve(response);
522
522
  });