IQnection\FormBuilderPayments\Extensions\PaymentField

Synopsis

class PaymentField extends DataExtension {
  • // constants
  • const AMOUNT_TYPE_FIXED = 'Fixed Amount';
  • const AMOUNT_TYPE_USER = 'User Defined';
}

Hierarchy

Extends

  • SilverStripe\ORM\DataExtension

Constants

Name Value
AMOUNT_TYPE_FIXED 'Fixed Amount'
AMOUNT_TYPE_USER 'User Defined'

Members

private

  • $db
  • $defaults
  • $payment_class
    set the data object class to save the payment transaction into
  • $payment_processor
    Set the class that will be called to process the payment the method "Process" must be declared in this class
  • $submission_value_class

protected

  • $_adjustmentsLog
  • $_chargeAmount

Methods