1 from PLC.Faults import *
2 from PLC.Parameter import Parameter
3 from PLC.Table import Row, Table
7 Representation of a row in the addresses table. To use, instantiate
12 'address_id': Parameter(int, "Address type"),
13 'address_type_ids': Parameter([int], "Address type identifiers"),
14 'address_types': Parameter([str], "Address type names"),
15 'line1': Parameter(str, "Address line 1"),
16 'line2': Parameter(str, "Address line 2"),
17 'line3': Parameter(str, "Address line 3"),
18 'city': Parameter(str, "City"),
19 'state': Parameter(str, "State or province"),
20 'postalcode': Parameter(str, "Postal code"),
21 'country': Parameter(str, "Country"),
24 def __init__(self, api, fields):
28 def sync(self, commit = True):
32 def delete(self, commit = True):
36 class Addresses(Table):
38 Representation of row(s) from the addresses table in the
42 def __init__(self, api, address_id_list = None):