1 package org.paneris.jammyjoes.mvp; 2 3 public class AffiliateTotals { 4 5 public double total = 0; 6 public double comission = 0; 7 public double paidComission = 0; 8 public double outstandingComission = 0; 9 10 public void total(double i) { 11 total += i; 12 } 13 14 public void commission(double comissionAmount) { 15 comission += comissionAmount; 16 } 17 18 public void paidCommission(double comissionAmount) { 19 paidComission += comissionAmount; 20 } 21 22 public void outstandingCommission(double comissionAmount) { 23 outstandingComission += comissionAmount; 24 } 25 26 }