LUSID C# SDK
Public Member Functions | List of all members
Lusid.Sdk.Api.ITaxRuleSetsApiSync Interface Reference

Represents a collection of functions to interact with the API endpoints More...

Inheritance diagram for Lusid.Sdk.Api.ITaxRuleSetsApiSync:
Inheritance graph
[legend]

Public Member Functions

TaxRuleSet CreateTaxRuleSet (CreateTaxRuleSetRequest createTaxRuleSetRequest, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), int operationIndex=0)
 [EXPERIMENTAL] CreateTaxRuleSet: Create a tax rule set. More...
 
ApiResponse< TaxRuleSetCreateTaxRuleSetWithHttpInfo (CreateTaxRuleSetRequest createTaxRuleSetRequest, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), int operationIndex=0)
 [EXPERIMENTAL] CreateTaxRuleSet: Create a tax rule set. More...
 
DeletedEntityResponse DeleteTaxRuleSet (string scope, string code, int operationIndex=0)
 [EXPERIMENTAL] DeleteTaxRuleSet: Delete a tax rule set. More...
 
ApiResponse< DeletedEntityResponseDeleteTaxRuleSetWithHttpInfo (string scope, string code, int operationIndex=0)
 [EXPERIMENTAL] DeleteTaxRuleSet: Delete a tax rule set. More...
 
TaxRuleSet GetTaxRuleSet (string scope, string code, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), int operationIndex=0)
 [EXPERIMENTAL] GetTaxRuleSet: Retrieve the definition of single tax rule set. More...
 
ApiResponse< TaxRuleSetGetTaxRuleSetWithHttpInfo (string scope, string code, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), int operationIndex=0)
 [EXPERIMENTAL] GetTaxRuleSet: Retrieve the definition of single tax rule set. More...
 
ResourceListOfTaxRuleSet ListTaxRuleSets (DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), int operationIndex=0)
 [EXPERIMENTAL] ListTaxRuleSets: List tax rule sets. More...
 
ApiResponse< ResourceListOfTaxRuleSetListTaxRuleSetsWithHttpInfo (DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), int operationIndex=0)
 [EXPERIMENTAL] ListTaxRuleSets: List tax rule sets. More...
 
TaxRuleSet UpdateTaxRuleSet (string scope, string code, UpdateTaxRuleSetRequest updateTaxRuleSetRequest, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), int operationIndex=0)
 [EXPERIMENTAL] UpdateTaxRuleSet: Update a tax rule set. More...
 
ApiResponse< TaxRuleSetUpdateTaxRuleSetWithHttpInfo (string scope, string code, UpdateTaxRuleSetRequest updateTaxRuleSetRequest, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), int operationIndex=0)
 [EXPERIMENTAL] UpdateTaxRuleSet: Update a tax rule set. More...
 
- Public Member Functions inherited from Lusid.Sdk.Client.IApiAccessor
string GetBasePath ()
 Gets the base path of the API client. More...
 

Additional Inherited Members

- Properties inherited from Lusid.Sdk.Client.IApiAccessor
IReadableConfiguration Configuration [get, set]
 Gets or sets the configuration object More...
 
ExceptionFactory ExceptionFactory [get, set]
 Provides a factory method hook for the creation of exceptions. More...
 

Detailed Description

Represents a collection of functions to interact with the API endpoints

Member Function Documentation

◆ CreateTaxRuleSet()

TaxRuleSet Lusid.Sdk.Api.ITaxRuleSetsApiSync.CreateTaxRuleSet ( CreateTaxRuleSetRequest  createTaxRuleSetRequest,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
int  operationIndex = 0 
)

[EXPERIMENTAL] CreateTaxRuleSet: Create a tax rule set.

Creates a tax rule set definition at the given effective time. The user must be entitled to read any properties specified in each rule.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
createTaxRuleSetRequestThe contents of the rule set.
effectiveAtThe effective datetime or cut label at which the rule set will take effect. Defaults to the current LUSID system datetime if not specified. (optional)
operationIndexIndex associated with the operation.
Returns
TaxRuleSet

