Add PayU settings and dynamic QR generation
Some checks failed
build-and-deploy / build-deploy (push) Failing after 29s

This commit is contained in:
androidlover5842
2026-01-30 05:27:04 +05:30
parent 3a2afa264f
commit 38c0a0ec9a
9 changed files with 531 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
package com.android.trisolarisserver.controller.dto
import java.util.UUID
data class PayuSettingsUpsertRequest(
val merchantKey: String,
val salt32: String? = null,
val salt256: String? = null,
val baseUrl: String? = null,
val useSalt256: Boolean? = null
)
data class PayuSettingsResponse(
val propertyId: UUID,
val merchantKey: String,
val baseUrl: String,
val useSalt256: Boolean,
val hasSalt32: Boolean,
val hasSalt256: Boolean
)
data class PayuQrGenerateRequest(
val customerName: String? = null,
val customerEmail: String? = null,
val customerPhone: String? = null,
val expiryMinutes: Int? = 30
)
data class PayuQrGenerateResponse(
val txnid: String,
val amount: Long,
val currency: String,
val payuResponse: String
)