Example #1
0
 public boolean isDeniable() {
   return state != null && (state.getKey().equals(PAYMENT_PAYED_STATE_KEY));
 }
Example #2
0
 public boolean isDenyRevertable() {
   return state != null && state.getKey().equals(PAYMENT_DENY_STATE_KEY);
 }
Example #3
0
 public boolean isEditable() {
   return state == null || state.getKey().equals(PAYMENT_PAYED_STATE_KEY);
 }