UCloud Developer Guide / Accounting and Project Management / Accounting / Accounting
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
String
provider
: String
String
productType
: ProductType
ProductType
accountingUnit
: AccountingUnit
AccountingUnit
accountingFrequency
: AccountingFrequency
AccountingFrequency
conversionTable
: List<AccountingUnitConversion>?
List<AccountingUnitConversion>?
freeToUse
: Boolean?
Indicates that a Wallet is not required to use this Product category
Boolean?
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.