package Ġcom . shop app . domain . inter actor . checkout Ċ Ċ import Ġcom . shop app . gateway . entity . Card Type Ċ import Ġcom . shop app . domain . inter actor . base . Single UseCase Ċ import Ġcom . shop app . domain . repository . Checkout Repository Ċ import Ġio . reactivex . Single Ċ import Ġjavax . inject . Inject Ċ Ċ class ĠGet Accepted Card Types UseCase Ġ@ Inject Ġconstructor ( private Ġval Ġcheckout Repository : ĠCheckout Repository ) Ġ: ĊĠĠĠ ĠSingle UseCase < List < Card Type >, ĠUnit >() Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġbuild UseCase Single ( params : ĠUnit ): ĠSingle < List < Card Type >> Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġcheckout Repository . get Accepted Card Types () ĊĠĠĠ Ġ} Ċ }