docs
5.0.0
common
jvm
docs
/
dev.inmo.tgbotapi.types.payments
/
SuccessfulPayment
Successful
Payment
@
Serializable
data
class
SuccessfulPayment
(
val
currency
:
Currency
,
val
amount
:
Long
,
val
invoicePayload
:
String
,
val
telegramPaymentChargeId
:
String
,
val
providerPaymentChargeId
:
String
,
val
shippingOptionId
:
String
?
=
null
,
val
orderInfo
:
OrderInfo
?
=
null
)
:
Amounted
,
Currencied
Constructors
Properties
Extensions
Constructors
Successful
Payment
Link copied to clipboard
fun
SuccessfulPayment
(
currency
:
Currency
,
amount
:
Long
,
invoicePayload
:
String
,
telegramPaymentChargeId
:
String
,
providerPaymentChargeId
:
String
,
shippingOptionId
:
String
?
=
null
,
orderInfo
:
OrderInfo
?
=
null
)
Properties
adapted
Majority
Total
Amount
Link copied to clipboard
open
val
adaptedMajorityTotalAmount
:
Double
amount
Link copied to clipboard
open
override
val
amount
:
Long
currency
Link copied to clipboard
open
override
val
currency
:
Currency
invoice
Payload
Link copied to clipboard
val
invoicePayload
:
String
order
Info
Link copied to clipboard
val
orderInfo
:
OrderInfo
?
=
null
provider
Payment
Charge
Id
Link copied to clipboard
val
providerPaymentChargeId
:
String
shipping
Option
Id
Link copied to clipboard
val
shippingOptionId
:
String
?
=
null
telegram
Payment
Charge
Id
Link copied to clipboard
val
telegramPaymentChargeId
:
String
Extensions
java
Currency
Link copied to clipboard
jvm
fun
Currencied
.
javaCurrency
(
)
:
Currency