• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Easy Digital Downloads a2z

Easy Digital Downloads a2z

Easy Digital Downloads a2z

  • Home
  • Plugins
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / Files / includes/payments/class-edd-payment.php


Lines:

1 to 100 of 101
<?php

/**
 * Payments
 *
 * This class is for working with payments in EDD.
 *
 * @package     EDD
 * @subpackage  Classes/Payment
 * @copyright   Copyright (c) 2014, Pippin Williamson
 * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
 * @since       2.5
 */


// Exit if accessed directly
if( ! defined( 'ABSPATH' ) ) exit;


/* class EDD_Payment */
/* function EDD_Payment::__construct() – Setup the EDD Payments class */
/* function EDD_Payment::__get() – Magic GET function */
/* function EDD_Payment::__set() – Magic SET function */
/* function EDD_Payment::__isset() – Magic ISSET function, which allows empty checks on protected elements */
/* function EDD_Payment::setup_payment() – Setup payment properties */
/* function EDD_Payment::insert_payment() – Create the base of a payment. */
/* function EDD_Payment::save() – One items have been set, an update is needed to save them to the database. */
/* function EDD_Payment::add_download() – Add a download to a given payment */
/* function EDD_Payment::remove_download() – Remove a download from the payment */
/* function EDD_Payment::modify_cart_item() – Alter a limited set of properties of a cart item */
/* function EDD_Payment::add_fee() – Add a fee to a given payment */
/* function EDD_Payment::remove_fee() – Remove a fee from the payment */
/* function EDD_Payment::remove_fee_by() – Remove a fee by the defined attributed */
/* function EDD_Payment::get_fees() – Get the fees, filterable by type */
/* function EDD_Payment::add_note() – Add a note to a payment */
/* function EDD_Payment::increase_subtotal() – Increase the payment’s subtotal */
/* function EDD_Payment::decrease_subtotal() – Decrease the payment’s subtotal */
/* function EDD_Payment::increase_fees() – Increase the payment’s subtotal */
/* function EDD_Payment::decrease_fees() – Decrease the payment’s subtotal */
/* function EDD_Payment::recalculate_total() – Set or update the total for a payment */
/* function EDD_Payment::increase_tax() – Increase the payment’s tax by the provided amount */
/* function EDD_Payment::decrease_tax() – Decrease the payment’s tax by the provided amount */
/* function EDD_Payment::update_status() – Set the payment status and run any status specific changes necessary */
/* function EDD_Payment::refund() – Change the status of the payment to refunded, and run the necessary changes */
/* function EDD_Payment::get_meta() – Get a post meta item for the payment */
/* function EDD_Payment::update_meta() – Update the post meta */
/* function EDD_Payment::add_meta() – Add an item to the payment meta */
/* function EDD_Payment::delete_meta() – Delete an item from payment meta */
/* function EDD_Payment::is_recoverable() – Determines if this payment is able to be resumed by the user. */
/* function EDD_Payment::get_recovery_url() – Returns the URL that a customer can use to resume a payment, or false if it’s not recoverable. */
/* function EDD_Payment::process_refund() – When a payment is set to a status of ‘refunded’ process the necessary actions to reduce stats */
/* function EDD_Payment::process_failure() – Process when a payment is set to failed, decrement discount usages and other stats */
/* function EDD_Payment::process_pending() – Process when a payment moves to pending */
/* function EDD_Payment::maybe_alter_stats() – Used during the process of moving to refunded or pending, to decrement stats */
/* function EDD_Payment::delete_sales_logs() – Delete sales logs for this purchase */
/* function EDD_Payment::setup_completed_date() – Setup the payment completed date */
/* function EDD_Payment::setup_mode() – Setup the payment mode */
/* function EDD_Payment::setup_total() – Setup the payment total */
/* function EDD_Payment::setup_tax() – Setup the payment tax */
/* function EDD_Payment::setup_tax_rate() – Setup the payment tax rate */
/* function EDD_Payment::setup_fees_total() – Setup the payment fees */
/* function EDD_Payment::setup_subtotal() – Setup the payment subtotal */
/* function EDD_Payment::setup_discounts() – Setup the payments discount codes */
/* function EDD_Payment::setup_currency() – Setup the currency code */
/* function EDD_Payment::setup_fees() – Setup any fees associated with the payment */
/* function EDD_Payment::setup_gateway() – Setup the gateway used for the payment */
/* function EDD_Payment::setup_transaction_id() – Setup the transaction ID */
/* function EDD_Payment::setup_ip() – Setup the IP Address for the payment */
/* function EDD_Payment::setup_customer_id() – Setup the customer ID */
/* function EDD_Payment::setup_user_id() – Setup the User ID associated with the purchase */
/* function EDD_Payment::setup_email() – Setup the email address for the purchase */
/* function EDD_Payment::setup_user_info() – Setup the user info */
/* function EDD_Payment::setup_address() – Setup the Address for the payment */
/* function EDD_Payment::setup_payment_key() – Setup the payment key */
/* function EDD_Payment::setup_payment_number() – Setup the payment number */
/* function EDD_Payment::setup_cart_details() – Setup the cart details */
/* function EDD_Payment::setup_downloads() – Setup the downloads array */
/* function EDD_Payment::setup_has_unlimited() – Setup the Unlimited downloads setting */
/* function EDD_Payment::array_convert() – Converts this ojbect into an array for special cases */
/* function EDD_Payment::get_cart_details() – Retrieve payment cart details */
/* function EDD_Payment::get_completed_date() – Retrieve payment completion date */
/* function EDD_Payment::get_tax() – Retrieve payment tax */
/* function EDD_Payment::get_subtotal() – Retrieve payment subtotal */
/* function EDD_Payment::get_discounts() – Retrieve payment discounts */
/* function EDD_Payment::get_discounted_amount() – Return the discounted amount of the payment. */
/* function EDD_Payment::get_currency() – Retrieve payment currency */
/* function EDD_Payment::get_gateway() – Retrieve payment gateway */
/* function EDD_Payment::get_transaction_id() – Retrieve payment transaction ID */
/* function EDD_Payment::get_ip() – Retrieve payment IP */
/* function EDD_Payment::get_customer_id() – Retrieve payment customer ID */
/* function EDD_Payment::get_user_id() – Retrieve payment user ID */
/* function EDD_Payment::get_email() – Retrieve payment email */
/* function EDD_Payment::get_user_info() – Retrieve payment user info */
/* function EDD_Payment::get_address() – Retrieve payment billing address */
/* function EDD_Payment::get_key() – Retrieve payment key */
/* function EDD_Payment::get_number() – Retrieve payment number */
/* function EDD_Payment::get_downloads() – Retrieve downloads on payment */
/* function EDD_Payment::get_unlimited() – Retrieve unlimited file downloads status */
/* function EDD_Payment::in_process() – Easily determine if the payment is in a status of pending some action. Processing is specifically used for eChecks. */
/* function EDD_Payment::maybe_create_customer() – Determines if a customer needs to be created given the current payment details. */
[1] [2] Next »

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      File name: includes/payments/class-edd-payment.php
      Plugin ref: Easy Digital Downloads
      Version: 2.11.6
      Deprecated?: No
      API Letters: C,E,I,P

      Published: 26th November 2019 | Last updated: 13th March 2021

      Primary Sidebar

      Information

      File name: includes/payments/class-edd-payment.php
      Plugin ref: Easy Digital Downloads
      Version: 2.11.6
      Deprecated?: No
      API Letters: C,E,I,P

      includes/payments

      Footer

      Easy Digital Downloads a2z
      Easy Digital Downloads a2z
      Easy Digital Downloads a2z
      WordPress 5.9.3
      WordPress a2z
      WordPress core a2z
      Genesis Theme Framework a2z
      Jetpack a2z
      WordPress develop tests
      Easy Digital Downloads a2z
      WooCommerce a2z
      Yoast SEO a2z
      WordPress Blocks

      Site:  edd.wp-a2z.org
      © Copyright Easy Digital Downloads a2z 2014-2022. All rights reserved.


      Website designed and developed by Herb Miller
      Proudly powered by WordPress and oik plugins

      • Home
      • Blog
      • Sitemap
      • Sites