Skip to content

Latest commit

 

History

History
110 lines (56 loc) · 2.38 KB

dk.sdu.cloud.accounting.api.ProductCategory.md

File metadata and controls

110 lines (56 loc) · 2.38 KB

UCloud Developer Guide / Accounting and Project Management / Accounting / Accounting

ProductCategory

API: Internal/Beta

data class ProductCategory(
    val name: String,
    val provider: String,
    val productType: ProductType,
    val accountingUnit: AccountingUnit,
    val accountingFrequency: AccountingFrequency,
    val conversionTable: List<AccountingUnitConversion>?,
    val freeToUse: Boolean?,
)
Properties
name: String
provider: String
productType: ProductType
accountingUnit: AccountingUnit
accountingFrequency: AccountingFrequency
conversionTable: List<AccountingUnitConversion>?
freeToUse: Boolean? Indicates that a Wallet is not required to use this Product category

Under normal circumstances, a Wallet is always required. This is required even if a Product has a pricePerUnit of 0. If freeToUse = true then the Wallet requirement is dropped.