Skip to content

Commit 4967bb0

Browse files
fix: moved models data to model module
1 parent f8d5e06 commit 4967bb0

File tree

87 files changed

+141
-138
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+141
-138
lines changed

core/data/src/main/java/org/mifos/mobilewallet/core/data/fineract/api/services/AuthenticationService.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package org.mifos.mobilewallet.core.data.fineract.api.services
22

33
import org.mifos.mobilewallet.core.data.fineract.api.ApiEndPoints
4-
import org.mifos.mobilewallet.core.data.fineract.entity.UserEntity
5-
import org.mifos.mobilewallet.core.data.fineract.entity.authentication.AuthenticationPayload
4+
import com.mifos.mobilewallet.model.entity.UserEntity
5+
import com.mifos.mobilewallet.model.entity.authentication.AuthenticationPayload
66
import retrofit2.http.Body
77
import retrofit2.http.POST
88
import rx.Observable

core/data/src/main/java/org/mifos/mobilewallet/core/data/fineract/api/services/BeneficiaryService.kt

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ package org.mifos.mobilewallet.core.data.fineract.api.services
22

33
import okhttp3.ResponseBody
44
import org.mifos.mobilewallet.core.data.fineract.api.ApiEndPoints
5-
import org.mifos.mobilewallet.core.data.fineract.entity.beneficary.Beneficiary
6-
import org.mifos.mobilewallet.core.data.fineract.entity.beneficary.BeneficiaryPayload
7-
import org.mifos.mobilewallet.core.data.fineract.entity.beneficary.BeneficiaryUpdatePayload
8-
import org.mifos.mobilewallet.core.data.fineract.entity.templates.beneficiary.BeneficiaryTemplate
5+
import com.mifos.mobilewallet.model.entity.beneficary.Beneficiary
6+
import com.mifos.mobilewallet.model.entity.beneficary.BeneficiaryPayload
7+
import com.mifos.mobilewallet.model.entity.beneficary.BeneficiaryUpdatePayload
8+
import com.mifos.mobilewallet.model.entity.templates.beneficiary.BeneficiaryTemplate
99
import retrofit2.http.Body
1010
import retrofit2.http.DELETE
1111
import retrofit2.http.GET

core/data/src/main/java/org/mifos/mobilewallet/core/data/fineract/api/services/ClientService.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import okhttp3.MultipartBody
44
import okhttp3.ResponseBody
55
import org.mifos.mobilewallet.core.data.fineract.api.ApiEndPoints
66
import org.mifos.mobilewallet.core.data.fineract.api.GenericResponse
7-
import org.mifos.mobilewallet.core.data.fineract.entity.Page
7+
import com.mifos.mobilewallet.model.entity.Page
88
import com.mifos.mobilewallet.model.entity.client.Client
99
import com.mifos.mobilewallet.model.entity.client.ClientAccounts
1010
import com.mifos.mobilewallet.model.domain.NewAccount

core/data/src/main/java/org/mifos/mobilewallet/core/data/fineract/api/services/DocumentService.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import okhttp3.MultipartBody
44
import okhttp3.ResponseBody
55
import org.mifos.mobilewallet.core.data.fineract.api.ApiEndPoints
66
import org.mifos.mobilewallet.core.data.fineract.api.GenericResponse
7-
import org.mifos.mobilewallet.core.data.fineract.entity.noncore.Document
7+
import com.mifos.mobilewallet.model.entity.noncore.Document
88
import retrofit2.http.DELETE
99
import retrofit2.http.GET
1010
import retrofit2.http.Multipart

core/data/src/main/java/org/mifos/mobilewallet/core/data/fineract/api/services/InvoiceService.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package org.mifos.mobilewallet.core.data.fineract.api.services
22

33
import org.mifos.mobilewallet.core.data.fineract.api.ApiEndPoints
44
import org.mifos.mobilewallet.core.data.fineract.api.GenericResponse
5-
import org.mifos.mobilewallet.core.data.fineract.entity.Invoice
5+
import com.mifos.mobilewallet.model.entity.Invoice
66
import retrofit2.http.Body
77
import retrofit2.http.DELETE
88
import retrofit2.http.GET

