Table of Contents

Class ContractCreate

Namespace
Autodesk.ACC.CostManagement.Models
Assembly
Autodesk.ACC.CostManagement.dll
public class ContractCreate : IAdditionalDataHolder, IParsable
Inheritance
ContractCreate
Implements
IAdditionalDataHolder
IParsable
Inherited Members

Constructors

ContractCreate()

Instantiates a new ContractCreate and sets the default values.

public ContractCreate()

Properties

AdditionalData

Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

public IDictionary<string, object> AdditionalData { get; set; }

Property Value

IDictionary<string, object>

Code

Code of the contract.

public string? Code { get; set; }

Property Value

string

CompanyId

The ID of a supplier company. This is the ID of a company managed by BIM 360 Admin.

public string? CompanyId { get; set; }

Property Value

string

ContactId

Default contact of the supplier. This is the ID of a user managed by BIM 360 Admin.

public string? ContactId { get; set; }

Property Value

string

Currency

Currency setting of the contract.

public string? Currency { get; set; }

Property Value

string

Description

Detailed description of a contract.

public string? Description { get; set; }

Property Value

string

ExchangeRate

Exchange rate. For example, 1 base currency = 0.7455 foreign currency.

public string? ExchangeRate { get; set; }

Property Value

string

ExternalId

The ID of the item in its original external system. You can use this ID to track the source of truth or to look up the data in an integrated system.

public string? ExternalId { get; set; }

Property Value

string

ExternalMessage

A message that explains the sync status of the ERP integration with the BIM 360 Cost module.

public string? ExternalMessage { get; set; }

Property Value

string

ExternalSystem

The name of the external system. You can use this name to track the source of truth or to search in an integrated system.

public string? ExternalSystem { get; set; }

Property Value

string

ForecastExchanageRate

Forecast exchange rate. Default value is null.

public string? ForecastExchanageRate { get; set; }

Property Value

string

ForecastExchangeRateUpdatedAt

Last time to update forecast exchange rate.

public DateTimeOffset? ForecastExchangeRateUpdatedAt { get; set; }

Property Value

DateTimeOffset?

IntegrationState

Lock state used by ERP integration, default value is null.

public ContractCreate_integrationState? IntegrationState { get; set; }

Property Value

ContractCreate_integrationState?

MainContractId

The ID of the main contract the contract belongs to.

public string? MainContractId { get; set; }

Property Value

string

Name

Name of the contract.

public string? Name { get; set; }

Property Value

string

OwnerId

The user who is responsible the purchase. This is the ID of a user managed by BIM 360 Admin.

public string? OwnerId { get; set; }

Property Value

string

RetentionCap

Total retention percentage of the contract amount.

public double? RetentionCap { get; set; }

Property Value

double?

SignedBy

The user who signed the contract. This is the ID of a user managed by BIM 360 Admin.

public string? SignedBy { get; set; }

Property Value

string

Status

The status of this contract.

public ContractCreate_status? Status { get; set; }

Property Value

ContractCreate_status?

Type

Type of the contract. For example, consultant or purchase order. Type is customizable by the project admin.

public string? Type { get; set; }

Property Value

string

Methods

CreateFromDiscriminatorValue(IParseNode)

Creates a new instance of the appropriate class based on discriminator value

public static ContractCreate CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

The parse node to use to read the discriminator value and create the object

Returns

ContractCreate

A ContractCreate

GetFieldDeserializers()

The deserialization information for the current model

public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()

Returns

IDictionary<string, Action<IParseNode>>

A IDictionary<string, Action<IParseNode>>

Serialize(ISerializationWriter)

Serializes information the current object

public virtual void Serialize(ISerializationWriter writer)

Parameters

writer ISerializationWriter

Serialization writer to use to serialize this model