SessionStateUpdate

SessionStateUpdate

new SessionStateUpdate(menu_items, menu_tree, subscription_ids, complex_subscriptions, active_menu, active_item, total_price, total_price_text, model_id, model_group, group_id, serie, frame, image_filename, mask_filename, is_wrap, is_reversed, category, loan)

Source:
Parameters:
Name Type Description
menu_items Array.<spv.ds.MenuItem>
menu_tree spv.ds.MenuNode
subscription_ids Array.<string>
complex_subscriptions Array.<spv.ds.MenuItem>
active_menu string
active_item string
total_price spv.ds.DisplayPrice
total_price_text string
model_id string
model_group string
group_id string
serie number
frame number
image_filename string
mask_filename string
is_wrap boolean
is_reversed boolean
category string
loan null | spv.ds.Loan

Members

active_item :string

Source:
Type:
  • string

active_menu :string

Source:
Type:
  • string

category :string

Source:
Type:
  • string

complex_subscriptions :Array.<spv.ds.MenuItem>

Source:
Type:

frame :number

Source:
Type:
  • number

group_id :string

Source:
Type:
  • string

image_filename :string

Source:
Type:
  • string

is_reversed :boolean

Source:
Type:
  • boolean

is_wrap :boolean

Source:
Type:
  • boolean

loan :null|spv.ds.Loan

Source:
Type:

mask_filename :string

Source:
Type:
  • string
Source:
Type:

model_group :string

Source:
Type:
  • string

model_id :string

Source:
Type:
  • string

serie :number

Source:
Type:
  • number

subscription_ids :Array.<string>

Source:
Type:
  • Array.<string>

total_price :spv.ds.DisplayPrice

Please refer to the spv.ds.DisplayPrice documentation.

Source:
Type:

total_price_text :string

Deprecated:
  • Use the price {spv.ds.DisplayPrice} property instead.
Source:
Type:
  • string