Skip to content

Build for version - 9.0.0 #399

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
58,733 changes: 25,305 additions & 33,428 deletions src/main/java/com/xero/api/client/AccountingApi.java

Large diffs are not rendered by default.

871 changes: 380 additions & 491 deletions src/main/java/com/xero/api/client/AppStoreApi.java

Large diffs are not rendered by default.

1,491 changes: 678 additions & 813 deletions src/main/java/com/xero/api/client/AssetApi.java

Large diffs are not rendered by default.

1,644 changes: 729 additions & 915 deletions src/main/java/com/xero/api/client/BankFeedsApi.java

Large diffs are not rendered by default.

3,789 changes: 1,703 additions & 2,086 deletions src/main/java/com/xero/api/client/FilesApi.java

Large diffs are not rendered by default.

3,294 changes: 1,440 additions & 1,854 deletions src/main/java/com/xero/api/client/FinanceApi.java

Large diffs are not rendered by default.

475 changes: 227 additions & 248 deletions src/main/java/com/xero/api/client/IdentityApi.java

Large diffs are not rendered by default.

7,050 changes: 3,132 additions & 3,918 deletions src/main/java/com/xero/api/client/PayrollAuApi.java

Large diffs are not rendered by default.

14,611 changes: 6,380 additions & 8,231 deletions src/main/java/com/xero/api/client/PayrollNzApi.java

Large diffs are not rendered by default.

14,313 changes: 6,273 additions & 8,040 deletions src/main/java/com/xero/api/client/PayrollUkApi.java

Large diffs are not rendered by default.

4,184 changes: 1,853 additions & 2,331 deletions src/main/java/com/xero/api/client/ProjectApi.java

Large diffs are not rendered by default.

981 changes: 472 additions & 509 deletions src/main/java/com/xero/models/accounting/Account.java

Large diffs are not rendered by default.

145 changes: 96 additions & 49 deletions src/main/java/com/xero/models/accounting/AccountType.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,67 +9,115 @@
* Do not edit the class manually.
*/

package com.xero.models.accounting;


package com.xero.models.accounting;
import java.util.Objects;
import java.util.Arrays;
import io.swagger.annotations.ApiModel;
import java.io.IOException;

import org.threeten.bp.OffsetDateTime;
import org.threeten.bp.LocalDateTime;
import org.threeten.bp.ZoneId;
import org.threeten.bp.Instant;
import org.threeten.bp.LocalDate;
import com.xero.api.StringUtil;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;

/** See Account Types */
/**
* See Account Types
*/
public enum AccountType {

/** BANK */

/**
* BANK
*/
BANK("BANK"),

/** CURRENT */

/**
* CURRENT
*/
CURRENT("CURRENT"),

/** CURRLIAB */

/**
* CURRLIAB
*/
CURRLIAB("CURRLIAB"),

/** DEPRECIATN */

/**
* DEPRECIATN
*/
DEPRECIATN("DEPRECIATN"),

/** DIRECTCOSTS */

/**
* DIRECTCOSTS
*/
DIRECTCOSTS("DIRECTCOSTS"),

/** EQUITY */

/**
* EQUITY
*/
EQUITY("EQUITY"),

/** EXPENSE */

/**
* EXPENSE
*/
EXPENSE("EXPENSE"),

/** FIXED */

/**
* FIXED
*/
FIXED("FIXED"),

/** INVENTORY */

/**
* INVENTORY
*/
INVENTORY("INVENTORY"),

/** LIABILITY */

/**
* LIABILITY
*/
LIABILITY("LIABILITY"),

/** NONCURRENT */

/**
* NONCURRENT
*/
NONCURRENT("NONCURRENT"),

/** OTHERINCOME */

/**
* OTHERINCOME
*/
OTHERINCOME("OTHERINCOME"),

/** OVERHEADS */

/**
* OVERHEADS
*/
OVERHEADS("OVERHEADS"),

/** PREPAYMENT */

/**
* PREPAYMENT
*/
PREPAYMENT("PREPAYMENT"),

/** REVENUE */

/**
* REVENUE
*/
REVENUE("REVENUE"),

/** SALES */

/**
* SALES
*/
SALES("SALES"),

/** TERMLIAB */

/**
* TERMLIAB
*/
TERMLIAB("TERMLIAB"),

/** PAYG */

/**
* PAYG
*/
PAYG("PAYG");

private String value;
Expand All @@ -78,26 +126,24 @@ public enum AccountType {
this.value = value;
}

/** @return String value */
/**
* @return String value
*/
@JsonValue
public String getValue() {
return value;
}

/**
* toString
*
* @return String value
*/
/** toString
* @return String value
*/
@Override
public String toString() {
return String.valueOf(value);
}

/**
* fromValue
*
* @param value String
/** fromValue
* @param value String
*/
@JsonCreator
public static AccountType fromValue(String value) {
Expand All @@ -109,3 +155,4 @@ public static AccountType fromValue(String value) {
throw new IllegalArgumentException("Unexpected value '" + value + "'");
}
}

67 changes: 43 additions & 24 deletions src/main/java/com/xero/models/accounting/Accounts.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,38 +9,54 @@
* Do not edit the class manually.
*/

package com.xero.models.accounting;

package com.xero.models.accounting;
import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.xero.api.StringUtil;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import com.xero.models.accounting.Account;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import java.io.IOException;

import org.threeten.bp.OffsetDateTime;
import org.threeten.bp.LocalDateTime;
import org.threeten.bp.ZoneId;
import org.threeten.bp.Instant;
import org.threeten.bp.LocalDate;
import com.xero.api.StringUtil;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;

/**
* Accounts
*/

/** Accounts */
public class Accounts {
StringUtil util = new StringUtil();

@JsonProperty("Accounts")
private List<Account> accounts = new ArrayList<Account>();
/**
* accounts
*
* @param accounts List&lt;Account&gt;
* @return Accounts
*/
* accounts
* @param accounts List&lt;Account&gt;
* @return Accounts
**/
public Accounts accounts(List<Account> accounts) {
this.accounts = accounts;
return this;
}

/**
* accounts
*
* @param accountsItem Account
* @param accountsItem Account
* @return Accounts
*/
**/
public Accounts addAccountsItem(Account accountsItem) {
if (this.accounts == null) {
this.accounts = new ArrayList<Account>();
Expand All @@ -49,30 +65,29 @@ public Accounts addAccountsItem(Account accountsItem) {
return this;
}

/**
/**
* Get accounts
*
* @return accounts
*/
**/
@ApiModelProperty(value = "")
/**
/**
* accounts
*
* @return accounts List<Account>
*/
**/
public List<Account> getAccounts() {
return accounts;
}

/**
* accounts
*
* @param accounts List&lt;Account&gt;
*/
/**
* accounts
* @param accounts List&lt;Account&gt;
**/

public void setAccounts(List<Account> accounts) {
this.accounts = accounts;
}


@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
Expand All @@ -90,6 +105,7 @@ public int hashCode() {
return Objects.hash(accounts);
}


@Override
public String toString() {
StringBuilder sb = new StringBuilder();
Expand All @@ -100,12 +116,15 @@ public String toString() {
}

/**
* Convert the given object to string with each line indented by 4 spaces (except the first line).
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}

}

Loading
Loading