public class DiscountCodeWithState
extends java.lang.Object
Constructor and Description |
---|
DiscountCodeWithState(com.google.common.base.Optional<DiscountCodeState> state,
Reference<DiscountCode> discountCode) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
Reference<DiscountCode> |
getDiscountCode() |
com.google.common.base.Optional<DiscountCodeState> |
getState() |
int |
hashCode() |
java.lang.String |
toString() |
public DiscountCodeWithState(com.google.common.base.Optional<DiscountCodeState> state, Reference<DiscountCode> discountCode)
public com.google.common.base.Optional<DiscountCodeState> getState()
public Reference<DiscountCode> getDiscountCode()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object