Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Give_Payment
recalculate_total
Give_Payment::recalculate_total PHP Method
Give_Payment Class Documentation
Datei anzeigen
Open project: wordimpress/give
recalculate_total()
private
method
Set or update the total for a payment.
Since:
1.0
private
recalculate_total
( ) :
void
return
void
private function recalculate_total() { $this->total = $this->subtotal + $this->fees_total; }
Give_Payment
__construct
__get
__isset
__set
add_donation
add_fee
add_note
array_convert
decrease_fees
decrease_subtotal
delete_sales_logs
get_address
get_completed_date
get_currency
get_customer_id
get_email
get_fees
get_form_id
get_gateway
get_ip
get_key
get_meta
get_number
get_subtotal
get_transaction_id
get_user_id
get_user_info
increase_fees
increase_subtotal
insert_payment
maybe_alter_stats
process_cancelled
process_failure
process_pending
process_refund
process_revoked
recalculate_total
refund
remove_donation
remove_fee
remove_fee_by
save
setup_address
setup_completed_date
setup_currency
setup_customer_id
setup_email
setup_fees
setup_fees_total
setup_form_id
setup_form_title
setup_gateway
setup_ip
setup_mode
setup_payment
setup_payment_key
setup_payment_number
setup_price_id
setup_subtotal
setup_total
setup_transaction_id
setup_user_id
setup_user_info
update_meta
update_payment_setup
update_status