added the GetMpesaOnrampRates function

This commit is contained in:
2025-12-02 11:51:12 +03:00
parent ea659ec25e
commit 45469d4ba3
6 changed files with 40 additions and 0 deletions

View File

@@ -135,3 +135,8 @@ func (m MockAccountService) MpesaTriggerOnramp(ctx context.Context, address, pho
args := m.Called(address, phoneNumber, asset, amount)
return args.Get(0).(*models.MpesaOnrampResponse), args.Error(1)
}
func (m MockAccountService) GetMpesaOnrampRates(ctx context.Context) (*models.MpesaOnrampRatesResponse, error) {
args := m.Called()
return args.Get(0).(*models.MpesaOnrampRatesResponse), args.Error(1)
}