This class represents assets with one or more reservation type items.

Static methods

staticget(id:String):Subscription

Returns:

The Subscription with the given id, or null if it was not found.

staticlist(filters:Query):Collection<Subscription>

Lists all subscription assets that match the given filters. Supported filters are:

  • status
  • events.created.at
  • events.created.at
  • billing.period.uom
  • billing.next_date
  • external_id
  • external_uid
  • product.id
  • product.name
  • connection.id
  • connection.type
  • connection.provider.id
  • connection.provider.name
  • connection.vendor.id
  • connection.vendor.name
  • connection.hub.id
  • connection.hub.name
  • marketplace.id
  • marketplace.name
  • tiers.customer.id
  • tiers.tier1.id
  • tiers.tier2.id

Returns:

A Collection of Subscriptions.

Constructor

new()

Variables

Inherited Variables

Defined by IdModel

id:String

Id of the model.

Inherited Methods

Defined by Model

toObject():Dynamic

Returns:

A Haxe dynamic object with a shallow copy of this model's properties.

toString():String

Returns:

A String with the JSON representation of this Model.