Add PayU settings and dynamic QR generation
Some checks failed
build-and-deploy / build-deploy (push) Failing after 29s
Some checks failed
build-and-deploy / build-deploy (push) Failing after 29s
This commit is contained in:
@@ -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
|
||||
)
|
||||
Reference in New Issue
Block a user