This repository was archived by the owner on Apr 12, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +56
-0
lines changed Expand file tree Collapse file tree 4 files changed +56
-0
lines changed Original file line number Diff line number Diff line change @@ -89,5 +89,11 @@ public class Organisation
89
89
90
90
[ DataMember ( EmitDefaultValue = false ) ]
91
91
public List < ExternalLink > ExternalLinks { get ; set ; }
92
+
93
+ [ DataMember ]
94
+ public OrganisationClass Class { get ; set ; }
95
+
96
+ [ DataMember ]
97
+ public OrganisationEdition Edition { get ; set ; }
92
98
}
93
99
}
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 80
80
<Compile Include =" Core\Model\Types\LinkedTransactionType.cs" />
81
81
<Compile Include =" Core\Model\Types\ObjectGroupType.cs" />
82
82
<Compile Include =" Core\Model\Types\ObjectType.cs" />
83
+ <Compile Include =" Core\Model\Types\OrganisationClass.cs" />
84
+ <Compile Include =" Core\Model\Types\OrganisationEdition.cs" />
83
85
<Compile Include =" Core\Model\Types\SourceType.cs" />
84
86
<Compile Include =" Core\Request\CurrenciesRequest.cs" />
85
87
<Compile Include =" Core\Request\HistoryRecordsRequest.cs" />
You can’t perform that action at this time.
0 commit comments