toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types.payments
/
ShippingOption
Shipping
Option
@
Serializable
data
class
ShippingOption
(
val
id
:
ShippingOptionId
,
val
title
:
String
,
val
prices
:
List
<
LabeledPrice
>
)
:
Priced
Members
Constructors
Shipping
Option
Link copied to clipboard
constructor
(
id
:
ShippingOptionId
,
title
:
String
,
prices
:
List
<
LabeledPrice
>
)
Properties
id
Link copied to clipboard
@
SerialName
(
value
=
"id"
)
val
id
:
ShippingOptionId
prices
Link copied to clipboard
@
Serializable
(
with
=
LabeledPricesSerializer::class
)
@
SerialName
(
value
=
"prices"
)
open
override
val
prices
:
List
<
LabeledPrice
>
title
Link copied to clipboard
@
SerialName
(
value
=
"title"
)
val
title
:
String