Class ContractReceipt
Lightweight DTO mirroring base game's ContractReceipt for analytics/history.
public sealed class ContractReceipt
- Inheritance
-
ContractReceipt
- Inherited Members
- Extension Methods
Constructors
ContractReceipt()
Creates an empty receipt suitable for deserialization or incremental population.
public ContractReceipt()
Properties
AmountPaid
Gets or sets the amount paid when the contract completed.
public float AmountPaid { get; set; }
Property Value
CompletionTime
Gets or sets the completion day and time.
public (int days, int time) CompletionTime { get; set; }
Property Value
CustomerId
Gets or sets the customer identifier associated with the contract.
public string CustomerId { get; set; }
Property Value
Items
Gets or sets the delivered item identifiers and quantities.
public (string id, int quantity)[] Items { get; set; }
Property Value
ReceiptId
Gets or sets the receipt identifier.
public int ReceiptId { get; set; }