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