Package com.xero.models.identity
Class Connection
java.lang.Object
com.xero.models.identity.Connection
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthEventId(UUID authEventId) Identifier shared across connections authorised at the same timecreatedDateUtc(org.threeten.bp.LocalDateTime createdDateUtc) The date when the user connected this tenant to your appbooleanIdentifier shared across connections authorised at the same timeorg.threeten.bp.LocalDateTimeThe date when the user connected this tenant to your appgetId()Xero identifierXero identifier of organisationXero tenant nameXero tenant type (i.e.org.threeten.bp.LocalDateTimeThe date when the user most recently connected this tenant to your app.inthashCode()Xero identifiervoidsetAuthEventId(UUID authEventId) Identifier shared across connections authorised at the same timevoidsetCreatedDateUtc(org.threeten.bp.LocalDateTime createdDateUtc) The date when the user connected this tenant to your appvoidXero identifiervoidsetTenantId(UUID tenantId) Xero identifier of organisationvoidsetTenantName(String tenantName) Xero tenant namevoidsetTenantType(String tenantType) Xero tenant type (i.e.voidsetUpdatedDateUtc(org.threeten.bp.LocalDateTime updatedDateUtc) The date when the user most recently connected this tenant to your app.Xero identifier of organisationtenantName(String tenantName) Xero tenant nametenantType(String tenantType) Xero tenant type (i.e.toString()updatedDateUtc(org.threeten.bp.LocalDateTime updatedDateUtc) The date when the user most recently connected this tenant to your app.
-
Constructor Details
-
Connection
public Connection()
-
-
Method Details
-
id
-
getId
-
setId
-
tenantId
Xero identifier of organisation- Parameters:
tenantId- UUID- Returns:
- Connection
-
getTenantId
-
setTenantId
-
authEventId
Identifier shared across connections authorised at the same time- Parameters:
authEventId- UUID- Returns:
- Connection
-
getAuthEventId
Identifier shared across connections authorised at the same time- Returns:
- authEventId
-
setAuthEventId
Identifier shared across connections authorised at the same time- Parameters:
authEventId- UUID
-
tenantType
Xero tenant type (i.e. ORGANISATION, PRACTICE)- Parameters:
tenantType- String- Returns:
- Connection
-
getTenantType
-
setTenantType
Xero tenant type (i.e. ORGANISATION, PRACTICE)- Parameters:
tenantType- String
-
tenantName
Xero tenant name- Parameters:
tenantName- String- Returns:
- Connection
-
getTenantName
-
setTenantName
-
createdDateUtc
The date when the user connected this tenant to your app- Parameters:
createdDateUtc- LocalDateTime- Returns:
- Connection
-
getCreatedDateUtc
public org.threeten.bp.LocalDateTime getCreatedDateUtc()The date when the user connected this tenant to your app- Returns:
- createdDateUtc
-
setCreatedDateUtc
public void setCreatedDateUtc(org.threeten.bp.LocalDateTime createdDateUtc) The date when the user connected this tenant to your app- Parameters:
createdDateUtc- LocalDateTime
-
updatedDateUtc
The date when the user most recently connected this tenant to your app. May differ to the created date if the user has disconnected and subsequently reconnected this tenant to your app.- Parameters:
updatedDateUtc- LocalDateTime- Returns:
- Connection
-
getUpdatedDateUtc
public org.threeten.bp.LocalDateTime getUpdatedDateUtc()The date when the user most recently connected this tenant to your app. May differ to the created date if the user has disconnected and subsequently reconnected this tenant to your app.- Returns:
- updatedDateUtc
-
setUpdatedDateUtc
public void setUpdatedDateUtc(org.threeten.bp.LocalDateTime updatedDateUtc) The date when the user most recently connected this tenant to your app. May differ to the created date if the user has disconnected and subsequently reconnected this tenant to your app.- Parameters:
updatedDateUtc- LocalDateTime
-
equals
-
hashCode
-
toString
-