Created
February 26, 2022 23:11
-
-
Save mohamed-gara/233e1366c54bb7f29522d69daf87d291 to your computer and use it in GitHub Desktop.
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
interface CustomerAllocatedCapacity { | |
val id: CustomerAllocatedCapacityId | |
val allocationStartInstant: Instant | |
val allocationEndInstant: Instant | |
val quantity: EnergyQuantity | |
fun add(other: CustomerAllocatedCapacity): CustomerAllocatedCapacity | |
fun subtract(other: CustomerAllocatedCapacity): CustomerAllocatedCapacity | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment