-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed SalesTrackingCategory for Contacts.
- Loading branch information
1 parent
82dc2cf
commit b26d9d2
Showing
112 changed files
with
271 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Accounting API | ||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | ||
* | ||
* OpenAPI spec version: 2.0.0 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
@@ -49,7 +49,7 @@ public class Account { | |
|
||
|
||
@JsonProperty("Type") | ||
private AccountType type = null; | ||
private AccountType type; | ||
|
||
|
||
@JsonProperty("BankAccountNumber") | ||
|
@@ -145,7 +145,7 @@ public static BankAccountTypeEnum fromValue(String text) { | |
|
||
|
||
@JsonProperty("CurrencyCode") | ||
private CurrencyCode currencyCode = null; | ||
private CurrencyCode currencyCode; | ||
|
||
|
||
@JsonProperty("TaxType") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Accounting API | ||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | ||
* | ||
* OpenAPI spec version: 2.0.0 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Accounting API | ||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | ||
* | ||
* OpenAPI spec version: 2.0.0 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Accounting API | ||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | ||
* | ||
* OpenAPI spec version: 2.0.0 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Accounting API | ||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | ||
* | ||
* OpenAPI spec version: 2.0.0 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Accounting API | ||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | ||
* | ||
* OpenAPI spec version: 2.0.0 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Accounting API | ||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | ||
* | ||
* OpenAPI spec version: 2.0.0 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Accounting API | ||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | ||
* | ||
* OpenAPI spec version: 2.0.0 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Accounting API | ||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | ||
* | ||
* OpenAPI spec version: 2.0.0 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Accounting API | ||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | ||
* | ||
* OpenAPI spec version: 2.0.0 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Accounting API | ||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | ||
* | ||
* OpenAPI spec version: 2.0.0 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Accounting API | ||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | ||
* | ||
* OpenAPI spec version: 2.0.0 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
@@ -116,7 +116,7 @@ public static TypeEnum fromValue(String text) { | |
|
||
|
||
@JsonProperty("CurrencyCode") | ||
private CurrencyCode currencyCode = null; | ||
private CurrencyCode currencyCode; | ||
|
||
|
||
@JsonProperty("CurrencyRate") | ||
|
@@ -167,7 +167,7 @@ public static StatusEnum fromValue(String text) { | |
|
||
|
||
@JsonProperty("LineAmountTypes") | ||
private LineAmountTypes lineAmountTypes = null; | ||
private LineAmountTypes lineAmountTypes; | ||
|
||
|
||
@JsonProperty("SubTotal") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Accounting API | ||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | ||
* | ||
* OpenAPI spec version: 2.0.0 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Accounting API | ||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | ||
* | ||
* OpenAPI spec version: 2.0.0 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Accounting API | ||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | ||
* | ||
* OpenAPI spec version: 2.0.0 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Accounting API | ||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | ||
* | ||
* OpenAPI spec version: 2.0.0 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Accounting API | ||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | ||
* | ||
* OpenAPI spec version: 2.0.0 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Accounting API | ||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | ||
* | ||
* OpenAPI spec version: 2.0.0 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Accounting API | ||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | ||
* | ||
* OpenAPI spec version: 2.0.0 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
@@ -35,7 +35,7 @@ public class Bill { | |
|
||
|
||
@JsonProperty("Type") | ||
private PaymentTermType type = null; | ||
private PaymentTermType type; | ||
|
||
public Bill day(Integer day) { | ||
this.day = day; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Accounting API | ||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | ||
* | ||
* OpenAPI spec version: 2.0.0 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Accounting API | ||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | ||
* | ||
* OpenAPI spec version: 2.0.0 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Accounting API | ||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | ||
* | ||
* OpenAPI spec version: 2.0.0 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Accounting API | ||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | ||
* | ||
* OpenAPI spec version: 2.0.0 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Accounting API | ||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | ||
* | ||
* OpenAPI spec version: 2.0.0 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Accounting API | ||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | ||
* | ||
* OpenAPI spec version: 2.0.0 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
@@ -28,7 +28,7 @@ | |
import com.xero.models.accounting.CurrencyCode; | ||
import com.xero.models.accounting.PaymentTerm; | ||
import com.xero.models.accounting.Phone; | ||
import com.xero.models.accounting.TrackingCategory; | ||
import com.xero.models.accounting.SalesTrackingCategory; | ||
import com.xero.models.accounting.ValidationError; | ||
import io.swagger.annotations.ApiModel; | ||
import io.swagger.annotations.ApiModelProperty; | ||
|
@@ -155,7 +155,7 @@ public static ContactStatusEnum fromValue(String text) { | |
|
||
|
||
@JsonProperty("DefaultCurrency") | ||
private CurrencyCode defaultCurrency = null; | ||
private CurrencyCode defaultCurrency; | ||
|
||
|
||
@JsonProperty("XeroNetworkKey") | ||
|
@@ -171,11 +171,11 @@ public static ContactStatusEnum fromValue(String text) { | |
|
||
|
||
@JsonProperty("SalesTrackingCategories") | ||
private List<TrackingCategory> salesTrackingCategories = null; | ||
private List<SalesTrackingCategory> salesTrackingCategories = null; | ||
|
||
|
||
@JsonProperty("PurchasesTrackingCategories") | ||
private List<TrackingCategory> purchasesTrackingCategories = null; | ||
private List<SalesTrackingCategory> purchasesTrackingCategories = null; | ||
|
||
|
||
@JsonProperty("TrackingCategoryName") | ||
|
@@ -653,14 +653,14 @@ public void setPurchasesDefaultAccountCode(String purchasesDefaultAccountCode) { | |
this.purchasesDefaultAccountCode = purchasesDefaultAccountCode; | ||
} | ||
|
||
public Contact salesTrackingCategories(List<TrackingCategory> salesTrackingCategories) { | ||
public Contact salesTrackingCategories(List<SalesTrackingCategory> salesTrackingCategories) { | ||
this.salesTrackingCategories = salesTrackingCategories; | ||
return this; | ||
} | ||
|
||
public Contact addSalesTrackingCategoriesItem(TrackingCategory salesTrackingCategoriesItem) { | ||
public Contact addSalesTrackingCategoriesItem(SalesTrackingCategory salesTrackingCategoriesItem) { | ||
if (this.salesTrackingCategories == null) { | ||
this.salesTrackingCategories = new ArrayList<TrackingCategory>(); | ||
this.salesTrackingCategories = new ArrayList<SalesTrackingCategory>(); | ||
} | ||
this.salesTrackingCategories.add(salesTrackingCategoriesItem); | ||
return this; | ||
|
@@ -671,22 +671,22 @@ public Contact addSalesTrackingCategoriesItem(TrackingCategory salesTrackingCate | |
* @return salesTrackingCategories | ||
**/ | ||
@ApiModelProperty(value = "The default sales tracking categories for contacts") | ||
public List<TrackingCategory> getSalesTrackingCategories() { | ||
public List<SalesTrackingCategory> getSalesTrackingCategories() { | ||
return salesTrackingCategories; | ||
} | ||
|
||
public void setSalesTrackingCategories(List<TrackingCategory> salesTrackingCategories) { | ||
public void setSalesTrackingCategories(List<SalesTrackingCategory> salesTrackingCategories) { | ||
this.salesTrackingCategories = salesTrackingCategories; | ||
} | ||
|
||
public Contact purchasesTrackingCategories(List<TrackingCategory> purchasesTrackingCategories) { | ||
public Contact purchasesTrackingCategories(List<SalesTrackingCategory> purchasesTrackingCategories) { | ||
this.purchasesTrackingCategories = purchasesTrackingCategories; | ||
return this; | ||
} | ||
|
||
public Contact addPurchasesTrackingCategoriesItem(TrackingCategory purchasesTrackingCategoriesItem) { | ||
public Contact addPurchasesTrackingCategoriesItem(SalesTrackingCategory purchasesTrackingCategoriesItem) { | ||
if (this.purchasesTrackingCategories == null) { | ||
this.purchasesTrackingCategories = new ArrayList<TrackingCategory>(); | ||
this.purchasesTrackingCategories = new ArrayList<SalesTrackingCategory>(); | ||
} | ||
this.purchasesTrackingCategories.add(purchasesTrackingCategoriesItem); | ||
return this; | ||
|
@@ -697,11 +697,11 @@ public Contact addPurchasesTrackingCategoriesItem(TrackingCategory purchasesTrac | |
* @return purchasesTrackingCategories | ||
**/ | ||
@ApiModelProperty(value = "The default purchases tracking categories for contacts") | ||
public List<TrackingCategory> getPurchasesTrackingCategories() { | ||
public List<SalesTrackingCategory> getPurchasesTrackingCategories() { | ||
return purchasesTrackingCategories; | ||
} | ||
|
||
public void setPurchasesTrackingCategories(List<TrackingCategory> purchasesTrackingCategories) { | ||
public void setPurchasesTrackingCategories(List<SalesTrackingCategory> purchasesTrackingCategories) { | ||
this.purchasesTrackingCategories = purchasesTrackingCategories; | ||
} | ||
|
||
|
Oops, something went wrong.