Promotion

class Promotion

Contains information on a promotion. A promotion defines additional business rules that apply to a configurable subset of recommended items.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The Amazon Resource Name (ARN) of the filter used by the promotion. This filter defines the criteria for promoted items. For more information, see Promotion filters.

Link copied to clipboard

The values to use when promoting items. For each placeholder parameter in your promotion's filter expression, provide the parameter name (in matching case) as a key and the filter value(s) as the corresponding value. Separate multiple values for one parameter with a comma.

Link copied to clipboard
val name: String?

The name of the promotion.

Link copied to clipboard

The percentage of recommended items to apply the promotion to.

Functions

Link copied to clipboard
inline fun copy(block: Promotion.Builder.() -> Unit = {}): Promotion
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String