data class Terms<P : Any>
Subset of state, containing the elements specified when issuing a new settlement contract.
P
- the product the obligation is for payment of.
acceptableContracts
- is the contract types that can be accepted, such as cash.
acceptableIssuedProducts
- is the assets which are acceptable forms of payment (i.e. GBP issued by the Bank
of England).
dueBefore
- when payment is due by.
timeTolerance
- tolerance value on dueBefore, to handle clock skew between distributed systems. Generally
this would be about 30 seconds.
<init> |
Subset of state, containing the elements specified when issuing a new settlement contract. Terms(acceptableContracts: NonEmptySet<SecureHash>, acceptableIssuedProducts: NonEmptySet<Issued<P>>, dueBefore: Instant, timeTolerance: Duration = 30.seconds) |
acceptableContracts |
The hash of the asset contract we're willing to accept in payment for this debt. val acceptableContracts: NonEmptySet<SecureHash> |
acceptableIssuedProducts |
The parties whose assets we are willing to accept in payment for this debt. val acceptableIssuedProducts: NonEmptySet<Issued<P>> |
dueBefore |
When the contract must be settled by. val dueBefore: Instant |
product |
val product: P |
timeTolerance |
tolerance value on dueBefore, to handle clock skew between distributed systems. Generally this would be about 30 seconds. val timeTolerance: Duration |