1 | |
package org.paneris.jammyjoes.model; |
2 | |
|
3 | |
import java.sql.Timestamp; |
4 | |
|
5 | |
import org.paneris.jammyjoes.model.generated.AffiliateTransactionBase; |
6 | |
import org.paneris.jammyjoes.mvp.AffiliateTotals; |
7 | |
|
8 | |
public class AffiliateTransaction extends AffiliateTransactionBase implements Graphable { |
9 | |
|
10 | 0 | public AffiliateTransaction() { } |
11 | |
|
12 | |
|
13 | |
public double getAmountForGraph() { |
14 | 0 | return 1D; |
15 | |
} |
16 | |
|
17 | |
|
18 | |
public Timestamp getDate() { |
19 | 0 | return super.getHit(); |
20 | |
} |
21 | |
|
22 | |
|
23 | |
public void total(AffiliateTotals totals) { |
24 | 0 | totals.total(1); |
25 | 0 | } |
26 | |
|
27 | |
} |
28 | |
|