UserUpdateDtoProperties

data class UserUpdateDtoProperties(status: String?, receiptAccountEmail: String?, firstName: String?, lastName: String?, defaultCurrency: String?, locale: String?)

Parameters

status

The status of the user's account. Can be either 'registered' or 'disabled'. NOTE! If you set a user's account as 'disabled', no API calls will be able to be made for that user - their access tokens will no longer work, including the one you may be using to make this API call.

receiptAccountEmail

The email address to the user's receipt account. This must be unique across all users registered with Sensibill, including both Sensibill accounts and third-party single-sign-on accounts. This will always be converted to a lower case value. This can only be set after registration if you client has been setup to indicate this parameter is optional during registration. The email address must use a permitted domain for your client. Note: the receiptAccountEmail can only be set once for a user.

firstName

The first name of the user.

lastName

The last name of the user.

defaultCurrency

Provides the default currency for the user. Must be an currency-code on the supported list of currencies, which can be obtained by going to /lookups/currencies

locale

Provides the locale for the user. Must be a supported value from the list of locale-codes, which can be obtained by going to /lookups/locales

Constructors

UserUpdateDtoProperties
Link copied to clipboard
fun UserUpdateDtoProperties(status: String? = null, receiptAccountEmail: String? = null, firstName: String? = null, lastName: String? = null, defaultCurrency: String? = null, locale: String? = null)
The status of the user's account.

Properties

defaultCurrency
Link copied to clipboard
@SerializedName(value = defaultCurrency)
val defaultCurrency: String? = null
Provides the default currency for the user.
firstName
Link copied to clipboard
@SerializedName(value = firstName)
val firstName: String? = null
The first name of the user.
lastName
Link copied to clipboard
@SerializedName(value = lastName)
val lastName: String? = null
The last name of the user.
locale
Link copied to clipboard
@SerializedName(value = locale)
val locale: String? = null
Provides the locale for the user.
receiptAccountEmail
Link copied to clipboard
@SerializedName(value = receiptAccountEmail)
val receiptAccountEmail: String? = null
The email address to the user's receipt account.
status
Link copied to clipboard
@SerializedName(value = status)
val status: String? = null
The status of the user's account.