core/data/src/main/java/org/mifos/mobilewallet/core/data/fineract/api/services/KYCLevel1Service.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package org.mifos.mobilewallet.core.data.fineract.api.services
22

33
import org.mifos.mobilewallet.core.data.fineract.api.ApiEndPoints
44
import org.mifos.mobilewallet.core.data.fineract.api.GenericResponse
5-
import org.mifos.mobilewallet.core.data.fineract.entity.kyc.KYCLevel1Details
5+
import com.mifos.mobilewallet.model.entity.kyc.KYCLevel1Details
66
import retrofit2.http.Body
77
import retrofit2.http.GET
88
import retrofit2.http.POST

core/data/src/main/java/org/mifos/mobilewallet/core/data/fineract/api/services/RegistrationService.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ package org.mifos.mobilewallet.core.data.fineract.api.services
22

33
import okhttp3.ResponseBody
44
import org.mifos.mobilewallet.core.data.fineract.api.ApiEndPoints
5-
import org.mifos.mobilewallet.core.data.fineract.entity.register.RegisterPayload
6-
import org.mifos.mobilewallet.core.data.fineract.entity.register.UserVerify
5+
import com.mifos.mobilewallet.model.entity.register.RegisterPayload
6+
import com.mifos.mobilewallet.model.entity.register.UserVerify
77
import retrofit2.http.Body
88
import retrofit2.http.POST
99
import rx.Observable

core/data/src/main/java/org/mifos/mobilewallet/core/data/fineract/api/services/SavedCardService.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package org.mifos.mobilewallet.core.data.fineract.api.services
22

33
import org.mifos.mobilewallet.core.data.fineract.api.ApiEndPoints
44
import org.mifos.mobilewallet.core.data.fineract.api.GenericResponse
5-
import org.mifos.mobilewallet.core.data.fineract.entity.savedcards.Card
5+
import com.mifos.mobilewallet.model.entity.savedcards.Card
66
import retrofit2.http.Body
77
import retrofit2.http.DELETE
88
import retrofit2.http.GET

core/data/src/main/java/org/mifos/mobilewallet/core/data/fineract/api/services/SavingsAccountsService.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package org.mifos.mobilewallet.core.data.fineract.api.services
22

33
import org.mifos.mobilewallet.core.data.fineract.api.ApiEndPoints
44
import org.mifos.mobilewallet.core.data.fineract.api.GenericResponse
5-
import org.mifos.mobilewallet.core.data.fineract.entity.Page
5+
import com.mifos.mobilewallet.model.entity.Page
66
import com.mifos.mobilewallet.model.entity.accounts.savings.SavingAccount
77
import com.mifos.mobilewallet.model.entity.accounts.savings.SavingsWithAssociations
88
import com.mifos.mobilewallet.model.entity.accounts.savings.Transactions

core/data/src/main/java/org/mifos/mobilewallet/core/data/fineract/api/services/SearchService.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package org.mifos.mobilewallet.core.data.fineract.api.services
22

33
import org.mifos.mobilewallet.core.data.fineract.api.ApiEndPoints
4-
import org.mifos.mobilewallet.core.data.fineract.entity.SearchedEntity
4+
import com.mifos.mobilewallet.model.entity.SearchedEntity
55
import retrofit2.http.GET
66
import retrofit2.http.Query
77
import rx.Observable

core/data/src/main/java/org/mifos/mobilewallet/core/data/fineract/api/services/StandingInstructionService.kt

+7-7
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ package org.mifos.mobilewallet.core.data.fineract.api.services
22

