Skip to content
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,935 changes: 620 additions & 1,315 deletions docs/v4/accounting/index.html

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions docs/v4/files/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -879,6 +879,16 @@
"description" : "The size of the associated file in bytes. Note- The Size element is only returned when using /Associations/{ObjectId} endpoint.",
"example" : 12357
},
"CreatedDateUtc" : {
"type" : "string",
"description" : "The date the file was created (UTC). Note- The CreatedDateUtc element is only returned when using /Associations/{ObjectId} endpoint.",
"format" : "date-time"
},
"AssociationDateUtc" : {
"type" : "string",
"description" : "The date the file was associated with the object (UTC). Note- The AssociationDateUtc element is only returned when using /Associations/{ObjectId} endpoint.",
"format" : "date-time"
},
"FileId" : {
"type" : "string",
"description" : "The unique identifier of the file",
Expand Down
517 changes: 1 addition & 516 deletions src/main/java/com/xero/api/client/AccountingApi.java

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/main/java/com/xero/api/client/AppStoreApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero AppStore API
* These endpoints are for Xero Partners to interact with the App Store Billing platform
*
* The version of the OpenAPI document: 12.0.2
* The version of the OpenAPI document: 13.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/xero/api/client/AssetApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero Assets API
* The Assets API exposes fixed asset related functions of the Xero Accounting application and can be used for a variety of purposes such as creating assets, retrieving asset valuations etc.
*
* The version of the OpenAPI document: 12.0.2
* The version of the OpenAPI document: 13.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/xero/api/client/BankFeedsApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero Bank Feeds API
* The Bank Feeds API is a closed API that is only available to financial institutions that have an established financial services partnership with Xero. If you're an existing financial services partner that wants access, contact your local Partner Manager. If you're a financial institution who wants to provide bank feeds to your business customers, contact us to become a financial services partner.
*
* The version of the OpenAPI document: 12.0.2
* The version of the OpenAPI document: 13.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/xero/api/client/FilesApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero Files API
* These endpoints are specific to Xero Files API
*
* The version of the OpenAPI document: 12.0.2
* The version of the OpenAPI document: 13.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/xero/api/client/FinanceApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero Finance API
* The Finance API is a collection of endpoints which customers can use in the course of a loan application, which may assist lenders to gain the confidence they need to provide capital.
*
* The version of the OpenAPI document: 12.0.2
* The version of the OpenAPI document: 13.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/xero/api/client/IdentityApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero OAuth 2 Identity Service API
* These endpoints are related to managing authentication tokens and identity for Xero API
*
* The version of the OpenAPI document: 12.0.2
* The version of the OpenAPI document: 13.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/xero/api/client/PayrollAuApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero Payroll AU API
* This is the Xero Payroll API for orgs in Australia region.
*
* The version of the OpenAPI document: 12.0.2
* The version of the OpenAPI document: 13.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/xero/api/client/PayrollAuV2Api.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero Payroll AU API 2.0
* This is the Xero Payroll API 2.0 for orgs in Australia region.
*
* The version of the OpenAPI document: 12.0.2
* The version of the OpenAPI document: 13.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/xero/api/client/PayrollNzApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero Payroll NZ
* This is the Xero Payroll API for orgs in the NZ region.
*
* The version of the OpenAPI document: 12.0.2
* The version of the OpenAPI document: 13.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/xero/api/client/PayrollUkApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero Payroll UK
* This is the Xero Payroll API for orgs in the UK region.
*
* The version of the OpenAPI document: 12.0.2
* The version of the OpenAPI document: 13.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/xero/api/client/ProjectApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero Projects API
* This is the Xero Projects API
*
* The version of the OpenAPI document: 12.0.2
* The version of the OpenAPI document: 13.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
22 changes: 22 additions & 0 deletions src/main/java/com/xero/models/accounting/Prepayment.java
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,9 @@ public static StatusEnum fromValue(String value) {
@JsonProperty("PrepaymentID")
private UUID prepaymentID;

@JsonProperty("BrandingThemeID")
private UUID brandingThemeID;

@JsonProperty("CurrencyRate")
private Double currencyRate;

Expand Down Expand Up @@ -693,6 +696,22 @@ public void setPrepaymentID(UUID prepaymentID) {
this.prepaymentID = prepaymentID;
}

/**
* The unique identifier of the branding template applied to a receive prepayment
*
* @return brandingThemeID
*/
@ApiModelProperty(
value = "The unique identifier of the branding template applied to a receive prepayment")
/**
* The unique identifier of the branding template applied to a receive prepayment
*
* @return brandingThemeID UUID
*/
public UUID getBrandingThemeID() {
return brandingThemeID;
}

/**
* The currency rate for a multicurrency prepayment. If no rate is specified, the XE.com day rate
* is used
Expand Down Expand Up @@ -992,6 +1011,7 @@ public boolean equals(java.lang.Object o) {
&& Objects.equals(this.updatedDateUTC, prepayment.updatedDateUTC)
&& Objects.equals(this.currencyCode, prepayment.currencyCode)
&& Objects.equals(this.prepaymentID, prepayment.prepaymentID)
&& Objects.equals(this.brandingThemeID, prepayment.brandingThemeID)
&& Objects.equals(this.currencyRate, prepayment.currencyRate)
&& Objects.equals(this.remainingCredit, prepayment.remainingCredit)
&& Objects.equals(this.allocations, prepayment.allocations)
Expand All @@ -1018,6 +1038,7 @@ public int hashCode() {
updatedDateUTC,
currencyCode,
prepaymentID,
brandingThemeID,
currencyRate,
remainingCredit,
allocations,
Expand Down Expand Up @@ -1045,6 +1066,7 @@ public String toString() {
sb.append(" updatedDateUTC: ").append(toIndentedString(updatedDateUTC)).append("\n");
sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n");
sb.append(" prepaymentID: ").append(toIndentedString(prepaymentID)).append("\n");
sb.append(" brandingThemeID: ").append(toIndentedString(brandingThemeID)).append("\n");
sb.append(" currencyRate: ").append(toIndentedString(currencyRate)).append("\n");
sb.append(" remainingCredit: ").append(toIndentedString(remainingCredit)).append("\n");
sb.append(" allocations: ").append(toIndentedString(allocations)).append("\n");
Expand Down
106 changes: 105 additions & 1 deletion src/main/java/com/xero/models/file/Association.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import io.swagger.annotations.ApiModelProperty;
import java.util.Objects;
import java.util.UUID;
import org.threeten.bp.OffsetDateTime;

/** Association */
public class Association {
Expand All @@ -30,6 +31,12 @@ public class Association {
@JsonProperty("Size")
private Integer size;

@JsonProperty("CreatedDateUtc")
private OffsetDateTime createdDateUtc;

@JsonProperty("AssociationDateUtc")
private OffsetDateTime associationDateUtc;

@JsonProperty("FileId")
private UUID fileId;

Expand Down Expand Up @@ -176,6 +183,90 @@ public void setSize(Integer size) {
this.size = size;
}

/**
* The date the file was created (UTC). Note- The CreatedDateUtc element is only returned when
* using /Associations/{ObjectId} endpoint.
*
* @param createdDateUtc OffsetDateTime
* @return Association
*/
public Association createdDateUtc(OffsetDateTime createdDateUtc) {
this.createdDateUtc = createdDateUtc;
return this;
}

/**
* The date the file was created (UTC). Note- The CreatedDateUtc element is only returned when
* using /Associations/{ObjectId} endpoint.
*
* @return createdDateUtc
*/
@ApiModelProperty(
value =
"The date the file was created (UTC). Note- The CreatedDateUtc element is only returned"
+ " when using /Associations/{ObjectId} endpoint.")
/**
* The date the file was created (UTC). Note- The CreatedDateUtc element is only returned when
* using /Associations/{ObjectId} endpoint.
*
* @return createdDateUtc OffsetDateTime
*/
public OffsetDateTime getCreatedDateUtc() {
return createdDateUtc;
}

/**
* The date the file was created (UTC). Note- The CreatedDateUtc element is only returned when
* using /Associations/{ObjectId} endpoint.
*
* @param createdDateUtc OffsetDateTime
*/
public void setCreatedDateUtc(OffsetDateTime createdDateUtc) {
this.createdDateUtc = createdDateUtc;
}

/**
* The date the file was associated with the object (UTC). Note- The AssociationDateUtc element is
* only returned when using /Associations/{ObjectId} endpoint.
*
* @param associationDateUtc OffsetDateTime
* @return Association
*/
public Association associationDateUtc(OffsetDateTime associationDateUtc) {
this.associationDateUtc = associationDateUtc;
return this;
}

/**
* The date the file was associated with the object (UTC). Note- The AssociationDateUtc element is
* only returned when using /Associations/{ObjectId} endpoint.
*
* @return associationDateUtc
*/
@ApiModelProperty(
value =
"The date the file was associated with the object (UTC). Note- The AssociationDateUtc"
+ " element is only returned when using /Associations/{ObjectId} endpoint.")
/**
* The date the file was associated with the object (UTC). Note- The AssociationDateUtc element is
* only returned when using /Associations/{ObjectId} endpoint.
*
* @return associationDateUtc OffsetDateTime
*/
public OffsetDateTime getAssociationDateUtc() {
return associationDateUtc;
}

/**
* The date the file was associated with the object (UTC). Note- The AssociationDateUtc element is
* only returned when using /Associations/{ObjectId} endpoint.
*
* @param associationDateUtc OffsetDateTime
*/
public void setAssociationDateUtc(OffsetDateTime associationDateUtc) {
this.associationDateUtc = associationDateUtc;
}

/**
* The unique identifier of the file
*
Expand Down Expand Up @@ -335,6 +426,8 @@ public boolean equals(java.lang.Object o) {
return Objects.equals(this.sendWithObject, association.sendWithObject)
&& Objects.equals(this.name, association.name)
&& Objects.equals(this.size, association.size)
&& Objects.equals(this.createdDateUtc, association.createdDateUtc)
&& Objects.equals(this.associationDateUtc, association.associationDateUtc)
&& Objects.equals(this.fileId, association.fileId)
&& Objects.equals(this.objectId, association.objectId)
&& Objects.equals(this.objectGroup, association.objectGroup)
Expand All @@ -343,7 +436,16 @@ public boolean equals(java.lang.Object o) {

@Override
public int hashCode() {
return Objects.hash(sendWithObject, name, size, fileId, objectId, objectGroup, objectType);
return Objects.hash(
sendWithObject,
name,
size,
createdDateUtc,
associationDateUtc,
fileId,
objectId,
objectGroup,
objectType);
}

@Override
Expand All @@ -353,6 +455,8 @@ public String toString() {
sb.append(" sendWithObject: ").append(toIndentedString(sendWithObject)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" size: ").append(toIndentedString(size)).append("\n");
sb.append(" createdDateUtc: ").append(toIndentedString(createdDateUtc)).append("\n");
sb.append(" associationDateUtc: ").append(toIndentedString(associationDateUtc)).append("\n");
sb.append(" fileId: ").append(toIndentedString(fileId)).append("\n");
sb.append(" objectId: ").append(toIndentedString(objectId)).append("\n");
sb.append(" objectGroup: ").append(toIndentedString(objectGroup)).append("\n");
Expand Down
Loading