http4k
Toggle table of contents
6.55.0.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
http4k
http4k-connect-mpp
/
org.http4k.connect.mpp.model
/
ChargeRequest
Charge
Request
@
JsonSerializable
data
class
ChargeRequest
(
val
amount
:
PaymentAmount
,
val
currency
:
Currency
,
val
recipient
:
Recipient
?
=
null
,
val
description
:
String
?
=
null
,
val
externalId
:
String
?
=
null
,
val
methodDetails
:
Map
<
String
,
String
>
?
=
null
)
(
source
)
Members
Members & Extensions
Constructors
Charge
Request
Link copied to clipboard
constructor
(
amount
:
PaymentAmount
,
currency
:
Currency
,
recipient
:
Recipient
?
=
null
,
description
:
String
?
=
null
,
externalId
:
String
?
=
null
,
methodDetails
:
Map
<
String
,
String
>
?
=
null
)
Properties
amount
Link copied to clipboard
val
amount
:
PaymentAmount
currency
Link copied to clipboard
val
currency
:
Currency
description
Link copied to clipboard
val
description
:
String
?
external
Id
Link copied to clipboard
val
externalId
:
String
?
method
Details
Link copied to clipboard
val
methodDetails
:
Map
<
String
,
String
>
?
recipient
Link copied to clipboard
val
recipient
:
Recipient
?
Functions
encode
To
Request
Param
Link copied to clipboard
fun
ChargeRequest
.
encodeToRequestParam
(
)
:
String