Tariffs: add units (#5718)
This commit is contained in:
parent
355fcea14f
commit
b4f2da5ef5
9 changed files with 96 additions and 24 deletions
|
|
@ -199,6 +199,7 @@ type Rates []Rate
|
|||
|
||||
// Tariff is a tariff capable of retrieving tariff rates
|
||||
type Tariff interface {
|
||||
Unit() string
|
||||
Rates() (Rates, error)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue