Freeside:3:Documentation:Developer/FS/payinfo transaction Mixin

From Freeside
< Freeside:3:Documentation:Developer‎ | FS
Revision as of 13:37, 27 June 2014 by Jeremyd (talk | contribs) (Edit via perl MediaWiki framework (1.13))

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

NAME

FS::payinfo_transaction_Mixin - Mixin class for records in tables that represent transactions.

SYNOPSIS

package FS::some_table; use vars qw(@ISA); @ISA = qw( FS::payinfo_transaction_Mixin FS::Record );

DESCRIPTION

This is a mixin class for records that represent transactions: that contain payinfo and realtime result fields (gatewaynum, processor, authorization, order_number). Currently FS::cust_pay, FS::cust_refund, and FS::cust_pay_void.

METHODS

cust_main
Returns the parent customer object (see FS::cust_main).
payby_name
Returns a name for the payby field.
payinfo_check
Checks the validity of the realtime payment fields (gatewaynum, processor, auth, and order_number) as well as payby and payinfo

SEE ALSO

FS::payinfo_Mixin