33
import org.mifos.mobilewallet.core.data.fineract.api.ApiEndPoints
44
import org.mifos.mobilewallet.core.data.fineract.api.GenericResponse
5-
import org.mifos.mobilewallet.core.data.fineract.entity.Page
6-
import org.mifos.mobilewallet.core.data.fineract.entity.standinginstruction.SDIResponse
7-
import org.mifos.mobilewallet.core.data.fineract.entity.payload.StandingInstructionPayload
8-
import org.mifos.mobilewallet.core.data.fineract.entity.standinginstruction.StandingInstruction
5+
import com.mifos.mobilewallet.model.entity.Page
6+
import com.mifos.mobilewallet.model.entity.standinginstruction.SDIResponse
7+
import com.mifos.mobilewallet.model.entity.payload.StandingInstructionPayload
8+
import com.mifos.mobilewallet.model.entity.standinginstruction.StandingInstruction
99
import retrofit2.http.Body
1010
import retrofit2.http.GET
1111
import retrofit2.http.POST
@@ -45,8 +45,8 @@ interface StandingInstructionService {
4545

4646
@PUT("${ApiEndPoints.STANDING_INSTRUCTION}/{standingInstructionId}")
4747
fun updateStandingInstruction(
48-
@Path("standingInstructionId") standingInstructionId: Long,
49-
@Body standingInstructionPayload: StandingInstructionPayload,
50-
@Query("command") command: String): Observable<GenericResponse>
48+
@Path("standingInstructionId") standingInstructionId: Long,
49+
@Body standingInstructionPayload: StandingInstructionPayload,
50+
@Query("command") command: String): Observable<GenericResponse>
5151

5252
}

core/data/src/main/java/org/mifos/mobilewallet/core/data/fineract/api/services/ThirdPartyTransferService.kt

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
package org.mifos.mobilewallet.core.data.fineract.api.services
22

33
import org.mifos.mobilewallet.core.data.fineract.api.ApiEndPoints
4-
import org.mifos.mobilewallet.core.data.fineract.entity.TPTResponse
5-
import org.mifos.mobilewallet.core.data.fineract.entity.payload.TransferPayload
6-
import org.mifos.mobilewallet.core.data.fineract.entity.templates.account.AccountOptionsTemplate
4+
import com.mifos.mobilewallet.model.entity.TPTResponse
5+
import com.mifos.mobilewallet.model.entity.payload.TransferPayload
6+
import com.mifos.mobilewallet.model.entity.templates.account.AccountOptionsTemplate
77
import retrofit2.http.Body
88
import retrofit2.http.GET
99
import retrofit2.http.POST

core/data/src/main/java/org/mifos/mobilewallet/core/data/fineract/api/services/UserService.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package org.mifos.mobilewallet.core.data.fineract.api.services
22

33
import org.mifos.mobilewallet.core.data.fineract.api.ApiEndPoints
44
import org.mifos.mobilewallet.core.data.fineract.api.GenericResponse
5-
import org.mifos.mobilewallet.core.data.fineract.entity.UserWithRole
5+
import com.mifos.mobilewallet.model.entity.UserWithRole
66
import com.mifos.mobilewallet.model.domain.user.NewUser
77
import org.mifos.mobilewallet.core.domain.usecase.user.CreateUser
88
import retrofit2.http.Body

core/data/src/main/java/org/mifos/mobilewallet/core/data/fineract/entity/mapper/SearchedEntitiesMapper.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package org.mifos.mobilewallet.core.data.fineract.entity.mapper;
22

3-
import org.mifos.mobilewallet.core.data.fineract.entity.SearchedEntity;
3+
import com.mifos.mobilewallet.model.entity.SearchedEntity;
44
import com.mifos.mobilewallet.model.domain.SearchResult;
55

66
import java.util.ArrayList;

core/data/src/main/java/org/mifos/mobilewallet/core/data/fineract/entity/mapper/UserEntityMapper.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package org.mifos.mobilewallet.core.data.fineract.entity.mapper;
22

3-
import org.mifos.mobilewallet.core.data.fineract.entity.UserEntity;
3+
import com.mifos.mobilewallet.model.entity.UserEntity;
44
import com.mifos.mobilewallet.model.domain.user.User;
55

