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

A request to create or update a Order Instruction. More...

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

Public Member Functions

 OrderInstructionRequest (ResourceId id=default(ResourceId), DateTimeOffset createdDate=default(DateTimeOffset), ResourceId portfolioId=default(ResourceId), Dictionary< string, string > instrumentIdentifiers=default(Dictionary< string, string >), decimal? quantity=default(decimal?), decimal? weight=default(decimal?), CurrencyAndAmount price=default(CurrencyAndAmount), Dictionary< string, PerpetualProperty > properties=default(Dictionary< string, PerpetualProperty >))
 Initializes a new instance of the OrderInstructionRequest 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 (OrderInstructionRequest input)
 Returns true if OrderInstructionRequest instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

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

Properties

ResourceId Id [get, set]
 Gets or Sets Id More...
 
DateTimeOffset CreatedDate [get, set]
 The active date of this order instruction. 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...
 
Dictionary< string, PerpetualPropertyProperties [get, set]
 Client-defined properties associated with this execution. More...
 

Detailed Description

A request to create or update a Order Instruction.

Constructor & Destructor Documentation

◆ OrderInstructionRequest() [1/2]

Lusid.Sdk.Model.OrderInstructionRequest.OrderInstructionRequest ( )
inlineprotected

Initializes a new instance of the OrderInstructionRequest class.

◆ OrderInstructionRequest() [2/2]

Lusid.Sdk.Model.OrderInstructionRequest.OrderInstructionRequest ( ResourceId  id = default(ResourceId),
DateTimeOffset  createdDate = default(DateTimeOffset),
ResourceId  portfolioId = default(ResourceId),
Dictionary< string, string >  instrumentIdentifiers = default(Dictionary<string, string>),
decimal?  quantity = default(decimal?),
decimal?  weight = default(decimal?),
CurrencyAndAmount  price = default(CurrencyAndAmount),
Dictionary< string, PerpetualProperty properties = default(Dictionary<string, PerpetualProperty>) 
)
inline

Initializes a new instance of the OrderInstructionRequest class.

Parameters
idid (required).
createdDateThe active date of this order instruction. (required).
portfolioIdportfolioId.
instrumentIdentifiersThe instrument ordered..
quantityThe quantity of given instrument ordered..
weightThe weight of given instrument ordered..
priceprice.
propertiesClient-defined properties associated with this execution..

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if OrderInstructionRequest instances are equal

Parameters
inputInstance of OrderInstructionRequest to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ CreatedDate

DateTimeOffset Lusid.Sdk.Model.OrderInstructionRequest.CreatedDate
getset

The active date of this order instruction.

The active date of this order instruction.

◆ Id

ResourceId Lusid.Sdk.Model.OrderInstructionRequest.Id
getset

Gets or Sets Id

◆ InstrumentIdentifiers

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

The instrument ordered.

The instrument ordered.

◆ PortfolioId

ResourceId Lusid.Sdk.Model.OrderInstructionRequest.PortfolioId
getset

Gets or Sets PortfolioId

◆ Price

CurrencyAndAmount Lusid.Sdk.Model.OrderInstructionRequest.Price
getset

Gets or Sets Price

◆ Properties

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

Client-defined properties associated with this execution.

Client-defined properties associated with this execution.

◆ Quantity

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

The quantity of given instrument ordered.

The quantity of given instrument ordered.

◆ Weight

decimal? Lusid.Sdk.Model.OrderInstructionRequest.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: