Updated on 2026-08-14
This commit is contained in:
parent
16f8451745
commit
00de15f8e0
15 changed files with 223 additions and 71 deletions
|
|
@ -51,4 +51,7 @@ interface TangemTechApi {
|
|||
@Header("card_id") cardId: String,
|
||||
@Body startReferralBody: StartReferralBody,
|
||||
): ReferralResponse
|
||||
|
||||
@GET("shops")
|
||||
suspend fun getShopInfo(@Query(value = "name") name: String): ShopResponse
|
||||
}
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
package com.tangem.datasource.api.tangemTech.models
|
||||
|
||||
import com.squareup.moshi.Json
|
||||
|
||||
/**
|
||||
* Shop response
|
||||
*
|
||||
* @property isOrderingAvailable ordering availability
|
||||
*
|
||||
[REDACTED_AUTHOR]
|
||||
*/
|
||||
data class ShopResponse(
|
||||
@Json(name = "canOrder") val isOrderingAvailable: Boolean,
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue