32 lines
470 B
PHP
32 lines
470 B
PHP
<?php
|
|
namespace AutomateWoo\DataTypes;
|
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
exit;
|
|
}
|
|
|
|
/**
|
|
* Refund data type class.
|
|
*
|
|
* @since 5.6.2
|
|
*/
|
|
class Refund extends Order {
|
|
|
|
/**
|
|
* Get singular name for data type.
|
|
*
|
|
* @return string
|
|
*/
|
|
public function get_singular_name() {
|
|
return __( 'Refund', 'automatewoo' );
|
|
}
|
|
|
|
/**
|
|
* Get plural name for data type.
|
|
*
|
|
* @return string
|
|
*/
|
|
public function get_plural_name() {
|
|
return __( 'Refunds', 'automatewoo' );
|
|
}
|
|
}
|