state property

String? state
getter/setter pair

The state of the line item.

Output only. Possible string values are:

  • "LINE_ITEM_STATE_UNSPECIFIED" : Unspecified state.
  • "LINE_ITEM_STATE_ACTIVE" : The line item is in ACTIVE state. If the subscription is cancelled or suspended, the line item will not be charged even if the line item is active.
  • "LINE_ITEM_STATE_INACTIVE" : The line item is in INACTIVE state.
  • "LINE_ITEM_STATE_NEW" : The line item is new, and is not activated or charged yet.
  • "LINE_ITEM_STATE_ACTIVATING" : The line item is being activated in order to be charged. If a free trial applies to the line item, the line item is pending a prorated charge at the end of the free trial period, as indicated by line_item_free_trial_end_time.
  • "LINE_ITEM_STATE_DEACTIVATING" : The line item is being deactivated, and a prorated refund in being processed.
  • "LINE_ITEM_STATE_WAITING_TO_DEACTIVATE" : The line item is scheduled to be deactivated at the end of the current cycle.
  • "LINE_ITEM_STATE_OFF_CYCLE_CHARGING" : Line item is being charged off-cycle.

Implementation

core.String? state;