Difference between revisions of "Freeside:4:Documentation:Developer/FS/payinfo transaction Mixin"

From Freeside
Jump to: navigation, search
(Edit via perl MediaWiki framework (1.13))
 
(No difference)

Latest revision as of 07:27, 18 November 2015

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