1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-07-01 13:57:48 +00:00
tgbotapi/src/main/kotlin/com/github/insanusmokrassar/TelegramBotAPI/types/payments/ShippingAddress.kt

23 lines
602 B
Kotlin
Raw Normal View History

2018-12-26 08:07:24 +00:00
package com.github.insanusmokrassar.TelegramBotAPI.types.payments
import com.github.insanusmokrassar.TelegramBotAPI.types.*
import kotlinx.serialization.*
@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)
@Optional
val state: String = "",
@SerialName(postCodeField)
@Optional
val postCode: String = ""
)