Advertisement
Guest User

Untitled

a guest
Dec 10th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Kotlin 0.64 KB | None | 0 0
  1. return !supplier.street.isNullOrEmpty() && !supplier.streetNo.isNullOrEmpty() && !supplier.zip.isNullOrEmpty() &&
  2.             !supplier.city.isNullOrEmpty() && !supplier.url.isNullOrEmpty() && !supplier.email.isNullOrEmpty() &&
  3.             !supplier.phone.isNullOrEmpty() && !supplier.cvr.isNullOrEmpty() && !supplier.bankReg.isNullOrEmpty() &&
  4.             !supplier.bankAccount.isNullOrEmpty() && !supplier.commission.isNullOrEmpty() && !supplier.howToBuy.isNullOrEmpty()
  5.             && supplier.payment != null && supplier.category != null && when (supplier.contractLanguage) { 71, 87 -> {
  6.             supplier.currency != null } else -> { true }
  7.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement