OfferTerm

sealed class OfferTerm

A term attached to an offer. Each element contains exactly one term type, such as a pricing term, legal term, or payment schedule term.

Inheritors

Types

Link copied to clipboard
data class ByolPricingTerm(val value: ByolPricingTerm) : OfferTerm

Defines a Bring Your Own License (BYOL) pricing term, where buyers use their existing license for the product.

Link copied to clipboard

Defines a configurable upfront pricing term with selectable rate cards, where buyers choose from predefined pricing configurations.

Link copied to clipboard

Defines a fixed upfront pricing term with a pre-paid amount and granted entitlements.

Link copied to clipboard

Defines a free trial pricing term that enables customers to try the product before purchasing.

Link copied to clipboard
data class LegalTerm(val value: LegalTerm) : OfferTerm

Defines a legal term containing documents proposed to buyers, such as EULAs and data subscription agreements.

Link copied to clipboard

Defines a payment schedule term with installment payments at specified dates.

Link copied to clipboard

Defines a recurring payment term with fixed charges at regular billing intervals.

Link copied to clipboard
data class RenewalTerm(val value: RenewalTerm) : OfferTerm

Defines a renewal term that enables automatic agreement renewal.

Link copied to clipboard
Link copied to clipboard
data class SupportTerm(val value: SupportTerm) : OfferTerm

Defines a support term that includes the refund policy for the offer.

Link copied to clipboard

Defines a usage-based pricing term (typically pay-as-you-go), where buyers are charged based on product usage.

Link copied to clipboard
data class ValidityTerm(val value: ValidityTerm) : OfferTerm

Defines a validity term that specifies the duration or date range of an agreement.

Link copied to clipboard

Defines a variable payment term with a maximum total charge amount.

Functions

Link copied to clipboard
Link copied to clipboard

Casts this OfferTerm as a LegalTerm and retrieves its aws.sdk.kotlin.services.marketplacediscovery.model.LegalTerm value. Throws an exception if the OfferTerm is not a LegalTerm.

Link copied to clipboard

Casts this OfferTerm as a LegalTerm and retrieves its aws.sdk.kotlin.services.marketplacediscovery.model.LegalTerm value. Returns null if the OfferTerm is not a LegalTerm.

Link copied to clipboard

Casts this OfferTerm as a RenewalTerm and retrieves its aws.sdk.kotlin.services.marketplacediscovery.model.RenewalTerm value. Throws an exception if the OfferTerm is not a RenewalTerm.

Link copied to clipboard
Link copied to clipboard

Casts this OfferTerm as a SupportTerm and retrieves its aws.sdk.kotlin.services.marketplacediscovery.model.SupportTerm value. Throws an exception if the OfferTerm is not a SupportTerm.

Link copied to clipboard
Link copied to clipboard

Casts this OfferTerm as a ValidityTerm and retrieves its aws.sdk.kotlin.services.marketplacediscovery.model.ValidityTerm value. Throws an exception if the OfferTerm is not a ValidityTerm.

Link copied to clipboard