CommonRegistrationParameters

data class CommonRegistrationParameters(val receiptAccountEmail: String? = null, val firstName: String? = null, val lastName: String? = null, val defaultCurrency: String? = null, val folders: List<CommonRegistrationParametersFoldersInner>? = arrayListOf(), val createTestReceipts: Boolean? = null)

Parameters

receiptAccountEmail

The email address to the users 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. Your client can be set up based on whether this parameter is required during registration, or if it is optional so that it can be specified later.The email address must use a permitted domain for your client.

firstName

The first name of the user. It is strongly encouraged that this be set to provide a more personalized experience for users.

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

folders

Every element of the array should be an object with the folder's name, color (as six hex digits) and id.

createTestReceipts

Can be either \"true\" or \"false\". This parameter can be used by early integration partners during testing to create a number of ake testing receipts for the accounts they create.

Constructors

Link copied to clipboard
constructor(receiptAccountEmail: String? = null, firstName: String? = null, lastName: String? = null, defaultCurrency: String? = null, folders: List<CommonRegistrationParametersFoldersInner>? = arrayListOf(), createTestReceipts: Boolean? = null)

Properties

Link copied to clipboard
@SerializedName(value = "createTestReceipts")
val createTestReceipts: Boolean? = null
Link copied to clipboard
@SerializedName(value = "defaultCurrency")
val defaultCurrency: String? = null
Link copied to clipboard
@SerializedName(value = "firstName")
val firstName: String? = null
Link copied to clipboard
@SerializedName(value = "folders")
val folders: List<CommonRegistrationParametersFoldersInner>?
Link copied to clipboard
@SerializedName(value = "lastName")
val lastName: String? = null
Link copied to clipboard
@SerializedName(value = "receiptAccountEmail")
val receiptAccountEmail: String? = null