code: def to_array(self):
          
          array = super(ShippingAddress, self).to_array()
          array['country_code'] = u(self.country_code)  # py2: type unicode, py3: type str
          array['state'] = u(self.state)  # py2: type unicode, py3: type str
          array['city'] = u(self.city)  # py2: type unicode, py3: type str
          array['street_line1'] = u(self.street_line1)  # py2: type unicode, py3: type str
          array['street_line2'] = u(self.street_line2)  # py2: type unicode, py3: type str
          array['post_code'] = u(self.post_code)  # py2: type unicode, py3: type str
          return array
docs: Serializes this ShippingAddress to a dictionary.
  
          :return: dictionary representation of this object.
          :rtype: dict