Freeside:4:Documentation:Developer/FS/state
From Freeside
Contents
[hide]NAME
FS::state - Object methods for state/province records
SYNOPSIS
use FS::state;
$record = new FS::state \%hash;
$record = new FS::state { 'column' => 'value' };
$error = $record->insert;
$error = $new_record->replace($old_record);
$error = $record->delete;
$error = $record->check;
DESCRIPTION
An FS::state object represents a state, province, or other top-level subdivision of a sovereign nation. FS::state inherits from FS::Record. The following fields are currently supported:
- statenum
- primary key
- country
- two-letter country code
- state
- state code/abbreviation/name (as used in cust_location.state)
- fips
- FIPS 10-4 code (not including country code)
METHODS
BUGS
SEE ALSO
POD ERRORS
Hey! The above document had some coding errors, which are explained below:
- Around line 75:
- =back without =over