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
DevicePlanProPlus
Device Plan ProPlus
public const int DevicePlanProPlus = 10
Field Value
DevicePlanProPlusCarShare
Device Plan ProPlusCarShare
public const int DevicePlanProPlusCarShare = 22
Field Value
DevicePlanProPlusWifi
Device Plan ProPlusWifi
public const int DevicePlanProPlusWifi = 23
Field Value
DevicePlanProPlusWinterOps
Device Plan ProPlusWinterOps
public const int DevicePlanProPlusWinterOps = 21
Field Value
DevicePlanSb
Device Plan Sb
public const int DevicePlanSb = 99999
Field Value
DevicePlanSuspend
Device Plan Suspend
public const int DevicePlanSuspend = 99
Field Value
DevicePlanTerminate
Device Plan Terminate
public const int DevicePlanTerminate = 9999
Field Value
DevicePlanUnknown
Device Plan Unknown
public const int DevicePlanUnknown = 0
Field Value
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
Properties
BillingLevel
Gets or sets the Billing Level.
public int? BillingLevel { get; set; }
Property Value
DevicePlanName
Gets or sets the name of the Device Plan name.
public string? DevicePlanName { get; set; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
obj
object
Returns
FromDevicePlan(DevicePlan)
Creates a valid DevicePlanBillingInfo.
public static DevicePlanBillingInfo FromDevicePlan(DevicePlan devicePlan)
Parameters
devicePlan
DevicePlanThe DevicePlan.
Returns
- DevicePlanBillingInfo
Valid object.
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
TryToFillProperties()
Validates a DevicePlanBillingInfo.
public DevicePlanBillingInfo TryToFillProperties()
Returns
- DevicePlanBillingInfo
Valid object.