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

TaxRule More...

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

Public Member Functions

 TaxRule (string name=default(string), string description=default(string), decimal rate=default(decimal), List< MatchCriterion > matchCriteria=default(List< MatchCriterion >))
 Initializes a new instance of the TaxRule 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 (TaxRule input)
 Returns true if TaxRule instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

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

Properties

string Name [get, set]
 A user-friendly name More...
 
string Description [get, set]
 A description for this rule More...
 
decimal Rate [get, set]
 The rate to be applied if all criteria are met More...
 
List< MatchCriterionMatchCriteria [get, set]
 A set of criteria to be met for this rule to be applied More...
 

Detailed Description

TaxRule

Constructor & Destructor Documentation

◆ TaxRule() [1/2]

Lusid.Sdk.Model.TaxRule.TaxRule ( )
inlineprotected

Initializes a new instance of the TaxRule class.

◆ TaxRule() [2/2]

Lusid.Sdk.Model.TaxRule.TaxRule ( string  name = default(string),
string  description = default(string),
decimal  rate = default(decimal),
List< MatchCriterion matchCriteria = default(List<MatchCriterion>) 
)
inline

Initializes a new instance of the TaxRule class.

Parameters
nameA user-friendly name (required).
descriptionA description for this rule (required).
rateThe rate to be applied if all criteria are met (required).
matchCriteriaA set of criteria to be met for this rule to be applied (required).

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if TaxRule instances are equal

Parameters
inputInstance of TaxRule to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ Description

string Lusid.Sdk.Model.TaxRule.Description
getset

A description for this rule

A description for this rule

◆ MatchCriteria

List<MatchCriterion> Lusid.Sdk.Model.TaxRule.MatchCriteria
getset

A set of criteria to be met for this rule to be applied

A set of criteria to be met for this rule to be applied

◆ Name

string Lusid.Sdk.Model.TaxRule.Name
getset

A user-friendly name

A user-friendly name

◆ Rate

decimal Lusid.Sdk.Model.TaxRule.Rate
getset

The rate to be applied if all criteria are met

The rate to be applied if all criteria are met


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