-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #55 from tada-team/tariff-correction
Tariff correction
- Loading branch information
Showing
3 changed files
with
89 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package tdproto | ||
|
||
// ISO 4217 currency code | ||
type Currency string | ||
|
||
const ( | ||
// Euro | ||
EUR Currency = "EUR" | ||
|
||
// Russian ruble | ||
RUB Currency = "RUB" | ||
|
||
// United States dollar | ||
USD Currency = "USD" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package tdproto | ||
|
||
// Tariff status | ||
type TariffStatus string | ||
|
||
const ( | ||
// Tariff is active | ||
ActiveTariff TariffStatus = "Active" | ||
|
||
// Tariff in archive | ||
ArchiveTariff TariffStatus = "Archive" | ||
) |