Update Format

This commit is contained in:
aditya.siregar
2024-09-06 15:12:50 +07:00
parent dc2df93572
commit d458f0649d
4 changed files with 14 additions and 16 deletions
+9 -11
View File
@@ -1,17 +1,15 @@
package response
import "time"
type TransactionListItem struct {
ID string `json:"id"`
TransactionType string `json:"transaction_type"`
Status string `json:"status"`
CreatedAt time.Time `json:"created_at"`
SiteName string `json:"site_name"`
Amount int64 `json:"amount"`
PartnerName string `json:"partner_name"`
Total int64 `json:"total"`
Fee int64 `json:"fee"`
ID string `json:"id"`
TransactionType string `json:"transaction_type"`
Status string `json:"status"`
CreatedAt string `json:"created_at"`
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 {