Table of Contents

Class DevicePlanBillingInfo

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

Device Plan information holding the Plan name and Billing level mapping.

public class DevicePlanBillingInfo
Inheritance
DevicePlanBillingInfo
Inherited Members

Constructors

DevicePlanBillingInfo()

public DevicePlanBillingInfo()

Fields

DevicePlanGo

Go plan (aka one plan) billing level

public const int DevicePlanGo = 35

Field Value

int

DevicePlanProPlus

Device Plan ProPlus

public const int DevicePlanProPlus = 10

Field Value

int

DevicePlanProPlusCarShare

Device Plan ProPlusCarShare

public const int DevicePlanProPlusCarShare = 22

Field Value

int

DevicePlanProPlusWifi

Device Plan ProPlusWifi

public const int DevicePlanProPlusWifi = 23

Field Value

int

DevicePlanProPlusWinterOps

Device Plan ProPlusWinterOps

public const int DevicePlanProPlusWinterOps = 21

Field Value

int

DevicePlanSb

Device Plan Sb

public const int DevicePlanSb = 99999

Field Value

int

DevicePlanSuspend

Device Plan Suspend

public const int DevicePlanSuspend = 99

Field Value

int

DevicePlanTerminate

Device Plan Terminate

public const int DevicePlanTerminate = 9999

Field Value

int

DevicePlanUnknown

Device Plan Unknown

public const int DevicePlanUnknown = 0

Field Value

int

IsProPlusPlan

Stores the flag whether each device billing plan is a ProPlus plan Newly added device plan should be included in this dictionary with their IsProPlus flag specified.

public static readonly IReadOnlyDictionary<int, bool> IsProPlusPlan

Field Value

IReadOnlyDictionary<int, bool>

Properties

BillingLevel

Gets or sets the Billing Level.

public int? BillingLevel { get; set; }

Property Value

int?

int

DevicePlanName

Gets or sets the name of the Device Plan name.

public string? DevicePlanName { get; set; }

Property Value

string

string

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

FromDevicePlan(DevicePlan)

Creates a valid DevicePlanBillingInfo.

public static DevicePlanBillingInfo FromDevicePlan(DevicePlan devicePlan)

Parameters

devicePlan DevicePlan

The DevicePlan.

Returns

DevicePlanBillingInfo

Valid object.

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

TryToFillProperties()

Validates a DevicePlanBillingInfo.

public DevicePlanBillingInfo TryToFillProperties()

Returns

DevicePlanBillingInfo

Valid object.