change model get transaction

This commit is contained in:
anbuiselly 2022-12-04 21:25:42 +07:00
parent 5b7d8329ae
commit 0d69cc3357
1 changed files with 2 additions and 4 deletions

View File

@ -1,7 +1,5 @@
package model
import "time"
// GetTransactionsResponse ...
type GetTransactionsResponse struct {
Total int64 `json:"total"`
@ -18,10 +16,10 @@ type TransactionInfo struct {
Source string `json:"source"`
Commission ResponseCampaignCommission `json:"commission"`
EstimateSellerCommission float64 `json:"estimateSellerCommission"`
TransactionTime time.Time `json:"transactionTime"`
TransactionTime string `json:"transactionTime"`
Status string `json:"status"`
RejectedReason string `json:"rejectedReason"`
EstimateCashbackAt time.Time `json:"estimateCashbackAt"`
EstimateCashbackAt string `json:"estimateCashbackAt"`
}
// ResponseCampaignCommission ...