description; } /** * Retrieves order adjustment records that were refunded from this original adjustment. * * @since 3.0 * * @return Order_Adjustment[]|false */ public function get_refunded_items() { if ( null !== $this->refunded_items ) { return $this->refunded_items; } // Only fees and credits are supported. if ( ! in_array( $this->type, array( 'fee', 'credit' ) ) ) { return false; } return edd_get_order_adjustments( array( 'parent' => $this->id ) ); } }