66
import javax.inject.Inject;

core/data/src/main/java/org/mifos/mobilewallet/core/data/fineract/repository/FineractRepository.kt

+18-18
Original file line numberDiff line numberDiff line change
@@ -5,29 +5,29 @@ import okhttp3.ResponseBody
55
import org.mifos.mobilewallet.core.data.fineract.api.FineractApiManager
66
import org.mifos.mobilewallet.core.data.fineract.api.GenericResponse
77
import org.mifos.mobilewallet.core.data.fineract.api.SelfServiceApiManager
8-
import org.mifos.mobilewallet.core.data.fineract.entity.Invoice
9-
import org.mifos.mobilewallet.core.data.fineract.entity.Page
10-
import org.mifos.mobilewallet.core.data.fineract.entity.SearchedEntity
11-
import org.mifos.mobilewallet.core.data.fineract.entity.TPTResponse
12-
import org.mifos.mobilewallet.core.data.fineract.entity.UserEntity
13-
import org.mifos.mobilewallet.core.data.fineract.entity.UserWithRole
8+
import com.mifos.mobilewallet.model.entity.Invoice
9+
import com.mifos.mobilewallet.model.entity.Page
10+
import com.mifos.mobilewallet.model.entity.SearchedEntity
11+
import com.mifos.mobilewallet.model.entity.TPTResponse
12+
import com.mifos.mobilewallet.model.entity.UserEntity
13+
import com.mifos.mobilewallet.model.entity.UserWithRole
1414
import com.mifos.mobilewallet.model.entity.accounts.savings.SavingsWithAssociations
1515
import com.mifos.mobilewallet.model.entity.accounts.savings.Transactions
1616
import com.mifos.mobilewallet.model.entity.accounts.savings.TransferDetail
17-
import org.mifos.mobilewallet.core.data.fineract.entity.authentication.AuthenticationPayload
18-
import org.mifos.mobilewallet.core.data.fineract.entity.beneficary.Beneficiary
19-
import org.mifos.mobilewallet.core.data.fineract.entity.beneficary.BeneficiaryPayload
20-
import org.mifos.mobilewallet.core.data.fineract.entity.beneficary.BeneficiaryUpdatePayload
17+
import com.mifos.mobilewallet.model.entity.authentication.AuthenticationPayload
18+
import com.mifos.mobilewallet.model.entity.beneficary.Beneficiary
19+
import com.mifos.mobilewallet.model.entity.beneficary.BeneficiaryPayload
20+
import com.mifos.mobilewallet.model.entity.beneficary.BeneficiaryUpdatePayload
2121
import com.mifos.mobilewallet.model.entity.client.Client
2222
import com.mifos.mobilewallet.model.entity.client.ClientAccounts
23-
import org.mifos.mobilewallet.core.data.fineract.entity.kyc.KYCLevel1Details
24-
import org.mifos.mobilewallet.core.data.fineract.entity.payload.StandingInstructionPayload
25-
import org.mifos.mobilewallet.core.data.fineract.entity.payload.TransferPayload
26-
import org.mifos.mobilewallet.core.data.fineract.entity.register.RegisterPayload
27-
import org.mifos.mobilewallet.core.data.fineract.entity.register.UserVerify
28-
import org.mifos.mobilewallet.core.data.fineract.entity.savedcards.Card
29-
import org.mifos.mobilewallet.core.data.fineract.entity.standinginstruction.SDIResponse
30-
import org.mifos.mobilewallet.core.data.fineract.entity.standinginstruction.StandingInstruction
23+
import com.mifos.mobilewallet.model.entity.kyc.KYCLevel1Details
24+
import com.mifos.mobilewallet.model.entity.payload.StandingInstructionPayload
25+
import com.mifos.mobilewallet.model.entity.payload.TransferPayload
26+
import com.mifos.mobilewallet.model.entity.register.RegisterPayload
27+
import com.mifos.mobilewallet.model.entity.register.UserVerify
28+
import com.mifos.mobilewallet.model.entity.savedcards.Card
29+
import com.mifos.mobilewallet.model.entity.standinginstruction.SDIResponse
30+
import com.mifos.mobilewallet.model.entity.standinginstruction.StandingInstruction
3131
import com.mifos.mobilewallet.model.domain.NewAccount
3232
import com.mifos.mobilewallet.model.domain.NotificationPayload
3333
import com.mifos.mobilewallet.model.domain.twofactor.AccessToken

