SpendLimit

@Serializable
data class SpendLimit(val thresholdAmount: Long, val currency: String, val interval: String, val enforcement: SpendLimitEnforcement, val objectType: String)

A hard spend limit and its current enforcement state.

Constructors

Link copied to clipboard
constructor(thresholdAmount: Long, currency: String, interval: String, enforcement: SpendLimitEnforcement, objectType: String)

Properties

Link copied to clipboard

Threshold currency.

Link copied to clipboard

Whether this hard spend limit currently enforces requests.

Link copied to clipboard

Evaluation interval.

Link copied to clipboard
@SerialName(value = "object")
val objectType: String

Scope discriminator: organization.spend_limit or project.spend_limit.

Link copied to clipboard
@SerialName(value = "threshold_amount")
val thresholdAmount: Long

Hard limit amount, in cents.