P - the product the obligation is for payment of.public static class Obligation.Terms<P>
Subset of state, containing the elements specified when issuing a new settlement contract.
| Constructor and Description | 
|---|
Terms(NonEmptySet<net.corda.core.crypto.SecureHash> acceptableContracts,
     NonEmptySet<net.corda.core.contracts.Issued> acceptableIssuedProducts,
     java.time.Instant dueBefore,
     java.time.Duration timeTolerance)
Subset of state, containing the elements specified when issuing a new settlement contract. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
NonEmptySet<net.corda.core.crypto.SecureHash> | 
component1()
The hash of the asset contract we 
 | 
NonEmptySet<net.corda.core.contracts.Issued> | 
component2()
The parties whose assets we are willing to accept in payment for this debt. 
 | 
java.time.Instant | 
component3()
When the contract must be settled by. 
 | 
java.time.Duration | 
component4()  | 
Obligation.Terms<P> | 
copy(NonEmptySet<net.corda.core.crypto.SecureHash> acceptableContracts,
    NonEmptySet<net.corda.core.contracts.Issued> acceptableIssuedProducts,
    java.time.Instant dueBefore,
    java.time.Duration timeTolerance)
Subset of state, containing the elements specified when issuing a new settlement contract. 
 | 
boolean | 
equals(java.lang.Object p)  | 
NonEmptySet<net.corda.core.crypto.SecureHash> | 
getAcceptableContracts()
The hash of the asset contract we 
 | 
NonEmptySet<net.corda.core.contracts.Issued> | 
getAcceptableIssuedProducts()
The parties whose assets we are willing to accept in payment for this debt. 
 | 
java.time.Instant | 
getDueBefore()
When the contract must be settled by. 
 | 
P | 
getProduct()  | 
java.time.Duration | 
getTimeTolerance()  | 
int | 
hashCode()  | 
java.lang.String | 
toString()  | 
public Terms(NonEmptySet<net.corda.core.crypto.SecureHash> acceptableContracts, NonEmptySet<net.corda.core.contracts.Issued> acceptableIssuedProducts, java.time.Instant dueBefore, java.time.Duration timeTolerance)
Subset of state, containing the elements specified when issuing a new settlement contract.
acceptableContracts - The hash of the asset contract we're willing to accept in payment for this debt.acceptableIssuedProducts - The parties whose assets we are willing to accept in payment for this debt.dueBefore - When the contract must be settled by.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.public P getProduct()
public NonEmptySet<net.corda.core.crypto.SecureHash> getAcceptableContracts()
The hash of the asset contract we
're willing to accept in payment for this debt.
public NonEmptySet<net.corda.core.contracts.Issued> getAcceptableIssuedProducts()
The parties whose assets we are willing to accept in payment for this debt.
public java.time.Instant getDueBefore()
When the contract must be settled by.
public java.time.Duration getTimeTolerance()
public NonEmptySet<net.corda.core.crypto.SecureHash> component1()
The hash of the asset contract we
're willing to accept in payment for this debt.
public NonEmptySet<net.corda.core.contracts.Issued> component2()
The parties whose assets we are willing to accept in payment for this debt.
public java.time.Instant component3()
When the contract must be settled by.
public java.time.Duration component4()
public Obligation.Terms<P> copy(NonEmptySet<net.corda.core.crypto.SecureHash> acceptableContracts, NonEmptySet<net.corda.core.contracts.Issued> acceptableIssuedProducts, java.time.Instant dueBefore, java.time.Duration timeTolerance)
Subset of state, containing the elements specified when issuing a new settlement contract.
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.public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)