Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

CatglobeCostPerDay class

From Catglobe Wiki

CatglobeCostPerDay



The daily cost object

Parent class

Inherits from object

Methods

  • string ToString() - The string representation of the object.

Properties

  • int CollectionType { get; } - Get collection type
  • string CollectionTypeAsString { get; } - Get collection type
  • DateTime Date { get; } - The day of the cost
  • string ObjectTypeName { get; } - The name of the type of object.
  • (From object) TypeInformation TypeInformation { get; } - Get information about this class.
  • number Units { get; } - Get collected cost for the questionnaire one the given day


Examples

array endDate = {2016,11,28,23,59};
array startDate ={2016,11,28,0,0};
number folderRId =15548914;//"AnCompany" folder;
array arrayCatglobeCostPerDay = Catglobe.Payment.GetDetailedUsageCostByDay(startDate, endDate,folderRId);//{2016-00-28 (Units:20300, Type:ImportedData}
CatglobeCostPerDay CostPerDay = arrayCatglobeCostPerDay[0];//2016-00-28 (Units:20300, Type:ImportedData
CostPerDay.CollectionType;//1
CostPerDay.CollectionTypeAsString ;//ImportedData
CostPerDay.Date;//2016-11-28 00:00:00
CostPerDay.Units;//20300