toggle menu
ktgbotapi
common
jvm
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types.payments
/
Invoice
Invoice
@
Serializable
data
class
Invoice
(
val
title
:
String
,
val
description
:
String
,
val
startParameter
:
StartParameter
,
val
currency
:
Currency
,
val
amount
:
Long
)
:
Amounted
,
Currencied
,
ReplyInfo.External.ContentVariant
Members
Members & Extensions
Constructors
Invoice
Link copied to clipboard
constructor
(
title
:
String
,
description
:
String
,
startParameter
:
StartParameter
,
currency
:
Currency
,
amount
:
Long
)
Properties
adapted
Majority
Total
Amount
Link copied to clipboard
open
val
adaptedMajorityTotalAmount
:
Double
amount
Link copied to clipboard
@
SerialName
(
value
=
"total_amount"
)
open
override
val
amount
:
Long
currency
Link copied to clipboard
@
SerialName
(
value
=
"currency"
)
open
override
val
currency
:
Currency
description
Link copied to clipboard
@
SerialName
(
value
=
"description"
)
val
description
:
String
start
Parameter
Link copied to clipboard
@
SerialName
(
value
=
"start_parameter"
)
val
startParameter
:
StartParameter
title
Link copied to clipboard
@
SerialName
(
value
=
"title"
)
val
title
:
String
Functions
java
Currency
Link copied to clipboard
jvm
fun
Currencied
.
javaCurrency
(
)
:
Currency