fix: rename miscellaneous service

This commit is contained in:
Brian Pooe 2023-07-22 15:58:20 +02:00
parent 9d7cd67fac
commit 6b42247c2a
2 changed files with 7 additions and 5 deletions

View file

@ -10,19 +10,21 @@ import { Observable } from 'rxjs';
@Injectable()
export class MiscellaneousService {
constructor(private readonly psMiscellaneous: PsMiscellaneousService) {}
constructor(
private readonly psMiscellaneousService: PsMiscellaneousService
) {}
listBanks(
queryParamsPayload: PsListBanksRequestModel
): Observable<PsListBanksResponseModel> {
return this.psMiscellaneous.listBanks(queryParamsPayload);
return this.psMiscellaneousService.listBanks(queryParamsPayload);
}
listCountries(): Observable<PsListCountriesResponseModel> {
return this.psMiscellaneous.listCountries();
return this.psMiscellaneousService.listCountries();
}
listStates(country: string): Observable<PsListStatesResponseModel> {
return this.psMiscellaneous.listStates(country);
return this.psMiscellaneousService.listStates(country);
}
}

View file

@ -154,7 +154,7 @@ export class TransactionController {
- [x] Resolve Account Number <span style="color:green;">&#x2714;</span>
- [x] Validate Account <span style="color:green;">&#x2714;</span>
- [x] Resolve Card BIN <span style="color:green;">&#x2714;</span>
- [x] **Miscellaneous** &#x23F3;
- [x] **Miscellaneous** <span style="color:green;">&#x2714;</span>
- [x] **List Banks** <span style="color:green;">&#x2714;</span>
- [x] **List Countries** <span style="color:green;">&#x2714;</span>
- [x] **List States (AVS)** <span style="color:green;">&#x2714;</span>