package Ġcom . ne mes is protocol . crypt ocr aze . data . database . payment info Ċ Ċ import Ġandroidx . room . Dao Ċ import Ġandroidx . room . Delete Ċ import Ġandroidx . room . Insert Ċ import Ġandroidx . room . On Conflict Strategy Ċ import Ġandroidx . room . Query Ċ import Ġandroidx . room . Type Converters Ċ import Ġandroidx . room . Update Ċ import Ġcom . ne mes is protocol . crypt ocr aze . domain . payment info . Crypto Cr aze Vis a Card Ċ import Ġcom . ne mes is protocol . crypt ocr aze . domain . payment info . Fi at Wallet Card Ċ Ċ @ Dao Ċ @ Type Converters () Ċ interface ĠPayment Info Dao Ġ{ ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġfi at _ wallet _ card _ info ") ĊĠĠĠ Ġfun Ġget Fi at Wallet s (): ĠList < Fi at Wallet Card > ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġfi at _ wallet _ card _ info ĠWHERE Ġcard Number Ġ= : card Number ") ĊĠĠĠ Ġfun Ġget Fi at Wallet By Card Number ( card Number : ĠLong ): ĠF iat Wallet Card ĊĊĠĠĠ Ġ@ Insert ( on Conflict Ġ= ĠOn Conflict Strategy . REPLACE ) ĊĠĠĠ Ġfun Ġadd Fi at Wallet ( fi at Wallet Card : ĠF iat Wallet Card ) ĊĊĠĠĠ Ġ@ Update ĊĠĠĠ Ġfun Ġupdate Fi at Wallet ( fi at Wallet Card : ĠF iat Wallet Card ) ĊĊĠĠĠ Ġ@ Delete ĊĠĠĠ Ġfun Ġdelete Fi at Wallet ( fi at Wallet Card : ĠF iat Wallet Card ) ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* Ġfrom Ġcrypto _ cr aze _ visa _ card _ info ") ĊĠĠĠ Ġfun Ġget Crypto Cr aze Vis a Cards (): ĠList < Crypto Cr aze Vis a Card > ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġcrypto _ cr aze _ visa _ card _ info ĠWHERE Ġcard Id Ġ= : card Id ") ĊĠĠĠ Ġfun Ġget Crypto Cr aze Vis a Card By Card Id ( card Id : ĠInt ): ĠCrypto Cr aze Vis a Card ĊĊĠĠĠ Ġ@ Insert ĊĠĠĠ Ġfun Ġadd Crypto Cr aze Vis a Card ( crypto Cr aze Vis a Card : ĠCrypto Cr aze Vis a Card ) ĊĊĠĠĠ Ġ@ Update ĊĠĠĠ Ġfun Ġupdate Crypto Cr aze Vis a Card ( crypto Cr aze Vis a Card : ĠCrypto Cr aze Vis a Card ) ĊĊĠĠĠ Ġ@ Delete ĊĠĠĠ Ġfun Ġdelete Crypto Cr aze Vis a Card ( crypto Cr aze Vis a Card : ĠCrypto Cr aze Vis a Card ) Ċ } Ċ