test #196

Merged
klaus merged 5 commits from test into main 2024-07-02 08:57:12 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 27fbfd49e2 - Show all commits

View File

@ -31,9 +31,9 @@ data class GetCalculateContentDonationQueryData @QueryProjection constructor(
// 유료콘텐츠 (원화 - 결제수수료) 의 90% // 유료콘텐츠 (원화 - 결제수수료) 의 90%
// 무료콘텐츠 (원화 - 결제수수료) 의 70% // 무료콘텐츠 (원화 - 결제수수료) 의 70%
val settlementAmount = if (price > 0) { val settlementAmount = if (price > 0) {
(totalKrw - paymentFee).multiply(BigDecimal(0.9)) totalKrw.subtract(paymentFee).multiply(BigDecimal(0.9))
} else { } else {
(totalKrw - paymentFee).multiply(BigDecimal(0.7)) totalKrw.subtract(paymentFee).multiply(BigDecimal(0.7))
} }
// 원천세 = 정산금액의 3.3% // 원천세 = 정산금액의 3.3%