Table of Contents

Class DeviceCostSummary

Namespace
Geotab.Checkmate.ObjectModel
Assembly
Geotab.Checkmate.ObjectModel.dll

false A class containing summarized costs of device maintenance

public class DeviceCostSummary : Entity, IEntity, IComparable, IIdentifiable, IDeviceProvider
Inheritance
DeviceCostSummary
Implements
Inherited Members

Constructors

DeviceCostSummary()

public DeviceCostSummary()

Properties

Currency

Gets or sets the currency code for the costs

public Currency? Currency { get; set; }

Property Value

Currency?

The currency

CurrentCost

Gets or sets the cost of maintenance for the device during the current period

public decimal CurrentCost { get; set; }

Property Value

decimal

The current cost

Device

Gets or sets the device

public Device? Device { get; set; }

Property Value

Device

The device

IsConversionSuccessful

Gets or sets whether conversion was successful. If true, all costs were successfully converted. If false, some costs were unable to be converted and were left out.

public bool? IsConversionSuccessful { get; set; }

Property Value

bool?

True if currency conversion successful

IsConversionUsed

Gets or sets whether conversion was used. If true, costs were calculated using currency conversions and may be inaccurate.

public bool? IsConversionUsed { get; set; }

Property Value

bool?

True if currency conversion used

Period

Gets or sets the period over which the cost is totaled

public TimeSpan? Period { get; set; }

Property Value

TimeSpan?

The period of time over which costs are totled

PreviousCost

Gets or sets the cost of maintenance for the device during the previous period

public decimal PreviousCost { get; set; }

Property Value

decimal

The previous cost

Methods

Clone()

Creates a new object that is a copy of the current instance.

public override IEntity Clone()

Returns

IEntity

A new object that is a copy of this instance.