Difference between revisions of "Freeside:3:Documentation:Developer/FS/payinfo transaction Mixin"
From Freeside
m (Edit via perl MediaWiki framework (1.13)) |
m (Edit via perl MediaWiki framework (1.13)) |
||
Line 6: | Line 6: | ||
==DESCRIPTION== | ==DESCRIPTION== | ||
− | This is a mixin class for records that represent transactions: that contain payinfo and | + | 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== | ==METHODS== | ||
Line 13: | Line 13: | ||
; payby_name | ; payby_name | ||
:Returns a name for the payby field. | :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== | ==SEE ALSO== | ||
[[Freeside:3:Documentation:Developer/FS/payinfo Mixin|FS::payinfo_Mixin]] | [[Freeside:3:Documentation:Developer/FS/payinfo Mixin|FS::payinfo_Mixin]] |
Latest revision as of 13:37, 27 June 2014
Contents
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