You are here

class PaymentLineItemInfo in Payment 7

Information about a line item type.

Hierarchy

Expanded class hierarchy of PaymentLineItemInfo

File

./payment.classes.inc, line 1195
The API and related functions for executing and managing payments.

View source
class PaymentLineItemInfo extends PaymentCommon {

  /**
   * The callback function to get this line item from the Payment.
   *
   * The function accepts the machine name of the line item to get and the
   * Payment object to get it from as parameters. It should return an array,
   * optionally filled with PaymentLineItem objects.
   *
   * @see Payment::getLineItems()
   * @see payment_line_item_get_all()
   *
   * @var string
   */
  public $callback = 'payment_line_item_get_specific';

  /**
   * The unique (for this payment) machine name.
   *
   * @var string
   */
  public $name = '';

  /**
   * The human-readable plain text title.
   *
   * @var string
   */
  public $title = '';

}

Members

Namesort descending Modifiers Type Description Overrides
PaymentCommon::__construct function 2
PaymentLineItemInfo::$callback public property The callback function to get this line item from the Payment.
PaymentLineItemInfo::$name public property The unique (for this payment) machine name.
PaymentLineItemInfo::$title public property The human-readable plain text title.