Inquiry Fee

This commit is contained in:
aditya.siregar
2024-08-21 22:48:14 +07:00
parent c4e0c6d2c8
commit 6063713ad2
2 changed files with 16 additions and 7 deletions
+4 -1
View File
@@ -4,6 +4,9 @@ type Order struct {
Fee float64 `mapstructure:"fee"`
}
func (w *Order) GetOrderFee() float64 {
func (w *Order) GetOrderFee(source string) float64 {
if source == "POS" {
return 0
}
return w.Fee
}