code: def to_array(self):
          
          array = super(OrderInfo, self).to_array()
          if self.name is not None:
              array['name'] = u(self.name)  # py2: type unicode, py3: type str
          if self.phone_number is not None:
              array['phone_number'] = u(self.phone_number)  # py2: type unicode, py3: type str
          if self.email is not None:
              array['email'] = u(self.email)  # py2: type unicode, py3: type str
          if self.shipping_address is not None:
              array['shipping_address'] = self.shipping_address.to_array()  # type ShippingAddress
          return array
docs: Serializes this OrderInfo to a dictionary.
  
          :return: dictionary representation of this object.
          :rtype: dict