@experteam-mx/ngx-services 20.9.6 → 20.9.7
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.
|
@@ -5065,6 +5065,26 @@ class ApiServicesService {
|
|
|
5065
5065
|
params: queryParams
|
|
5066
5066
|
}).pipe(map(({ data }) => data));
|
|
5067
5067
|
}
|
|
5068
|
+
/**
|
|
5069
|
+
* Starts an Adyen terminal payment.
|
|
5070
|
+
*
|
|
5071
|
+
* @param {AdyenPaymentIn} body - The payment request payload.
|
|
5072
|
+
* @return {Observable<AdyenPaymentOut>} An observable that emits the started payment identifiers.
|
|
5073
|
+
*/
|
|
5074
|
+
postAdyenPayment(body) {
|
|
5075
|
+
return this.http.post(`${this.url}/adyen/payments`, body)
|
|
5076
|
+
.pipe(map(({ data }) => data));
|
|
5077
|
+
}
|
|
5078
|
+
/**
|
|
5079
|
+
* Aborts an in-progress Adyen terminal payment.
|
|
5080
|
+
*
|
|
5081
|
+
* @param {AdyenAbortIn} body - The abort request payload.
|
|
5082
|
+
* @return {Observable<AdyenAbortOut>} An observable that emits the abort service identifier.
|
|
5083
|
+
*/
|
|
5084
|
+
postAdyenAbort(body) {
|
|
5085
|
+
return this.http.post(`${this.url}/adyen/aborts`, body)
|
|
5086
|
+
.pipe(map(({ data }) => data));
|
|
5087
|
+
}
|
|
5068
5088
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiServicesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5069
5089
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiServicesService, providedIn: 'root' });
|
|
5070
5090
|
}
|