docs
4.12
customSourceSet
docs
/
net.corda.finance.contracts.utils
/
sumCashOrZero
sum
Cash
Or
Zero
fun
Iterable
<
ContractState
>
.
sumCashOrZero
(
currency
:
Issued
<
Currency
>
)
:
Amount
<
Issued
<
Currency
>
>
Sums the cash states in the list, returning zero of the given currency+issuer if there are none.