Update Transaction
This commit is contained in:
@@ -105,6 +105,8 @@ func (h *TransactionHandler) ToTransactionListResponse(transactions []*entity.Tr
|
||||
SiteName: transaction.SiteName,
|
||||
Amount: transaction.Amount,
|
||||
PartnerName: transaction.PartnerName,
|
||||
Total: transaction.Total,
|
||||
Fee: transaction.Fee,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -10,6 +10,8 @@ type TransactionListItem struct {
|
||||
SiteName string `json:"site_name"`
|
||||
Amount int64 `json:"amount"`
|
||||
PartnerName string `json:"partner_name"`
|
||||
Total int64 `json:"total"`
|
||||
Fee int64 `json:"fee"`
|
||||
}
|
||||
|
||||
type TransactionListResponse struct {
|
||||
|
||||
Reference in New Issue
Block a user