Add charge ledger for booking commissions
All checks were successful
build-and-deploy / build-deploy (push) Successful in 35s
All checks were successful
build-and-deploy / build-deploy (push) Successful in 35s
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
package com.android.trisolarisserver.controller.dto
|
||||
|
||||
import java.time.OffsetDateTime
|
||||
import java.util.UUID
|
||||
|
||||
data class ChargeCreateRequest(
|
||||
val type: String,
|
||||
val amount: Long,
|
||||
val currency: String,
|
||||
val occurredAt: String? = null,
|
||||
val notes: String? = null
|
||||
)
|
||||
|
||||
data class ChargeResponse(
|
||||
val id: UUID,
|
||||
val bookingId: UUID,
|
||||
val type: String,
|
||||
val amount: Long,
|
||||
val currency: String,
|
||||
val occurredAt: OffsetDateTime,
|
||||
val notes: String?
|
||||
)
|
||||
Reference in New Issue
Block a user