Freeside:4:Documentation:Developer/FS/svc Domain Mixin

From Freeside
Jump to: navigation, search

NAME

FS::svc_Domain_Mixin - Mixin class for svc_classes with a domsvc field

SYNOPSIS

package FS::svc_table; use base qw( FS::svc_Domain_Mixin FS::svc_Common );

DESCRIPTION

This is a mixin class for svc_ classes that contain a domsvc field linking to a domain (see FS::svc_domain).

METHODS

domain [ END_TIMESTAMP [ START_TIMESTAMP ] ]
Returns the domain associated with this account.
END_TIMESTAMP and START_TIMESTAMP can optionally be passed when dealing with history records.
svc_domain
Returns the FS::svc_domain record for this account's domain (see FS::svc_domain).
domain_select_hash %OPTIONS
Object or class method.
Returns a hash SVCNUM => DOMAIN ... representing the domains this customer may at present purchase.
Currently available options are: pkgnum and svcpart.

BUGS

SEE ALSO

FS::svc_Common, FS::Record