transformOption(option) {
    _.set(option, 'quantity', 0);
    _.set(option, 'price', option.prices[0].price.value);
    _.set(option, 'priceText', option.prices[0].price.text);
    _.set(option, 'type', this.$translate.instant(`${option.planCode}-type`));
    _.set(option, 'detail', this.$translate.instant(`${option.planCode}-detail`));
  }
/**
   * returns the transformed option. Meant to be used for the available options
   *
   * @param {any} option
   * @returns the transformed option
   * @memberof LogsOptionsService
   */
returns the transformed option. Meant to be used for the available options
@param {any} option
@returns the transformed option
@memberof LogsOptionsService
returns the transformed option . Meant to be used for the available options @param { any } option @returns the transformed option @memberof LogsOptionsService
transformOption(option) {
    _.set(option, 'quantity', 0);
    _.set(option, 'price', option.prices[0].price.value);
    _.set(option, 'priceText', option.prices[0].price.text);
    _.set(option, 'type', this.$translate.instant(`${option.planCode}-type`));
    _.set(option, 'detail', this.$translate.instant(`${option.planCode}-detail`));
  }
transformOption ( option ) { _ . set ( option , 'quantity' , 0 ) ; _ . set ( option , 'price' , option . prices [ 0 ] . price . value ) ; _ . set ( option , 'priceText' , option . prices [ 0 ] . price . text ) ; _ . set ( option , 'type' , this . $translate . instant ( ` ${ option . planCode } ` ) ) ; _ . set ( option , 'detail' , this . $translate . instant ( ` ${ option . planCode } ` ) ) ; }
returns the transformed option.
returns the transformed option .