Remove redundant credit type info from credit amount. The origin already has this...
authorChristos KK Loverdos <loverdos@gmail.com>
Thu, 27 Oct 2011 07:29:08 +0000 (10:29 +0300)
committerChristos KK Loverdos <loverdos@gmail.com>
Thu, 27 Oct 2011 07:29:08 +0000 (10:29 +0300)
logic/src/main/scala/gr/grnet/aquarium/logic/credits/model/CreditAmount.scala

index a447304..47d5004 100644 (file)
@@ -1,8 +1,10 @@
 package gr.grnet.aquarium.logic.credits.model
 
 /**
- * The actual credit amount with info about its type and origin.
+ * The actual credit amount with info about its origin.
+ *
+ * Note that origin can informa us of the credit type too.
  *
  * @author Christos KK Loverdos <loverdos@gmail.com>.
  */
-case class CreditAmount(amount: Long, creditType: CreditType, creditOrigin: CreditOrigin)
\ No newline at end of file
+case class CreditAmount(amount: Long, creditOrigin: CreditOrigin)
\ No newline at end of file