Class PaymentUpdate
- Namespace
- Autodesk.ACC.CostManagement.Models
- Assembly
- Autodesk.ACC.CostManagement.dll
public class PaymentUpdate : IAdditionalDataHolder, IParsable
- Inheritance
-
PaymentUpdate
- Implements
-
IAdditionalDataHolderIParsable
- Inherited Members
Constructors
PaymentUpdate()
Instantiates a new PaymentUpdate and sets the default values.
public PaymentUpdate()
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
AggregateBy
The aggregate type of the payment. Possible values: workCompleted
, workCompletedPercentage
.
public PaymentUpdate_aggregateBy? AggregateBy { get; set; }
Property Value
BudgetPaymentId
The budget payment ID the cost payment is associated to.
public Guid? BudgetPaymentId { get; set; }
Property Value
- Guid?
Description
The detail description of this payment.
public string? Description { get; set; }
Property Value
ExchangeRate
Exchange rate. Default value is 1
, if multi-currency is not enabled, it will also be 1
.
public string? ExchangeRate { get; set; }
Property Value
ForecastDistributionAt
The date and time determines which distribution period this payment belongs to, after set status to Approved or Paid.
public DateTimeOffset? ForecastDistributionAt { get; }
Property Value
Id
Unique identifier of the payment.
public Guid? Id { get; set; }
Property Value
- Guid?
IntegrationState
Lock state used by ERP integration, default value is null
.
public PaymentUpdate_integrationState? IntegrationState { get; set; }
Property Value
Name
The name of this payment.
public string? Name { get; set; }
Property Value
Note
Draftjs formatted rich text(https://draftjs.org/)
public string? Note { get; set; }
Property Value
PaidAt
The date and time when the expense is paid.
public DateTimeOffset? PaidAt { get; set; }
Property Value
SubmittedAt
The date and time when the payment is submitted.
public DateTimeOffset? SubmittedAt { get; }
Property Value
Methods
CreateFromDiscriminatorValue(IParseNode)
Creates a new instance of the appropriate class based on discriminator value
public static PaymentUpdate 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