CapturePaymentRequest

data class CapturePaymentRequest(val paymentId: String? = null, val userId: String, val amount: Double, val type: PaymentType = PaymentType.DEFAULT, val status: PaymentStatus = PaymentStatus.PAYMENT_COMPLETED)

Payment capture request model

Constructors

Link copied to clipboard
constructor(paymentId: String? = null, userId: String, amount: Double, type: PaymentType = PaymentType.DEFAULT, status: PaymentStatus = PaymentStatus.PAYMENT_COMPLETED)

Properties

Link copied to clipboard
@SerializedName(value = "amount")
val amount: Double
Link copied to clipboard
@SerializedName(value = "payment_id")
val paymentId: String? = null
Link copied to clipboard
@SerializedName(value = "status")
val status: PaymentStatus
Link copied to clipboard
@SerializedName(value = "type")
val type: PaymentType
Link copied to clipboard
@SerializedName(value = "user_id")
val userId: String