Freeside:4:Documentation:Developer/FS/payinfo transaction Mixin
FS::payinfo_transaction_Mixin - Mixin class for records in tables that represent transactions.
package FS::some_table; use vars qw(@ISA); @ISA = qw( FS::payinfo_transaction_Mixin FS::Record );
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.
- Returns the parent customer object (see FS::cust_main).
- Returns a name for the payby field.
- Checks the validity of the realtime payment fields (gatewaynum, processor, auth, and order_number) as well as payby and payinfo