public static class Commands.Net implements NetCommand
Net two or more obligation states together in a close-out netting style. Limited to bilateral netting as only the beneficiary (not the obligor) needs to sign.
public Net(@NotNull NetType type)
Net two or more obligation states together in a close-out netting style. Limited to bilateral netting as only the beneficiary (not the obligor) needs to sign.
type
- The type of netting to apply, see enum NetType
for options.@NotNull public NetType getType()
The type of netting to apply,
see enum NetType
for options.
enum NetType
@NotNull public NetType component1()
The type of netting to apply,
see enum NetType
for options.
enum NetType
@NotNull public net.corda.finance.contracts.asset.Obligation.Commands.Net copy(@NotNull NetType type)
Net two or more obligation states together in a close-out netting style. Limited to bilateral netting as only the beneficiary (not the obligor) needs to sign.
@NotNull public java.lang.String toString()
Net two or more obligation states together in a close-out netting style. Limited to bilateral netting as only the beneficiary (not the obligor) needs to sign.
public int hashCode()
Net two or more obligation states together in a close-out netting style. Limited to bilateral netting as only the beneficiary (not the obligor) needs to sign.
public boolean equals(@Nullable java.lang.Object p)
Net two or more obligation states together in a close-out netting style. Limited to bilateral netting as only the beneficiary (not the obligor) needs to sign.