• LifterLMS
  • Knowledge Base
  • Academy
  • Blog
  • Podcast
  • Contributors

LifterLMS LifterLMS

Code Reference

  • Home
  • Code Reference
Skip to content
Filter by type:
Search
Browse: Home / Code Reference / includes/models/model.llms.transaction.php

LLMS_Transaction::get_net_amount()

Method: Get the total amount of the transaction after deducting refunds

Source: includes/models/model.llms.transaction.php:98

Used by 0 functions | Uses 1 function

LLMS_Transaction::get_order()

Method: Retrieve an instance of LLMS_Order for the transaction’s parent order

Source: includes/models/model.llms.transaction.php:110

Used by 1 function | Uses 0 functions

LLMS_Transaction::get_gateway()

Method: Retrieve the payment gateway instance for the transactions payment gateway

Source: includes/models/model.llms.transaction.php:120

Used by 1 function | Uses 1 function

LLMS_Transaction::get_property_type()

Method: Get a property’s data type for scrubbing used by $this->scrub() to determine how to scrub the property

Source: includes/models/model.llms.transaction.php:137

Used by 0 functions | Uses 0 functions

LLMS_Transaction::process_refund()

Method: Process a Refund Called from the admin panel by clicking a refund (manual or gateway) button

Source: includes/models/model.llms.transaction.php:185

Used by 0 functions | Uses 6 functions

llms_{$method}_refund_id

Filter Hook: Allow custom refund methods for fancy developer folk

Source: includes/models/model.llms.transaction.php:230

Used by 1 function | Uses 0 functions

LLMS_Transaction::translate()

Method: Wrapper for $this-get() which allows translation of the database value before outputting on screen

Source: includes/models/model.llms.transaction.php:295

Used by 0 functions | Uses 0 functions

LLMS_Transaction

Class: LLMS_Transaction model.

Source: includes/models/model.llms.transaction.php:30

Used by 0 functions | Uses 1 function

LLMS_Transaction::can_be_refunded()

Method: Determine if the transaction can be refunded Status must not be “failed” and total refunded amount must be less than order amount

Source: includes/models/model.llms.transaction.php:42

Used by 1 function | Uses 1 function

LLMS_Transaction::get_refundable_amount()

Method: Get the amount of the transaction that can be refunded

Source: includes/models/model.llms.transaction.php:60

Used by 2 functions | Uses 0 functions
1 2 Next »
© 2014 - 2019 LifterLMS · Privacy Policy · Terms and Conditions