% include( '/elements/header.html', 'Developer Documentation' ) %> <& /elements/menubar.html, 'Freeside Perl Modules' => $fsurl.'docs/library/FS.html', 'Complete Index' => $fsurl.'docs/library/index.html', &>
FS::cust_main::Location - Location-related methods for cust_main
These methods are available on FS::cust_main objects;
Returns an FS::cust_location object for the customer's billing address.
Returns an FS::cust_location object for the customer's service address.
An alternative way of saying "bill_location or ship_location, depending on if TYPE is 'bill' or 'ship'".
Returns a list of fields found in the location objects. All of these fields can be read (but not written) by calling them as methods on the FS::cust_main object (prefixed with 'ship_' for the service address fields).