Class PaymentReference
- Namespace
- Autodesk.ACC.CostManagement.Models
- Assembly
- Autodesk.ACC.CostManagement.dll
public class PaymentReference : IAdditionalDataHolder, IParsable
- Inheritance
-
PaymentReference
- Implements
-
IAdditionalDataHolderIParsable
- 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
Amount
The amount that is paid..
public string? Amount { get; set; }
Property Value
AssociationId
The object ID of the payment reference is associated to. Currently support only 'Expenseand
CostPayment`.
public Guid? AssociationId { get; set; }
Property Value
- Guid?
AssociationType
The object type of the payment reference is associated to. Currently support only 'Expenseand
CostPayment`.
public PaymentReference_associationType? AssociationType { get; set; }
Property Value
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
Reference
The check/cheque number or electronic transfer number.
public string? Reference { get; set; }
Property Value
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
Methods
CreateFromDiscriminatorValue(IParseNode)
Creates a new instance of the appropriate class based on discriminator value
public static PaymentReference 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