getBtnText method

String getBtnText()

Implementation

String getBtnText() {
  String text = "";
  if (hasOwned) {
    text = usedState == 1 ? Strings.mallBtnUse.tr : Strings.mallBtnBan.tr;
  } else  {
    text = vehicleType == 1 ? Strings.mallBtnBuy.tr : Strings.mallBtnGet.tr;
  }
  return text;
}