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

TransactionPrice More...

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

Public Types

enum class  TypeEnum { Price = 1 , Yield = 2 , Spread = 3 , CashFlowPerUnit = 4 }
 The available values are: Price, Yield, Spread, CashFlowPerUnit More...
 

Public Member Functions

 TransactionPrice (decimal price=default(decimal), TypeEnum? type=default(TypeEnum?))
 Initializes a new instance of the TransactionPrice 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 (TransactionPrice input)
 Returns true if TransactionPrice instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Properties

TypeEnumType [get, set]
 The available values are: Price, Yield, Spread, CashFlowPerUnit More...
 
decimal Price [get, set]
 Gets or Sets Price More...
 

Detailed Description

TransactionPrice

Member Enumeration Documentation

◆ TypeEnum

The available values are: Price, Yield, Spread, CashFlowPerUnit

The available values are: Price, Yield, Spread, CashFlowPerUnit

Enumerator
Price 

Enum Price for value: Price

Yield 

Enum Yield for value: Yield

Spread 

Enum Spread for value: Spread

CashFlowPerUnit 

Enum CashFlowPerUnit for value: CashFlowPerUnit

Constructor & Destructor Documentation

◆ TransactionPrice()

Lusid.Sdk.Model.TransactionPrice.TransactionPrice ( decimal  price = default(decimal),
TypeEnum type = default(TypeEnum?) 
)
inline

Initializes a new instance of the TransactionPrice class.

Parameters
priceprice.
typeThe available values are: Price, Yield, Spread, CashFlowPerUnit.

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if TransactionPrice instances are equal

Parameters
inputInstance of TransactionPrice to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ Price

decimal Lusid.Sdk.Model.TransactionPrice.Price
getset

Gets or Sets Price

◆ Type

TypeEnum? Lusid.Sdk.Model.TransactionPrice.Type
getset

The available values are: Price, Yield, Spread, CashFlowPerUnit

The available values are: Price, Yield, Spread, CashFlowPerUnit


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