Implemented in Lusid.Sdk.Api.TaxRuleSetsApi.

◆ CreateTaxRuleSetWithHttpInfo()

ApiResponse<TaxRuleSet> Lusid.Sdk.Api.ITaxRuleSetsApiSync.CreateTaxRuleSetWithHttpInfo ( CreateTaxRuleSetRequest  createTaxRuleSetRequest,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
int  operationIndex = 0 
)

[EXPERIMENTAL] CreateTaxRuleSet: Create a tax rule set.

Creates a tax rule set definition at the given effective time. The user must be entitled to read any properties specified in each rule.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
createTaxRuleSetRequestThe contents of the rule set.
effectiveAtThe effective datetime or cut label at which the rule set will take effect. Defaults to the current LUSID system datetime if not specified. (optional)
operationIndexIndex associated with the operation.
Returns
ApiResponse of TaxRuleSet

Implemented in Lusid.Sdk.Api.TaxRuleSetsApi.

◆ DeleteTaxRuleSet()

DeletedEntityResponse Lusid.Sdk.Api.ITaxRuleSetsApiSync.DeleteTaxRuleSet ( string  scope,
string  code,
int  operationIndex = 0 
)

[EXPERIMENTAL] DeleteTaxRuleSet: Delete a tax rule set.

<br> Deletes the rule set for all effective time. <br> The rule set will remain viewable at previous as at times, but it will no longer be considered applicable. <br> This cannot be undone.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe rule set scope.
codeThe rule set code.
operationIndexIndex associated with the operation.
Returns
DeletedEntityResponse

Implemented in Lusid.Sdk.Api.TaxRuleSetsApi.

◆ DeleteTaxRuleSetWithHttpInfo()

ApiResponse<DeletedEntityResponse> Lusid.Sdk.Api.ITaxRuleSetsApiSync.DeleteTaxRuleSetWithHttpInfo ( string  scope,
string  code,
int  operationIndex = 0 
)

[EXPERIMENTAL] DeleteTaxRuleSet: Delete a tax rule set.

<br> Deletes the rule set for all effective time. <br> The rule set will remain viewable at previous as at times, but it will no longer be considered applicable. <br> This cannot be undone.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe rule set scope.
codeThe rule set code.
operationIndexIndex associated with the operation.
Returns
ApiResponse of DeletedEntityResponse

Implemented in Lusid.Sdk.Api.TaxRuleSetsApi.

◆ GetTaxRuleSet()

TaxRuleSet Lusid.Sdk.Api.ITaxRuleSetsApiSync.GetTaxRuleSet ( string  scope,
string  code,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
DateTimeOffset?  asAt = default(DateTimeOffset?),
int  operationIndex = 0 
)

[EXPERIMENTAL] GetTaxRuleSet: Retrieve the definition of single tax rule set.

Retrieves the tax rule set definition at the given effective and as at times.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe rule set scope.
codeThe rule set code.
effectiveAtThe effective datetime or cut label at which to retrieve the rule definition. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to retrieve the rule definition. Defaults to returning the latest version if not specified. (optional)
operationIndexIndex associated with the operation.
Returns
TaxRuleSet

Implemented in Lusid.Sdk.Api.TaxRuleSetsApi.

◆ GetTaxRuleSetWithHttpInfo()

ApiResponse<TaxRuleSet> Lusid.Sdk.Api.ITaxRuleSetsApiSync.GetTaxRuleSetWithHttpInfo ( string  scope,
string  code,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
DateTimeOffset?  asAt = default(DateTimeOffset?),
int  operationIndex = 0 
)

[EXPERIMENTAL] GetTaxRuleSet: Retrieve the definition of single tax rule set.

Retrieves the tax rule set definition at the given effective and as at times.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe rule set scope.
codeThe rule set code.
effectiveAtThe effective datetime or cut label at which to retrieve the rule definition. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to retrieve the rule definition. Defaults to returning the latest version if not specified. (optional)
operationIndexIndex associated with the operation.
Returns
ApiResponse of TaxRuleSet

Implemented in Lusid.Sdk.Api.TaxRuleSetsApi.

