LUSID C# SDK
Public Member Functions | Protected Member Functions | Properties | List of all members
Lusid.Sdk.Model.OrderInstruction Class Reference

Record of an order instruction More...

Inheritance diagram for Lusid.Sdk.Model.OrderInstruction:
Inheritance graph
[legend]

Public Member Functions

 OrderInstruction (ResourceId id=default(ResourceId), DateTimeOffset createdDate=default(DateTimeOffset), Dictionary< string, PerpetualProperty > properties=default(Dictionary< string, PerpetualProperty >), ResourceId portfolioId=default(ResourceId), Dictionary< string, string > instrumentIdentifiers=default(Dictionary< string, string >), decimal? quantity=default(decimal?), decimal? weight=default(decimal?), CurrencyAndAmount price=default(CurrencyAndAmount), string instrumentScope=default(string), string lusidInstrumentId=default(string), ModelVersion version=default(ModelVersion), List< Link > links=default(List< Link >))
 Initializes a new instance of the OrderInstruction class. More...
 
override string ToString ()
 Returns the string presentation of the object More...
 
virtual string ToJson ()
 Returns the JSON string presentation of the object More...
 
override bool Equals (object input)
 Returns true if objects are equal More...
 
bool Equals (OrderInstruction input)
 Returns true if OrderInstruction instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

 OrderInstruction ()
 Initializes a new instance of the OrderInstruction class. More...
 

Properties

ResourceId Id [get, set]
 Gets or Sets Id More...
 
DateTimeOffset CreatedDate [get, set]
 The active date of this order instruction. More...
 
Dictionary< string, PerpetualPropertyProperties [get, set]
 Client-defined properties associated with this execution. More...
 
ResourceId PortfolioId [get, set]
 Gets or Sets PortfolioId More...
 
Dictionary< string, string > InstrumentIdentifiers [get, set]
 The instrument ordered. More...
 
decimal? Quantity [get, set]
 The quantity of given instrument ordered. More...
 
decimal? Weight [get, set]
 The weight of given instrument ordered. More...
 
CurrencyAndAmount Price [get, set]
 Gets or Sets Price More...
 
string InstrumentScope [get, set]
 The scope in which the instrument lies More...
 
string LusidInstrumentId [get, set]
 The LUSID instrument id for the instrument ordered. More...
 
ModelVersion _Version [get, set]
 Gets or Sets _Version More...
 
List< LinkLinks [get, set]
 Gets or Sets Links More...
 

Detailed Description

Record of an order instruction

Constructor & Destructor Documentation

◆ OrderInstruction() [1/2]

Lusid.Sdk.Model.OrderInstruction.OrderInstruction ( )
inlineprotected

Initializes a new instance of the OrderInstruction class.

◆ OrderInstruction() [2/2]

Lusid.Sdk.Model.OrderInstruction.OrderInstruction ( ResourceId  id = default(ResourceId),
DateTimeOffset  createdDate = default(DateTimeOffset),
Dictionary< string, PerpetualProperty properties = default(Dictionary<string, PerpetualProperty>),
ResourceId  portfolioId = default(ResourceId),
Dictionary< string, string >  instrumentIdentifiers = default(Dictionary<string, string>),
decimal?  quantity = default(decimal?),
decimal?  weight = default(decimal?),
CurrencyAndAmount  price = default(CurrencyAndAmount),
string  instrumentScope = default(string),
string  lusidInstrumentId = default(string),
ModelVersion  version = default(ModelVersion),
List< Link links = default(List<Link>) 
)
inline

Initializes a new instance of the OrderInstruction class.

Parameters
idid (required).
createdDateThe active date of this order instruction. (required).
propertiesClient-defined properties associated with this execution..
portfolioIdportfolioId.
instrumentIdentifiersThe instrument ordered. (required).
quantityThe quantity of given instrument ordered..
weightThe weight of given instrument ordered..
priceprice.
instrumentScopeThe scope in which the instrument lies.
lusidInstrumentIdThe LUSID instrument id for the instrument ordered..
versionversion.
linkslinks.

Member Function Documentation

◆ Equals() [1/2]

override bool Lusid.Sdk.Model.OrderInstruction.Equals ( object  input)
inline

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ Equals() [2/2]

bool Lusid.Sdk.Model.OrderInstruction.Equals ( OrderInstruction  input)
inline

Returns true if OrderInstruction instances are equal

Parameters
inputInstance of OrderInstruction to be compared
Returns
Boolean

◆ GetHashCode()

override int Lusid.Sdk.Model.OrderInstruction.GetHashCode ( )
inline

Gets the hash code

Returns
Hash code

◆ ToJson()

virtual string Lusid.Sdk.Model.OrderInstruction.ToJson ( )
inlinevirtual

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

override string Lusid.Sdk.Model.OrderInstruction.ToString ( )
inline

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ _Version

ModelVersion Lusid.Sdk.Model.OrderInstruction._Version
getset

Gets or Sets _Version

◆ CreatedDate

DateTimeOffset Lusid.Sdk.Model.OrderInstruction.CreatedDate
getset

The active date of this order instruction.

The active date of this order instruction.

◆ Id

ResourceId Lusid.Sdk.Model.OrderInstruction.Id
getset

Gets or Sets Id

◆ InstrumentIdentifiers

Dictionary<string, string> Lusid.Sdk.Model.OrderInstruction.InstrumentIdentifiers
getset

The instrument ordered.

The instrument ordered.

◆ InstrumentScope

string Lusid.Sdk.Model.OrderInstruction.InstrumentScope
getset

The scope in which the instrument lies

The scope in which the instrument lies

◆ Links

List<Link> Lusid.Sdk.Model.OrderInstruction.Links
getset

Gets or Sets Links

◆ LusidInstrumentId

string Lusid.Sdk.Model.OrderInstruction.LusidInstrumentId
getset

The LUSID instrument id for the instrument ordered.

The LUSID instrument id for the instrument ordered.

◆ PortfolioId

ResourceId Lusid.Sdk.Model.OrderInstruction.PortfolioId
getset

Gets or Sets PortfolioId

◆ Price

CurrencyAndAmount Lusid.Sdk.Model.OrderInstruction.Price
getset

Gets or Sets Price

◆ Properties

Dictionary<string, PerpetualProperty> Lusid.Sdk.Model.OrderInstruction.Properties
getset

Client-defined properties associated with this execution.

Client-defined properties associated with this execution.

◆ Quantity

decimal? Lusid.Sdk.Model.OrderInstruction.Quantity
getset

The quantity of given instrument ordered.

The quantity of given instrument ordered.

◆ Weight

decimal? Lusid.Sdk.Model.OrderInstruction.Weight
getset

The weight of given instrument ordered.

The weight of given instrument ordered.


The documentation for this class was generated from the following file: