@sniipwebmaster/payment-methods-client-grpcweb 0.2.584 → 0.2.600

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.
@@ -580,6 +580,62 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseC
580
580
  };
581
581
 
582
582
 
583
+ /**
584
+ * @const
585
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
586
+ * !proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest,
587
+ * !proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse>}
588
+ */
589
+ const methodInfo_SniipPaymentMethodsServiceAPIService_GetZenithPaymentDetails = new grpc.web.AbstractClientBase.MethodInfo(
590
+ proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse,
591
+ /** @param {!proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest} request */
592
+ function(request) {
593
+ return request.serializeBinary();
594
+ },
595
+ proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse.deserializeBinary
596
+ );
597
+
598
+
599
+ /**
600
+ * @param {!proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest} request The
601
+ * request proto
602
+ * @param {!Object<string, string>} metadata User defined
603
+ * call metadata
604
+ * @param {function(?grpc.web.Error, ?proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse)}
605
+ * callback The callback function(error, response)
606
+ * @return {!grpc.web.ClientReadableStream<!proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse>|undefined}
607
+ * The XHR Node Readable Stream
608
+ */
609
+ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.prototype.getZenithPaymentDetails =
610
+ function(request, metadata, callback) {
611
+ return this.client_.rpcCall(this.hostname_ +
612
+ '/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetZenithPaymentDetails',
613
+ request,
614
+ metadata,
615
+ methodInfo_SniipPaymentMethodsServiceAPIService_GetZenithPaymentDetails,
616
+ callback);
617
+ };
618
+
619
+
620
+ /**
621
+ * @param {!proto.sniippaymentmethodsserviceapi.GetZenithPaymentDetailsRequest} request The
622
+ * request proto
623
+ * @param {!Object<string, string>} metadata User defined
624
+ * call metadata
625
+ * @return {!Promise<!proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse>}
626
+ * The XHR Node Readable Stream
627
+ */
628
+ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.getZenithPaymentDetails =
629
+ function(request, metadata) {
630
+ return new Promise((resolve, reject) => {
631
+ this.delegateClient_.getZenithPaymentDetails(
632
+ request, metadata, (error, response) => {
633
+ error ? reject(error) : resolve(response);
634
+ });
635
+ });
636
+ };
637
+
638
+
583
639
  /**
584
640
  * @const
585
641
  * @type {!grpc.web.AbstractClientBase.MethodInfo<