Table of Contents

Class PaymentReference

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

Constructors

PaymentReference()

Instantiates a new PaymentReference and sets the default values.

public PaymentReference()

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>

Amount

The amount that is paid..

public string? Amount { get; set; }

Property Value

string

AssociationId

The object ID of the payment reference is associated to. Currently support only 'ExpenseandCostPayment`.

public Guid? AssociationId { get; set; }

Property Value

Guid?

AssociationType

The object type of the payment reference is associated to. Currently support only 'ExpenseandCostPayment`.

public PaymentReference_associationType? AssociationType { get; set; }

Property Value

PaymentReference_associationType?

Id

Unique auto-generated identifier of the payment reference.

public Guid? Id { get; }

Property Value

Guid?

PaidAt

The date when the payment or expense is paid. The format should be ISO 8601 compliant in YYYY-MM-DD, for example, 2022-06-30.

public string? PaidAt { get; set; }

Property Value

string

Reference

The check/cheque number or electronic transfer number.

public string? Reference { get; set; }

Property Value

string

Type

The payment type of the payment or expense. It could be something like Check/Cheque/Electronic Transfer ... and will be populated by ERP.

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 PaymentReference CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

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

Returns

PaymentReference

A PaymentReference

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