-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Alvin Reyes
committed
May 13, 2017
1 parent
6afead9
commit 0899f6d
Showing
5 changed files
with
44 additions
and
8 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
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
29 changes: 29 additions & 0 deletions
29
src/main/java/co/aurasphere/botmill/fb/event/account/ReferralEvent.java
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,29 @@ | ||
package co.aurasphere.botmill.fb.event.account; | ||
|
||
import co.aurasphere.botmill.fb.bean.FbBotMillBean; | ||
import co.aurasphere.botmill.fb.event.FbBotMillEvent; | ||
import co.aurasphere.botmill.fb.event.FbBotMillEventType; | ||
import co.aurasphere.botmill.fb.model.incoming.MessageEnvelope; | ||
|
||
public class ReferralEvent extends FbBotMillBean implements FbBotMillEvent { | ||
|
||
/** | ||
* Instantiates a new LocationEvent. | ||
*/ | ||
public ReferralEvent() { | ||
} | ||
|
||
public final boolean verifyEventCondition(MessageEnvelope envelope) { | ||
return eventKind(envelope) == FbBotMillEventType.REFERRAL; | ||
} | ||
|
||
/* | ||
* (non-Javadoc) | ||
* | ||
* @see co.aurasphere.botmill.fb.bean.FbBotMillBean#toString() | ||
*/ | ||
@Override | ||
public String toString() { | ||
return "ReferralEvent []"; | ||
} | ||
} |
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