Class ExpenseCreate
- Namespace
- Autodesk.ACC.CostManagement.Models
- Assembly
- Autodesk.ACC.CostManagement.dll
public class ExpenseCreate : IAdditionalDataHolder, IParsable
- Inheritance
-
ExpenseCreate
- Implements
-
IAdditionalDataHolderIParsable
- Inherited Members
Constructors
ExpenseCreate()
Instantiates a new ExpenseCreate and sets the default values.
public ExpenseCreate()
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
ContractId
ID of the contract to which the expense belongs. Expense items will be created based on contract schedule of values.
public string? ContractId { get; set; }
Property Value
Description
The detail description of the expense.
public string? Description { get; set; }
Property Value
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
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
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
Id
Unique identifier of the expense.
public string? Id { get; set; }
Property Value
IntegrationState
Lock state used by ERP integration, default value is null
.
public ExpenseCreate_integrationState? IntegrationState { get; set; }
Property Value
IssuedAt
The date and time when the expense is issued.
public DateTimeOffset? IssuedAt { get; set; }
Property Value
Name
The name of the expense.
public string? Name { get; set; }
Property Value
Note
The note of the expense. Draftjs formatted rich text (https://draftjs.org/)
public string? Note { get; set; }
Property Value
Number
System-generated sequential number.
public string? Number { get; set; }
Property Value
PaymentDue
The payment due date of the expense.
public DateTimeOffset? PaymentDue { get; set; }
Property Value
PaymentReference
The check/cheque number or electronic transfer number.
public string? PaymentReference { get; set; }
Property Value
PaymentType
The Populated by ERP no default, could be something like Check/Cheque/Electronic Transfer.
public string? PaymentType { get; set; }
Property Value
PurchasedBy
The user who purchased items in the expense. This is the ID of a user managed by BIM 360 Admin.
public string? PurchasedBy { get; set; }
Property Value
ReceivedAt
The date and time when the expense is received.
public DateTimeOffset? ReceivedAt { get; set; }
Property Value
ReferenceNumber
The reference number of the expense.
public string? ReferenceNumber { get; set; }
Property Value
Scope
The expense type of the expense. Possible values: full
, partial
.
public ExpenseCreate_scope? Scope { get; set; }
Property Value
Status
The status of the expense. Possible values: draft
, pending
, revise
, rejected
, approved
, paid
.
public ExpenseCreate_status? Status { get; set; }
Property Value
SupplierId
The supplier for the expense. This is the ID of a company managed by BIM 360 Admin.
public string? SupplierId { get; set; }
Property Value
SupplierName
The supplier name for the expense. User can create a new supplier or select from BIM 360 Admin.
public string? SupplierName { get; set; }
Property Value
Term
The term of the expense. It is customizable by the project admin.
public string? Term { get; set; }
Property Value
Type
The type of the expense. It is customizable by the project admin.
public string? Type { get; set; }
Property Value
Methods
CreateFromDiscriminatorValue(IParseNode)
Creates a new instance of the appropriate class based on discriminator value
public static ExpenseCreate CreateFromDiscriminatorValue(IParseNode parseNode)
Parameters
parseNode
IParseNodeThe parse node to use to read the discriminator value and create the object
Returns
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
ISerializationWriterSerialization writer to use to serialize this model