class Supplier:
    def __init__(
        self,
        city,
        contact_firstname,
        contact_lastname,
        contact_title,
        country,
        email,
        notes,
        phone,
        postcode,
        state,
        street_address,
        supplier_id,
        supplier_name,
    ):
        print("Initialiser called")
        self.city = city
        self.contact_firstname = contact_firstname
        self.contact_lastname = contact_lastname
        self.contact_title = contact_title
        self.country = country
        self.email = email
        self.notes = notes
        self.phone = phone
        self.postcode = postcode
        self.state = state
        self.street_address = street_address
        self.supplier_id = supplier_id
        self.supplier_name = supplier_name

    def get_state(self):
        return "The state is {} and the postcode is {}".format(self.state, self.postcode)
        
    def set_postcode(self, postcode):
    	self.postcode = postcode


# 2. Instantiate the class
Supplier_105 = Supplier(
    "Port Bradley",
    "Brittany",
    "Costa",
    "Mrs",
    "Australia",
    "brittany8706.costa@gmail.com",
    "",
    "(08) 6939 8022",
    "3880",
    "Costa",
    "6/81 Heather Rosebowl",
    "105",
    "Rodriguez, Carter and Johnson",
)
print(Supplier_105.supplier_name)

# 3. Call its methods here
print(Supplier_105.get_state())

Supplier_105.set_postcode('4980')

print(Supplier_105.get_state())

