This repository was archived by the owner on Apr 12, 2021. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -89,5 +89,11 @@ public class Organisation
8989
9090 [ DataMember ( EmitDefaultValue = false ) ]
9191 public List < ExternalLink > ExternalLinks { get ; set ; }
92+
93+ [ DataMember ]
94+ public OrganisationClass Class { get ; set ; }
95+
96+ [ DataMember ]
97+ public OrganisationEdition Edition { get ; set ; }
9298 }
9399}
Original file line number Diff line number Diff line change 1+ using System . Runtime . Serialization ;
2+
3+ namespace Xero . Api . Core . Model . Types
4+ {
5+ [ DataContract ( Namespace = "" ) ]
6+ public enum OrganisationClass
7+ {
8+ [ EnumMember ( Value = "NONE" ) ]
9+ None ,
10+ [ EnumMember ( Value = "DEMO" ) ]
11+ Demo ,
12+ [ EnumMember ( Value = "TRIAL" ) ]
13+ Trial ,
14+ [ EnumMember ( Value = "STARTER" ) ]
15+ Starter ,
16+ [ EnumMember ( Value = "STANDARD" ) ]
17+ Standard ,
18+ [ EnumMember ( Value = "PREMIUM" ) ]
19+ Premium ,
20+ [ EnumMember ( Value = "PREMIUM_20" ) ]
21+ Premium20 ,
22+ [ EnumMember ( Value = "PREMIUM_50" ) ]
23+ Premium50 ,
24+ [ EnumMember ( Value = "PREMIUM_100" ) ]
25+ Premium100 ,
26+ [ EnumMember ( Value = "LEDGER" ) ]
27+ Ledger ,
28+ [ EnumMember ( Value = "GST_CASHBOOK" ) ]
29+ GstCashbook ,
30+ [ EnumMember ( Value = "NON_GST_CASHBOOK" ) ]
31+ NonGstCashbook
32+ }
33+ }
Original file line number Diff line number Diff line change 1+ using System . Runtime . Serialization ;
2+
3+ namespace Xero . Api . Core . Model . Types
4+ {
5+ [ DataContract ( Namespace = "" ) ]
6+ public enum OrganisationEdition
7+ {
8+ [ EnumMember ( Value = "NONE" ) ]
9+ None ,
10+ [ EnumMember ( Value = "BUSINESS" ) ]
11+ Business ,
12+ [ EnumMember ( Value = "PARTNER" ) ]
13+ Partner
14+ }
15+ }
Original file line number Diff line number Diff line change 8080 <Compile Include =" Core\Model\Types\LinkedTransactionType.cs" />
8181 <Compile Include =" Core\Model\Types\ObjectGroupType.cs" />
8282 <Compile Include =" Core\Model\Types\ObjectType.cs" />
83+ <Compile Include =" Core\Model\Types\OrganisationClass.cs" />
84+ <Compile Include =" Core\Model\Types\OrganisationEdition.cs" />
8385 <Compile Include =" Core\Model\Types\SourceType.cs" />
8486 <Compile Include =" Core\Request\CurrenciesRequest.cs" />
8587 <Compile Include =" Core\Request\HistoryRecordsRequest.cs" />
You can’t perform that action at this time.
0 commit comments