grom/subscription

Types

pub type Status {
  Active
  Ending
  Inactive
}

Constructors

  • Active
  • Ending
  • Inactive
pub type Subscription {
  Subscription(
    id: String,
    user_id: String,
    sku_ids: List(String),
    entitlement_ids: List(String),
    renewal_sku_ids: List(String),
    current_period_start: timestamp.Timestamp,
    current_period_end: timestamp.Timestamp,
    status: Status,
    canceled_at: option.Option(timestamp.Timestamp),
    country: option.Option(String),
  )
}

Constructors

Search Document