Skip to content

Commit

Permalink
Add: Fixing entity
Browse files Browse the repository at this point in the history
  • Loading branch information
sofyan48 committed Aug 22, 2024
1 parent 844f3ca commit 67bf95d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions sdk/payments/entity.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type HistoryData struct {
}
type ResponseSearch struct {
Source string `json:"source"`
PackageID int `json:"package_id"`
OrderID string `json:"order_id"`
PaymentID int `json:"payment_id"`
TrxID string `json:"trx_id"`
History []HistoryData `json:"history"`
}
8 changes: 4 additions & 4 deletions sdk/withdrawals/entity.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ type HistoryData struct {
Data []map[string]interface{} `json:"data"`
}
type ResponseSearch struct {
Source string `json:"source"`
PackageID int `json:"package_id"`
OrderID string `json:"order_id"`
History []HistoryData `json:"history"`
Source string `json:"source"`
WithdrawalID int `json:"withdrawal_id"`
RefNum string `json:"ref_num"`
History []HistoryData `json:"history"`
}
File renamed without changes.

0 comments on commit 67bf95d

Please sign in to comment.