View_Order implements Registerable, Service
Handles display of VAT info on the Order details in the admin.
Tags
Interfaces, Classes and Traits
- Registerable
 - Service
 
Table of Contents
- $template_path : mixed
 - __construct() : mixed
 - Constructor
 - add_order_details_section() : array<string|int, mixed>
 - Adds a section to the new Order Details metabox
 - call_vat_template() : mixed
 - Calls the old template into the new order details section (EDD 3.0)
 - register() : mixed
 - {@inheritdoc}
 - updated_edited_purchase() : mixed
 - Easy Digital Downloads updated edited purchase.
 - view_order_details_billing_after() : mixed
 - View order details billing after.
 
Properties
$template_path
    private
        mixed
    $template_path
    
        
        
    
Methods
__construct()
Constructor
    public
                __construct(string $template_path) : mixed
    
        Parameters
- $template_path : string
 
Return values
mixed —add_order_details_section()
Adds a section to the new Order Details metabox
    public
                add_order_details_section(mixed $sections) : array<string|int, mixed>
    
        Parameters
- $sections : mixed
 
Return values
array<string|int, mixed> —$sections
call_vat_template()
Calls the old template into the new order details section (EDD 3.0)
    public
                call_vat_template(mixed $order) : mixed
    
        Parameters
- $order : mixed
 
Return values
mixed —register()
{@inheritdoc}
    public
                register() : mixed
    
    
    
        Return values
mixed —updated_edited_purchase()
Easy Digital Downloads updated edited purchase.
    public
                updated_edited_purchase(int|string $payment_id) : mixed
    
        Parameters
- $payment_id : int|string
 
Return values
mixed —view_order_details_billing_after()
View order details billing after.
    public
                view_order_details_billing_after(mixed $payment_id) : mixed
    
        Parameters
- $payment_id : mixed