23 lines
791 B
Go
23 lines
791 B
Go
package paymentsettings
|
|
|
|
import "time"
|
|
|
|
type PaymentSettingsDTO struct {
|
|
BankFeeTmt float64 `json:"bankFeeTmt"`
|
|
GbusFeeTmt float64 `json:"gbusFeeTmt"`
|
|
SberBankFeeTmt float64 `json:"sberBankFeeTmt"`
|
|
TvebFeeUsd float64 `json:"tvebFeeUsd"`
|
|
MaxAmountUsd float64 `json:"maxAmountUsd"`
|
|
UpdatedById *int64 `json:"-"`
|
|
UpdatedAt time.Time `json:"updatedAt"`
|
|
}
|
|
|
|
type UpdatePaymentSettingsDTO struct {
|
|
BankFeeTmt float64 `json:"bankFeeTmt" binding:"required"`
|
|
GbusFeeTmt float64 `json:"gbusFeeTmt" binding:"required"`
|
|
SberBankFeeTmt float64 `json:"sberBankFeeTmt" binding:"required"`
|
|
TvebFeeUsd float64 `json:"tvebFeeUsd" binding:"required"`
|
|
MaxAmountUsd float64 `json:"maxAmountUsd" binding:"required"`
|
|
UpdatedBy *int64 `json:"-"`
|
|
}
|