core/data/src/main/java/org/mifos/mobilewallet/core/domain/usecase/account/FetchMerchants.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package org.mifos.mobilewallet.core.domain.usecase.account;
22

33
import org.mifos.mobilewallet.core.base.UseCase;
4-
import org.mifos.mobilewallet.core.data.fineract.entity.Page;
4+
import com.mifos.mobilewallet.model.entity.Page;
55
import com.mifos.mobilewallet.model.entity.accounts.savings.SavingsWithAssociations;
66
import org.mifos.mobilewallet.core.data.fineract.repository.FineractRepository;
77
import org.mifos.mobilewallet.core.utils.Constants;

core/data/src/main/java/org/mifos/mobilewallet/core/domain/usecase/account/TransferFunds.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
package org.mifos.mobilewallet.core.domain.usecase.account;
22

33
import org.mifos.mobilewallet.core.base.UseCase;
4-
import org.mifos.mobilewallet.core.data.fineract.entity.TPTResponse;
4+
import com.mifos.mobilewallet.model.entity.TPTResponse;
55
import com.mifos.mobilewallet.model.entity.accounts.savings.SavingAccount;
6-
import org.mifos.mobilewallet.core.data.fineract.entity.beneficary.Beneficiary;
7-
import org.mifos.mobilewallet.core.data.fineract.entity.beneficary.BeneficiaryPayload;
8-
import org.mifos.mobilewallet.core.data.fineract.entity.beneficary.BeneficiaryUpdatePayload;
6+
import com.mifos.mobilewallet.model.entity.beneficary.Beneficiary;
7+
import com.mifos.mobilewallet.model.entity.beneficary.BeneficiaryPayload;
8+
import com.mifos.mobilewallet.model.entity.beneficary.BeneficiaryUpdatePayload;
99
import com.mifos.mobilewallet.model.entity.client.Client;
1010
import com.mifos.mobilewallet.model.entity.client.ClientAccounts;
11-
import org.mifos.mobilewallet.core.data.fineract.entity.payload.TransferPayload;
11+
import com.mifos.mobilewallet.model.entity.payload.TransferPayload;
1212
import org.mifos.mobilewallet.core.data.fineract.repository.FineractRepository;
1313
import org.mifos.mobilewallet.core.utils.Constants;
1414
import com.mifos.mobilewallet.model.utils.DateHelper;

core/data/src/main/java/org/mifos/mobilewallet/core/domain/usecase/client/FetchClientData.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package org.mifos.mobilewallet.core.domain.usecase.client
22

33
import org.mifos.mobilewallet.core.base.UseCase
4-
import org.mifos.mobilewallet.core.data.fineract.entity.Page
4+
import com.mifos.mobilewallet.model.entity.Page
55
import com.mifos.mobilewallet.model.entity.client.Client
66
import org.mifos.mobilewallet.core.data.fineract.entity.mapper.ClientDetailsMapper
77
import org.mifos.mobilewallet.core.data.fineract.repository.FineractRepository

core/data/src/main/java/org/mifos/mobilewallet/core/domain/usecase/client/SearchClient.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package org.mifos.mobilewallet.core.domain.usecase.client
22

33
import org.mifos.mobilewallet.core.base.UseCase
4-
import org.mifos.mobilewallet.core.data.fineract.entity.SearchedEntity
4+
import com.mifos.mobilewallet.model.entity.SearchedEntity
55
import org.mifos.mobilewallet.core.data.fineract.entity.mapper.SearchedEntitiesMapper
66
import org.mifos.mobilewallet.core.data.fineract.repository.FineractRepository
77
import com.mifos.mobilewallet.model.domain.SearchResult

