oont-contents/plugins/webappick-product-feed-for-woocommerce/V5/Price/PriceInterface.php
2025-03-31 21:42:48 +02:00

41 lines
618 B
PHP

<?php
namespace CTXFeed\V5\Price;
/**
* Interface PriceInterface
*
* @package CTXFeed\V5\Price
*/
interface PriceInterface {// phpcs:ignore
/**
* PriceInterface constructor.
*
* @param \WC_Product $product WC Product.
* @param \CTXFeed\V5\Utility\Config $config Config.
*/
public function __construct( $product, $config );
/**
* Get regular price.
*
* @return float
*/
public function regular_price();
/**
* Get price.
*
* @return float
*/
public function price();
/**
* Get sale price.
*
* @return float
*/
public function sale_price();
}