Period

data class Period(val value: Int, val unit: Period.Unit, val iso8601: String) : Parcelable

Represents subscription or PricingPhase billing period

Constructors

Link copied to clipboard
constructor(value: Int, unit: Period.Unit, iso8601: String)

Types

Link copied to clipboard
object Factory
Link copied to clipboard

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

Link copied to clipboard

Specified in ISO 8601 format. For example, P1W equates to one week, P1M equates to one month, P3M equates to three months, P6M equates to six months, and P1Y equates to one year

Link copied to clipboard

The increment of time that a subscription period is specified in.

Link copied to clipboard
val value: Int

The number of period units.