mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-06-03 00:15:27 +00:00
22 lines
625 B
Kotlin
22 lines
625 B
Kotlin
package com.github.insanusmokrassar.TelegramBotAPI.types.payments
|
|
|
|
import com.github.insanusmokrassar.TelegramBotAPI.types.*
|
|
import kotlinx.serialization.SerialName
|
|
import kotlinx.serialization.Serializable
|
|
|
|
@Serializable
|
|
data class ShippingAddress(
|
|
@SerialName(countryCodeField)
|
|
val countryCode: String,
|
|
@SerialName(cityField)
|
|
val city: String,
|
|
@SerialName(firstStreetLineField)
|
|
val firstStreetLine: String,
|
|
@SerialName(secondStreetLineField)
|
|
val secondStreetLine: String,
|
|
@SerialName(stateField)
|
|
val state: String = "",
|
|
@SerialName(postCodeField)
|
|
val postCode: String = ""
|
|
)
|