@experteam-mx/ngx-services 20.9.6-dev3.1 → 20.9.6-dev3.2
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.
|
@@ -5049,6 +5049,26 @@ class ApiServicesService {
|
|
|
5049
5049
|
params: queryParams
|
|
5050
5050
|
}).pipe(map(({ data }) => data));
|
|
5051
5051
|
}
|
|
5052
|
+
/**
|
|
5053
|
+
* Starts an Adyen terminal payment.
|
|
5054
|
+
*
|
|
5055
|
+
* @param {AdyenPaymentIn} body - The payment request payload.
|
|
5056
|
+
* @return {Observable<AdyenPaymentOut>} An observable that emits the started payment identifiers.
|
|
5057
|
+
*/
|
|
5058
|
+
postAdyenPayment(body) {
|
|
5059
|
+
return this.http.post(`${this.url}/adyen/payments`, body)
|
|
5060
|
+
.pipe(map(({ data }) => data));
|
|
5061
|
+
}
|
|
5062
|
+
/**
|
|
5063
|
+
* Aborts an in-progress Adyen terminal payment.
|
|
5064
|
+
*
|
|
5065
|
+
* @param {AdyenAbortIn} body - The abort request payload.
|
|
5066
|
+
* @return {Observable<AdyenAbortOut>} An observable that emits the abort service identifier.
|
|
5067
|
+
*/
|
|
5068
|
+
postAdyenAbort(body) {
|
|
5069
|
+
return this.http.post(`${this.url}/adyen/aborts`, body)
|
|
5070
|
+
.pipe(map(({ data }) => data));
|
|
5071
|
+
}
|
|
5052
5072
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiServicesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5053
5073
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiServicesService, providedIn: 'root' });
|
|
5054
5074
|
}
|