Difference between revisions of "Freeside:3:Documentation:Developer/FS/state"

From Freeside
Jump to: navigation, search
(Edit via perl MediaWiki framework (1.13))
 
(No difference)

Latest revision as of 05:41, 10 February 2015

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

FS::Record

POD ERRORS

Hey! The above document had some coding errors, which are explained below:

Around line 75:
=back without =over