Table of Contents

Class ContractReceipt

Namespace
S1API.Economy
Assembly
S1API.dll

Lightweight DTO mirroring base game's ContractReceipt for analytics/history.

public sealed class ContractReceipt
Inheritance
ContractReceipt
Inherited Members
Extension Methods

Constructors

ContractReceipt()

public ContractReceipt()

Properties

AmountPaid

public float AmountPaid { get; set; }

Property Value

float

CompletionTime

public (int days, int time) CompletionTime { get; set; }

Property Value

(int days, int time)

CustomerId

public string CustomerId { get; set; }

Property Value

string

Items

public (string id, int quantity)[] Items { get; set; }

Property Value

(string id, int quantity)[]

ReceiptId

public int ReceiptId { get; set; }

Property Value

int