fromJson

fun fromJson(json: JsonObject): Sep31RefundPayment

Parses a refund-payment JSON object into a Sep31RefundPayment.

Return

The parsed refund payment.

Parameters

json

The JSON object describing one refund payment.

Throws

if id, amount, or fee is missing or the body is malformed.