◆ ListTaxRuleSets()

ResourceListOfTaxRuleSet Lusid.Sdk.Api.ITaxRuleSetsApiSync.ListTaxRuleSets ( DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
DateTimeOffset?  asAt = default(DateTimeOffset?),
int  operationIndex = 0 
)

[EXPERIMENTAL] ListTaxRuleSets: List tax rule sets.

Retrieves all tax rule set definitions at the given effective and as at times

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
effectiveAtThe effective datetime or cut label at which to retrieve the rule definitions. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to retrieve the rule definitions. Defaults to returning the latest version if not specified. (optional)
operationIndexIndex associated with the operation.
Returns
ResourceListOfTaxRuleSet

Implemented in Lusid.Sdk.Api.TaxRuleSetsApi.

◆ ListTaxRuleSetsWithHttpInfo()

ApiResponse<ResourceListOfTaxRuleSet> Lusid.Sdk.Api.ITaxRuleSetsApiSync.ListTaxRuleSetsWithHttpInfo ( DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
DateTimeOffset?  asAt = default(DateTimeOffset?),
int  operationIndex = 0 
)

[EXPERIMENTAL] ListTaxRuleSets: List tax rule sets.

Retrieves all tax rule set definitions at the given effective and as at times

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
effectiveAtThe effective datetime or cut label at which to retrieve the rule definitions. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to retrieve the rule definitions. Defaults to returning the latest version if not specified. (optional)
operationIndexIndex associated with the operation.
Returns
ApiResponse of ResourceListOfTaxRuleSet

Implemented in Lusid.Sdk.Api.TaxRuleSetsApi.

◆ UpdateTaxRuleSet()

TaxRuleSet Lusid.Sdk.Api.ITaxRuleSetsApiSync.UpdateTaxRuleSet ( string  scope,
string  code,
UpdateTaxRuleSetRequest  updateTaxRuleSetRequest,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
int  operationIndex = 0 
)

[EXPERIMENTAL] UpdateTaxRuleSet: Update a tax rule set.

Updates the tax rule set definition at the given effective time. The changes will take place from this effective time until the next effective time that the rule has been updated at. For example, consider a rule that has been created or updated effective at the first day of the coming month. An upsert effective from the current day will only change the definition until that day. An additional upsert at the same time (first day of the month) is required if the newly-updated definition is to supersede the future definition. The user must be entitled to read any properties specified in each rule.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe rule set scope.
codeThe rule set code.
updateTaxRuleSetRequestThe contents of the rule set.
effectiveAtThe effective datetime or cut label at which the rule set will take effect. Defaults to the current LUSID system datetime if not specified. (optional)
operationIndexIndex associated with the operation.
Returns
TaxRuleSet

Implemented in Lusid.Sdk.Api.TaxRuleSetsApi.

◆ UpdateTaxRuleSetWithHttpInfo()

ApiResponse<TaxRuleSet> Lusid.Sdk.Api.ITaxRuleSetsApiSync.UpdateTaxRuleSetWithHttpInfo ( string  scope,
string  code,
UpdateTaxRuleSetRequest  updateTaxRuleSetRequest,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
int  operationIndex = 0 
)

[EXPERIMENTAL] UpdateTaxRuleSet: Update a tax rule set.

Updates the tax rule set definition at the given effective time. The changes will take place from this effective time until the next effective time that the rule has been updated at. For example, consider a rule that has been created or updated effective at the first day of the coming month. An upsert effective from the current day will only change the definition until that day. An additional upsert at the same time (first day of the month) is required if the newly-updated definition is to supersede the future definition. The user must be entitled to read any properties specified in each rule.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe rule set scope.
codeThe rule set code.
updateTaxRuleSetRequestThe contents of the rule set.
effectiveAtThe effective datetime or cut label at which the rule set will take effect. Defaults to the current LUSID system datetime if not specified. (optional)
operationIndexIndex associated with the operation.
Returns
ApiResponse of TaxRuleSet

Implemented in Lusid.Sdk.Api.TaxRuleSetsApi.


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