Table of Contents

Class UnitBuyoff

Namespace
Acuit.Pinpoint.Services.Entities
Assembly
Acuit.Pinpoint.Services.Entities.dll

A unit buyoff.

[DataContract(IsReference = true)]
[KnownType(typeof(Buyoff))]
[KnownType(typeof(UnitStation))]
public class UnitBuyoff
Inheritance
UnitBuyoff
Inherited Members

Constructors

UnitBuyoff(int, DateTime, bool, Buyoff, UnitStation)

Initializes a new instance of the UnitBuyoff class.

public UnitBuyoff(int unitBuyoffId, DateTime buyoffDateTime, bool isSet, Buyoff buyoff, UnitStation unitStation)

Parameters

unitBuyoffId int

The unique identifier for this unit buyoff.

buyoffDateTime DateTime

The date and time at which this buyoff was set or cleared.

isSet bool

Whether this buyoff was set or cleared.

buyoff Buyoff

The buyoff.

unitStation UnitStation

The unit station at which this occurred.

Exceptions

ArgumentNullException

buyoff is null.

ArgumentNullException

unitStation is null.

Properties

Buyoff

Gets the buyoff.

[DataMember]
public Buyoff Buyoff { get; }

Property Value

Buyoff

BuyoffDateTime

Gets the date and time at which this buyoff was set or cleared.

[DataMember]
public DateTime BuyoffDateTime { get; }

Property Value

DateTime

IsSet

Gets whether this buyoff was set or cleared.

[DataMember]
public bool IsSet { get; }

Property Value

bool

UnitBuyoffId

Gets the unique identifier for this unit buyoff.

[DataMember]
public int UnitBuyoffId { get; }

Property Value

int

UnitStation

Gets the unit station at which this occurred.

[DataMember]
public UnitStation UnitStation { get; }

Property Value

UnitStation