EditDocumentMerchantDto

data class EditDocumentMerchantDto(val merchantName: String? = null, val taxIdNumber: String? = null, val categoryCode: String? = null)

If the merchantName is empty or null, the whole merchant data structure will be unset.

Parameters

merchantName

The name of the merchant. When this property is set in a PATCH request, the categoryCode might be updated automatically.

taxIdNumber

The tax number for this merchant.

categoryCode

The category this merchant belongs to. Use the endpoint /lookups/receiptcategories for a list of valid categories.

Constructors

Link copied to clipboard
constructor(merchantName: String? = null, taxIdNumber: String? = null, categoryCode: String? = null)

Properties

Link copied to clipboard
@SerializedName(value = "categoryCode")
val categoryCode: String? = null
Link copied to clipboard
@SerializedName(value = "merchantName")
val merchantName: String? = null
Link copied to clipboard
@SerializedName(value = "taxIdNumber")
val taxIdNumber: String? = null