Click or drag to resize
ParaPlan Logo

Program Class

information about a program that a client will ride under
Inheritance Hierarchy
SystemObject
  ParaPlanREST.ModelsRESTModelBase
    ParaPlanREST.ModelsProgram

Namespace:  ParaPlanREST.Models
Assembly:  ParaPlanREST (in ParaPlanREST.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class Program : RESTModelBase

The Program type exposes the following members.

Constructors
  NameDescription
Public methodProgram
Initializes a new instance of the Program class
Public methodProgram(ClientProgram)
Build a RESTModel program from an Entity Program
Top
Properties
  NameDescription
Public propertyactiveGeozoneIds
Public propertyarchived
Public propertybillingAddress
Public propertybillingEmail
Public propertybillingEntityName
Public propertybillingPersonName
Public propertybillingPhone
Public propertychildExempt
Public propertydatabaseID
The ID in ParaPlan database. Do not expose
Public propertydeleted
Public propertydropoffLOS
Public propertydropOffZones
Public propertyeligibleVehicleGroups
Public propertyeligibleVehicles
Public propertyerrorMessage (Inherited from RESTModelBase.)
Public propertyfixedFee
Fixed fee structure per trip
Public propertyinfantExempt
Public propertyisDefault
If this program is the default program for this client
Public propertymembershipID
The client's membership ID for this program
Public propertymembershipIsRequired
Public propertyotherRidersExempt
Public propertyperMileFee
Per mile fee struture per trip
Public propertypickUpLOS
Public propertypickUpZones
Public propertyprogramCalendarRules
json array describing when the program is active
Here is example
Example
 1{
 2   "Sunday":{
 3      "EndJSON":"1899-12-30T21:45:00.0000000",
 4      "StartJSON":"1899-12-30T05:30:00.0000000",
 5      "Active":true
 6   },
 7   "Saturday":{
 8      "EndJSON":"1899-12-30T21:45:00.0000000",
 9      "StartJSON":"1899-12-30T05:30:00.0000000",
10      "Active":true
11   },
12   "Friday":{
13      "EndJSON":"1899-12-30T21:45:00.0000000",
14      "StartJSON":"1899-12-30T05:30:00.0000000",
15      "Active":true
16   },
17   "Thursday":{
18      "EndJSON":"1899-12-30T21:45:00.0000000",
19      "StartJSON":"1899-12-30T05:30:00.0000000",
20      "Active":true
21   },
22   "Wednesday":{
23      "EndJSON":"1899-12-30T21:45:00.0000000",
24      "StartJSON":"1899-12-30T05:30:00.0000000",
25      "Active":true
26   },
27   "Tuesday":{
28      "EndJSON":"1899-12-30T20:30:00.0000000",
29      "StartJSON":"1899-12-30T11:00:00.0000000",
30      "Active":true
31   },
32   "Monday":{
33      "EndJSON":"1899-12-30T21:45:00.0000000",
34      "StartJSON":"1899-12-30T05:30:00.0000000",
35      "Active":true
36   }
37}
Public propertyprogramCode
Program abbreviation
Public propertyprogramDescription
Display description for this program
Public propertyprogramName
Display name for this program
Public propertysuccess (Inherited from RESTModelBase.)
Public propertytokenExists (Inherited from RESTModelBase.)
Public propertytokenIsValid (Inherited from RESTModelBase.)
Top
Methods
  NameDescription
Public methodAppendWithDBData
Public methodCanProceed (Inherited from RESTModelBase.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToDBProgram
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also