public static class Commands.Net implements NetCommand, Obligation.Commands
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.
Commands.Exit<P>, Commands.Issue, Commands.Move, Commands.Net, Commands.SetLifecycle, Commands.Settle<P>
Constructor and Description |
---|
Net(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.
|
Modifier and Type | Method and Description |
---|---|
NetType |
component1()
The type of netting to apply,
|
Commands.Net |
copy(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.
|
boolean |
equals(java.lang.Object p) |
NetType |
getType()
The type of netting to apply,
|
int |
hashCode() |
java.lang.String |
toString() |
getType
public Net(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,seeenum NetType
for options.public NetType getType()
The type of netting to apply,
seeenum NetType
for options.
enum NetType
public NetType component1()
The type of netting to apply,
seeenum NetType
for options.
enum NetType
public Commands.Net copy(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.
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)