File tree 1 file changed +4
-4
lines changed
src/backend/packages/inensus/angaza-shs/src/Modules/Api
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 5
5
use App \Exceptions \Manufacturer \ApiCallDoesNotSupportedException ;
6
6
use App \Lib \IManufacturerAPI ;
7
7
use App \Misc \TransactionDataContainer ;
8
- use App \Models \Meter \ Meter ;
8
+ use App \Models \Device ;
9
9
use Illuminate \Support \Carbon ;
10
10
use Illuminate \Support \Facades \Log ;
11
11
use Inensus \AngazaSHS \Exceptions \AngazaApiResponseException ;
@@ -21,7 +21,7 @@ public function __construct(
21
21
private ApiRequests $ apiRequests ,
22
22
) {}
23
23
24
- public function chargeMeter (TransactionDataContainer $ transactionContainer ): array {
24
+ public function chargeDevice (TransactionDataContainer $ transactionContainer ): array {
25
25
$ dayDifferenceBetweenTwoInstallments = $ transactionContainer ->dayDifferenceBetweenTwoInstallments ;
26
26
$ minimumPurchaseAmount = $ transactionContainer ->installmentCost ;
27
27
$ minimumPurchaseAmountPerDay =
@@ -81,13 +81,13 @@ public function chargeMeter(TransactionDataContainer $transactionContainer): arr
81
81
}
82
82
83
83
/**
84
- * @param Meter $meters
84
+ * @param Device $device
85
85
*
86
86
* @return void
87
87
*
88
88
* @throws ApiCallDoesNotSupportedException
89
89
*/
90
- public function clearMeter ( Meter $ meters ) {
90
+ public function clearDevice ( Device $ device ) {
91
91
throw new ApiCallDoesNotSupportedException ('This api call does not supported ' );
92
92
}
93
93
}
You can’t perform that action at this time.
0 commit comments