core/data/src/main/java/org/mifos/mobilewallet/core/domain/usecase/invoice/FetchInvoice.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package org.mifos.mobilewallet.core.domain.usecase.invoice
22

33
import android.net.Uri
44
import org.mifos.mobilewallet.core.base.UseCase
5-
import org.mifos.mobilewallet.core.data.fineract.entity.Invoice
5+
import com.mifos.mobilewallet.model.entity.Invoice
66
import org.mifos.mobilewallet.core.data.fineract.repository.FineractRepository
77
import org.mifos.mobilewallet.core.utils.Constants
88
import rx.Subscriber

core/data/src/main/java/org/mifos/mobilewallet/core/domain/usecase/invoice/FetchInvoices.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package org.mifos.mobilewallet.core.domain.usecase.invoice
22

33
import org.mifos.mobilewallet.core.base.UseCase
4-
import org.mifos.mobilewallet.core.data.fineract.entity.Invoice
4+
import com.mifos.mobilewallet.model.entity.Invoice
55
import org.mifos.mobilewallet.core.data.fineract.repository.FineractRepository
66
import rx.Subscriber
77
import rx.android.schedulers.AndroidSchedulers

core/data/src/main/java/org/mifos/mobilewallet/core/domain/usecase/kyc/FetchKYCLevel1Details.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package org.mifos.mobilewallet.core.domain.usecase.kyc
22

33
import org.mifos.mobilewallet.core.base.UseCase
4-
import org.mifos.mobilewallet.core.data.fineract.entity.kyc.KYCLevel1Details
4+
import com.mifos.mobilewallet.model.entity.kyc.KYCLevel1Details
55
import org.mifos.mobilewallet.core.data.fineract.repository.FineractRepository
66
import rx.Subscriber
77
import rx.android.schedulers.AndroidSchedulers

core/data/src/main/java/org/mifos/mobilewallet/core/domain/usecase/kyc/UpdateKYCLevel1Details.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package org.mifos.mobilewallet.core.domain.usecase.kyc
22

33
import org.mifos.mobilewallet.core.base.UseCase
44
import org.mifos.mobilewallet.core.data.fineract.api.GenericResponse
5-
import org.mifos.mobilewallet.core.data.fineract.entity.kyc.KYCLevel1Details
5+
import com.mifos.mobilewallet.model.entity.kyc.KYCLevel1Details
66
import org.mifos.mobilewallet.core.data.fineract.repository.FineractRepository
77
import rx.Subscriber
88
import rx.android.schedulers.AndroidSchedulers

core/data/src/main/java/org/mifos/mobilewallet/core/domain/usecase/kyc/UploadKYCLevel1Details.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package org.mifos.mobilewallet.core.domain.usecase.kyc
22

33
import org.mifos.mobilewallet.core.base.UseCase
44
import org.mifos.mobilewallet.core.data.fineract.api.GenericResponse
5-
import org.mifos.mobilewallet.core.data.fineract.entity.kyc.KYCLevel1Details
5+
import com.mifos.mobilewallet.model.entity.kyc.KYCLevel1Details
66
import org.mifos.mobilewallet.core.data.fineract.repository.FineractRepository
77
import rx.Subscriber
88
import rx.android.schedulers.AndroidSchedulers

core/data/src/main/java/org/mifos/mobilewallet/core/domain/usecase/savedcards/AddCard.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package org.mifos.mobilewallet.core.domain.usecase.savedcards
22

33
import org.mifos.mobilewallet.core.base.UseCase
44
import org.mifos.mobilewallet.core.data.fineract.api.GenericResponse
5-
import org.mifos.mobilewallet.core.data.fineract.entity.savedcards.Card
5+
import com.mifos.mobilewallet.model.entity.savedcards.Card
66
import org.mifos.mobilewallet.core.data.fineract.repository.FineractRepository
77
import rx.Subscriber
88
import rx.android.schedulers.AndroidSchedulers

