% 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::payby - Object methods for payment type records
use FS::payby;
#for now...
my @payby = FS::payby->payby;
my $bool = FS::payby->can_payby('cust_main', 'CARD');
tie my %payby, 'Tie::IxHash', FS::payby->payby2longname
my @cust_payby = FS::payby->cust_payby;
tie my %payby, 'Tie::IxHash', FS::payby->cust_payby2longname
Payment types.
Returns all values of payby that can be used by payments.
Returns hash, keys are "payment_payby" types, values are payby longname.
Returns hash, keys are "payment_payby" types, values are payby payname.
This should eventually be an actual database table, and all tables that currently have a char payby field should have a foreign key into here instead.
Hey! The above document had some coding errors, which are explained below:
Expected '=item *'
Expected '=item *'
Expected '=item *'