Freeside:1.9:Documentation:Developer/FS/payby

From Freeside
< Freeside:1.9:Documentation:Developer‎ | FS
Revision as of 16:50, 3 October 2007 by Ivan (talk | contribs) (import from POD)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

NAME

FS::payby - Object methods for payment type records

SYNOPSIS

 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

DESCRIPTION

Payment types.

METHODS

BUGS

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.

SEE ALSO