core/data/src/main/java/org/mifos/mobilewallet/core/domain/usecase/savedcards/EditCard.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package org.mifos.mobilewallet.core.domain.usecase.savedcards
22

33
import org.mifos.mobilewallet.core.base.UseCase
44
import org.mifos.mobilewallet.core.data.fineract.api.GenericResponse
5-
import org.mifos.mobilewallet.core.data.fineract.entity.savedcards.Card
5+
import com.mifos.mobilewallet.model.entity.savedcards.Card
66
import org.mifos.mobilewallet.core.data.fineract.repository.FineractRepository
77
import rx.Subscriber
88
import rx.android.schedulers.AndroidSchedulers

core/data/src/main/java/org/mifos/mobilewallet/core/domain/usecase/savedcards/FetchSavedCards.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package org.mifos.mobilewallet.core.domain.usecase.savedcards
22

33
import org.mifos.mobilewallet.core.base.UseCase
4-
import org.mifos.mobilewallet.core.data.fineract.entity.savedcards.Card
4+
import com.mifos.mobilewallet.model.entity.savedcards.Card
55
import org.mifos.mobilewallet.core.data.fineract.repository.FineractRepository
66
import org.mifos.mobilewallet.core.utils.Constants
77
import rx.Subscriber

core/data/src/main/java/org/mifos/mobilewallet/core/domain/usecase/standinginstruction/CreateStandingTransaction.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import org.mifos.mobilewallet.core.base.UseCase
44
import com.mifos.mobilewallet.model.entity.accounts.savings.SavingAccount
55
import com.mifos.mobilewallet.model.entity.client.Client
66
import com.mifos.mobilewallet.model.entity.client.ClientAccounts
7-
import org.mifos.mobilewallet.core.data.fineract.entity.standinginstruction.SDIResponse
8-
import org.mifos.mobilewallet.core.data.fineract.entity.payload.StandingInstructionPayload
7+
import com.mifos.mobilewallet.model.entity.standinginstruction.SDIResponse
8+
import com.mifos.mobilewallet.model.entity.payload.StandingInstructionPayload
99
import org.mifos.mobilewallet.core.data.fineract.repository.FineractRepository
1010
import org.mifos.mobilewallet.core.utils.Constants
1111
import rx.Subscriber

core/data/src/main/java/org/mifos/mobilewallet/core/domain/usecase/standinginstruction/FetchStandingInstruction.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package org.mifos.mobilewallet.core.domain.usecase.standinginstruction
22

33
import org.mifos.mobilewallet.core.base.UseCase
4-
import org.mifos.mobilewallet.core.data.fineract.entity.standinginstruction.StandingInstruction
4+
import com.mifos.mobilewallet.model.entity.standinginstruction.StandingInstruction
55
import org.mifos.mobilewallet.core.data.fineract.repository.FineractRepository
66
import rx.Subscriber
77
import rx.android.schedulers.AndroidSchedulers

core/data/src/main/java/org/mifos/mobilewallet/core/domain/usecase/standinginstruction/GetAllStandingInstructions.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package org.mifos.mobilewallet.core.domain.usecase.standinginstruction
22

33
import org.mifos.mobilewallet.core.base.UseCase
4-
import org.mifos.mobilewallet.core.data.fineract.entity.Page
5-
import org.mifos.mobilewallet.core.data.fineract.entity.standinginstruction.StandingInstruction
4+
import com.mifos.mobilewallet.model.entity.Page
5+
import com.mifos.mobilewallet.model.entity.standinginstruction.StandingInstruction
66
import org.mifos.mobilewallet.core.data.fineract.repository.FineractRepository
77
import rx.Subscriber
88
import rx.android.schedulers.AndroidSchedulers

0 commit comments

Comments
 (0)