code: def to_array(self):
          
          array = super(ShippingOption, self).to_array()
          array['id'] = u(self.id)  # py2: type unicode, py3: type str
  
          array['title'] = u(self.title)  # py2: type unicode, py3: type str
  
          array['prices'] = self._as_array(self.prices)  # type list of LabeledPrice
  
          return array
docs: Serializes this ShippingOption to a dictionary.
  
          :return: dictionary representation of this object.
          :rtype: dict