Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PriceTier

A pricing tier identifier as applies to a download platform; maps to price_tier_type

Hierarchy

  • PriceTier

Index

Constructors

Properties

Methods

Constructors

constructor

  • Constructor for PriceTier objects. Takes all of the attributes as an object.

    Parameters

    • priceTier: Partial<PriceTier>

      An object containing all fields for the PriceTier.

    Returns PriceTier

Properties

name

name: string = 'Mid'

The price tier identifier. Use the iTunesPriceTier enum for easy access to valid iTunes price tiers. This also accepts strings for generic or new iTunes tiers.

type

type: string = 'iTunes'

The platform for which this tier applies, e.g. iTunes, Generic; maps to type

Methods

xml

  • xml(): string
  • Generates AudioSalad XML for the price tier.

    Returns string

    AudioSalad XML <price_tier> element

Generated using TypeDoc