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