Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo
  • Hook Reference
  • Docs Home

Packages

  • Deposits-for-WooCommerce
    • Bookings
    • Cart
    • Order
    • Other
    • Payment-Plans
      • Views
    • Products
    • Settings

Classes

  • DFW_Deposits_Plan
  • DFW_Manage_Plans
  • DFW_Scheduled_Plan_Orders

Class DFW_Deposits_Plan

Payment Plans

Package: Deposits-for-WooCommerce\Payment-Plans
Category: Classes
Author: Tyche Softwares
Since: 1.0
Located at includes/class-dfw-deposits-plan.php

Methods summary

public
# __construct( array $plan )

Constructor function to get a payment plan's data

Constructor function to get a payment plan's data

Parameters

$plan
Payment Plan object

Since

1.0
public integer
# get_plan_id( )

Get the ID for a payment Plan

Get the ID for a payment Plan

Returns

integer

Since

1.0
public string
# get_plan_name( )

Get the name of a payment plan

Get the name of a payment plan

Returns

string

Since

1.0
public string
# get_plan_description( )

Get the description for a payment plan

Get the description for a payment plan

Returns

string

Since

1.0
public array
# get_plan_schedule( )

Get the full schedule for a payment plan

Get the full schedule for a payment plan

Returns

array

Since

1.0
public integer
# get_total_percent( )

Get the total amount of percentage added for a payment plan

Get the total amount of percentage added for a payment plan

Returns

integer

Since

1.0
public
# get_formatted_plan_schedule( $plan_amount = '' )

Display the formatted schedule in the Payment Plans settings

Display the formatted schedule in the Payment Plans settings

Since

1.0
API documentation generated by ApiGen